@import "tailwindcss";

:root {
  --ink: #171713;
  --muted: #706f68;
  --paper: #f7f6f1;
  --card: #ffffff;
  --line: #deddd6;
  --orange: #ff4d00;
  --orange-soft: #fff0e9;
  --lime: #c7ff4a;
}

/* Cross-border profit calculator */
.profit-calculator-page {
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 77, 0, 0.11), transparent 22%),
    radial-gradient(circle at 92% 10%, rgba(199, 255, 74, 0.16), transparent 24%),
    var(--paper);
}

.profit-calculator {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 66px 0 104px;
}

.profit-calculator-heading {
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 42px;
}

.profit-calculator-heading h1 {
  margin: 12px 0 18px;
  font-size: clamp(54px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -5px;
}

.profit-calculator-heading > div > p:last-child {
  max-width: 860px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 16px;
  line-height: 1.8;
}

.profit-calculator-heading > span {
  margin-bottom: 5px;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #67655d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.profit-calculator-heading > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20af68;
  box-shadow: 0 0 0 4px rgba(32, 175, 104, 0.13);
}

.profit-quickbar {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 0.65fr) auto;
  align-items: end;
  gap: 14px;
  border: 1px solid var(--ink);
  border-radius: 17px;
  background: var(--ink);
  color: white;
}

.profit-quickbar label > span {
  display: block;
  margin-bottom: 8px;
  color: #c7c5bc;
  font-size: 13px;
  font-weight: 800;
}

.profit-quickbar select {
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 14px;
  border: 1px solid #55544e;
  border-radius: 10px;
  outline: 0;
  background: #282823;
  color: white;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.profit-quickbar select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(199, 255, 74, 0.16);
}

.profit-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 8px;
}

.profit-quick-actions button {
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid #55544e;
  border-radius: 10px;
  background: transparent;
  color: white;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.profit-quick-actions button:first-child {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.profit-quick-actions button:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.profit-preset-note {
  margin: 10px 2px 22px;
  color: #77756d;
  font-size: 13px;
  line-height: 1.6;
}

.profit-calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
  gap: 18px;
}

.profit-form-column {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: white;
  box-shadow: 0 22px 60px rgba(23, 23, 19, 0.07);
}

.profit-field-group {
  padding: 24px;
  border-bottom: 1px solid var(--ink);
}

.profit-field-group:last-child {
  border-bottom: 0;
}

.profit-field-group > header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profit-field-group > header > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.profit-field-group h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.profit-field-group header p {
  margin: 3px 0 0;
  color: #7a786f;
  font-size: 13px;
}

.profit-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profit-field-grid label > span {
  display: block;
  margin-bottom: 8px;
  color: #4e4d47;
  font-size: 14px;
  font-weight: 800;
}

.profit-field-grid label > div,
.profit-price-box label > div {
  min-height: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cccac1;
  border-radius: 10px;
  background: #faf9f5;
  transition: 160ms ease;
}

.profit-field-grid label > div:focus-within,
.profit-price-box label > div:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
  background: white;
}

.profit-field-grid input,
.profit-price-box input {
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.profit-field-grid label > div b,
.profit-price-box label > div b {
  min-width: 48px;
  padding: 0 10px;
  color: #85837a;
  font-size: 12px;
  text-align: right;
}

.profit-field-grid label > small {
  display: block;
  margin-top: 6px;
  color: #8a887f;
  font-size: 12px;
  line-height: 1.4;
}

.profit-result-card {
  padding: 24px;
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--ink);
  color: white;
  box-shadow: 12px 12px 0 var(--orange);
}

.profit-result-card::before {
  content: "";
  width: 210px;
  height: 210px;
  position: absolute;
  top: -110px;
  right: -85px;
  border-radius: 50%;
  background: rgba(199, 255, 74, 0.1);
  pointer-events: none;
}

.profit-result-topline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #aaa89f;
  font-size: 13px;
  font-weight: 800;
}

.profit-result-topline b {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(199, 255, 74, 0.14);
  color: var(--lime);
  font-size: 12px;
}

.profit-result-card.loss .profit-result-topline b,
.profit-result-card.loss .profit-main-result > strong {
  color: #ff8b78;
}

.profit-result-card.thin .profit-result-topline b {
  color: #ffd16b;
}

.profit-main-result {
  margin: 28px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #484740;
}

.profit-main-result > small {
  display: block;
  color: #b8b6ad;
  font-size: 13px;
  font-weight: 800;
}

.profit-main-result > strong {
  display: block;
  margin: 8px 0 11px;
  color: var(--lime);
  font-size: clamp(46px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -3px;
  overflow-wrap: anywhere;
}

.profit-main-result > span {
  color: #aaa89f;
  font-size: 14px;
  font-weight: 700;
}

.profit-main-result > span b {
  margin-left: 5px;
  color: white;
  font-size: 16px;
}

.profit-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profit-metric-grid > div {
  min-height: 86px;
  padding: 13px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid #484740;
  border-radius: 11px;
  background: #20201c;
}

.profit-metric-grid span {
  color: #aaa89f;
  font-size: 12px;
  font-weight: 700;
}

.profit-metric-grid strong {
  font-size: 18px;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}

.profit-price-box {
  margin-top: 12px;
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: end;
  gap: 10px;
  border-radius: 12px;
  background: #f4f3ed;
  color: var(--ink);
}

.profit-price-box > div > span,
.profit-price-box label > span {
  display: block;
  margin-bottom: 8px;
  color: #6e6c64;
  font-size: 11px;
  font-weight: 800;
}

.profit-price-box > div > strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}

.profit-price-box label > div {
  min-height: 42px;
  background: white;
}

.profit-price-box input {
  height: 40px;
  padding: 0 8px;
  font-size: 15px;
}

.profit-price-box label > div b {
  min-width: 28px;
  padding: 0 7px;
}

.profit-monthly-box {
  margin-top: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  border: 1px solid #484740;
  border-radius: 12px;
  background: #20201c;
}

.profit-monthly-box > span {
  grid-column: 1 / -1;
  color: #aaa89f;
  font-size: 12px;
  font-weight: 800;
}

.profit-monthly-box div {
  display: grid;
  gap: 5px;
}

.profit-monthly-box small {
  color: #87857d;
  font-size: 11px;
}

.profit-monthly-box strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.profit-breakdown {
  margin-top: 12px;
  border-top: 1px solid #484740;
  border-bottom: 1px solid #484740;
}

.profit-breakdown summary {
  padding: 14px 0;
  color: #c4c2b8;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.profit-breakdown dl {
  margin: 0;
  padding: 0 0 13px;
}

.profit-breakdown dl div {
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #aaa89f;
  font-size: 12px;
}

.profit-breakdown dt,
.profit-breakdown dd {
  margin: 0;
}

.profit-breakdown dd {
  color: white;
  font-weight: 800;
}

.profit-copy-btn {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: 160ms ease;
}

.profit-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 77, 0, 0.22);
}

.profit-copy-btn span {
  color: var(--lime);
}

.profit-disclaimer {
  margin: 12px 0 0;
  color: #85837a;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.profit-faq {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0 6px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.profit-faq h2 {
  margin: 10px 0 0;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.03;
  letter-spacing: -3px;
}

.profit-faq details {
  border-top: 1px solid var(--ink);
}

.profit-faq details:last-child {
  border-bottom: 1px solid var(--ink);
}

.profit-faq summary {
  padding: 21px 38px 21px 0;
  position: relative;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.profit-faq summary::-webkit-details-marker {
  display: none;
}

.profit-faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 18px;
  color: var(--orange);
  font-size: 24px;
}

.profit-faq details[open] summary::after {
  content: "−";
}

.profit-faq details p {
  margin: -4px 0 20px;
  color: var(--toolbox-muted);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .available-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profit-calculator-panel {
    grid-template-columns: 1fr;
  }

  .profit-result-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 820px) {
  .profit-calculator,
  .profit-faq {
    width: min(100% - 32px, 720px);
  }

  .profit-calculator {
    padding: 54px 0 76px;
  }

  .profit-calculator-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .profit-calculator-heading h1 {
    font-size: clamp(48px, 10.5vw, 68px);
    letter-spacing: -3.7px;
  }

  .profit-calculator-heading > span {
    margin: 0;
  }

  .profit-quickbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profit-quick-actions {
    grid-column: 1 / -1;
  }

  .profit-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profit-faq {
    padding: 76px 0 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 560px) {
  .profit-calculator-heading h1 {
    font-size: 45px;
    letter-spacing: -3px;
  }

  .profit-calculator-heading > div > p:last-child {
    font-size: 15px;
  }

  .profit-calculator-heading > span {
    white-space: normal;
  }

  .profit-quickbar {
    padding: 14px;
    grid-template-columns: 1fr;
  }

  .profit-quick-actions {
    grid-column: auto;
  }

  .profit-calculator-panel {
    gap: 14px;
  }

  .profit-form-column,
  .profit-result-card {
    border-radius: 17px;
  }

  .profit-field-group {
    padding: 18px 14px;
  }

  .profit-field-grid {
    grid-template-columns: 1fr;
  }

  .profit-field-grid label > span {
    font-size: 15px;
  }

  .profit-field-grid input {
    font-size: 18px;
  }

  .profit-result-card {
    padding: 20px 15px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .profit-main-result > strong {
    font-size: 48px;
  }

  .profit-price-box {
    grid-template-columns: 1fr;
  }

  .profit-metric-grid,
  .profit-monthly-box {
    grid-template-columns: 1fr;
  }

  .profit-monthly-box > span {
    grid-column: auto;
  }

  .profit-faq h2 {
    font-size: 42px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--orange);
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  background: rgba(247, 246, 241, 0.92);
  border-bottom: 1px solid rgba(23, 23, 19, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1440px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--orange);
  color: white;
  font-weight: 900;
  font-size: 20px;
  transform: rotate(-5deg);
}

.logo-word {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.logo-ai {
  margin-left: -4px;
  padding: 3px 6px;
  background: var(--ink);
  color: white;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 42px;
}

nav a {
  font-size: 14px;
  font-weight: 600;
  color: #4e4d48;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit-link {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.favorites-trigger {
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.favorites-trigger span {
  color: var(--orange);
  margin-right: 4px;
}

.favorites-trigger b {
  margin-left: 6px;
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 10px;
}

.favorites-trigger:hover,
.favorites-trigger.active {
  background: var(--ink);
  color: white;
}

.menu-btn {
  display: none;
}

.hero {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 100%, rgba(255, 77, 0, 0.13), transparent 26%),
    radial-gradient(circle at 89% 11%, rgba(199, 255, 74, 0.2), transparent 24%),
    #eeeee8;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(23, 23, 19, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, transparent, black 22%, black 78%, transparent);
}

.hero-content {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 78px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(23, 23, 19, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 700;
  color: #4f4f49;
  box-shadow: 0 8px 24px rgba(23, 23, 19, 0.05);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21b36b;
  box-shadow: 0 0 0 4px rgba(33, 179, 107, 0.13);
}

.hero h1 {
  margin: 26px 0 18px;
  font-size: clamp(56px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -5px;
  font-weight: 900;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--orange);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 5px;
  right: -4px;
  bottom: -4px;
  height: 8px;
  border-radius: 100%;
  background: var(--lime);
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-content > p {
  margin: 0 auto;
  color: #686760;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.search-shell {
  width: min(760px, 100%);
  height: 70px;
  margin: 34px auto 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 24px;
  background: white;
  border: 1px solid rgba(23, 23, 19, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(23, 23, 19, 0.13);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-shell:focus-within {
  border-color: var(--orange);
  box-shadow: 0 20px 64px rgba(255, 77, 0, 0.17);
}

.search-icon {
  width: 18px;
  height: 18px;
  border: 2px solid #45443f;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.search-icon::after {
  content: "";
  width: 7px;
  height: 2px;
  background: #45443f;
  position: absolute;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.search-shell input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.search-shell input::placeholder {
  color: #a09f98;
}

.search-shell kbd {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #dddcd4;
  border-radius: 7px;
  background: #f6f5f0;
  color: #8b8a83;
  font-size: 12px;
}

.clear-search {
  border: 0;
  background: transparent;
  color: #898880;
  font-size: 24px;
  cursor: pointer;
}

.search-btn {
  height: 52px;
  padding: 0 27px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  transition: 0.2s ease;
}

.search-btn:hover {
  background: #e94700;
  transform: translateY(-1px);
}

.popular-searches {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
}

.popular-searches > span {
  color: #8d8c85;
}

.popular-searches :is(button, a) {
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #55544f;
  cursor: pointer;
}

.popular-searches :is(button, a):hover {
  color: var(--orange);
}

.floating-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(23, 23, 19, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 45px rgba(23, 23, 19, 0.11);
  font-size: 12px;
  font-weight: 800;
  animation: float 5s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.floating-chip span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-size: 11px;
}

.chip-one { left: 6%; top: 25%; transform: rotate(-6deg); }
.chip-two { right: 7%; top: 20%; transform: rotate(5deg); animation-delay: -1s; }
.chip-three { right: 11%; bottom: 16%; transform: rotate(-3deg); animation-delay: -2s; }

@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(23, 23, 19, 0.13);
  border-radius: 50%;
}

.hero-orbit-one { width: 420px; height: 420px; left: -230px; top: 70px; }
.hero-orbit-two { width: 520px; height: 520px; right: -300px; top: -170px; }

.brand-proof {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.brand-proof > div {
  width: min(1360px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.brand-proof span {
  padding: 0 25px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-content: center;
  gap: 4px 12px;
  border-right: 1px solid #35352f;
}

.brand-proof span:first-child {
  border-left: 1px solid #35352f;
}

.brand-proof b {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--lime);
  font-size: 9px;
}

.brand-proof strong {
  font-size: 12px;
}

.brand-proof small {
  color: #7f7e77;
  font-size: 9px;
}

.category-strip {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: rgba(247, 246, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.category-list {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-list::-webkit-scrollbar { display: none; }

.category-list button {
  flex-shrink: 0;
  min-width: 98px;
  padding: 12px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #55544e;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.category-list button span {
  color: #7b7a73;
  font-size: 15px;
  font-weight: 900;
}

.category-list button:hover {
  background: white;
}

.category-list button.active {
  background: var(--ink);
  color: white;
  box-shadow: 0 7px 20px rgba(23, 23, 19, 0.15);
}

.category-list button.active span {
  color: var(--lime);
}

.content-section,
.category-overview,
.scene-section,
.ranking-section,
.knowledge-section,
.about-section,
.submit-section,
footer {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
}

.content-section {
  padding: 78px 0 105px;
  min-height: 720px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.section-heading h2,
.ranking-intro h2,
.about-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 900;
}

.result-meta {
  color: #85847d;
  font-size: 13px;
}

.result-meta strong {
  color: var(--ink);
}

.result-meta button {
  margin-left: 14px;
  padding: 5px 9px;
  border: 0;
  border-bottom: 1px solid;
  background: transparent;
  color: var(--orange);
  font-size: 12px;
  cursor: pointer;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.tool-card {
  min-height: 268px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 17px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: 0.25s ease;
  box-shadow: 0 2px 0 rgba(23, 23, 19, 0.02);
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: #b7b5aa;
  box-shadow: 0 18px 50px rgba(23, 23, 19, 0.08);
}

.tool-card-top,
.tool-card-bottom,
.tool-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-logo {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  font-size: 15px;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.favorite-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e4e3dc;
  border-radius: 50%;
  background: white;
  color: #aaa89e;
  font-size: 18px;
  cursor: pointer;
}

.favorite-btn:hover,
.favorite-btn.is-favorite {
  border-color: #ffd5c2;
  background: var(--orange-soft);
  color: var(--orange);
}

.tool-name-row {
  justify-content: flex-start;
  gap: 8px;
}

.tool-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.featured-dot {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
}

.tool-card > div:nth-child(2) > p {
  min-height: 66px;
  margin: 8px 0 0;
  color: #77766f;
  font-size: 13px;
  line-height: 1.7;
}

.tool-card-bottom {
  padding-top: 14px;
  border-top: 1px solid #ecebe5;
}

.tag-list {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.tag-list span {
  flex-shrink: 0;
  padding: 4px 7px;
  border-radius: 5px;
  background: #f2f1ec;
  color: #75746d;
  font-size: 9px;
  font-weight: 700;
}

.tool-card-bottom a {
  flex-shrink: 0;
  color: #55544e;
  font-size: 11px;
  font-weight: 800;
  transition: 0.2s;
}

.tool-card-bottom a span {
  display: inline-block;
  margin-left: 3px;
  color: var(--orange);
  transition: transform 0.2s;
}

.tool-card-bottom a:hover {
  color: var(--orange);
}

.tool-card-bottom a:hover span {
  transform: translate(2px, -2px);
}

.empty-state {
  padding: 90px 20px;
  text-align: center;
  border: 1px dashed #c9c7bc;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
}

.empty-state > span {
  font-size: 40px;
  color: var(--orange);
}

.empty-state h3 {
  margin: 13px 0 6px;
}

.empty-state p {
  color: var(--muted);
}

.empty-state button {
  margin-top: 12px;
  padding: 11px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}

.scene-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.scene-heading {
  align-items: end;
}

.scene-heading > p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.scene-card {
  min-height: 240px;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  border: 1px solid rgba(23, 23, 19, 0.14);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s ease;
}

.scene-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -70px;
  border: 1px solid rgba(23, 23, 19, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.13), 0 0 0 43px rgba(255, 255, 255, 0.08);
}

.scene-card.orange { background: #ffcf66; }
.scene-card.purple { background: #d3c2ff; }
.scene-card.green { background: #bce9bf; }
.scene-card.blue { background: #bcdcfb; }

.scene-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(23, 23, 19, 0.1);
}

.scene-number {
  font-size: 11px;
  font-weight: 900;
}

.scene-card h3 {
  margin: 0 0 7px;
  font-size: 22px;
  letter-spacing: -0.6px;
}

.scene-card p {
  margin: 0;
  color: rgba(23, 23, 19, 0.65);
  font-size: 12px;
}

.scene-card > i {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-style: normal;
  font-size: 18px;
}

.ranking-section {
  padding: 0 0 110px;
}

.ranking-panel {
  min-height: 710px;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  background: var(--ink);
  color: white;
  border-radius: 25px;
  overflow: hidden;
}

.ranking-intro {
  padding: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 77, 0, 0.55), transparent 35%),
    linear-gradient(130deg, transparent 35%, rgba(255, 255, 255, 0.04));
}

.ranking-intro > p:not(.section-kicker) {
  max-width: 300px;
  margin: 22px 0 28px;
  color: #aaa9a2;
  font-size: 14px;
  line-height: 1.8;
}

.ranking-intro :is(button, .ranking-entry) {
  align-self: flex-start;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid #77766f;
  background: transparent;
  color: white;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ranking-intro :is(button, .ranking-entry) span {
  margin-left: 16px;
  color: var(--lime);
}

.ranking-list {
  padding: 34px 45px;
  background: #22221e;
}

.ranking-list a {
  min-height: 88px;
  display: grid;
  grid-template-columns: 40px 48px 1fr 30px;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #3b3b35;
  transition: 0.2s;
}

.ranking-list a:hover {
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.03);
}

.ranking-list a > strong {
  color: #6f6e66;
  font-size: 12px;
}

.rank-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.ranking-list h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.ranking-list p {
  margin: 0;
  color: #7e7d76;
  font-size: 10px;
}

.ranking-list a > span {
  color: var(--lime);
}

.home-academy {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto 110px;
  padding: 76px;
  background: #ecebe4;
  border: 1px solid var(--line);
  border-radius: 25px;
}

.home-academy-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
}

.home-academy-heading h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.07;
  letter-spacing: -3px;
}

.home-academy-heading > div:last-child {
  padding-bottom: 5px;
}

.home-academy-heading > div:last-child p {
  max-width: 420px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.home-academy-heading a {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
}

.home-academy-heading a span {
  margin-left: 10px;
}

.home-academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.home-academy-grid > a {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #d7d6ce;
  border-radius: 15px;
  transition: 0.23s ease;
}

.home-academy-grid > a:hover {
  transform: translateY(-5px);
  border-color: #aaa89e;
  box-shadow: 0 16px 40px rgba(23, 23, 19, 0.08);
}

.home-academy-grid > a > div {
  display: flex;
  justify-content: space-between;
  color: #aaa89f;
  font-size: 9px;
  font-weight: 800;
}

.home-academy-grid > a > strong {
  margin-top: 30px;
  color: var(--orange);
  font-size: 9px;
}

.home-academy-grid h3 {
  margin: 10px 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

.home-academy-grid p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.home-academy-grid i {
  margin-top: auto;
  color: #65645d;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.about-section {
  min-height: 430px;
  padding: 90px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.about-badge {
  width: 54px;
  height: 54px;
  margin-bottom: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--orange);
  color: white;
  font-size: 27px;
  font-weight: 900;
  transform: rotate(-6deg);
}

.about-section h2 {
  max-width: 580px;
}

.about-copy > p {
  margin: 0;
  color: #686760;
  font-size: 16px;
  line-height: 2;
}

.about-stats {
  margin-top: 38px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.about-stats span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #83827a;
  font-size: 10px;
}

.about-stats strong {
  color: var(--ink);
  font-size: 25px;
}

footer {
  border-top: 1px solid var(--ink);
}

.footer-top {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
}

.footer-top > p {
  color: #77766f;
  font-size: 13px;
}

.back-top {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: 0.2s;
}

.back-top:hover {
  background: var(--ink);
  color: white;
}

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #898880;
  font-size: 10px;
}

.footer-bottom div {
  display: flex;
  gap: 28px;
}

.footer-bottom a:hover {
  color: var(--orange);
}

.nav-mega-wrap {
  height: 78px;
  display: flex;
  align-items: center;
}

.nav-mega-wrap > a span {
  margin-left: 3px;
  color: #9a9992;
  font-size: 11px;
}

.mega-menu {
  position: fixed;
  top: 68px;
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  padding: 25px;
  display: none;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(23, 23, 19, 0.16);
  backdrop-filter: blur(20px);
}

.nav-mega-wrap:hover .mega-menu,
.nav-mega-wrap:focus-within .mega-menu {
  display: block;
}

.mega-menu-head {
  padding: 0 3px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.mega-menu-head strong {
  font-size: 17px;
}

.mega-menu-head span {
  color: var(--muted);
  font-size: 11px;
}

.mega-menu-grid {
  padding-top: 17px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mega-menu-grid > a {
  min-height: 68px;
  padding: 11px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  border-radius: 11px;
}

.mega-menu-grid > a:hover {
  background: var(--paper);
}

.mega-menu-grid i {
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}

.mega-menu-grid span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu-grid strong {
  color: var(--ink);
  font-size: 13px;
}

.mega-menu-grid small {
  color: #8a8981;
  font-size: 9px;
}

.mega-menu-grid b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 8px;
}

.category-overview {
  padding: 88px 0 90px;
}

.compact-heading {
  align-items: end;
}

.compact-heading > p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-overview-card {
  min-height: 116px;
  padding: 20px;
  display: grid;
  grid-template-columns: 45px 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: 0.22s ease;
}

.category-overview-card:hover {
  transform: translateY(-4px);
  border-color: #bdbbb0;
  box-shadow: 0 16px 38px rgba(23, 23, 19, 0.08);
}

.category-symbol {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #f4f3ee;
  border-radius: 11px;
  font-size: 20px;
  font-weight: 900;
}

.category-overview-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.category-overview-card p {
  margin: 0;
  color: #898880;
  font-size: 10px;
}

.category-overview-card > strong {
  align-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 9px;
}

.category-overview-card > i {
  grid-column: 3;
  color: #93928b;
  font-style: normal;
  font-size: 12px;
}

.load-more-wrap {
  padding-top: 38px;
  display: flex;
  justify-content: center;
}

.load-more-wrap button {
  min-width: 220px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.load-more-wrap button span {
  color: #8a8982;
  font-size: 9px;
}

.load-more-wrap button:hover {
  background: var(--ink);
  color: white;
}

.scene-grid.expanded {
  grid-template-columns: repeat(4, 1fr);
}

.scene-grid.expanded .scene-card {
  min-height: 205px;
}

.scene-card.red { background: #ffaaa6; }
.scene-card.ink { background: #272722; color: white; }
.scene-card.ink p { color: #aaa9a2; }
.scene-card.yellow { background: #f2e685; }
.scene-card.cyan { background: #a9e7e7; }

.ranking-list a {
  min-height: 64px;
}

.knowledge-section {
  padding: 105px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}

.knowledge-intro {
  position: sticky;
  top: 180px;
  align-self: start;
}

.knowledge-intro h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -2.5px;
}

.knowledge-intro > p:not(.section-kicker) {
  max-width: 490px;
  margin: 22px 0 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.knowledge-points {
  display: grid;
  gap: 11px;
}

.knowledge-points span {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.knowledge-points b {
  color: var(--orange);
  font-size: 10px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 82px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: #a4a39c;
  font-size: 9px;
}

.faq-list summary i {
  color: var(--orange);
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
  transition: 0.2s;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: -4px 40px 25px 50px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.submit-section {
  margin-bottom: 100px;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: var(--orange);
  color: white;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.submit-section::after {
  content: "P";
  position: absolute;
  right: 25%;
  top: -70px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 260px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.submit-section .section-kicker {
  color: #ffe5d9;
}

.submit-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -2px;
}

.submit-section p:not(.section-kicker) {
  max-width: 650px;
  margin: 14px 0 0;
  color: #ffe3d6;
  font-size: 13px;
  line-height: 1.7;
}

.submit-section > a {
  z-index: 1;
  flex-shrink: 0;
  padding: 15px 20px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.submit-section > a span {
  margin-left: 13px;
  color: var(--orange);
}

.footer-category-links {
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
}

.footer-category-links a {
  color: #727169;
  font-size: 11px;
}

.footer-category-links a:hover {
  color: var(--orange);
}

/* Category detail pages */
.category-page {
  min-height: 100vh;
}

.category-page-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
}

.category-page-header > div {
  width: min(1260px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-page-header nav {
  margin: 0;
}

.category-page-header nav a {
  font-size: 12px;
}

.category-hero {
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 85% 10%, rgba(199, 255, 74, 0.23), transparent 26%),
    linear-gradient(135deg, #efeee8, #f8f7f2);
  border-bottom: 1px solid var(--line);
}

.category-hero-inner,
.category-tool-section,
.category-copy-section,
.category-page-footer {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.breadcrumbs {
  margin-bottom: 35px;
  display: flex;
  gap: 9px;
  color: #85847c;
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.category-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  align-items: end;
}

.category-icon-large {
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 23, 19, 0.12);
  border-radius: 15px;
  background: white;
  font-size: 24px;
  font-weight: 900;
}

.category-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -4px;
}

.category-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.category-hero-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.category-hero-copy strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 26px;
}

.category-tool-section {
  padding: 85px 0 105px;
}

.category-static-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.category-static-card {
  min-height: 208px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: 0.2s ease;
}

.category-static-card:hover {
  transform: translateY(-4px);
  border-color: #bbb9af;
  box-shadow: 0 15px 35px rgba(23, 23, 19, 0.07);
}

.category-static-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-static-top b {
  color: #aaa89f;
  font-size: 9px;
}

.category-static-card h2 {
  margin: 20px 0 8px;
  font-size: 17px;
}

.category-static-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.category-static-card > span {
  padding-top: 14px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  border-top: 1px solid #ecebe5;
}

.category-copy-section {
  padding: 85px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.category-copy-section h2 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -2px;
}

.category-copy-section article {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.category-copy-section article h3 {
  margin: 28px 0 4px;
  color: var(--ink);
  font-size: 17px;
}

.category-page-footer {
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 11px;
}

/* Brand academy and editorial pages */
.inner-site-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 241, 0.94);
}

.inner-site-header > div {
  width: min(1260px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inner-site-header nav {
  margin: 0;
}

.inner-site-header nav a.active {
  color: var(--orange);
}

.blog-hero {
  width: min(1260px, calc(100% - 48px));
  min-height: 590px;
  margin: 0 auto;
  padding: 78px 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 90px;
  align-items: center;
}

.blog-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(55px, 6.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -4.8px;
}

.blog-hero-copy h1 em {
  color: var(--orange);
  font-style: normal;
}

.blog-hero-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.blog-hero-stats {
  margin-top: 40px;
  padding-top: 27px;
  display: flex;
  gap: 55px;
  border-top: 1px solid var(--line);
}

.blog-hero-stats span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
}

.blog-hero-stats strong {
  color: var(--ink);
  font-size: 26px;
}

.blog-hero-card {
  min-height: 395px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(23, 23, 19, 0.17);
}

.blog-hero-card::after {
  content: "P";
  position: absolute;
  right: -18px;
  bottom: -72px;
  color: rgba(255, 77, 0, 0.35);
  font-size: 260px;
  line-height: 1;
  font-weight: 900;
  transform: rotate(-8deg);
}

.blog-hero-card > span {
  color: var(--lime);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}

.blog-hero-card > strong {
  position: absolute;
  right: 30px;
  top: 27px;
  color: #5f5e57;
  font-size: 13px;
}

.blog-hero-card h2 {
  z-index: 1;
  max-width: 330px;
  margin: auto 0 13px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -1.3px;
}

.blog-hero-card p {
  z-index: 1;
  margin: 0 0 25px;
  color: #a9a8a0;
  font-size: 12px;
  line-height: 1.75;
}

.blog-hero-card a {
  z-index: 1;
  padding-bottom: 6px;
  border-bottom: 1px solid #78776f;
  font-size: 11px;
  font-weight: 800;
}

.blog-category-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1260px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  background: rgba(247, 246, 241, 0.95);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.blog-category-nav::-webkit-scrollbar {
  display: none;
}

.blog-category-nav a {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5f5e57;
  font-size: 12px;
  font-weight: 800;
}

.blog-category-nav a:hover {
  color: var(--orange);
}

.blog-category-nav span {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: #9b9a93;
  font-size: 8px;
}

.blog-library,
.academy-promise,
.related-articles {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.blog-category-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.blog-category-heading {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: end;
  gap: 22px;
}

.blog-category-heading > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: white;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 900;
  transform: rotate(-5deg);
}

.blog-category-heading h2 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -2px;
}

.blog-category-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.blog-card {
  min-height: 270px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  transition: 0.23s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #b7b5aa;
  box-shadow: 0 18px 46px rgba(23, 23, 19, 0.08);
}

.blog-card > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #a09f97;
  font-size: 9px;
  font-weight: 800;
}

.blog-card h3 {
  margin: 28px 0 12px;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.4px;
}

.blog-card p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.blog-card > strong {
  margin-top: auto;
  color: var(--orange);
  font-size: 10px;
}

.blog-card > strong i {
  margin-left: 8px;
  font-style: normal;
  transition: 0.2s;
}

.blog-card:hover > strong i {
  margin-left: 13px;
}

.academy-promise {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.academy-promise h2 {
  max-width: 530px;
  margin: 0;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -2px;
}

.academy-promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.academy-promise-grid span {
  min-height: 95px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.academy-promise-grid b {
  color: var(--orange);
  font-size: 9px;
}

.article-page > article,
.related-articles {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.article-hero {
  padding: 72px 0 68px;
  border-bottom: 1px solid var(--line);
}

.article-breadcrumbs {
  margin-bottom: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #929189;
  font-size: 10px;
}

.article-breadcrumbs a:hover {
  color: var(--orange);
}

.article-meta {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta span {
  padding: 5px 8px;
  border-radius: 5px;
  background: white;
  border: 1px solid var(--line);
  color: #77766e;
  font-size: 9px;
  font-weight: 800;
}

.article-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(46px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -3.7px;
}

.article-hero > p {
  max-width: 760px;
  margin: 25px 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.article-outcome {
  max-width: 760px;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--orange-soft);
  border-left: 3px solid var(--orange);
}

.article-outcome span {
  color: #8b6554;
  font-size: 10px;
}

.article-outcome strong {
  font-size: 13px;
}

.article-layout {
  padding: 68px 0 95px;
  display: grid;
  grid-template-columns: 180px minmax(0, 700px);
  gap: 85px;
  justify-content: center;
}

.article-toc {
  position: sticky;
  top: 30px;
  align-self: start;
  display: grid;
  gap: 0;
}

.article-toc > span {
  margin-bottom: 10px;
  color: #aaa89f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.article-toc a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: #6f6e67;
  font-size: 11px;
}

.article-toc a:hover {
  color: var(--orange);
}

.article-body section {
  padding: 0 0 58px;
  scroll-margin-top: 30px;
}

.article-body h2 {
  margin: 0 0 20px;
  font-size: 35px;
  letter-spacing: -1.5px;
}

.article-body > section > p:not(.section-kicker) {
  color: #5f5e57;
  font-size: 15px;
  line-height: 2.05;
}

.article-note {
  margin-top: 26px;
  padding: 22px;
  background: #efeee8;
  color: #64635c;
  font-size: 12px;
  line-height: 1.8;
  border-radius: 12px;
}

.article-note span {
  margin-right: 13px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
}

.article-steps {
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.article-steps li {
  padding: 23px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.article-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: var(--lime);
  font-size: 9px;
  font-weight: 900;
}

.article-steps h3 {
  margin: 2px 0 8px;
  font-size: 16px;
}

.article-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.article-checklist {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.article-checklist span {
  padding: 16px 19px 16px 49px;
  position: relative;
  background: var(--paper);
  color: #5d5c55;
  font-size: 12px;
  line-height: 1.6;
}

.article-checklist span::before {
  content: "✓";
  position: absolute;
  left: 19px;
  color: var(--orange);
  font-weight: 900;
}

.article-body blockquote {
  margin: 0 0 25px;
  padding: 26px 30px;
  background: var(--orange);
  color: white;
  border-radius: 14px;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 800;
}

.article-summary {
  padding: 34px !important;
  background: var(--ink);
  color: white;
  border-radius: 17px;
}

.article-summary .section-kicker {
  color: var(--lime);
}

.article-summary h2 {
  color: white;
}

.article-summary p {
  margin-bottom: 0;
  color: #aaa9a1 !important;
}

.article-summary strong {
  color: white;
}

.related-articles {
  padding: 75px 0 95px;
  border-top: 1px solid var(--line);
}

.related-articles .section-heading > a {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

/* Tool submission */
.submit-page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 75px 0 100px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 85px;
  align-items: start;
}

.submit-page-intro {
  position: sticky;
  top: 35px;
}

.submit-page-intro h1 {
  margin: 0;
  font-size: clamp(45px, 5vw, 65px);
  line-height: 1.04;
  letter-spacing: -3.5px;
}

.submit-page-intro > p:not(.section-kicker) {
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.submit-process {
  display: grid;
}

.submit-process > span {
  min-height: 72px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-content: center;
  gap: 4px 11px;
  border-top: 1px solid var(--line);
}

.submit-process b {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--orange);
  font-size: 9px;
}

.submit-process strong {
  font-size: 12px;
}

.submit-process small {
  color: #8c8b83;
  font-size: 9px;
}

.submit-rules {
  margin-top: 30px;
  padding: 23px;
  display: grid;
  gap: 12px;
  background: var(--ink);
  color: white;
  border-radius: 14px;
}

.submit-rules > strong {
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 1px;
}

.submit-rules > span {
  padding-left: 18px;
  position: relative;
  color: #aaa9a1;
  font-size: 10px;
  line-height: 1.6;
}

.submit-rules > span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.submit-tool-form {
  padding: 38px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(23, 23, 19, 0.07);
}

.form-heading {
  margin-bottom: 31px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-heading > span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.form-heading h2 {
  margin: 8px 0 8px;
  font-size: 33px;
  letter-spacing: -1.5px;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px 15px;
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  color: #56554f;
  font-size: 10px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d7d6cf;
  border-radius: 10px;
  background: #faf9f6;
  color: var(--ink);
  outline: 0;
  font: inherit;
  font-size: 12px;
  transition: 0.2s;
}

.form-grid input,
.form-grid select {
  height: 48px;
  padding: 0 13px;
}

.form-grid textarea {
  min-height: 118px;
  padding: 13px;
  resize: vertical;
  line-height: 1.7;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.08);
}

.form-grid ::placeholder {
  color: #aaa9a1;
}

.form-grid .form-full {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-confirm {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #706f68;
  font-size: 10px;
  line-height: 1.6;
}

.form-confirm input {
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.form-message {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.6;
}

.form-message.success {
  background: #eaf8ef;
  color: #167344;
}

.form-message.error {
  background: #fff0ed;
  color: #b62d1c;
}

.form-submit-btn {
  width: 100%;
  height: 54px;
  margin-top: 22px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 11px;
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.form-submit-btn:hover:not(:disabled) {
  background: #e94700;
  transform: translateY(-1px);
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-submit-btn span {
  font-size: 17px;
}

.form-privacy {
  margin: 12px 0 0;
  color: #9a9991;
  text-align: center;
  font-size: 9px;
}

@media (max-width: 1100px) {
  nav { gap: 15px; margin-left: 22px; }
  .submit-link { display: none; }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .floating-chip { display: none; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .category-overview-grid { grid-template-columns: repeat(3, 1fr); }
  .category-static-grid { grid-template-columns: repeat(3, 1fr); }
  .home-academy { padding: 52px; }
  .blog-hero { gap: 45px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .submit-page-shell { gap: 45px; }
}

@media (max-width: 780px) {
  .site-header { height: 66px; }
  .header-inner { width: calc(100% - 30px); }
  .logo-word { font-size: 18px; }
  .logo-mark { width: 31px; height: 31px; font-size: 18px; }
  .favorites-trigger { padding: 9px 11px; font-size: 0; }
  .favorites-trigger span { font-size: 16px; margin: 0; }
  .favorites-trigger b { font-size: 9px; }

  .menu-btn {
    width: 38px;
    height: 38px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: transparent;
  }

  .menu-btn i {
    display: block;
    width: 16px;
    height: 1px;
    background: var(--ink);
  }

  nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 22px 26px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 35px rgba(23, 23, 19, 0.1);
  }

  nav.nav-open { display: flex; }
  .nav-mega-wrap { height: auto; }
  .nav-mega-wrap > a span { display: none; }
  .mega-menu { display: none !important; }

  .hero { min-height: 510px; }
  .hero-content { padding: 65px 0 58px; }
  .hero h1 { margin-top: 23px; font-size: 52px; letter-spacing: -3.5px; }
  .hero-content > p { max-width: 330px; font-size: 14px; line-height: 1.7; }
  .search-shell { height: 62px; padding-left: 20px; margin-top: 28px; border-radius: 15px; }
  .search-shell input { font-size: 14px; }
  .search-shell kbd { display: none; }
  .search-btn { height: 46px; padding: 0 17px; border-radius: 10px; }
  .popular-searches { gap: 6px; }
  .popular-searches > span { width: 100%; }
  .hero-orbit-one { left: -350px; }

  .category-strip { top: 66px; }
  .category-list { width: 100%; min-height: 68px; padding: 0 15px; justify-content: flex-start; }
  .category-list button { min-width: auto; padding: 10px 12px; }

  .brand-proof > div {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-proof span { min-height: 78px; border-bottom: 1px solid #35352f; }
  .brand-proof span:nth-child(3) { border-left: 1px solid #35352f; }

  .content-section,
  .category-overview,
  .scene-section,
  .ranking-section,
  .knowledge-section,
  .about-section,
  .submit-section,
  footer {
    width: calc(100% - 30px);
  }

  .category-overview { padding: 68px 0; }
  .compact-heading > p { display: none; }
  .category-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .category-overview-card {
    min-height: 106px;
    padding: 15px;
    grid-template-columns: 37px 1fr;
    gap: 0 10px;
  }
  .category-symbol { width: 36px; height: 36px; font-size: 17px; }
  .category-overview-card > strong,
  .category-overview-card > i { display: none; }
  .category-overview-card h3 { font-size: 14px; }

  .content-section { padding: 58px 0 82px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .section-heading h2,
  .ranking-intro h2,
  .about-section h2 { font-size: 36px; letter-spacing: -1.5px; }
  .result-meta { align-self: stretch; display: flex; justify-content: space-between; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card { min-height: 250px; padding: 17px; }

  .scene-section { padding: 76px 0; }
  .scene-heading > p { display: none; }
  .scene-grid { gap: 10px; }
  .scene-grid.expanded { grid-template-columns: repeat(2, 1fr); }
  .scene-card { min-height: 210px; padding: 18px; }
  .scene-grid.expanded .scene-card { min-height: 180px; }
  .scene-card h3 { font-size: 18px; }

  .ranking-section { padding-bottom: 85px; }
  .ranking-panel { grid-template-columns: 1fr; }
  .ranking-intro { padding: 42px 28px; }
  .ranking-list { padding: 18px 20px; }
  .ranking-list a { grid-template-columns: 28px 44px 1fr 20px; gap: 10px; }

  .home-academy {
    width: calc(100% - 30px);
    margin-bottom: 82px;
    padding: 38px 26px;
  }
  .home-academy-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .home-academy-heading h2 { font-size: 39px; letter-spacing: -2px; }
  .home-academy-grid { grid-template-columns: repeat(2, 1fr); }

  .about-section { min-height: auto; padding: 70px 0; grid-template-columns: 1fr; gap: 45px; }
  .about-badge { margin-bottom: 30px; }
  .about-copy > p { font-size: 14px; }

  .footer-top { min-height: 150px; grid-template-columns: 1fr auto; }
  .footer-top > p { display: none; }
  .footer-category-links { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { align-items: flex-start; flex-direction: column-reverse; justify-content: center; gap: 14px; }

  .knowledge-section {
    padding: 76px 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .knowledge-intro { position: static; }
  .knowledge-intro h2 { font-size: 38px; }
  .faq-list summary { min-height: 72px; font-size: 13px; }
  .faq-list details p { margin-left: 0; margin-right: 0; }

  .submit-section {
    margin-bottom: 72px;
    padding: 36px 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  .submit-section::after { right: -50px; }

  .category-page-header { height: 66px; }
  .category-page-header > div,
  .category-hero-inner,
  .category-tool-section,
  .category-copy-section,
  .category-page-footer {
    width: calc(100% - 30px);
  }
  .category-page-header nav a:not(:last-child) { display: none; }
  .category-hero { padding: 62px 0; }
  .category-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .category-hero h1 { font-size: 50px; letter-spacing: -3px; }
  .category-hero-copy strong { font-size: 22px; }
  .category-tool-section { padding: 60px 0 80px; }
  .category-static-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .category-static-card { min-height: 205px; padding: 16px; }
  .category-copy-section { padding: 65px 0; grid-template-columns: 1fr; gap: 32px; }
  .category-copy-section h2 { font-size: 34px; }

  .inner-site-header { height: 66px; }
  .inner-site-header > div,
  .blog-hero,
  .blog-library,
  .academy-promise,
  .article-page > article,
  .related-articles {
    width: calc(100% - 30px);
  }
  .inner-site-header nav {
    position: static;
    width: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .inner-site-header nav a:not(.active) { display: none; }
  .blog-hero {
    min-height: auto;
    padding: 60px 0;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .blog-hero-copy h1 {
    font-size: 48px;
    letter-spacing: -3px;
  }
  .blog-hero-copy > p:not(.section-kicker) { font-size: 14px; }
  .blog-hero-stats { gap: 28px; }
  .blog-hero-card { min-height: 340px; }
  .blog-category-nav { min-height: 64px; padding: 0 15px; justify-content: flex-start; }
  .blog-category-section { padding: 68px 0; }
  .blog-category-heading {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }
  .blog-category-heading > span { width: 42px; height: 42px; }
  .blog-category-heading > p { display: none; }
  .blog-category-heading h2 { font-size: 34px; }
  .academy-promise {
    padding: 72px 0;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .academy-promise h2 { font-size: 35px; }
  .article-hero { padding: 54px 0; }
  .article-hero h1 { font-size: 47px; letter-spacing: -2.8px; }
  .article-hero > p { font-size: 15px; }
  .article-outcome { align-items: flex-start; flex-direction: column; gap: 8px; }
  .article-layout { padding: 52px 0 70px; grid-template-columns: 1fr; gap: 0; }
  .article-toc { display: none; }
  .article-body h2 { font-size: 31px; }
  .related-articles { padding: 65px 0 78px; }
  .submit-page-shell {
    width: calc(100% - 30px);
    padding: 58px 0 78px;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .submit-page-intro { position: static; }
  .submit-page-intro h1 { font-size: 46px; }
  .submit-tool-form { padding: 29px; }
}

/* Resilient loading and not-found states */
.status-page {
  min-height: 100svh;
  padding: 40px 20px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 77, 0, 0.13), transparent 26%),
    var(--paper);
}

.status-page > section {
  width: min(620px, 100%);
  padding: clamp(34px, 6vw, 64px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 80px rgba(23, 23, 19, 0.09);
}

.status-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--orange);
  color: white;
  font-size: 30px;
  font-weight: 800;
}

.status-page h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 600;
}

.status-page section > p:not(.section-kicker) {
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.status-page section > div {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-page a,
.status-page button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.status-page div > :first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

@media (max-width: 520px) {
  .hero h1 { font-size: 44px; }
  .search-shell { padding-left: 16px; gap: 9px; }
  .search-btn { padding: 0 14px; }
  .popular-searches :is(button, a):nth-last-child(-n+2) { display: none; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 235px; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-grid.expanded { grid-template-columns: 1fr; }
  .scene-card { min-height: 180px; }
  .about-stats { gap: 16px; }
  .about-stats strong { font-size: 21px; }
  .footer-bottom div { width: 100%; justify-content: space-between; gap: 10px; }
  .category-static-grid { grid-template-columns: 1fr; }
  .category-static-card { min-height: 190px; }
  .category-page-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  .brand-proof span { padding: 0 14px; }
  .home-academy-grid { grid-template-columns: 1fr; }
  .home-academy-grid > a { min-height: 245px; }
  .blog-hero-copy h1 { font-size: 42px; }
  .blog-hero-stats { justify-content: space-between; gap: 12px; }
  .blog-hero-stats strong { font-size: 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 245px; }
  .academy-promise-grid { grid-template-columns: 1fr; }
  .academy-promise-grid span { min-height: 78px; }
  .article-hero h1 { font-size: 39px; letter-spacing: -2.2px; }
  .article-meta span:last-child { display: none; }
  .article-steps li { padding: 19px; grid-template-columns: 34px 1fr; gap: 13px; }
  .article-steps li > span { width: 32px; height: 32px; }
  .article-body blockquote { padding: 23px; font-size: 18px; }
  .article-summary { padding: 25px !important; }
  .submit-page-intro h1 { font-size: 40px; }
  .submit-tool-form { padding: 23px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-full { grid-column: auto; }
}

/* 2026 advanced guide knowledge base */
.blog-research-strip {
  width: min(1180px, calc(100% - 48px));
  margin: -24px auto 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.blog-research-strip > div {
  min-height: 94px;
  padding: 20px;
  display: grid;
  align-content: center;
  gap: 7px;
  background: var(--paper);
}

.blog-research-strip span {
  color: var(--muted);
  font-size: 11px;
}

.blog-research-strip strong {
  font-size: 13px;
  line-height: 1.45;
}

.advanced-blog-card > small {
  width: fit-content;
  margin: 17px 0 10px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--orange-soft);
  color: #a44720;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.article-page > article,
.related-articles {
  width: min(1180px, calc(100% - 48px));
}

.article-layout {
  grid-template-columns: 210px minmax(0, 760px);
  gap: 78px;
}

.article-toc {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.answer-box {
  margin-bottom: 58px;
  padding: 34px !important;
  border: 1px solid #d9dfbd;
  border-radius: 18px;
  background: linear-gradient(145deg, #f7f8ed 0%, #eef2d3 100%);
}

.answer-box h2 {
  max-width: 620px;
}

.answer-box > p {
  color: #41443b !important;
}

.answer-facts {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid #d5dbb8;
  background: #d5dbb8;
}

.answer-facts span {
  padding: 15px;
  background: rgba(255, 255, 255, .65);
  color: #5e6254;
  font-size: 12px;
  line-height: 1.65;
}

.answer-facts b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.capability-grid > div {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.capability-grid span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.capability-grid h3 {
  margin: 12px 0 9px;
  font-size: 18px;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.audience-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.audience-list > div {
  padding: 24px;
  background: var(--paper);
}

.audience-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.audience-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.advanced-steps li {
  scroll-margin-top: 30px;
}

.advanced-steps p + p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.advanced-steps p strong {
  color: var(--ink);
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-list > div {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.method-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.method-list > div > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
}

.method-list h3 {
  margin: 2px 0 10px;
  font-size: 21px;
}

.method-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.prompt-stack {
  display: grid;
  gap: 16px;
}

.prompt-card {
  overflow: hidden;
  border: 1px solid #2e2e2b;
  border-radius: 15px;
  background: var(--ink);
}

.prompt-card h3 {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid #3d3d39;
  color: var(--lime);
  font-size: 15px;
}

.prompt-card pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d8d8d2;
  font: 13px/1.85 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.article-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.article-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  vertical-align: top;
}

.article-table thead th {
  background: var(--ink);
  color: white;
  font-size: 11px;
}

.article-table tbody th {
  background: var(--orange-soft);
  color: var(--ink);
  font-weight: 800;
}

.article-table tr:last-child th,
.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table th:last-child,
.article-table td:last-child {
  border-right: 0;
}

.mistake-list {
  display: grid;
  gap: 1px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.mistake-list > div {
  padding: 22px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  background: var(--paper);
}

.mistake-list > div > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.mistake-list h3 {
  margin: 1px 0 7px;
  font-size: 18px;
}

.mistake-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.trend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trend-grid > div {
  padding: 24px;
  border-radius: 14px;
  background: #efeee8;
}

.trend-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.trend-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.article-faq {
  border-top: 1px solid var(--line);
}

.article-faq details {
  border-bottom: 1px solid var(--line);
}

.article-faq summary {
  padding: 20px 34px 20px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.5;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 17px;
  color: var(--orange);
  font-size: 24px;
}

.article-faq details[open] summary::after {
  content: "−";
}

.article-faq p {
  margin: -3px 0 21px;
  padding-right: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.source-list {
  margin: 22px 0;
  padding-left: 22px;
}

.source-list li {
  padding: 8px 0;
  color: var(--muted);
}

.source-list a {
  color: #a44720;
  text-decoration: underline;
  text-decoration-color: rgba(164, 71, 32, .25);
  text-underline-offset: 4px;
}

.source-list a:hover {
  color: var(--orange);
}

.source-evidence-list {
  padding-left: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.source-evidence-list li {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.source-evidence-list li > a:first-child {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 800;
}

.source-evidence-list p {
  margin: 7px 0;
  color: var(--muted);
  line-height: 1.8;
}

.source-evidence-list .source-check-link {
  display: inline-block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .blog-research-strip {
    grid-template-columns: 1fr 1fr;
  }

  .answer-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-research-strip {
    width: min(100% - 30px, 1180px);
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .blog-research-strip > div {
    min-height: 78px;
  }

  .answer-box {
    padding: 24px !important;
  }

  .capability-grid,
  .trend-grid {
    grid-template-columns: 1fr;
  }

  .method-list > div {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .method-list > div > span {
    width: 36px;
    height: 36px;
  }

  .prompt-card pre {
    padding: 18px;
    font-size: 12px;
  }
}

/* AI beginner lesson library */
.course-switcher {
  width: min(1260px, calc(100% - 48px));
  min-height: 76px;
  margin: 22px auto 0;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #d9dfbd;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f8ed, #eef2d3);
}

.course-switcher div {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.course-switcher span {
  color: #737862;
  font-size: 10px;
  font-weight: 800;
}

.course-switcher strong {
  font-size: 13px;
}

.course-switcher a {
  flex-shrink: 0;
  color: #4e6212;
  font-size: 11px;
  font-weight: 850;
}

.beginner-hero em {
  color: #657f13;
}

.beginner-hero-card {
  background: #142e35;
}

.beginner-hero-card::before {
  background: radial-gradient(circle, rgba(207, 255, 68, .18), transparent 66%);
}

.beginner-hero-card > span,
.beginner-hero-card a {
  color: var(--lime);
}

.learning-path {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 48px;
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
  align-items: end;
}

.learning-path h2 {
  max-width: 350px;
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -1.7px;
}

.learning-path ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.learning-path li {
  min-height: 132px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
}

.learning-path li b {
  color: #657f13;
  font-size: 10px;
}

.learning-path li span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.learning-path li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
}

.beginner-library-page .blog-category-heading > span {
  background: #657f13;
}

.beginner-blog-card > small {
  background: #edf2d6;
  color: #53690d;
}

.beginner-blog-card > strong,
.beginner-blog-card > strong i {
  color: #5d7412;
}

.beginner-article-hero .article-outcome {
  border-left-color: #657f13;
  background: #eef2d3;
}

.beginner-article-hero .article-outcome span {
  color: #667044;
}

.beginner-answer-box {
  border-color: #cdd7a3;
  background: linear-gradient(145deg, #fafbef 0%, #e9f0c4 100%);
}

.practice-example {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.practice-example > div {
  min-height: 210px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.practice-example span {
  color: #657f13;
  font-size: 10px;
  font-weight: 900;
}

.practice-example h3 {
  margin: 35px 0 11px;
  font-size: 18px;
}

.practice-example p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.safety-grid {
  display: grid;
  gap: 10px;
}

.safety-grid > div {
  padding: 21px 23px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 17px;
  align-items: start;
  border: 1px solid #e2d2cc;
  border-radius: 13px;
  background: #fbf2ef;
}

.safety-grid span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.safety-grid p {
  margin: 0;
  color: #6a5c57;
  font-size: 14px;
  line-height: 1.8;
}

.summary-next-link {
  width: fit-content;
  margin-top: 24px;
  padding-bottom: 5px;
  display: inline-block;
  border-bottom: 1px solid #6d6c65;
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .learning-path {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .practice-example {
    grid-template-columns: 1fr;
  }

  .practice-example > div {
    min-height: 0;
  }

  .practice-example h3 {
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .course-switcher {
    width: min(100% - 30px, 1260px);
    align-items: flex-start;
  }

  .course-switcher div {
    display: grid;
    gap: 5px;
  }

  .learning-path {
    width: min(100% - 30px, 1260px);
    padding: 40px 0;
  }

  .learning-path h2 {
    font-size: 31px;
  }

  .learning-path ol {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .course-switcher {
    display: grid;
  }

  .learning-path ol {
    grid-template-columns: 1fr;
  }

  .learning-path li {
    min-height: 95px;
  }

  .safety-grid > div {
    grid-template-columns: 26px 1fr;
    padding: 18px;
  }
}

/* International unit converter */
.unit-converter-page {
  background:
    radial-gradient(circle at 7% 16%, rgba(28, 91, 255, 0.1), transparent 22%),
    radial-gradient(circle at 92% 9%, rgba(199, 255, 74, 0.16), transparent 24%),
    var(--paper);
}

.unit-converter {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 66px 0 104px;
}

.unit-converter-heading {
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 42px;
}

.unit-converter-heading h1 {
  margin: 12px 0 18px;
  font-size: clamp(54px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -5px;
}

.unit-converter-heading > div > p:last-child {
  max-width: 870px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 16px;
  line-height: 1.8;
}

.unit-converter-heading > span {
  margin-bottom: 5px;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #67655d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.unit-converter-heading > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20af68;
  box-shadow: 0 0 0 4px rgba(32, 175, 104, 0.13);
}

.unit-category-tabs {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: var(--ink);
}

.unit-category-tabs button {
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #4d4c46;
  border-radius: 12px;
  background: #252520;
  color: white;
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}

.unit-category-tabs button:hover {
  border-color: #77756d;
  transform: translateY(-1px);
}

.unit-category-tabs button.active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(199, 255, 74, 0.13);
}

.unit-category-tabs button > b {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #3a3934;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.unit-category-tabs button.active > b {
  background: var(--ink);
}

.unit-category-tabs button > span {
  min-width: 0;
  display: block;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.unit-category-tabs button small {
  margin-top: 4px;
  display: block;
  overflow: hidden;
  color: #a9a79e;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unit-category-tabs button.active small {
  color: #505047;
}

.unit-converter-panel {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0 0 22px 22px;
  background: white;
  box-shadow: 0 24px 70px rgba(23, 23, 19, 0.08);
}

.unit-panel-toolbar {
  min-height: 78px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  background: #f1f0ea;
}

.unit-panel-toolbar > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.unit-panel-toolbar strong {
  font-size: 18px;
  letter-spacing: -0.3px;
}

.unit-panel-toolbar span {
  color: #716f67;
  font-size: 13px;
  line-height: 1.5;
}

.unit-panel-toolbar > div:last-child {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.unit-panel-toolbar button {
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.unit-panel-toolbar button:last-child {
  background: var(--ink);
  color: white;
}

.unit-panel-toolbar button:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.unit-groups {
  padding: 26px;
  display: grid;
  gap: 24px;
}

.unit-group {
  overflow: hidden;
  border: 1px solid #c9c7be;
  border-radius: 16px;
  background: #faf9f5;
}

.unit-group > header {
  min-height: 54px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #d8d6ce;
  background: white;
}

.unit-group h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.2px;
}

.unit-group > header > span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
}

.unit-input-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.unit-input-grid label {
  min-width: 0;
}

.unit-input-grid label > span,
.dimensional-form label > span {
  display: block;
  margin: 0 0 8px 2px;
  color: #4e4d47;
  font-size: 14px;
  font-weight: 800;
}

.unit-input-grid label > div,
.dimensional-form label > div {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #c8c6bc;
  border-radius: 10px;
  background: white;
  transition: 150ms ease;
}

.unit-input-grid label.is-source > div,
.unit-input-grid label > div:focus-within,
.dimensional-form label > div:focus-within {
  border-color: #1c5bff;
  box-shadow: 0 0 0 3px rgba(28, 91, 255, 0.1);
}

.unit-input-grid input,
.dimensional-form input {
  min-width: 0;
  width: 100%;
  height: 50px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.unit-input-grid label b,
.dimensional-form label b {
  min-width: 50px;
  padding: 0 12px;
  color: #77756d;
  font-size: 13px;
  text-align: right;
}

.unit-quick-reference {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  border: 1px dashed #b8b6ac;
  border-radius: 13px;
  background: #f5f4ef;
}

.unit-quick-reference span {
  padding: 7px 10px;
  border-radius: 8px;
  background: white;
  color: #5f5d56;
  font-size: 13px;
  font-weight: 800;
}

.dimensional-panel {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: stretch;
  gap: 18px;
}

.dimensional-form {
  padding: 22px;
  border: 1px solid #c9c7be;
  border-radius: 16px;
  background: #faf9f5;
}

.dimensional-system {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dimensional-form select {
  width: 100%;
  height: 50px;
  padding: 0 40px 0 13px;
  border: 1px solid #c8c6bc;
  border-radius: 10px;
  outline: 0;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.dimensional-form select:focus {
  border-color: #1c5bff;
  box-shadow: 0 0 0 3px rgba(28, 91, 255, 0.1);
}

.dimensional-size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.dimensional-form > p {
  margin: 20px 0 0;
  color: #77756d;
  font-size: 13px;
  line-height: 1.7;
}

.dimensional-result {
  padding: 26px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(199, 255, 74, 0.16), transparent 35%),
    var(--ink);
  color: white;
}

.dimensional-result > span {
  color: #aaa89f;
  font-size: 13px;
  font-weight: 800;
}

.dimensional-result > strong {
  margin: 10px 0 26px;
  display: block;
  color: var(--lime);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -3px;
}

.dimensional-result > strong small {
  font-size: 20px;
  letter-spacing: 0;
}

.dimensional-result > div {
  padding-top: 16px;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dimensional-result p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dimensional-result p span {
  color: #aaa89f;
  font-size: 12px;
}

.dimensional-result p b {
  font-size: 13px;
  text-align: right;
}

@media (max-width: 1080px) {
  .unit-category-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unit-input-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dimensional-panel {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .dimensional-size-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .unit-converter {
    width: min(100% - 32px, 720px);
    padding: 56px 0 80px;
  }

  .unit-converter-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .unit-converter-heading h1 {
    font-size: clamp(48px, 11vw, 70px);
    letter-spacing: -4px;
  }

  .unit-converter-heading > span {
    width: fit-content;
  }

  .unit-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dimensional-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .unit-converter {
    padding-top: 44px;
  }

  .unit-converter-heading h1 {
    font-size: 47px;
    line-height: 1.02;
    letter-spacing: -3px;
  }

  .unit-converter-heading > div > p:last-child {
    font-size: 15px;
    line-height: 1.75;
  }

  .unit-category-tabs {
    padding: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unit-category-tabs button {
    min-height: 68px;
    padding: 9px;
    gap: 8px;
  }

  .unit-category-tabs button > b {
    width: 34px;
    height: 34px;
  }

  .unit-category-tabs button > span {
    font-size: 14px;
  }

  .unit-category-tabs button small {
    max-width: 92px;
    font-size: 10px;
  }

  .unit-panel-toolbar {
    padding: 15px;
    align-items: flex-start;
    flex-direction: column;
  }

  .unit-panel-toolbar > div:last-child {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unit-groups,
  .dimensional-panel {
    padding: 15px;
  }

  .unit-input-grid {
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .unit-input-grid label > span,
  .dimensional-form label > span {
    font-size: 14px;
  }

  .unit-input-grid input,
  .dimensional-form input {
    font-size: 18px;
  }

  .unit-quick-reference {
    align-items: stretch;
    flex-direction: column;
  }

  .dimensional-form {
    padding: 15px;
  }

  .dimensional-system,
  .dimensional-size-grid {
    grid-template-columns: 1fr;
  }

  .dimensional-result {
    padding: 22px;
  }

  .dimensional-result > strong {
    font-size: 50px;
  }
}

/* Cross-border toolbox: 100-tool directory and universal tools */
.toolbox-directory-page {
  background:
    radial-gradient(circle at 88% 4%, rgba(66, 108, 135, 0.09), transparent 23%),
    #f7f8f7;
}

.toolbox-directory-hero {
  min-height: 590px;
  align-items: center;
}

.toolbox-directory-hero .toolbox-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(54px, 6.2vw, 92px);
  line-height: 0.98;
}

.toolbox-directory-hero .toolbox-hero-copy > p:not(.section-kicker) {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.9;
}

.toolbox-directory-hero .toolbox-hero-actions a:first-child {
  background: var(--toolbox-ink);
  color: #fff;
}

.toolbox-directory-hero .toolbox-hero-actions a:nth-child(2) {
  background: transparent;
  color: var(--toolbox-ink);
}

.toolbox-ranking-card {
  min-height: 456px;
  padding: 30px 32px 24px;
  box-shadow: 13px 13px 0 var(--toolbox-warm);
}

.toolbox-ranking-card > div {
  margin-bottom: 15px;
  padding-bottom: 16px;
}

.toolbox-ranking-card > div b {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  letter-spacing: 0.8px;
}

.toolbox-ranking-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toolbox-ranking-card li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.toolbox-ranking-card li:last-child {
  border-bottom: 0;
}

.toolbox-ranking-card li a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  color: #fff;
}

.toolbox-ranking-card li a > span {
  color: #9fb6c5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.toolbox-ranking-card li a > strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbox-ranking-card li a > b {
  color: #e88a63;
  font-size: 15px;
  transition: transform 160ms ease;
}

.toolbox-ranking-card li a:hover > b {
  transform: translateX(3px);
}

.toolbox-count-strip {
  background: #fff;
}

.tool-category-jump {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  max-width: 1440px;
  margin: 26px auto 0;
  padding: 0 42px;
  gap: 8px;
}

.tool-category-jump a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 56px;
  border: 1px solid var(--toolbox-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  padding: 8px 10px;
  color: var(--toolbox-ink);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tool-category-jump a:hover {
  border-color: #9aadb9;
  box-shadow: 0 8px 22px rgba(35, 55, 69, 0.08);
  transform: translateY(-2px);
}

.tool-category-jump a > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--toolbox-accent-soft);
  color: var(--toolbox-accent-strong);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.tool-category-jump a > strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-category-jump a > small {
  color: var(--toolbox-muted);
  font-size: 10px;
  font-weight: 750;
}

.tool-directory {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 42px 120px;
}

.tool-directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: end;
  gap: 50px;
  margin-bottom: 36px;
}

.tool-directory-heading h2,
.toolbox-method h2 {
  margin: 8px 0 0;
  color: var(--toolbox-ink);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.tool-directory-heading > p {
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 15px;
  line-height: 1.8;
}

.tool-directory-controls {
  position: sticky;
  z-index: 5;
  top: 8px;
  border: 1px solid var(--toolbox-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
  box-shadow: 0 18px 50px rgba(35, 55, 69, 0.09);
  backdrop-filter: blur(14px);
}

.tool-search-field {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 36px;
  align-items: center;
  min-height: 56px;
  border: 1px solid #b8c7d0;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
}

.tool-search-field > span {
  color: var(--toolbox-accent-strong);
  font-size: 23px;
}

.tool-search-field input {
  width: 100%;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--toolbox-ink);
  font: inherit;
  font-size: 15px;
}

.tool-search-field button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #edf2f5;
  color: var(--toolbox-muted);
  cursor: pointer;
  font-size: 19px;
}

.tool-filter-row {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  margin-top: 10px;
  padding-bottom: 1px;
  scrollbar-width: thin;
}

.tool-filter-row button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--toolbox-line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: #536571;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.tool-filter-row button b {
  margin-left: 4px;
  color: inherit;
}

.tool-filter-row button:hover {
  border-color: #9fb2be;
  color: var(--toolbox-accent-strong);
}

.tool-filter-row button.active {
  border-color: var(--toolbox-ink);
  background: var(--toolbox-ink);
  color: #fff;
}

.tool-directory-resultbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 4px;
  color: var(--toolbox-muted);
  font-size: 13px;
}

.tool-directory-resultbar strong {
  color: var(--toolbox-warm);
  font-size: 16px;
}

.tool-directory-resultbar button {
  border: 0;
  background: transparent;
  color: var(--toolbox-accent-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.tool-directory-groups {
  display: grid;
  gap: 30px;
}

.tool-directory-group {
  scroll-margin-top: 150px;
  border: 1px solid var(--toolbox-line);
  border-radius: 18px;
  background: #fff;
  padding: 24px;
}

.tool-directory-group > header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.tool-directory-category-icon {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  background: var(--toolbox-accent-soft);
  color: var(--toolbox-accent-strong);
  font-size: 19px;
  font-weight: 900;
}

.tool-directory-group > header p {
  margin: 0 0 3px;
  color: var(--toolbox-warm);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tool-directory-group > header h3 {
  display: inline;
  margin: 0 12px 0 0;
  color: var(--toolbox-ink);
  font-size: 25px;
  letter-spacing: -0.8px;
}

.tool-directory-group > header strong {
  color: var(--toolbox-muted);
  font-size: 12px;
  font-weight: 500;
}

.tool-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tool-directory-card {
  display: flex;
  min-width: 0;
  min-height: 205px;
  flex-direction: column;
  border: 1px solid #dde5ea;
  border-radius: 12px;
  background: #fafcfc;
  padding: 17px;
  color: var(--toolbox-ink);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.tool-directory-card:hover {
  border-color: #93a9b7;
  background: #fff;
  box-shadow: 0 13px 30px rgba(41, 66, 82, 0.11);
  transform: translateY(-3px);
}

.tool-directory-card-top,
.tool-directory-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-directory-card-top > span {
  color: #8b9aa3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.tool-directory-card-top > div {
  display: flex;
  gap: 4px;
}

.tool-directory-card-top i {
  border-radius: 999px;
  background: #fff0e9;
  padding: 4px 7px;
  color: #b14f2d;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.tool-directory-card-top i.new {
  background: var(--toolbox-accent-soft);
  color: var(--toolbox-accent-strong);
}

.tool-directory-card-top i.stable {
  background: #eceff1;
  color: #66747d;
}

.tool-directory-card h4 {
  margin: 19px 0 8px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.35px;
}

.tool-directory-card > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 16px;
  color: #63727c;
  font-size: 12px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tool-directory-card-bottom {
  margin-top: auto;
  border-top: 1px solid #e2e8ec;
  padding-top: 12px;
}

.tool-directory-card-bottom span {
  overflow: hidden;
  color: #87949c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-directory-card-bottom b {
  flex: 0 0 auto;
  color: var(--toolbox-accent-strong);
  font-size: 11px;
}

.tool-directory-empty,
.reference-empty {
  border: 1px dashed #afbec7;
  border-radius: 16px;
  background: #fff;
  padding: 70px 24px;
  text-align: center;
}

.tool-directory-empty > span {
  color: var(--toolbox-accent);
  font-size: 44px;
}

.tool-directory-empty h3 {
  margin: 10px 0 7px;
  font-size: 24px;
}

.tool-directory-empty p {
  color: var(--toolbox-muted);
}

.tool-directory-empty button {
  border: 0;
  border-radius: 9px;
  background: var(--toolbox-ink);
  padding: 12px 18px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.toolbox-method {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 42px 110px;
}

.toolbox-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.toolbox-method-grid article {
  border: 1px solid var(--toolbox-line);
  border-radius: 14px;
  background: #fff;
  padding: 27px;
}

.toolbox-method-grid span {
  color: var(--toolbox-warm);
  font-size: 12px;
  font-weight: 900;
}

.toolbox-method-grid h3 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.toolbox-method-grid p {
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 13px;
  line-height: 1.75;
}

.compact-toolbox-faq {
  max-width: 1440px;
}

/* Universal tool pages */
.universal-tool-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 0%, rgba(66, 108, 135, 0.08), transparent 23%),
    #f7f8f7;
}

.universal-tool-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 42px 110px;
}

.universal-breadcrumb {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 9px;
  min-height: 42px;
  color: #7a8992;
  font-size: 12px;
  white-space: nowrap;
}

.universal-breadcrumb a {
  color: var(--toolbox-accent-strong);
}

.universal-breadcrumb strong {
  color: var(--toolbox-ink);
}

.universal-tool-title {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  border-bottom: 1px solid var(--toolbox-line);
  padding: 52px 0 42px;
}

.universal-tool-rank {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 18px;
  background: var(--toolbox-ink);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 8px 8px 0 var(--toolbox-warm);
}

.universal-tool-title h1 {
  margin: 8px 0 12px;
  color: var(--toolbox-ink);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -3px;
}

.universal-tool-title > div > p:not(.section-kicker) {
  max-width: 800px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 16px;
  line-height: 1.8;
}

.universal-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.universal-tool-tags span {
  border: 1px solid var(--toolbox-line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 10px;
  color: #5e6d76;
  font-size: 10px;
  font-weight: 750;
}

.universal-tool-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  margin-top: 34px;
}

.universal-input-panel,
.universal-result-panel,
.universal-output-panel {
  min-width: 0;
  border: 1px solid var(--toolbox-line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}

.universal-result-panel {
  align-self: start;
  background: var(--toolbox-ink);
  color: #fff;
}

.universal-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  margin-bottom: 22px;
}

.universal-panel-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.universal-panel-heading > div > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--toolbox-accent-soft);
  color: var(--toolbox-accent-strong);
  font-size: 10px;
  font-weight: 900;
}

.universal-panel-heading strong {
  font-size: 17px;
}

.universal-panel-heading button {
  border: 0;
  border-radius: 8px;
  background: #edf2f4;
  padding: 8px 10px;
  color: #516570;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.universal-result-panel .universal-panel-heading > div > span {
  background: rgba(255, 255, 255, 0.12);
  color: #dfeaf0;
}

.universal-result-panel .universal-panel-heading button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.universal-number-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.universal-number-grid label > span,
.universal-aux-fields label > span,
.universal-generator-fields label > span {
  display: block;
  margin-bottom: 7px;
  color: #556670;
  font-size: 12px;
  font-weight: 750;
}

.universal-number-grid label > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 50px;
  border: 1px solid #cbd6dc;
  border-radius: 9px;
  background: #fafcfc;
  padding-right: 11px;
}

.universal-number-grid input,
.universal-aux-fields input,
.universal-generator-fields input {
  width: 100%;
  height: 46px;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 12px;
  color: var(--toolbox-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.universal-number-grid label > div:focus-within,
.universal-aux-fields label:focus-within,
.universal-generator-fields label:focus-within {
  border-color: var(--toolbox-accent);
  box-shadow: 0 0 0 3px rgba(66, 108, 135, 0.1);
}

.universal-number-grid i {
  color: #86959d;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.universal-result-list {
  display: grid;
  gap: 8px;
}

.universal-result-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 13px;
}

.universal-result-list > div.emphasis {
  border-color: rgba(232, 138, 99, 0.7);
  background: rgba(213, 103, 61, 0.15);
}

.universal-result-list span {
  color: #b7c7d0;
  font-size: 11px;
}

.universal-result-list strong {
  color: #fff;
  font-size: 17px;
  text-align: right;
}

.universal-result-list .emphasis strong {
  color: #ffb38f;
  font-size: 22px;
}

.universal-result-panel > p {
  margin: 16px 0 0;
  color: #9fb0ba;
  font-size: 10px;
  line-height: 1.6;
}

.text-workspace,
.generator-workspace {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.universal-input-panel textarea,
.universal-output-panel textarea {
  width: 100%;
  min-height: 320px;
  resize: vertical;
  border: 1px solid #cbd6dc;
  border-radius: 10px;
  outline: 0;
  background: #fafcfc;
  padding: 15px;
  color: var(--toolbox-ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.75;
}

.universal-input-panel textarea:focus {
  border-color: var(--toolbox-accent);
  box-shadow: 0 0 0 3px rgba(66, 108, 135, 0.1);
}

.universal-output-panel textarea {
  background: #f2f6f7;
}

.universal-aux-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.universal-aux-fields label,
.universal-generator-fields label {
  display: block;
  border: 1px solid #cbd6dc;
  border-radius: 9px;
  padding: 10px 0 0;
}

.universal-aux-fields label > span,
.universal-generator-fields label > span {
  margin: 0;
  padding: 0 12px;
  font-size: 10px;
}

.universal-text-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.universal-text-stats span {
  border-radius: 999px;
  background: #edf2f4;
  padding: 5px 8px;
  color: #687780;
  font-size: 9px;
  font-weight: 700;
}

.universal-generator-fields {
  display: grid;
  gap: 12px;
}

.generator-workspace .universal-output-panel textarea {
  min-height: 230px;
}

.universal-open-link {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 9px;
  background: var(--toolbox-ink);
  padding: 11px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.reference-workspace {
  margin-top: 34px;
  border: 1px solid var(--toolbox-line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}

.reference-search {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  min-height: 58px;
  border: 1px solid #b9c8d0;
  border-radius: 10px;
  padding: 0 12px;
}

.reference-search > span {
  color: var(--toolbox-accent);
  font-size: 24px;
}

.reference-search input {
  width: 100%;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--toolbox-ink);
  font: inherit;
  font-size: 15px;
}

.reference-search button {
  border: 0;
  border-radius: 50%;
  background: #edf2f4;
  color: #667780;
  cursor: pointer;
  font-size: 18px;
}

.reference-resultbar {
  display: flex;
  justify-content: space-between;
  padding: 15px 2px;
  color: var(--toolbox-muted);
  font-size: 11px;
}

.reference-resultbar strong {
  color: var(--toolbox-warm);
  font-size: 14px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reference-grid article {
  position: relative;
  min-height: 150px;
  border: 1px solid #dbe3e8;
  border-radius: 11px;
  background: #fafcfc;
  padding: 17px;
}

.reference-grid article > span {
  color: var(--toolbox-warm);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.reference-grid h3 {
  margin: 13px 0 7px;
  font-size: 16px;
}

.reference-grid p {
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 11px;
  line-height: 1.65;
}

.reference-grid button {
  position: absolute;
  right: 12px;
  bottom: 11px;
  border: 0;
  background: transparent;
  color: var(--toolbox-accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
}

.reference-empty {
  color: var(--toolbox-muted);
  font-size: 13px;
}

.universal-tool-notice {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  margin-top: 16px;
  border: 1px solid #d7e0e6;
  border-radius: 13px;
  background: #edf3f5;
  padding: 18px 22px;
}

.universal-tool-notice > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.universal-tool-notice > div span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--toolbox-accent-strong);
  color: #fff;
  font-size: 10px;
}

.universal-tool-notice strong {
  font-size: 12px;
}

.universal-tool-notice p {
  margin: 0;
  color: #647680;
  font-size: 11px;
  line-height: 1.7;
}

.universal-related {
  margin-top: 80px;
  border-top: 1px solid var(--toolbox-line);
  padding-top: 42px;
}

.universal-related h2 {
  margin: 7px 0 24px;
  font-size: 34px;
  letter-spacing: -1.4px;
}

.universal-related > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.universal-related a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  min-height: 78px;
  border: 1px solid var(--toolbox-line);
  border-radius: 10px;
  background: #fff;
  padding: 13px;
  color: var(--toolbox-ink);
}

.universal-related a:hover {
  border-color: #9fb2be;
  box-shadow: 0 8px 22px rgba(35, 55, 69, 0.08);
}

.universal-related a span {
  color: #8b9aa3;
  font-size: 10px;
  font-weight: 900;
}

.universal-related a strong {
  font-size: 12px;
  line-height: 1.4;
}

.universal-related a b {
  color: var(--toolbox-warm);
}

@media (max-width: 1180px) {
  .tool-category-jump {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .tool-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .toolbox-directory-hero {
    min-height: auto;
  }

  .tool-category-jump {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 24px;
  }

  .tool-directory {
    padding: 80px 24px 90px;
  }

  .tool-directory-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tool-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbox-method {
    padding: 0 24px 90px;
  }

  .universal-tool-shell {
    padding: 20px 24px 90px;
  }

  .universal-tool-workspace,
  .text-workspace,
  .generator-workspace {
    grid-template-columns: 1fr;
  }

  .universal-result-panel {
    position: static;
  }

  .universal-related > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .toolbox-directory-hero .toolbox-hero-copy h1 {
    font-size: 48px;
    letter-spacing: -2.6px;
  }

  .toolbox-ranking-card {
    min-height: auto;
    padding: 22px 18px 17px;
    box-shadow: 8px 8px 0 var(--toolbox-warm);
  }

  .toolbox-ranking-card li a {
    min-height: 42px;
  }

  .tool-category-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
    padding: 0 18px;
  }

  .tool-category-jump a {
    min-width: 0;
  }

  .tool-directory {
    padding: 64px 18px 75px;
  }

  .tool-directory-heading h2,
  .toolbox-method h2 {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .tool-directory-controls {
    top: 4px;
    padding: 10px;
  }

  .tool-search-field {
    min-height: 52px;
  }

  .tool-search-field input {
    height: 48px;
    font-size: 13px;
  }

  .tool-filter-row button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }

  .tool-directory-group {
    border-radius: 14px;
    padding: 16px;
  }

  .tool-directory-group > header {
    align-items: flex-start;
  }

  .tool-directory-group > header h3 {
    display: block;
    margin-right: 0;
    font-size: 21px;
  }

  .tool-directory-group > header strong {
    display: block;
    margin-top: 3px;
    line-height: 1.55;
  }

  .tool-directory-grid {
    grid-template-columns: 1fr;
  }

  .tool-directory-card {
    min-height: 182px;
  }

  .toolbox-method {
    padding: 0 18px 75px;
  }

  .toolbox-method-grid {
    grid-template-columns: 1fr;
  }

  .universal-tool-shell {
    padding: 12px 18px 72px;
  }

  .universal-tool-title {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 35px 0 30px;
  }

  .universal-tool-rank {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    font-size: 15px;
    box-shadow: 6px 6px 0 var(--toolbox-warm);
  }

  .universal-tool-title h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .universal-tool-title > div > p:not(.section-kicker) {
    font-size: 14px;
  }

  .universal-input-panel,
  .universal-result-panel,
  .universal-output-panel,
  .reference-workspace {
    border-radius: 13px;
    padding: 17px;
  }

  .universal-number-grid,
  .universal-aux-fields {
    grid-template-columns: 1fr;
  }

  .universal-input-panel textarea,
  .universal-output-panel textarea {
    min-height: 260px;
    font-size: 13px;
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .reference-resultbar small {
    display: none;
  }

  .universal-tool-notice {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .universal-related {
    margin-top: 58px;
  }

  .universal-related > div:last-child {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026 PPGOOO brand and conversion color system
   Orange is reserved for intent and conversion, navy anchors trust,
   and neutral surfaces carry long-form reading. Green remains semantic only. */
:root {
  --ink: #101828;
  --muted: #667085;
  --paper: #f7f7f5;
  --card: #ffffff;
  --line: #e4e7ec;
  --orange: #ff4d00;
  --orange-strong: #d94000;
  --orange-soft: #fff1eb;
  --lime: #ff7a45;
  --navy: #101828;
  --navy-soft: #eef2f6;
}

html {
  color-scheme: light;
  accent-color: var(--orange);
}

body {
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: #ffd7c7;
  color: var(--ink);
}

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: rgba(255, 77, 0, 0.14);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 77, 0, 0.28);
  outline-offset: 3px;
}

/* Shared navigation: quiet while browsing, decisive at conversion points. */
.site-header,
.inner-site-header,
.category-page-header {
  border-bottom-color: rgba(16, 24, 40, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
  backdrop-filter: blur(16px);
}

.logo-mark {
  background: var(--orange);
  color: white;
  box-shadow: 0 7px 18px rgba(255, 77, 0, 0.2);
}

.logo-word,
.logo-ai {
  color: var(--ink);
}

.site-header nav a:hover,
.inner-site-header nav a:hover,
.inner-site-header nav a.active,
.category-page-header nav a:hover,
.category-page-header nav a.active {
  color: var(--orange);
}

.submit-link,
.site-header .submit-link,
.inner-site-header .submit-link {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 77, 0, 0.18);
}

.submit-link:hover,
.site-header .submit-link:hover,
.inner-site-header .submit-link:hover {
  border-color: var(--orange-strong);
  background: var(--orange-strong);
  color: white;
  transform: translateY(-1px);
}

.favorites-trigger.active {
  border-color: #ffc4ad;
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.mega-menu,
.site-header nav.nav-open {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.13);
}

.mega-menu-grid a:hover {
  background: var(--orange-soft);
}

.mega-menu-grid a i,
.category-symbol {
  color: var(--orange) !important;
}

/* Homepage discovery and search. */
.hero {
  background:
    radial-gradient(circle at 10% 92%, rgba(255, 77, 0, 0.13), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(16, 24, 40, 0.075), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #f5f6f7 100%);
}

.hero-grid {
  opacity: 0.55;
}

.eyebrow span,
.section-kicker::before {
  background: var(--orange);
}

.hero h1 em,
.section-kicker,
.result-meta strong,
.tool-card-bottom > a,
.home-headlines-grid > a footer b,
.home-academy-grid > a i {
  color: var(--orange);
}

.search-shell {
  border-color: #cfd4dc;
  background: white;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.1);
}

.search-shell:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.1), 0 24px 64px rgba(16, 24, 40, 0.12);
}

.search-btn,
.empty-state button,
.load-more-wrap button:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.search-btn:hover,
.empty-state button:hover {
  background: var(--orange-strong);
}

.popular-searches :is(button, a):hover {
  border-color: #ffb99e;
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.floating-chip {
  border-color: rgba(16, 24, 40, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.1);
}

.brand-proof,
.ranking-panel,
.toolbox-promo-inner,
.about-section,
.submit-section {
  background-color: var(--ink);
  color: white;
}

.brand-proof b,
.ranking-intro .section-kicker,
.about-section .section-kicker,
.submit-section .section-kicker {
  color: #ff7a45;
}

.audience-path-grid article,
.category-overview-card,
.tool-card,
.home-headlines-grid > a,
.home-academy-grid > a,
.faq-list details {
  border-color: var(--line);
  background: white;
}

.audience-path-grid article:hover,
.category-overview-card:hover,
.tool-card:hover,
.home-headlines-grid > a:hover,
.home-academy-grid > a:hover {
  border-color: #ffb99e;
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.09);
}

.seller-path {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 77, 0, 0.1), transparent 31%),
    white !important;
  box-shadow: 10px 10px 0 var(--orange-soft);
}

.seller-path > span,
.seller-path li::before,
.provider-path > span,
.provider-path li::before {
  color: var(--orange);
  background-color: var(--orange);
}

.seller-path > span,
.provider-path > span {
  background: transparent;
}

.seller-path > div a:first-child,
.provider-path > div a:first-child,
.home-service-bridge-actions a:first-child,
.submit-section > a,
.toolbox-promo-inner > a {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.seller-path > div a:first-child:hover,
.provider-path > div a:first-child:hover,
.home-service-bridge-actions a:first-child:hover,
.submit-section > a:hover,
.toolbox-promo-inner > a:hover {
  border-color: var(--orange-strong);
  background: var(--orange-strong);
}

.provider-path {
  border-color: var(--ink) !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 77, 0, 0.18), transparent 30%),
    var(--ink) !important;
  color: white;
}

.provider-path p,
.provider-path li {
  color: #d0d5dd;
}

.category-strip {
  border-block-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.category-list button:hover {
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.category-list button.active {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 77, 0, 0.18);
}

.featured-dot,
.tag-list span,
.advanced-blog-card > small {
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.favorite-btn.is-favorite {
  color: var(--orange);
}

.scene-card {
  border-color: rgba(16, 24, 40, 0.12);
  color: var(--ink);
}

.scene-card.orange { background: #fff0e8; }
.scene-card.purple { background: #f2efff; }
.scene-card.red { background: #fff0ed; }
.scene-card.green { background: #f0f2f5; }
.scene-card.ink { background: var(--ink); color: white; }
.scene-card.blue { background: #edf3ff; }
.scene-card.yellow { background: #fff5df; }
.scene-card.cyan { background: #eef4f6; }

.scene-card:hover {
  border-color: var(--orange);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.11);
}

.ranking-list a:hover {
  background: rgba(255, 77, 0, 0.08);
}

.ranking-list a > strong,
.ranking-list a > span {
  color: #ff7a45;
}

.home-service-bridge {
  border-color: var(--line);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 77, 0, 0.08), transparent 28%),
    white;
}

.home-service-bridge-actions a:last-child {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

/* Service matching and partner conversion pages. */
.services-page,
.partner-page,
.blog-page,
.article-page,
.submit-page {
  background: var(--paper);
  color: var(--ink);
}

.services-hero > aside,
.partner-brief-card {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--orange);
}

.services-hero-actions a:first-child,
.partner-hero-actions a:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  box-shadow: 0 10px 24px rgba(255, 77, 0, 0.2);
}

.services-hero-actions a:first-child:hover,
.partner-hero-actions a:first-child:hover {
  background: var(--orange-strong);
}

.service-card,
.partner-fit-grid article {
  border-color: var(--line);
  background: white;
}

.service-card:hover,
.partner-fit-grid article:hover {
  border-color: #ffb99e;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.09);
}

.service-card > span,
.partner-fit-grid article > span,
.partner-principles article > span {
  color: var(--orange);
}

.partner-ways {
  background: var(--ink);
}

.partner-way-grid article {
  border-color: #344054;
  background: #1d2939;
}

.partner-way-grid article > span,
.partner-way-grid a b {
  color: #ff7a45;
}

.services-cta,
.partner-cta {
  border-block-color: var(--ink);
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 77, 0, 0.2), transparent 29%),
    var(--ink);
  color: white;
}

.services-cta .section-kicker,
.partner-cta .section-kicker {
  color: #ff7a45;
}

.services-cta p:last-child,
.partner-cta p:last-child {
  color: #d0d5dd;
}

.services-cta > a,
.partner-cta > a {
  background: var(--orange);
  color: white;
}

/* Reading surfaces: remove the former olive/green cast. */
.course-switcher,
.answer-box,
.beginner-answer-box {
  border-color: #ffd0bd;
  background: linear-gradient(145deg, #fffaf7 0%, var(--orange-soft) 100%);
}

.course-switcher span,
.course-switcher a,
.beginner-hero em,
.learning-path li b,
.practice-example span,
.beginner-blog-card > strong,
.beginner-blog-card > strong i {
  color: var(--orange-strong);
}

.beginner-hero-card {
  background: var(--ink);
}

.beginner-hero-card::before {
  background: radial-gradient(circle, rgba(255, 77, 0, 0.2), transparent 66%);
}

.beginner-hero-card > span,
.beginner-hero-card a,
.summary-next-link {
  color: #ff8a5b;
}

.beginner-library-page .blog-category-heading > span {
  background: var(--orange);
}

.beginner-blog-card > small {
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.beginner-article-hero .article-outcome {
  border-left-color: var(--orange);
  background: var(--orange-soft);
}

.beginner-article-hero .article-outcome span,
.answer-box > p,
.answer-facts span {
  color: #694334 !important;
}

.answer-facts {
  border-color: #ffd0bd;
  background: #ffd0bd;
}

.article-toc a:hover,
.article-toc a.active,
.article-breadcrumbs a:hover,
.source-list a,
.source-check-link {
  color: var(--orange-strong);
}

.method-list > div > span,
.prompt-card h3 {
  color: #ff8a5b;
}

.prompt-card,
.article-table thead th {
  background: var(--ink);
}

.trend-grid > div {
  background: #f0f2f5;
}

/* Cross-border headlines retain editorial navy, with PPGOOO orange for action. */
.headlines-page {
  --headline-navy: #101828;
  --headline-blue: #475467;
  --headline-blue-soft: #eef2f6;
  --headline-paper: #f7f7f5;
  --headline-card: #ffffff;
  --headline-line: #dfe3e8;
  --headline-orange: #ff4d00;
}

.headlines-header {
  background: rgba(255, 255, 255, 0.94);
}

.headline-category-tabs button:hover,
.headline-category-tabs button.active {
  background: var(--orange-soft);
  color: var(--headline-navy);
}

.headline-category-tabs button.active span,
.headline-card-source > span {
  background: var(--headline-orange);
  color: white;
}

.headline-search-row input:focus,
.headline-search-row select:focus {
  border-color: var(--headline-orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.headline-list-card .headline-category-mark {
  background: var(--orange-soft);
  color: var(--headline-orange);
}

.headline-lead-main:hover,
.headline-lead-side > a:hover,
.headline-list-card:hover {
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.1);
}

.headline-radar,
.headline-source-standard,
.headline-status-strip {
  background: var(--headline-navy);
}

.headline-article-toc a:hover,
.headline-article-toc a.active,
.headline-article-sources a,
.headline-back-link a {
  color: var(--headline-orange);
}

/* Toolbox: one visual family across directory and calculators. */
.toolbox-page {
  --ink: #101828;
  --muted: #667085;
  --paper: #f7f7f5;
  --line: #e4e7ec;
  --orange: #ff4d00;
  --orange-soft: #fff1eb;
  --lime: #ff7a45;
  --toolbox-ink: #101828;
  --toolbox-muted: #667085;
  --toolbox-accent: #ff4d00;
  --toolbox-accent-strong: #d94000;
  --toolbox-accent-soft: #fff1eb;
  --toolbox-warm: #ff4d00;
  --toolbox-surface: #ffffff;
  --toolbox-line: #e4e7ec;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 77, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #fafafa 0%, #f5f6f7 100%);
}

.toolbox-header {
  background: rgba(255, 255, 255, 0.94);
}

.toolbox-subnav a:hover {
  background: var(--toolbox-accent-soft);
  color: var(--toolbox-accent-strong);
}

.toolbox-subnav a.active {
  background: var(--toolbox-ink);
  color: white;
}

.toolbox-subnav a:focus-visible,
.available-tool-card:focus-visible,
.toolbox-page button:focus-visible,
.toolbox-page input:focus-visible,
.toolbox-page select:focus-visible,
.toolbox-page textarea:focus-visible {
  outline-color: rgba(255, 77, 0, 0.3);
}

.toolbox-hero-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 77, 0, 0.18), transparent 30%),
    var(--toolbox-ink);
  box-shadow: 14px 14px 0 var(--toolbox-warm);
}

.toolbox-hero-card > div b,
.toolbox-hero-card li i,
.toolbox-hero-actions a:first-child span,
.generate-address-btn span,
.record-overview span,
.future-tool-grid article > div > span,
.case-mode-heading > span,
.case-editor-header > div:first-child > span,
.case-copy-btn b,
.case-use-case-grid span,
.counter-editor-header > div:first-child > span,
.counter-detail-heading > span {
  color: #ff9a73;
}

.toolbox-hero-card li i,
.generator-status i,
.profit-calculator-heading > span i,
.unit-converter-heading > span i,
.case-converter-heading > span i,
.character-counter-heading > span i {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.13);
}

.toolbox-trust-strip {
  border-color: var(--toolbox-line);
  background: #f0f2f5;
}

.tool-category-header > span {
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.available-tool-card:hover,
.featured-tool-card:hover {
  border-color: #ffb99e;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.09);
}

.featured-tool-card {
  border-color: #ffd0bd;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 77, 0, 0.09), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.available-tool-icon,
.profit-tool-card .available-tool-icon,
.unit-tool-card .available-tool-icon {
  background: var(--orange);
}

.case-tool-card .available-tool-icon,
.counter-tool-card .available-tool-icon {
  background: var(--toolbox-ink);
}

.case-tool-card .available-tool-link,
.available-tool-link,
.available-tool-card > p {
  color: var(--orange-strong);
}

.generator-controls select:focus,
.generator-controls input:focus,
.profit-field-grid label > div:focus-within,
.profit-price-box label > div:focus-within,
.dimensional-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.unit-category-tabs button.active,
.profit-quick-actions button:first-child,
.generate-address-btn,
.case-copy-btn,
.counter-copy-btn {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 22px rgba(255, 77, 0, 0.18);
}

.profit-result-card,
.dimensional-result,
.tool-roadmap,
.case-use-cases,
.unit-category-tabs {
  background-color: var(--toolbox-ink);
}

.future-tool-grid article,
.case-use-case-grid article {
  border-color: #344054;
  background: #1d2939;
}

.future-tool-grid article > div > span {
  background: var(--orange);
  color: white;
}

.case-related-tools > a,
.case-related-links a {
  background: var(--orange-strong);
}

.toolbox-promo-inner {
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 77, 0, 0.24), transparent 29%),
    var(--toolbox-ink);
}

/* Inquiry is always available, never visually louder than the page's main CTA. */
.inquiry-float {
  border-color: #344054;
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.2);
}

.inquiry-float:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.24);
}

.inquiry-float-icon,
.inquiry-submit-row button,
.inquiry-success button {
  background: var(--orange);
  color: white;
}

.inquiry-intro {
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 77, 0, 0.2), transparent 31%),
    var(--ink);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

/* Green is intentionally reserved for successful completion feedback. */
.inquiry-success > span,
.form-message.success,
.generator-status.is-ready i {
  background: #e7f8ec;
  color: #18834b;
}

@media (max-width: 780px) {
  .site-header,
  .inner-site-header,
  .category-page-header {
    background: rgba(255, 255, 255, 0.97);
  }

  .audience-path-grid article,
  .service-card,
  .partner-fit-grid article,
  .tool-card,
  .home-headlines-grid > a,
  .home-academy-grid > a {
    box-shadow: none;
  }

  .seller-path,
  .services-hero > aside,
  .partner-brief-card,
  .toolbox-hero-card {
    box-shadow: 6px 6px 0 var(--orange-soft);
  }

  .search-btn,
  .services-hero-actions a,
  .partner-hero-actions a,
  .services-cta > a,
  .partner-cta > a,
  .home-service-bridge-actions a,
  .submit-section > a {
    min-height: 50px;
  }
}

/* Customer-facing monetization paths */
.audience-paths {
  width: min(1280px, calc(100% - 64px));
  margin: 82px auto 0;
}

.audience-paths-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.audience-paths-heading h2 {
  margin: 9px 0 13px;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.02;
  letter-spacing: -3.5px;
}

.audience-paths-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.audience-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.audience-path-grid article {
  min-height: 430px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
}

.audience-path-grid .seller-path {
  background: var(--ink);
  color: white;
}

.audience-path-grid .provider-path {
  background: var(--lime);
  color: var(--ink);
}

.audience-path-grid article > span {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.audience-path-grid h3 {
  max-width: 540px;
  margin: 27px 0 25px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.audience-path-grid ul {
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  list-style: none;
}

.audience-path-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.audience-path-grid li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.seller-path li::before { background: var(--lime); }

.audience-path-grid article > div {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.audience-path-grid article > div a {
  min-height: 50px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.seller-path > div a:first-child {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.provider-path > div a:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.home-service-bridge {
  width: min(1280px, calc(100% - 64px));
  margin: 80px auto;
  padding: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background:
    linear-gradient(125deg, rgba(199, 255, 74, 0.78), rgba(255, 255, 255, 0.92) 62%),
    white;
}

.home-service-bridge h2 {
  max-width: 820px;
  margin: 10px 0 16px;
  font-size: clamp(35px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -3px;
}

.home-service-bridge > div:first-child > p:last-child {
  max-width: 780px;
  margin: 0;
  color: #5d5c55;
  font-size: 15px;
  line-height: 1.8;
}

.home-service-bridge-actions {
  min-width: 220px;
  display: grid;
  gap: 10px;
}

.home-service-bridge-actions a {
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.home-service-bridge-actions a:first-child {
  background: var(--ink);
  color: white;
}

/* Cross-border service matching */
.services-page,
.partner-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.services-hero,
.partner-hero,
.partner-fit,
.partner-process,
.partner-principles,
.service-catalog,
.service-steps,
.services-faq {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.services-hero,
.partner-hero {
  padding: 78px 0 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: stretch;
  gap: 56px;
}

.services-hero > div,
.partner-hero-copy {
  align-self: center;
}

.services-hero h1,
.partner-hero h1 {
  max-width: 850px;
  margin: 12px 0 23px;
  font-size: clamp(54px, 6.3vw, 86px);
  line-height: 0.98;
  letter-spacing: -5px;
}

.services-hero > div > p:not(.section-kicker),
.partner-hero-copy > p:not(.section-kicker) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.services-hero-actions,
.partner-hero-actions {
  margin-top: 31px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-hero-actions a,
.partner-hero-actions a {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.services-hero-actions a:first-child,
.partner-hero-actions a:first-child {
  background: var(--ink);
  color: white;
}

.services-hero > aside,
.partner-brief-card {
  padding: 27px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--ink);
  color: white;
  box-shadow: 15px 15px 0 var(--lime);
}

.services-hero > aside > span,
.partner-brief-card > span {
  display: block;
  margin-bottom: 21px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-hero > aside > div,
.partner-brief-card li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  border-top: 1px solid #45453f;
}

.services-hero > aside b,
.partner-brief-card b {
  color: var(--orange);
  font-size: 12px;
}

.services-hero > aside strong,
.partner-brief-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.services-hero > aside small,
.partner-brief-card small {
  color: #b9b8b0;
  font-size: 13px;
  line-height: 1.55;
}

.partner-brief-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-trust-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.partner-trust-row span {
  position: relative;
  padding-left: 15px;
  color: #65645d;
  font-size: 13px;
  font-weight: 800;
}

.partner-trust-row span::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20af68;
}

.services-proof,
.partner-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--ink);
  background: white;
}

.services-proof span,
.partner-proof span {
  min-height: 102px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid var(--ink);
  text-align: center;
}

.services-proof span:last-child,
.partner-proof span:last-child { border-right: 0; }

.services-proof b,
.partner-proof strong {
  font-size: 26px;
  letter-spacing: -1px;
}

.services-proof small,
.partner-proof small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.service-catalog,
.partner-fit {
  padding: 92px 0;
}

.services-section-heading,
.partner-section-heading {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: end;
  gap: 42px;
}

.services-section-heading h2,
.partner-section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1;
  letter-spacing: -3.3px;
}

.services-section-heading > p,
.partner-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-card-grid,
.partner-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card-grid article,
.partner-fit-grid article {
  min-height: 300px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: white;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card-grid article:hover,
.partner-fit-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--lime);
}

.service-card-grid article > span,
.partner-fit-grid article > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.service-card-grid h3,
.partner-fit-grid h3 {
  margin: 35px 0 13px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.9px;
}

.service-card-grid p,
.partner-fit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-card-grid article > small {
  margin: 18px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #5e5d56;
  font-size: 12px;
  line-height: 1.55;
}

.service-card-grid article > a {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.service-steps,
.partner-process {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 70px;
  border-top: 1px solid var(--ink);
}

.service-steps h2,
.partner-process h2,
.partner-principles h2,
.services-faq h2 {
  margin: 9px 0 16px;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.03;
  letter-spacing: -3px;
}

.service-steps > div > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-steps ol,
.partner-process ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-steps li,
.partner-process li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.service-steps li:first-child,
.partner-process li:first-child { padding-top: 0; }

.service-steps li > span,
.partner-process li > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.service-steps strong,
.partner-process strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
}

.service-steps li p,
.partner-process li p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.services-faq,
.partner-principles {
  padding: 72px 0 90px;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 70px;
  border-top: 1px solid var(--ink);
}

.services-faq details {
  border-bottom: 1px solid var(--ink);
}

.services-faq summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}

.services-faq summary::-webkit-details-marker { display: none; }
.services-faq summary span { color: var(--orange); font-size: 11px; }
.services-faq summary b { font-size: 20px; font-weight: 500; }
.services-faq details[open] summary b { transform: rotate(45deg); }
.services-faq details p {
  margin: -5px 38px 24px 56px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.services-cta,
.partner-cta {
  padding: 62px max(32px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-block: 1px solid var(--ink);
  background: var(--lime);
}

.services-cta h2,
.partner-cta h2 {
  max-width: 850px;
  margin: 9px 0 12px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -3.5px;
}

.services-cta p:last-child,
.partner-cta p:last-child {
  margin: 0;
  color: #55544d;
  font-size: 14px;
}

.services-cta > a,
.partner-cta > a {
  min-width: 220px;
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

/* Partner page */
.partner-ways {
  padding: 90px max(32px, calc((100vw - 1280px) / 2));
  background: var(--ink);
  color: white;
}

.partner-section-heading.light > p { color: #aaa9a2; }

.partner-way-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner-way-grid article {
  min-height: 310px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid #4e4d47;
  border-radius: 15px;
  background: #24241f;
}

.partner-way-grid article > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.partner-way-grid h3 {
  margin: 42px 0 14px;
  font-size: 27px;
  letter-spacing: -1px;
}

.partner-way-grid p {
  margin: 0;
  color: #b9b8b0;
  font-size: 14px;
  line-height: 1.7;
}

.partner-way-grid a {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.partner-way-grid a b { color: var(--lime); }

.partner-principles > div:last-child {
  display: grid;
  gap: 0;
}

.partner-principles article {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.partner-principles article > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.partner-principles h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.partner-principles article p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1040px) {
  .services-hero,
  .partner-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }

  .service-card-grid,
  .partner-fit-grid,
  .partner-way-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service-bridge { align-items: start; grid-template-columns: 1fr; }
  .home-service-bridge-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .audience-paths,
  .home-service-bridge,
  .services-hero,
  .partner-hero,
  .partner-fit,
  .partner-process,
  .partner-principles,
  .service-catalog,
  .service-steps,
  .services-faq {
    width: min(100% - 32px, 1280px);
  }

  .audience-paths { margin-top: 56px; }
  .audience-path-grid { grid-template-columns: 1fr; }
  .audience-path-grid article { min-height: 0; padding: 26px; }
  .audience-path-grid h3 { font-size: 34px; }

  .services-hero,
  .partner-hero {
    padding: 48px 0 54px;
    grid-template-columns: 1fr;
  }

  .services-hero h1,
  .partner-hero h1 {
    font-size: clamp(46px, 13vw, 64px);
    letter-spacing: -3.2px;
  }

  .services-hero > aside,
  .partner-brief-card { box-shadow: 8px 8px 0 var(--lime); }

  .services-proof,
  .partner-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-proof span:nth-child(2),
  .partner-proof span:nth-child(2) { border-right: 0; }
  .services-proof span:nth-child(-n + 2),
  .partner-proof span:nth-child(-n + 2) { border-bottom: 1px solid var(--ink); }

  .services-section-heading,
  .partner-section-heading,
  .service-steps,
  .partner-process,
  .services-faq,
  .partner-principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-catalog,
  .partner-fit { padding: 64px 0; }
  .partner-ways { padding: 64px 16px; }
  .service-steps,
  .partner-process,
  .services-faq,
  .partner-principles { padding: 56px 0; }

  .services-cta,
  .partner-cta {
    padding: 48px 16px;
    align-items: stretch;
    flex-direction: column;
  }

  .services-cta > a,
  .partner-cta > a { width: 100%; }
}

@media (max-width: 520px) {
  .audience-paths-heading h2,
  .services-section-heading h2,
  .partner-section-heading h2 { font-size: 38px; letter-spacing: -2px; }

  .audience-path-grid ul { grid-template-columns: 1fr; }
  .audience-path-grid article > div,
  .services-hero-actions,
  .partner-hero-actions { align-items: stretch; flex-direction: column; }
  .audience-path-grid article > div a,
  .services-hero-actions a,
  .partner-hero-actions a { width: 100%; }

  .home-service-bridge { margin: 58px auto; padding: 28px 22px; }
  .home-service-bridge h2 { font-size: 38px; letter-spacing: -2px; }
  .home-service-bridge-actions { grid-template-columns: 1fr; }

  .services-hero h1,
  .partner-hero h1 { font-size: 45px; letter-spacing: -2.7px; }
  .services-hero > div > p:not(.section-kicker),
  .partner-hero-copy > p:not(.section-kicker) { font-size: 15px; }

  .service-card-grid,
  .partner-fit-grid,
  .partner-way-grid { grid-template-columns: 1fr; }
  .service-card-grid article,
  .partner-fit-grid article,
  .partner-way-grid article { min-height: 270px; }

  .services-proof span,
  .partner-proof span { min-height: 90px; padding: 16px 10px; }
  .services-proof b,
  .partner-proof strong { font-size: 21px; }

  .services-cta h2,
  .partner-cta h2,
  .service-steps h2,
  .partner-process h2,
  .partner-principles h2,
  .services-faq h2 { font-size: 38px; letter-spacing: -2px; }
}

/* Cross-border headlines */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-headlines-preview {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.home-headlines-heading {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.home-headlines-heading h2 {
  margin: 9px 0 12px;
  font-size: clamp(38px, 4.1vw, 55px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.home-headlines-heading > div:first-child > p:last-child {
  margin: 0;
  color: #6b6a64;
  font-size: 16px;
}

.home-headlines-heading > div:last-child {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 13px;
}

.home-headlines-heading > div:last-child > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #66717a;
  font-size: 12px;
  font-weight: 700;
}

.home-headlines-heading > div:last-child > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e75a24;
  box-shadow: 0 0 0 4px rgba(231, 90, 36, 0.12);
}

.home-headlines-heading a {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.home-headlines-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-headlines-grid > a {
  min-height: 300px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  border-radius: 15px;
  background: #fffefa;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-headlines-grid > a:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(20, 35, 55, 0.09);
}

.home-headlines-grid > a > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-headlines-grid > a > div > span {
  color: #93918a;
  font-size: 12px;
  font-weight: 700;
}

.home-headlines-grid > a > div > b {
  padding: 4px 7px;
  border-radius: 6px;
  color: white;
  font-size: 10px;
}

.home-headlines-grid > a > div > b.is-紧急 { background: #b83930; }
.home-headlines-grid > a > div > b.is-重要 { background: #e75a24; }
.home-headlines-grid > a > div > b.is-关注 { background: #315b7e; }

.home-headlines-grid small {
  margin-top: 25px;
  color: #75808a;
  font-size: 11px;
  line-height: 1.55;
}

.home-headlines-grid h3 {
  margin: 11px 0;
  font-size: 20px;
  line-height: 1.42;
  letter-spacing: -0.018em;
}

.home-headlines-grid p {
  margin: 0;
  color: #68727a;
  font-size: 13px;
  line-height: 1.7;
}

.home-headlines-grid > a > strong {
  margin-top: auto;
  padding-top: 20px;
  color: var(--orange);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .home-headlines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-headlines-grid > a {
    min-height: 270px;
  }
}

@media (max-width: 780px) {
  .home-headlines-preview {
    width: calc(100% - 30px);
    padding: 64px 0;
  }

  .home-headlines-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .home-headlines-heading h2 {
    font-size: 35px;
  }

  .home-headlines-heading > div:last-child {
    align-items: flex-start;
  }

  .home-headlines-grid {
    grid-template-columns: 1fr;
  }

  .home-headlines-grid > a {
    min-height: 250px;
  }
}

.headlines-page {
  --headline-navy: #142337;
  --headline-blue: #315b7e;
  --headline-blue-soft: #dce7f0;
  --headline-paper: #f4f1ea;
  --headline-card: #fffefa;
  --headline-line: #d5d7d6;
  --headline-orange: #e75a24;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--headline-paper);
  color: var(--headline-navy);
}

.headlines-header {
  background: rgba(244, 241, 234, 0.94);
  border-color: rgba(20, 35, 55, 0.14);
}

.headlines-header nav a.active {
  color: var(--headline-orange);
}

.headline-status-strip {
  min-height: 54px;
  padding: 8px max(24px, calc((100vw - 1320px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--headline-navy);
  color: white;
}

.headline-status-strip > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.headline-status-strip strong,
.headline-status-strip span,
.headline-status-strip button {
  font-size: 13px;
  line-height: 1.4;
}

.headline-status-strip strong {
  font-weight: 700;
}

.headline-status-strip > div > span:not(.headline-pulse) {
  color: #b9c5d0;
}

.headline-pulse {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff8555;
  box-shadow: 0 0 0 5px rgba(255, 133, 85, 0.13);
  animation: headline-pulse 2s ease-in-out infinite;
}

@keyframes headline-pulse {
  50% { box-shadow: 0 0 0 8px rgba(255, 133, 85, 0.04); }
}

.headline-status-strip button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #627388;
  border-radius: 999px;
  background: transparent;
  color: white;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: 160ms ease;
}

.headline-status-strip button:hover {
  border-color: var(--headline-orange);
  background: var(--headline-orange);
}

.headline-status-strip button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.headline-hero {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 64px;
}

.headline-hero-copy .section-kicker,
.headline-library .section-kicker,
.headline-source-standard .section-kicker {
  color: var(--headline-orange);
}

.headline-hero h1 {
  max-width: 830px;
  margin: 17px 0 25px;
  font-size: clamp(54px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 650;
}

.headline-hero h1 em {
  color: var(--headline-orange);
  font-style: normal;
}

.headline-hero-copy > p:not(.section-kicker) {
  max-width: 780px;
  margin: 0;
  color: #5e6872;
  font-size: 18px;
  line-height: 1.82;
}

.headline-hero-stats {
  margin-top: 31px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}

.headline-hero-stats span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #6b7278;
  font-size: 14px;
  font-weight: 600;
}

.headline-hero-stats strong {
  color: var(--headline-navy);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.headline-radar {
  padding: 25px;
  border: 1px solid var(--headline-navy);
  border-radius: 18px;
  background: var(--headline-navy);
  color: white;
  box-shadow: 0 24px 60px rgba(20, 35, 55, 0.14);
}

.headline-radar-title {
  padding-bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3f4d5e;
}

.headline-radar-title span {
  font-size: 15px;
  font-weight: 700;
}

.headline-radar-title b {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--headline-orange);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.headline-radar-grid {
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.headline-radar-grid span {
  color: #bdc8d3;
  font-size: 12px;
}

.headline-radar-grid strong {
  margin-bottom: 6px;
  display: block;
  color: white;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.headline-radar > p {
  margin: 0;
  padding-top: 17px;
  border-top: 1px solid #3f4d5e;
  color: #aebac6;
  font-size: 12px;
  line-height: 1.72;
}

.headline-controls {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--headline-line);
  border-radius: 17px;
  background: rgba(255, 254, 250, 0.82);
  box-shadow: 0 10px 35px rgba(20, 35, 55, 0.045);
}

.headline-category-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
}

.headline-category-tabs button {
  min-height: 43px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5e6872;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.headline-category-tabs button span {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e9e9e5;
  color: #777c81;
  font-size: 10px;
}

.headline-category-tabs button:hover,
.headline-category-tabs button.active {
  background: var(--headline-blue-soft);
  color: var(--headline-navy);
}

.headline-category-tabs button.active span {
  background: var(--headline-blue);
  color: white;
}

.headline-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.headline-search-row input,
.headline-search-row select {
  height: 43px;
  border: 1px solid #c8ccce;
  border-radius: 10px;
  outline: 0;
  background: white;
  color: var(--headline-navy);
  font-size: 14px;
  transition: 160ms ease;
}

.headline-search-row input {
  width: 255px;
  padding: 0 13px;
}

.headline-search-row select {
  min-width: 118px;
  padding: 0 32px 0 12px;
}

.headline-search-row input:focus,
.headline-search-row select:focus {
  border-color: var(--headline-blue);
  box-shadow: 0 0 0 3px rgba(49, 91, 126, 0.1);
}

.headline-lead-grid {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(330px, 0.62fr);
  gap: 16px;
}

.headline-lead-main,
.headline-lead-side > a {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--headline-navy);
  border-radius: 20px;
  background: var(--headline-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.headline-lead-main:hover,
.headline-lead-side > a:hover,
.headline-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(20, 35, 55, 0.1);
}

.headline-lead-main {
  min-height: 500px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 92% 8%, rgba(49, 91, 126, 0.16), transparent 27%),
    var(--headline-card);
}

.headline-category-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--headline-navy);
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.headline-lead-main > .headline-meta {
  margin-top: 34px;
}

.headline-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.headline-meta > span {
  color: #747c83;
  font-size: 12px;
  font-weight: 600;
}

.headline-meta > span + span::before {
  content: "·";
  margin-right: 7px;
  color: #adb1b3;
}

.headline-meta .headline-impact {
  padding: 4px 7px;
  border-radius: 6px;
  color: white;
  line-height: 1;
}

.headline-meta .headline-impact + span::before {
  display: none;
}

.headline-impact.is-紧急 { background: #b83930; }
.headline-impact.is-重要 { background: var(--headline-orange); }
.headline-impact.is-关注 { background: var(--headline-blue); }

.headline-lead-main h2 {
  max-width: 840px;
  margin: 18px 0 16px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.headline-lead-main > p {
  max-width: 850px;
  margin: 0;
  color: #64707a;
  font-size: 16px;
  line-height: 1.8;
}

.headline-impact-note {
  margin-top: 25px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid var(--headline-orange);
  background: #f6eee8;
}

.headline-impact-note span {
  flex: 0 0 auto;
  color: var(--headline-orange);
  font-size: 12px;
  font-weight: 800;
}

.headline-impact-note strong {
  font-size: 14px;
  line-height: 1.65;
}

.headline-lead-main footer,
.headline-lead-side footer {
  margin-top: auto;
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #68727b;
  font-size: 13px;
}

.headline-lead-main footer b,
.headline-lead-side footer b {
  color: var(--headline-orange);
}

.headline-lead-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.headline-lead-side > a {
  min-height: 242px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.headline-lead-side-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.headline-lead-side .headline-category-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 14px;
}

.headline-lead-side .headline-meta {
  padding-top: 3px;
}

.headline-lead-side h3 {
  margin: 18px 0 9px;
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.headline-lead-side > a > p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #6a747c;
  font-size: 13px;
  line-height: 1.7;
}

.headline-library {
  width: min(1320px, calc(100% - 48px));
  margin: 82px auto 0;
}

.headline-library-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.headline-library-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(35px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.headline-library-heading > span {
  color: #6e767d;
  font-size: 14px;
  font-weight: 600;
}

.headline-list {
  border-top: 1px solid var(--headline-navy);
}

.headline-archive-date {
  padding: 22px 0 10px 72px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--headline-line);
}

.headline-archive-date time {
  color: var(--headline-navy);
  font-size: 15px;
  font-weight: 800;
}

.headline-archive-date span {
  color: #858b8e;
  font-size: 11px;
  font-weight: 650;
}

.headline-list-card {
  padding: 27px 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 170px;
  gap: 24px;
  border-bottom: 1px solid var(--headline-line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.headline-list-card .headline-category-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--headline-blue-soft);
  color: var(--headline-navy);
  font-size: 15px;
}

.headline-list-content h3 {
  margin: 9px 0 8px;
  font-size: 23px;
  line-height: 1.38;
  letter-spacing: -0.022em;
}

.headline-list-content h3 a:hover {
  color: var(--headline-orange);
}

.headline-list-content > p {
  max-width: 830px;
  margin: 0;
  color: #69737b;
  font-size: 14px;
  line-height: 1.75;
}

.headline-card-impact {
  margin-top: 12px;
  color: #4f5e6b;
  font-size: 13px;
  line-height: 1.65;
}

.headline-card-impact span {
  margin-right: 8px;
  padding: 3px 6px;
  border-radius: 5px;
  background: #eee4dc;
  color: var(--headline-orange);
  font-size: 10px;
  font-weight: 800;
}

.headline-card-source {
  padding-left: 20px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border-left: 1px solid var(--headline-line);
}

.headline-card-source > span {
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--headline-blue-soft);
  color: var(--headline-blue);
  font-size: 10px;
  font-weight: 800;
}

.headline-card-source strong {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.headline-card-source a {
  margin-top: auto;
  color: var(--headline-orange);
  font-size: 12px;
  font-weight: 750;
}

.headline-load-more {
  padding-top: 34px;
  display: flex;
  justify-content: center;
}

.headline-load-more button,
.headline-empty button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--headline-navy);
  border-radius: 999px;
  background: var(--headline-navy);
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.headline-load-more button:hover,
.headline-empty button:hover {
  border-color: var(--headline-orange);
  background: var(--headline-orange);
}

.headline-load-more button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.headline-empty {
  padding: 72px 24px;
  border: 1px dashed #b9bdbe;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.headline-empty strong {
  font-size: 24px;
}

.headline-empty p {
  margin: 9px 0 22px;
  color: #707980;
}

.headline-source-standard {
  width: min(1320px, calc(100% - 48px));
  margin: 92px auto;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 60px;
  border-radius: 22px;
  background: var(--headline-navy);
  color: white;
}

.headline-source-standard h2 {
  max-width: 470px;
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.headline-standard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.headline-standard-grid > span {
  min-height: 132px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  border: 1px solid #3e4e61;
  border-radius: 14px;
  background: #1b2c41;
}

.headline-standard-grid b {
  color: #8293a5;
  font-size: 11px;
}

.headline-standard-grid strong {
  margin: 13px 0 7px;
  font-size: 16px;
}

.headline-standard-grid small {
  color: #aebbc8;
  font-size: 12px;
  line-height: 1.65;
}

.headlines-footer {
  width: min(1320px, calc(100% - 48px));
}

.headlines-footer > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.headlines-footer > div a {
  color: #6b7379;
  font-size: 13px;
  font-weight: 600;
}

.headlines-footer > div a:hover {
  color: var(--headline-orange);
}

@media (max-width: 1120px) {
  .headline-hero {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 36px;
  }

  .headline-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .headline-category-tabs {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .headline-search-row input {
    width: min(100%, 360px);
  }

  .headline-lead-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  }
}

@media (max-width: 900px) {
  .headline-hero {
    padding: 66px 0 50px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .headline-radar {
    width: 100%;
  }

  .headline-lead-grid {
    grid-template-columns: 1fr;
  }

  .headline-lead-main {
    min-height: 440px;
  }

  .headline-lead-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .headline-source-standard {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 780px) {
  .headline-status-strip,
  .headline-hero,
  .headline-controls,
  .headline-lead-grid,
  .headline-library,
  .headline-source-standard,
  .headlines-footer {
    width: calc(100% - 30px);
  }

  .headline-status-strip {
    width: 100%;
    padding: 11px 15px;
  }

  .headline-status-strip > div {
    gap: 6px 12px;
  }

  .headline-status-strip > div > span:last-child {
    display: none;
  }

  .headline-status-strip button {
    min-height: 38px;
    padding-inline: 12px;
  }

  .headline-hero {
    padding: 48px 0 38px;
  }

  .headline-hero h1 {
    font-size: clamp(43px, 12vw, 58px);
    line-height: 1.06;
  }

  .headline-hero-copy > p:not(.section-kicker) {
    font-size: 17px;
  }

  .headline-controls {
    margin-bottom: 18px;
  }

  .headline-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
  }

  .headline-search-row label,
  .headline-search-row input,
  .headline-search-row select {
    width: 100%;
    min-width: 0;
  }

  .headline-lead-main {
    min-height: 0;
    padding: 26px;
  }

  .headline-lead-main h2 {
    font-size: 34px;
  }

  .headline-lead-main footer {
    margin-top: 28px;
  }

  .headline-lead-side {
    grid-template-columns: 1fr;
  }

  .headline-lead-side > a {
    min-height: 250px;
  }

  .headline-library {
    margin-top: 60px;
  }

  .headline-list-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
  }

  .headline-archive-date {
    padding-left: 57px;
  }

  .headline-card-source {
    grid-column: 2;
    padding: 14px 0 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--headline-line);
    border-left: 0;
  }

  .headline-card-source strong,
  .headline-card-source a {
    margin: 0;
  }

  .headline-source-standard {
    margin-top: 72px;
    margin-bottom: 72px;
    padding: 32px 24px;
  }

  .headline-standard-grid {
    grid-template-columns: 1fr;
  }

  .headline-standard-grid > span {
    min-height: 116px;
  }

  .headlines-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .headline-status-strip > div > span:not(.headline-pulse) {
    display: none;
  }

  .headline-status-strip strong {
    font-size: 12px;
  }

  .headline-hero h1 {
    font-size: 42px;
  }

  .headline-hero-stats {
    gap: 16px 24px;
  }

  .headline-hero-stats strong {
    font-size: 23px;
  }

  .headline-radar {
    padding: 22px;
  }

  .headline-category-tabs button {
    min-height: 44px;
  }

  .headline-search-row {
    grid-template-columns: 1fr;
  }

  .headline-lead-main,
  .headline-lead-side > a {
    border-radius: 15px;
  }

  .headline-lead-main {
    padding: 22px;
  }

  .headline-lead-main h2 {
    font-size: 30px;
  }

  .headline-impact-note {
    align-items: stretch;
    flex-direction: column;
  }

  .headline-lead-main footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .headline-library-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .headline-list-card {
    grid-template-columns: 1fr;
  }

  .headline-archive-date {
    padding: 19px 0 9px;
  }

  .headline-list-card > .headline-category-mark {
    width: 40px;
    height: 40px;
  }

  .headline-card-source {
    grid-column: 1;
  }

  .headline-list-content h3 {
    font-size: 21px;
  }

  .headline-source-standard h2 {
    font-size: 32px;
  }
}

/* Cross-border headline article */
.headline-article {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.headline-article-hero {
  padding: 54px 58px 48px;
  overflow: hidden;
  border: 1px solid var(--headline-navy);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 4%, rgba(49, 91, 126, 0.18), transparent 27%),
    var(--headline-card);
  box-shadow: 0 26px 70px rgba(20, 35, 55, 0.08);
}

.headline-article-breadcrumbs {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #7b8287;
  font-size: 13px;
  font-weight: 650;
}

.headline-article-breadcrumbs a:hover {
  color: var(--headline-orange);
}

.headline-article-hero h1 {
  width: 100%;
  max-width: none;
  margin: 21px 0 18px;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.headline-article-hero > p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #5f6b75;
  font-size: 18px;
  line-height: 1.85;
}

.headline-article-impact {
  margin-top: 30px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  border-left: 4px solid var(--headline-orange);
  border-radius: 0 12px 12px 0;
  background: #f5eae2;
}

.headline-article-impact span {
  color: var(--headline-orange);
  font-size: 12px;
  font-weight: 850;
}

.headline-article-impact strong {
  font-size: 15px;
  line-height: 1.72;
}

.headline-article-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.headline-article-toc {
  position: sticky;
  top: 88px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--headline-line);
  border-radius: 15px;
  background: rgba(255, 254, 250, 0.86);
}

.headline-article-toc > span {
  margin-bottom: 11px;
  color: #8a8e90;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.headline-article-toc a {
  padding: 9px 0;
  border-bottom: 1px solid #e1e1dc;
  color: #56636e;
  font-size: 13px;
  font-weight: 650;
}

.headline-article-toc a:last-child {
  border-bottom: 0;
}

.headline-article-toc a:hover {
  color: var(--headline-orange);
}

.headline-article-body {
  min-width: 0;
}

.headline-article-body > section {
  margin-bottom: 16px;
  padding: 32px 36px;
  scroll-margin-top: 90px;
  border: 1px solid var(--headline-line);
  border-radius: 20px;
  background: var(--headline-card);
}

.headline-article-body .section-kicker {
  color: var(--headline-orange);
}

.headline-article-body h2 {
  margin: 8px 0 21px;
  font-size: clamp(29px, 3.1vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.headline-article-body section > p:not(.section-kicker) {
  margin: 0 0 17px;
  color: #52616d;
  font-size: 16px;
  line-height: 1.92;
}

.headline-primary-content {
  padding: 52px clamp(40px, 5vw, 68px) 58px !important;
  border-color: #cbd2d5 !important;
  background: #fffefa !important;
  box-shadow: 0 24px 64px rgba(20, 35, 55, 0.07);
}

.headline-primary-content > h2 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(34px, 3.6vw, 46px);
}

.headline-reading-lead {
  margin: 0 0 34px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  border-left: 4px solid var(--headline-orange);
  background: #f6eee8;
}

.headline-reading-lead span {
  color: var(--headline-orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.headline-reading-lead strong {
  color: var(--headline-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.headline-main-narrative {
  max-width: 800px;
  margin: 0 auto;
}

.headline-main-narrative p {
  margin: 0 0 24px;
  color: #374955;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.006em;
  text-align: justify;
  text-justify: inter-ideograph;
}

.headline-main-narrative p.is-lead {
  color: #243746;
  font-size: 20px;
  font-weight: 620;
  line-height: 1.92;
}

.headline-main-narrative p:last-child {
  margin-bottom: 0;
}

.headline-primary-content .headline-editor-note {
  max-width: 800px;
  margin: 36px auto 0 !important;
}

.headline-quick-answer {
  border-color: var(--headline-navy) !important;
  background: var(--headline-navy) !important;
  color: white;
}

.headline-quick-answer h2,
.headline-quick-answer > p strong {
  color: white;
}

.headline-quick-answer > p {
  color: #d0d9e1 !important;
}

.headline-quick-answer > div {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.headline-quick-answer > div span {
  min-height: 84px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #425369;
  border-radius: 11px;
  color: #eef2f5;
  font-size: 13px;
  line-height: 1.45;
}

.headline-quick-answer > div b {
  color: #96a7b6;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.headline-editor-note,
.headline-risk-note {
  margin-top: 24px !important;
  padding: 17px 19px;
  border-left: 3px solid var(--headline-blue);
  background: var(--headline-blue-soft);
  color: #364c5f !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

.headline-editor-note span {
  margin-right: 10px;
  color: var(--headline-blue);
  font-weight: 850;
}

.headline-fact-list {
  display: grid;
  gap: 11px;
}

.headline-fact-list > div {
  padding: 19px 20px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 15px;
  border: 1px solid #d5d9da;
  border-radius: 13px;
  background: #f7f7f3;
}

.headline-fact-list > div > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--headline-blue-soft);
  color: var(--headline-blue);
  font-size: 11px;
  font-weight: 850;
}

.headline-fact-list h3,
.headline-impact-grid h3,
.headline-answer-grid h3,
.headline-stage-list h3 {
  margin: 0;
  color: var(--headline-navy);
  font-size: 17px;
  line-height: 1.5;
}

.headline-fact-list p {
  margin: 6px 0 0;
  color: #53616c;
  font-size: 15px;
  line-height: 1.82;
}

.headline-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.headline-impact-grid > div {
  min-height: 190px;
  padding: 22px;
  border: 1px solid #d3d8da;
  border-radius: 14px;
  background: #f7f7f3;
}

.headline-impact-grid > div > span {
  color: var(--headline-orange);
  font-size: 11px;
  font-weight: 850;
}

.headline-impact-grid h3 {
  margin-top: 23px;
}

.headline-impact-grid p {
  margin: 8px 0 0;
  color: #596873;
  font-size: 14px;
  line-height: 1.78;
}

.headline-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.headline-answer-grid > div {
  min-height: 156px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d3d8da;
  border-radius: 13px;
  background: #f7f7f3;
}

.headline-answer-grid span {
  color: var(--headline-orange);
  font-size: 11px;
  font-weight: 850;
}

.headline-answer-grid p {
  margin: 8px 0 0;
  color: #596873;
  font-size: 14px;
  line-height: 1.72;
}

.headline-answer-grid h3 {
  margin-top: auto;
  padding-top: 24px;
}

.headline-stage-list {
  display: grid;
  gap: 15px;
}

.headline-stage-list > div {
  padding: 20px;
  border: 1px solid #d5d9da;
  border-radius: 14px;
  background: #f9f9f5;
}

.headline-stage-list > div > header {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.headline-stage-list > div > header span {
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--headline-blue-soft);
  color: var(--headline-blue);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.headline-stage-list .headline-action-list li {
  background: var(--headline-card);
}

.headline-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.headline-signal-grid > div {
  min-height: 130px;
  padding: 20px;
  border: 1px solid #d5d9da;
  border-radius: 13px;
  background: linear-gradient(145deg, #f7f7f3, #fffefa);
}

.headline-signal-grid strong {
  color: var(--headline-navy);
  font-size: 15px;
}

.headline-signal-grid p {
  margin: 9px 0 0;
  color: #5b6872;
  font-size: 14px;
  line-height: 1.75;
}

.headline-action-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.headline-action-list li {
  padding: 17px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid #d5d9da;
  border-radius: 12px;
}

.headline-action-list b {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--headline-navy);
  color: white;
  font-size: 12px;
}

.headline-action-list span {
  color: #485966;
  font-size: 15px;
  line-height: 1.72;
}

.headline-risk-note {
  border-color: var(--headline-orange);
  background: #f6eee8;
  color: #654b3e !important;
}

.headline-faq-list {
  border-top: 1px solid var(--headline-navy);
}

.headline-faq-list details {
  border-bottom: 1px solid var(--headline-line);
}

.headline-faq-list summary {
  padding: 19px 34px 19px 0;
  position: relative;
  color: var(--headline-navy);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.headline-faq-list summary::-webkit-details-marker {
  display: none;
}

.headline-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  color: var(--headline-orange);
  font-size: 22px;
}

.headline-faq-list details[open] summary::after {
  content: "−";
}

.headline-faq-list p {
  margin: -3px 0 19px;
  padding-right: 25px;
  color: #5b6872;
  font-size: 15px;
  line-height: 1.82;
}

.headline-article-sources {
  border-color: var(--headline-navy) !important;
}

.headline-article-sources > ol {
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.headline-article-sources li {
  padding: 17px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 20px;
  border: 1px solid var(--headline-line);
  border-radius: 12px;
  background: #f7f7f3;
}

.headline-article-sources li > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.headline-article-sources li span {
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--headline-blue-soft);
  color: var(--headline-blue);
  font-size: 10px;
  font-weight: 850;
}

.headline-article-sources li strong {
  font-size: 14px;
}

.headline-article-sources li small {
  grid-column: 1;
  color: #858b8e;
  font-size: 11px;
}

.headline-article-sources li a {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--headline-orange);
  font-size: 13px;
  font-weight: 750;
}

.headline-source-disclaimer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--headline-line);
  color: #737b80;
  font-size: 12px;
  line-height: 1.75;
}

.headline-back-link {
  padding: 14px 0 28px;
}

.headline-back-link a {
  color: var(--headline-orange);
  font-size: 14px;
  font-weight: 750;
}

.headline-article-pagination {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.headline-article-pagination > a {
  min-height: 154px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--headline-line);
  border-radius: 15px;
  background: var(--headline-card);
  transition: 180ms ease;
}

.headline-article-pagination > a:hover {
  transform: translateY(-2px);
  border-color: var(--headline-blue);
  box-shadow: 0 16px 36px rgba(20, 35, 55, 0.08);
}

.headline-article-pagination > a.is-next {
  text-align: right;
}

.headline-article-pagination > a > span {
  color: var(--headline-orange);
  font-size: 12px;
  font-weight: 850;
}

.headline-article-pagination > a > strong {
  margin: 12px 0 14px;
  color: var(--headline-navy);
  font-size: 16px;
  line-height: 1.55;
}

.headline-article-pagination > a > small {
  margin-top: auto;
  color: #7b8287;
  font-size: 11px;
  line-height: 1.5;
}

/* Source-first headline reading experience */
.headline-source-first .headline-article-layout {
  width: 100%;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.headline-source-first .headline-article-body {
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.headline-source-first .headline-article-toc {
  position: sticky;
  top: 88px;
  width: 100%;
}

.headline-original-title {
  width: 100%;
  max-width: none !important;
  margin: -2px 0 18px !important;
  padding-left: 14px;
  border-left: 3px solid #d5d9da;
  color: #7a858d !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

.headline-original-title span {
  margin-right: 10px;
  color: var(--headline-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.headline-source-summary {
  width: 100%;
  max-width: none !important;
  color: #4e5f6b !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
}

.headline-source-content {
  padding: 48px clamp(34px, 5vw, 64px) 52px !important;
}

.headline-source-language-note {
  width: 100%;
  max-width: none;
  margin: 0 0 32px;
  padding: 14px 17px;
  border-left: 3px solid var(--headline-blue);
  background: var(--headline-blue-soft);
  color: #4e6170;
  font-size: 13px;
  line-height: 1.72;
}

.headline-source-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.headline-source-body p {
  margin: 0 0 25px;
  color: #314553;
  font-size: 18px;
  line-height: 2.02;
  letter-spacing: 0.008em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.headline-source-body p:last-child {
  margin-bottom: 0;
}

.headline-compact-analysis {
  padding: 28px 32px !important;
  border-left: 4px solid var(--headline-orange) !important;
  background: #fbf5ef !important;
}

.headline-compact-analysis h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.headline-compact-analysis > p:not(.section-kicker) {
  margin-bottom: 0 !important;
  color: #4f5f69 !important;
  font-size: 16px !important;
  line-height: 1.82 !important;
}

.headline-source-first .headline-article-pagination {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  width: 100%;
  margin: 28px 0 0;
  transform: none !important;
  float: none;
  scroll-margin-top: 90px;
}

.headline-source-first .headline-article-pagination > a {
  position: static !important;
  inset: auto !important;
  transform: none;
}

.headline-source-first .headline-article-pagination > a:hover {
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .headline-article-layout {
    grid-template-columns: 1fr;
  }

  .headline-article-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
  }

  .headline-article-toc > span {
    grid-column: 1 / -1;
  }

  .headline-source-first .headline-article-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .headline-source-first .headline-article-toc {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .headline-article {
    width: calc(100% - 24px);
    padding: 38px 0 72px;
  }

  .headline-article-hero {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .headline-article-hero h1 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .headline-article-hero > p {
    font-size: 16px;
  }

  .headline-article-layout {
    gap: 18px;
  }

  .headline-article-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .headline-article-body > section {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .headline-primary-content {
    padding: 34px 28px 38px !important;
  }

  .headline-reading-lead {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .headline-main-narrative p {
    font-size: 17px;
    line-height: 1.95;
    text-align: left;
  }

  .headline-main-narrative p.is-lead {
    font-size: 18px;
  }

  .headline-quick-answer > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .headline-answer-grid {
    grid-template-columns: 1fr;
  }

  .headline-impact-grid,
  .headline-signal-grid {
    grid-template-columns: 1fr;
  }

  .headline-answer-grid > div {
    min-height: 120px;
  }

  .headline-source-first .headline-article-layout {
    width: 100%;
    margin-top: 18px;
  }

  .headline-source-first .headline-article-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .headline-source-content {
    padding: 32px 26px 36px !important;
  }

  .headline-source-body p {
    margin-bottom: 23px;
    font-size: 17px;
    line-height: 1.94;
    letter-spacing: 0;
  }

  .headline-source-language-note {
    margin-bottom: 26px;
  }

  .headline-compact-analysis {
    padding: 24px !important;
  }

  .headline-source-first .headline-article-pagination {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .headline-source-first .headline-article-pagination > a {
    min-height: 0;
    padding: 18px 19px;
    text-align: left;
  }

  .headline-source-first .headline-article-pagination > a.is-next {
    text-align: left;
  }

  .headline-source-first .headline-article-pagination > a > strong {
    margin: 8px 0 10px;
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .headline-article-breadcrumbs {
    margin-bottom: 24px;
  }

  .headline-article-hero h1 {
    font-size: 34px;
  }

  .headline-article-impact {
    grid-template-columns: 1fr;
  }

  .headline-article-toc {
    display: none;
  }

  .headline-source-first .headline-article-toc {
    padding: 17px 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 14px;
  }

  .headline-source-first .headline-article-toc > span {
    margin-bottom: 6px;
  }

  .headline-source-first .headline-article-toc a {
    padding: 9px 0;
    font-size: 13px;
  }

  .headline-article-body > section {
    padding: 24px 20px;
  }

  .headline-primary-content {
    padding: 28px 20px 32px !important;
  }

  .headline-article-body h2 {
    font-size: 28px;
  }

  .headline-primary-content > h2 {
    font-size: 30px;
  }

  .headline-reading-lead {
    margin-bottom: 28px;
    padding: 18px;
  }

  .headline-reading-lead strong {
    font-size: 16px;
  }

  .headline-main-narrative p {
    margin-bottom: 21px;
    font-size: 17px;
    line-height: 1.92;
  }

  .headline-quick-answer > div {
    grid-template-columns: 1fr 1fr;
  }

  .headline-article-sources li {
    grid-template-columns: 1fr;
  }

  .headline-article-sources li small,
  .headline-article-sources li a {
    grid-column: 1;
    grid-row: auto;
  }

  .headline-fact-list > div {
    padding: 17px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .headline-stage-list > div {
    padding: 16px;
  }

  .headline-stage-list > div > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .headline-article-pagination {
    grid-template-columns: 1fr;
  }

  .headline-pagination-placeholder {
    display: none;
  }

  .headline-source-first.headline-article {
    width: calc(100% - 20px);
    padding-top: 24px;
  }

  .headline-source-first .headline-article-hero {
    padding: 25px 20px 27px;
  }

  .headline-source-first .headline-article-hero h1 {
    margin: 17px 0 14px;
    font-size: clamp(29px, 8.8vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.032em;
    overflow-wrap: anywhere;
  }

  .headline-original-title {
    margin-bottom: 14px !important;
    padding-left: 11px;
    font-size: 12px !important;
  }

  .headline-original-title span {
    display: block;
    margin: 0 0 3px;
  }

  .headline-source-summary {
    font-size: 16px !important;
    line-height: 1.82 !important;
  }

  .headline-source-content {
    padding: 27px 20px 31px !important;
  }

  .headline-source-content > h2 {
    font-size: 28px;
  }

  .headline-source-language-note {
    margin-bottom: 23px;
    padding: 13px 14px;
    font-size: 12px;
  }

  .headline-source-body p {
    margin-bottom: 21px;
    font-size: 17px;
    line-height: 1.9;
  }

  .headline-primary-content .headline-editor-note {
    margin-top: 28px !important;
  }

  .headline-compact-analysis {
    padding: 22px 20px !important;
  }

  .headline-compact-analysis h2 {
    font-size: 25px;
  }

  .headline-source-first .headline-article-pagination {
    position: static !important;
    inset: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    display: grid;
    width: 100%;
    margin-top: 20px;
    padding: 0;
    transform: none !important;
  }

  .headline-source-first .headline-article-pagination > a,
  .headline-source-first .headline-article-pagination > a:hover {
    position: static !important;
    min-height: 0;
    transform: none !important;
  }
}

/* Refined type system */
:root {
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro SC",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro SC",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo-word {
  font-family: var(--font-display);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

nav a {
  font-size: 14px;
  line-height: 1.4;
}

.submit-link,
.favorites-trigger,
.search-btn,
.load-more-wrap button {
  font-size: 13px;
}

.hero h1 {
  font-size: clamp(52px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -4px;
}

.hero-content > p {
  max-width: 690px;
  font-size: 16px;
  line-height: 1.75;
}

.section-kicker {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 1.8px;
}

.section-heading h2,
.ranking-intro h2,
.about-section h2 {
  font-size: clamp(34px, 3.7vw, 48px);
  letter-spacing: -1.8px;
}

.tool-card > div:nth-child(2) > p {
  min-height: 72px;
  font-size: 13px;
  line-height: 1.75;
}

.tag-list span,
.category-overview-card p,
.mega-menu-grid small,
.ranking-list p,
.home-academy-grid p,
.category-static-card p,
.blog-card p,
.article-steps p,
.submit-rules > span {
  font-size: 12px;
}

.tool-card-bottom a,
.home-academy-heading a,
.home-academy-grid i,
.category-static-card > span,
.blog-card > strong,
.related-articles .section-heading > a,
.footer-category-links a {
  font-size: 12px;
}

.home-academy-heading > div:last-child p,
.scene-heading > p,
.compact-heading > p,
.knowledge-intro > p:not(.section-kicker),
.category-hero-copy,
.category-copy-section article,
.submit-page-intro > p:not(.section-kicker) {
  font-size: 14px;
}

.about-copy > p {
  font-size: 15px;
  line-height: 1.9;
}

.footer-bottom,
.category-page-footer {
  font-size: 12px;
}

.blog-hero-copy h1 {
  font-size: clamp(50px, 5.8vw, 72px);
  letter-spacing: -3.5px;
}

.article-hero h1 {
  font-size: clamp(44px, 5.2vw, 64px);
  letter-spacing: -3px;
}

.article-body > section > p:not(.section-kicker) {
  font-size: 16px;
  line-height: 2;
}

.form-grid label > span,
.form-confirm {
  font-size: 12px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  font-size: 14px;
}

.form-heading p,
.form-message,
.form-privacy {
  font-size: 12px;
}

.form-message.warning {
  background: #fff7df;
  color: #795600;
}

/* Home commercial model */
.commercial-preview {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto 100px;
  padding: 65px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  background: var(--ink);
  color: white;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.commercial-preview::after {
  content: "P";
  position: absolute;
  right: -35px;
  bottom: -95px;
  color: rgba(255, 77, 0, 0.18);
  font-size: 300px;
  line-height: 1;
  font-weight: 900;
  transform: rotate(-8deg);
}

.commercial-preview-copy,
.commercial-preview-grid {
  position: relative;
  z-index: 1;
}

.commercial-preview-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -2.5px;
}

.commercial-preview-copy > p:not(.section-kicker) {
  max-width: 530px;
  margin: 24px 0 28px;
  color: #aaa9a2;
  font-size: 14px;
  line-height: 1.9;
}

.commercial-preview-copy > a {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

.commercial-preview-copy > a span {
  margin-left: 12px;
}

.commercial-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #3d3d37;
  border: 1px solid #3d3d37;
}

.commercial-preview-grid span {
  min-height: 112px;
  padding: 22px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-content: center;
  gap: 4px 10px;
  background: #22221e;
}

.commercial-preview-grid b {
  grid-row: 1 / 3;
  color: var(--orange);
  font-size: 10px;
}

.commercial-preview-grid strong {
  font-size: 15px;
}

.commercial-preview-grid small {
  color: #8d8c84;
  font-size: 11px;
}

/* Business page */
.business-hero,
.business-metrics,
.revenue-section,
.growth-roadmap,
.trust-section,
.business-cta,
.business-page > .category-page-footer {
  width: min(1260px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.business-hero {
  min-height: 630px;
  padding: 85px 0;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 95px;
  align-items: center;
}

.business-hero h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(54px, 6.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -4px;
}

.business-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.business-hero > div > p:not(.section-kicker) {
  max-width: 700px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.business-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.business-hero-actions a:first-child {
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.business-hero-actions a:first-child span {
  margin-left: 12px;
}

.business-hero-actions a:last-child {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.revenue-flywheel {
  padding: 30px;
  background: var(--ink);
  color: white;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(23, 23, 19, 0.17);
}

.revenue-flywheel > span {
  display: block;
  padding-bottom: 20px;
  color: var(--lime);
  border-bottom: 1px solid #3a3a34;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.revenue-flywheel > div {
  min-height: 82px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-content: center;
  gap: 4px 12px;
  border-bottom: 1px solid #3a3a34;
}

.revenue-flywheel > div:last-child {
  border-bottom: 0;
}

.revenue-flywheel b {
  grid-row: 1 / 3;
  color: var(--orange);
  font-size: 10px;
}

.revenue-flywheel strong {
  font-size: 14px;
}

.revenue-flywheel small {
  color: #929189;
  font-size: 11px;
}

.business-metrics {
  min-height: 102px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.business-metrics span {
  padding: 0 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.business-metrics span:first-child {
  border-left: 1px solid var(--line);
}

.business-metrics strong {
  color: var(--orange);
  font-size: 25px;
}

.revenue-section,
.growth-roadmap,
.trust-section {
  padding: 100px 0;
}

.business-section-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: end;
}

.business-section-heading h2,
.growth-roadmap h2,
.trust-section h2,
.business-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -2.2px;
}

.business-section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.revenue-grid article {
  min-height: 240px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.revenue-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.revenue-grid article span {
  color: #a2a198;
  font-size: 10px;
  font-weight: 800;
}

.revenue-grid article b {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 10px;
}

.revenue-grid h3 {
  margin: auto 0 11px;
  font-size: 24px;
  letter-spacing: -0.7px;
}

.revenue-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.package-section {
  padding: 100px max(24px, calc((100vw - 1260px) / 2));
  background: var(--ink);
  color: white;
}

.business-section-heading.light {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

.business-section-heading.light > p {
  color: #93928a;
}

.package-grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.package-grid article {
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid #3d3d37;
  border-radius: 18px;
  background: #22221e;
}

.package-grid article.featured {
  border-color: var(--orange);
  background:
    linear-gradient(145deg, rgba(255, 77, 0, 0.16), transparent 40%),
    #22221e;
}

.package-grid article > span {
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 5px;
  background: #35352f;
  color: #aaa9a2;
  font-size: 10px;
  font-weight: 800;
}

.package-grid article.featured > span {
  background: var(--orange);
  color: white;
}

.package-grid h3 {
  margin: 24px 0 11px;
  font-size: 23px;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.package-price strong {
  font-size: 35px;
  letter-spacing: -1.5px;
}

.package-price small {
  color: #88877f;
  font-size: 11px;
}

.package-grid ul {
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.package-grid li {
  padding-left: 20px;
  position: relative;
  color: #aaa9a2;
  font-size: 12px;
  line-height: 1.55;
}

.package-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.package-grid article > a {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #3c3c36;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.package-grid article > a span {
  color: var(--orange);
}

.growth-roadmap {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
  border-bottom: 1px solid var(--line);
}

.roadmap-list {
  display: grid;
}

.roadmap-list article {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
}

.roadmap-list article > span {
  grid-row: 1 / 3;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

.roadmap-list strong {
  font-size: 17px;
}

.roadmap-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.trust-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
}

.trust-section > div:first-child > p:not(.section-kicker) {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-grid article {
  min-height: 170px;
  padding: 24px;
  display: flex;
  gap: 17px;
  background: var(--paper);
}

.trust-grid article > span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
}

.trust-grid h3 {
  margin: 0 0 9px;
  font-size: 16px;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.business-cta {
  margin-bottom: 90px;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: 22px;
  background: var(--orange);
  color: white;
}

.business-cta .section-kicker {
  color: #ffe5d9;
}

.business-cta p:not(.section-kicker) {
  margin: 13px 0 0;
  color: #ffe2d5;
  font-size: 13px;
}

.business-cta > a {
  flex-shrink: 0;
  padding: 15px 20px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.business-cta > a span {
  margin-left: 12px;
  color: var(--orange);
}

@media (max-width: 1100px) {
  .commercial-preview { gap: 45px; padding: 48px; }
  .business-hero { gap: 50px; }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .hero h1 { font-size: 46px; letter-spacing: -2.8px; }
  .section-heading h2,
  .ranking-intro h2,
  .about-section h2 { font-size: 34px; letter-spacing: -1.3px; }
  .commercial-preview {
    width: calc(100% - 30px);
    margin-bottom: 72px;
    padding: 38px 26px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .commercial-preview-copy h2 { font-size: 39px; letter-spacing: -1.8px; }
  .commercial-preview-grid span { min-height: 100px; padding: 18px; }

  .business-hero,
  .business-metrics,
  .revenue-section,
  .growth-roadmap,
  .trust-section,
  .business-cta,
  .business-page > .category-page-footer {
    width: calc(100% - 30px);
  }
  .business-hero {
    min-height: auto;
    padding: 60px 0;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .business-hero h1 { font-size: 48px; letter-spacing: -2.8px; }
  .business-hero > div > p:not(.section-kicker) { font-size: 14px; }
  .business-hero-actions { align-items: flex-start; flex-direction: column; }
  .business-metrics { grid-template-columns: repeat(2, 1fr); }
  .business-metrics span { min-height: 82px; border-bottom: 1px solid var(--line); }
  .revenue-section,
  .growth-roadmap,
  .trust-section { padding: 72px 0; }
  .business-section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .business-section-heading h2,
  .growth-roadmap h2,
  .trust-section h2,
  .business-cta h2 { font-size: 38px; letter-spacing: -1.6px; }
  .revenue-grid { grid-template-columns: repeat(2, 1fr); }
  .package-section { padding: 72px 15px; }
  .package-grid { grid-template-columns: 1fr; }
  .package-grid article { min-height: 350px; }
  .growth-roadmap,
  .trust-section { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: 1fr; }
  .business-cta {
    margin-bottom: 70px;
    padding: 36px 27px;
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  body { font-size: 14px; }
  .hero h1 { font-size: 40px; letter-spacing: -2.2px; }
  .hero-content > p { font-size: 14px; }
  .commercial-preview-grid { grid-template-columns: 1fr; }
  .commercial-preview-grid span { min-height: 88px; }
  .business-hero h1 { font-size: 41px; letter-spacing: -2.3px; }
  .revenue-grid { grid-template-columns: 1fr; }
  .revenue-grid article { min-height: 220px; }
  .roadmap-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .roadmap-list article > span { grid-row: auto; }
  .business-metrics span { padding: 0 14px; font-size: 11px; }
  .business-metrics strong { font-size: 20px; }
  .business-cta > a { width: 100%; overflow-wrap: anywhere; }
}

/* PPGOOO typography system
   Inter gives Latin text a crisp product feel; Noto Sans SC keeps Chinese
   glyphs consistent across Windows, macOS, iOS and Android. */
:root {
  --font-display: "Inter Variable", "Noto Sans SC Variable", -apple-system,
    BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter Variable", "Noto Sans SC Variable", -apple-system,
    BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-caption: 13px;
  --type-small: 15px;
  --type-body: 17px;
  --type-lead: 19px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.68;
  font-weight: var(--weight-regular);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.logo-word {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
}

p {
  letter-spacing: 0;
}

.site-header {
  height: 72px;
}

.nav-mega-wrap {
  height: 72px;
}

.category-strip {
  top: 72px;
}

.mega-menu {
  top: 72px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  font-size: 20px;
  font-weight: var(--weight-bold);
}

.logo-word {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo-ai {
  font-size: var(--type-caption);
  line-height: 1;
  font-weight: var(--weight-semibold);
}

nav a {
  font-size: var(--type-small);
  line-height: 1.4;
  font-weight: var(--weight-medium);
  letter-spacing: -0.006em;
}

.nav-mega-wrap > a span,
.mega-menu-head span,
.mega-menu-grid small {
  font-size: var(--type-caption);
}

.mega-menu-head strong,
.mega-menu-grid strong {
  font-weight: var(--weight-semibold);
}

.submit-link,
.favorites-trigger,
.search-btn,
.load-more-wrap button,
.business-hero-actions a,
.business-cta > a {
  font-size: var(--type-small);
  line-height: 1.3;
  font-weight: var(--weight-semibold);
}

.favorites-trigger b {
  font-size: var(--type-caption);
  font-weight: var(--weight-semibold);
}

.hero {
  min-height: 570px;
}

.hero-content {
  padding-top: 82px;
  padding-bottom: 78px;
}

.eyebrow,
.section-kicker {
  font-size: var(--type-caption);
  line-height: 1.35;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 24px 0 18px;
  font-size: clamp(56px, 5.8vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: var(--weight-semibold);
}

.hero-content > p {
  max-width: 650px;
  font-size: var(--type-lead);
  line-height: 1.55;
  color: #62615c;
}

.search-shell input {
  font-size: 17px;
  line-height: 1.4;
}

.search-shell kbd,
.popular-searches,
.popular-searches :is(button, a) {
  font-size: var(--type-caption);
}

.floating-chip {
  font-size: 14px;
}

.floating-chip span,
.brand-proof b,
.brand-proof small,
.load-more-wrap button span,
.home-academy-grid > a > div small,
.knowledge-points b,
.faq-list summary span,
.breadcrumbs,
.article-breadcrumbs,
.category-static-top b,
.blog-hero-card > span,
.blog-category-nav span,
.blog-category-heading > span,
.blog-card > div,
.article-meta span,
.article-outcome span,
.article-toc > span,
.submit-process b,
.submit-process small,
.form-heading > span,
.academy-promise-grid b,
.article-note span,
.article-steps li > span {
  font-size: var(--type-caption);
  line-height: 1.35;
}

.brand-proof strong,
.knowledge-points span,
.blog-hero-card a,
.article-toc a,
.submit-process strong,
.submit-rules > strong {
  font-size: var(--type-small);
  line-height: 1.45;
}

.section-heading h2,
.ranking-intro h2,
.about-section h2,
.home-academy-heading h2,
.knowledge-intro h2,
.business-section-heading h2,
.growth-roadmap h2,
.trust-section h2,
.business-cta h2,
.commercial-preview-copy h2 {
  font-size: clamp(36px, 3.7vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: var(--weight-semibold);
}

.result-meta,
.compact-heading > p,
.scene-heading > p,
.home-academy-heading > div:last-child p,
.ranking-intro > p:not(.section-kicker),
.knowledge-intro > p:not(.section-kicker),
.commercial-preview-copy > p:not(.section-kicker),
.business-section-heading > p {
  font-size: 16px;
  line-height: 1.7;
}

.result-meta button,
.ranking-intro :is(button, .ranking-entry),
.home-academy-heading a,
.submit-section > a,
.category-page-header nav a,
.form-submit-btn {
  font-size: var(--type-small);
  line-height: 1.4;
  font-weight: var(--weight-semibold);
}

.tool-card {
  min-height: 310px;
  padding: 25px;
}

.tool-logo,
.rank-logo,
.category-symbol,
.about-badge {
  font-weight: var(--weight-bold);
}

.tool-card h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.015em;
}

.featured-dot,
.tag-list span,
.category-overview-card > strong {
  font-size: var(--type-caption);
  line-height: 1.25;
  font-weight: var(--weight-medium);
}

.tool-card > div:nth-child(2) > p {
  min-height: 82px;
  font-size: 16px;
  line-height: 1.7;
  color: #6e6d68;
}

.tool-card-bottom a {
  font-size: var(--type-small);
  line-height: 1.3;
  font-weight: var(--weight-semibold);
}

.category-overview-card h3,
.mega-menu-head strong,
.ranking-list h3 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: var(--weight-semibold);
}

.category-overview-card p,
.mega-menu-grid small,
.ranking-list p {
  font-size: var(--type-caption);
  line-height: 1.45;
}

.mega-menu-grid b,
.category-overview-card > i,
.blog-hero-stats span {
  font-size: var(--type-caption);
}

.scene-number,
.ranking-list a > strong,
.rank-logo {
  font-size: var(--type-caption);
  font-weight: var(--weight-semibold);
}

.scene-card h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: var(--weight-semibold);
}

.scene-card p {
  font-size: 15px;
  line-height: 1.6;
}

.home-academy-grid > a > div,
.home-academy-grid > a > strong,
.home-academy-grid i,
.blog-card > strong,
.category-static-card > span {
  font-size: var(--type-caption);
  line-height: 1.4;
  font-weight: var(--weight-medium);
}

.home-academy-grid h3,
.blog-card h3,
.category-static-card h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: var(--weight-semibold);
}

.home-academy-grid p,
.blog-card p,
.category-static-card p {
  font-size: 15px;
  line-height: 1.7;
}

.blog-category-nav a {
  font-size: var(--type-small);
  line-height: 1.4;
  font-weight: var(--weight-medium);
}

.blog-category-heading > p {
  font-size: 16px;
  line-height: 1.7;
}

.blog-hero-card p,
.academy-promise-grid span,
.article-note,
.article-checklist span {
  font-size: 15px;
  line-height: 1.7;
}

.about-copy > p {
  font-size: 18px;
  line-height: 1.8;
}

.about-stats span,
.footer-bottom,
.category-page-footer,
.footer-category-links a {
  font-size: var(--type-caption);
  line-height: 1.5;
}

.about-stats strong {
  font-size: 24px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
}

.footer-top > p {
  font-size: 15px;
  line-height: 1.7;
}

.category-hero h1,
.blog-hero-copy h1,
.article-hero h1,
.submit-page-intro h1,
.business-hero h1 {
  font-size: clamp(48px, 5.3vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: var(--weight-semibold);
}

.category-hero-copy,
.blog-hero-copy > p:not(.section-kicker),
.article-hero > p,
.submit-page-intro > p:not(.section-kicker),
.business-hero > div > p:not(.section-kicker) {
  font-size: var(--type-lead);
  line-height: 1.65;
}

.category-copy-section h2,
.blog-category-heading h2,
.academy-promise h2,
.article-body h2 {
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: var(--weight-semibold);
}

.article-body h3 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: var(--weight-semibold);
}

.article-body > section > p:not(.section-kicker),
.article-body li,
.article-body blockquote {
  font-size: 18px;
  line-height: 1.85;
}

.article-summary,
.article-body {
  letter-spacing: 0;
}

.article-meta,
.article-toc,
.article-steps p,
.related-articles .section-heading > a {
  font-size: 15px;
  line-height: 1.7;
}

.form-heading h2 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: var(--weight-semibold);
}

.form-grid label > span,
.form-confirm,
.form-heading p,
.form-message,
.form-privacy,
.submit-rules > span {
  font-size: var(--type-small);
  line-height: 1.55;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  font-size: 17px;
  line-height: 1.45;
}

.commercial-preview-grid b,
.revenue-flywheel > span,
.revenue-flywheel b,
.revenue-grid article span,
.revenue-grid article b,
.package-grid article > span,
.roadmap-list article > span,
.trust-grid article > span {
  font-size: var(--type-caption);
  line-height: 1.4;
  font-weight: var(--weight-semibold);
}

.commercial-preview-grid strong,
.revenue-flywheel strong,
.roadmap-list strong,
.trust-grid h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: var(--weight-semibold);
}

.commercial-preview-grid small,
.revenue-flywheel small,
.business-metrics span,
.revenue-grid p,
.package-grid li,
.roadmap-list p,
.trust-grid p,
.business-cta p:not(.section-kicker) {
  font-size: var(--type-small);
  line-height: 1.6;
}

.business-metrics strong {
  font-size: 28px;
  font-weight: var(--weight-semibold);
}

.revenue-grid h3,
.package-grid h3 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: var(--weight-semibold);
}

.package-price strong {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: var(--weight-semibold);
}

.package-price small,
.package-grid article > a {
  font-size: var(--type-small);
}

@media (max-width: 780px) {
  .site-header,
  .nav-mega-wrap {
    height: 64px;
  }

  .category-strip {
    top: 64px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: clamp(42px, 11.5vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .hero-content > p {
    font-size: 18px;
    line-height: 1.7;
  }

  .section-heading h2,
  .ranking-intro h2,
  .about-section h2,
  .home-academy-heading h2,
  .knowledge-intro h2,
  .business-section-heading h2,
  .growth-roadmap h2,
  .trust-section h2,
  .business-cta h2,
  .commercial-preview-copy h2 {
    font-size: 35px;
    line-height: 1.16;
    letter-spacing: -0.025em;
  }

  .category-hero h1,
  .blog-hero-copy h1,
  .article-hero h1,
  .submit-page-intro h1,
  .business-hero h1 {
    font-size: 43px;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .category-hero-copy,
  .blog-hero-copy > p:not(.section-kicker),
  .article-hero > p,
  .submit-page-intro > p:not(.section-kicker),
  .business-hero > div > p:not(.section-kicker) {
    font-size: 18px;
    line-height: 1.7;
  }

  .article-body > section > p:not(.section-kicker),
  .article-body li,
  .article-body blockquote {
    font-size: 17px;
    line-height: 1.85;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .ranking-intro h2,
  .about-section h2,
  .home-academy-heading h2,
  .knowledge-intro h2,
  .business-section-heading h2,
  .growth-roadmap h2,
  .trust-section h2,
  .business-cta h2,
  .commercial-preview-copy h2 {
    font-size: 33px;
  }

  .category-hero h1,
  .blog-hero-copy h1,
  .article-hero h1,
  .submit-page-intro h1,
  .business-hero h1 {
    font-size: 40px;
  }
}

/* Responsive navigation and article layout fixes */
.article-page-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 42px;
}

.article-footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.article-footer-nav a {
  padding: 8px 0;
  color: #5f5e57;
  font-size: 13px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
}

.article-footer-nav a:hover {
  color: var(--orange);
}

.article-page-footer > span {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (min-width: 1180px) {
  .category-list {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .category-list button {
    width: 100%;
    min-width: 0;
    padding-inline: 4px;
    gap: 5px;
    white-space: nowrap;
    font-size: 13px;
  }
}

@media (min-width: 781px) and (max-width: 1179px) {
  .category-list {
    width: calc(100% - 32px);
    min-height: 116px;
    padding: 8px 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .category-list button {
    width: 100%;
    min-width: 0;
    padding: 9px 5px;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
  }
}

@media (max-width: 780px) {
  .category-list {
    scroll-padding-inline: 15px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .category-list button {
    min-height: 44px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .article-page {
    max-width: 100%;
    overflow-x: clip;
  }

  .inner-site-header > div,
  .article-page > article,
  .related-articles,
  .category-page-footer {
    width: calc(100% - 32px);
  }

  .inner-site-header > div {
    gap: 12px;
  }

  .inner-site-header nav a.active {
    min-height: 42px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .article-hero {
    padding: 40px 0 38px;
  }

  .article-breadcrumbs {
    margin-bottom: 22px;
    line-height: 1.6;
  }

  .article-meta {
    margin-bottom: 18px;
  }

  .article-meta span {
    line-height: 1.35;
  }

  .article-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 43px);
    line-height: 1.14;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
  }

  .article-hero > p {
    margin: 19px 0 25px;
    font-size: 17px;
    line-height: 1.75;
  }

  .article-outcome {
    width: 100%;
    padding: 17px 18px;
    gap: 7px;
  }

  .article-outcome strong {
    font-size: 14px;
    line-height: 1.65;
  }

  .article-layout {
    padding: 40px 0 58px;
  }

  .article-body {
    min-width: 0;
  }

  .article-body section {
    padding-bottom: 46px;
  }

  .article-body h2 {
    margin-bottom: 17px;
    font-size: clamp(28px, 7.2vw, 34px);
    line-height: 1.25;
    letter-spacing: -0.018em;
    overflow-wrap: anywhere;
  }

  .article-body h3 {
    font-size: 21px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .article-body > section > p:not(.section-kicker),
  .article-body li,
  .article-body blockquote {
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }

  .answer-box {
    margin-bottom: 46px;
    padding: 23px !important;
    border-radius: 15px;
  }

  .answer-facts {
    margin-top: 20px;
  }

  .answer-facts span,
  .article-note,
  .article-checklist span {
    font-size: 14px;
  }

  .article-note {
    padding: 19px;
    overflow-wrap: anywhere;
  }

  .article-steps li {
    padding: 19px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
  }

  .article-steps li > span {
    width: 32px;
    height: 32px;
  }

  .capability-grid > div,
  .audience-list > div,
  .trend-grid > div,
  .source-evidence-list li {
    padding: 20px;
  }

  .method-list > div {
    padding: 22px 0;
  }

  .method-list h3 {
    font-size: 20px;
  }

  .method-list p,
  .audience-list p,
  .mistake-list p,
  .trend-grid p,
  .source-evidence-list p {
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .prompt-card pre {
    max-width: 100%;
    padding: 18px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-table-wrap {
    width: 100%;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .article-table {
    min-width: 620px;
  }

  .source-list,
  .source-evidence-list,
  .article-faq {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .related-articles {
    padding: 54px 0 64px;
  }

  .category-page-footer {
    padding: 28px 0 max(30px, env(safe-area-inset-bottom));
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    line-height: 1.65;
  }

  .category-page-footer > span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .article-page-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-footer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 4px 12px;
  }

  .article-footer-nav a {
    min-height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .article-page-footer > span {
    grid-column: auto;
    width: 100%;
    padding-top: 16px;
  }

  footer .footer-top {
    min-height: 118px;
  }

  .footer-category-links {
    padding: 22px 0;
    gap: 4px 18px;
  }

  .footer-category-links a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .footer-bottom {
    min-height: 0;
    padding: 24px 0 max(30px, env(safe-area-inset-bottom));
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 22px;
  }

  .footer-bottom > div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .footer-bottom > div a {
    min-height: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .article-hero {
    padding: 34px 0 32px;
  }

  .article-hero h1 {
    font-size: clamp(32px, 9.5vw, 38px);
    line-height: 1.16;
  }

  .article-hero > p {
    font-size: 16px;
  }

  .article-layout {
    padding-top: 34px;
  }

  .article-body section {
    padding-bottom: 40px;
  }

  .article-body h2 {
    font-size: clamp(26px, 7.4vw, 31px);
  }

  .answer-box {
    padding: 20px !important;
  }

  .article-summary {
    padding: 22px !important;
  }

  .article-body blockquote {
    padding: 20px;
    font-size: 17px;
  }

  .article-steps li,
  .mistake-list > div {
    padding: 17px;
  }

  .capability-grid > div,
  .audience-list > div,
  .trend-grid > div,
  .source-evidence-list li {
    padding: 18px;
  }

  .footer-category-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 18px;
  }

  .article-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep article pages genuinely single-column on phones.
   This block intentionally comes last so later desktop knowledge-base rules
   cannot place the body back into the narrow first grid track. */
@media (max-width: 780px) {
  .article-page > article {
    width: min(100% - 30px, 760px);
    max-width: 100%;
  }

  .article-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: block;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .article-body,
  .article-body > section,
  .answer-box,
  .capability-grid,
  .practice-example,
  .prompt-stack,
  .article-steps,
  .method-list,
  .mistake-list,
  .safety-grid,
  .article-faq {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .article-body img,
  .article-body video,
  .article-body iframe {
    max-width: 100%;
    height: auto;
  }

  .article-table-wrap {
    max-width: 100%;
  }
}

/* Cross-border toolbox */
.toolbox-page {
  --toolbox-ink: #171713;
  --toolbox-muted: #6e6c64;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(199, 255, 74, 0.14), transparent 22%),
    var(--paper);
}

.toolbox-header {
  background: rgba(247, 246, 241, 0.94);
}

.toolbox-header nav a.active {
  color: var(--orange);
}

.toolbox-hero {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 100px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  align-items: end;
  gap: 86px;
}

.toolbox-hero-copy h1 {
  max-width: 900px;
  margin: 22px 0 24px;
  font-size: clamp(54px, 6.3vw, 92px);
  line-height: 0.98;
  letter-spacing: -5.5px;
  font-weight: 900;
}

.toolbox-hero-copy h1 em {
  color: var(--orange);
  font-style: normal;
}

.toolbox-hero-copy > p:not(.section-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 17px;
  line-height: 1.85;
}

.toolbox-hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbox-hero-actions a {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--toolbox-ink);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.toolbox-hero-actions a:first-child {
  background: var(--toolbox-ink);
  color: white;
}

.toolbox-hero-actions a:first-child span {
  color: var(--lime);
}

.toolbox-hero-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 23, 19, 0.12);
}

.toolbox-hero-card {
  padding: 28px;
  border: 1px solid var(--toolbox-ink);
  border-radius: 22px;
  background: var(--toolbox-ink);
  color: white;
  box-shadow: 14px 14px 0 var(--orange);
  transform: rotate(1.4deg);
}

.toolbox-hero-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a9a79e;
  font-size: 12px;
  font-weight: 800;
}

.toolbox-hero-card > div b {
  color: var(--lime);
  font-size: 34px;
  letter-spacing: -2px;
}

.toolbox-hero-card > strong {
  display: block;
  margin: 30px 0 12px;
  font-size: 30px;
  line-height: 1.1;
}

.toolbox-hero-card > p {
  margin: 0;
  color: #c2c0b8;
  font-size: 14px;
  line-height: 1.7;
}

.toolbox-hero-card ul {
  margin: 26px 0 0;
  padding: 20px 0 0;
  display: grid;
  gap: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.toolbox-hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #efeee9;
  font-size: 13px;
  font-weight: 700;
}

.toolbox-hero-card li i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.toolbox-trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ecebe5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.toolbox-trust-strip span {
  min-height: 94px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-right: 1px solid var(--line);
  color: #67665f;
  font-size: 13px;
  font-weight: 700;
}

.toolbox-trust-strip span:last-child {
  border-right: 0;
}

.toolbox-trust-strip strong {
  color: var(--toolbox-ink);
  font-size: 26px;
  letter-spacing: -1px;
}

.available-tools {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0 8px;
}

.available-tools-heading {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
}

.available-tools-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 1;
  letter-spacing: -3.4px;
}

.available-tools-heading > p {
  max-width: 510px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 15px;
  line-height: 1.8;
}

.available-tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.available-tool-card {
  min-height: 330px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--toolbox-ink);
  border-radius: 20px;
  background: white;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.available-tool-card::after {
  position: absolute;
  right: -14px;
  bottom: -50px;
  color: rgba(23, 23, 19, 0.05);
  font-size: 150px;
  font-weight: 900;
  letter-spacing: -12px;
  pointer-events: none;
}

.address-tool-card::after {
  content: "地址";
}

.case-tool-card::after {
  content: "Aa";
  color: rgba(255, 255, 255, 0.075);
}

.counter-tool-card::after {
  content: "123";
  right: -6px;
  color: rgba(255, 77, 0, 0.065);
  font-size: 112px;
}

.profit-tool-card::after {
  content: "ROI";
  right: -8px;
  color: rgba(23, 23, 19, 0.055);
  font-size: 108px;
}

.unit-tool-card::after {
  content: "↔";
  right: 2px;
  bottom: -58px;
  color: rgba(28, 91, 255, 0.075);
  font-size: 164px;
}

.available-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(23, 23, 19, 0.12);
}

.case-tool-card {
  border-color: var(--toolbox-ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(199, 255, 74, 0.22), transparent 28%),
    var(--toolbox-ink);
  color: white;
}

.available-tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.available-tool-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--orange);
  color: white;
  font-size: 17px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.case-tool-card .available-tool-icon {
  background: var(--lime);
  color: var(--ink);
}

.counter-tool-card .available-tool-icon {
  background: #7d5cff;
}

.unit-tool-card .available-tool-icon {
  background: #1c5bff;
}

.available-tool-card-top small {
  color: #88867e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.case-tool-card .available-tool-card-top small {
  color: #a9a79e;
}

.available-tool-card > p {
  margin: 48px 0 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.available-tool-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.45vw, 34px);
  letter-spacing: -1.5px;
}

.available-tool-card > strong {
  max-width: 520px;
  margin-top: 13px;
  color: #77756d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.case-tool-card > strong {
  color: #bdbbb2;
}

.available-tool-link {
  width: fit-content;
  margin-top: auto;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.case-tool-card .available-tool-link {
  color: var(--lime);
}

.available-tool-link b {
  font-size: 18px;
}

.address-generator {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 110px 0 100px;
}

.generator-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.generator-heading h1 {
  margin: 10px 0 12px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -3.8px;
}

.generator-heading > div > p:last-child {
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 15px;
  line-height: 1.7;
}

.generator-status {
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #5f5e57;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.generator-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20af68;
  box-shadow: 0 0 0 4px rgba(32, 175, 104, 0.13);
}

.generator-panel {
  overflow: hidden;
  border: 1px solid var(--toolbox-ink);
  border-radius: 24px;
  background: white;
  box-shadow: 0 26px 70px rgba(23, 23, 19, 0.09);
}

.generator-controls {
  padding: 26px;
  border-bottom: 1px solid var(--line);
  background: #f0efe9;
}

.generator-filter-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(290px, 1.35fr) 250px auto;
  align-items: end;
  gap: 14px;
}

.generator-controls label > span,
.generator-controls legend {
  display: block;
  margin-bottom: 10px;
  color: #5b5a53;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.generator-controls select,
.generator-controls input {
  width: 100%;
  height: 52px;
  padding: 0 42px 0 15px;
  border: 1px solid #bdbbb1;
  border-radius: 11px;
  outline: none;
  background: white;
  color: var(--toolbox-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

.generator-controls select:focus,
.generator-controls input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.12);
}

.generator-search-row {
  margin-top: 16px;
  max-width: 760px;
}

.generator-search-row > label > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.generator-search-row input {
  padding-right: 15px;
  border-radius: 11px 0 0 11px;
}

.generator-search-row label button {
  padding: 0 17px;
  border: 1px solid #bdbbb1;
  border-left: 0;
  border-radius: 0 11px 11px 0;
  background: white;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.generator-search-row label small {
  min-height: 20px;
  margin-top: 7px;
  display: block;
  color: #747269;
  font-size: 13px;
  line-height: 1.5;
}

.generator-controls fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.generator-controls fieldset > div {
  height: 52px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid #bdbbb1;
  border-radius: 11px;
  background: white;
}

.generator-controls fieldset button {
  min-width: 0;
  padding: 0 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #77756d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.generator-controls fieldset button.active {
  background: var(--orange-soft);
  color: var(--orange);
}

.generate-address-btn {
  height: 52px;
  padding: 0 25px;
  border: 1px solid var(--toolbox-ink);
  border-radius: 11px;
  background: var(--toolbox-ink);
  color: white;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.2s ease;
}

.popular-location-row {
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.popular-location-row > div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}

.popular-location-row > div:first-child > span {
  font-size: 27px;
}

.popular-location-row p {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.popular-location-row p small {
  margin-top: 3px;
  display: block;
  color: #8a887f;
  font-size: 9px;
  font-weight: 600;
}

.popular-location-row > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.popular-location-row button {
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f5;
  color: #4b4a44;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.popular-location-row button small {
  margin-left: 5px;
  color: #99968c;
}

.popular-location-row button:hover,
.popular-location-row button.active {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange);
}

.generate-address-btn span {
  margin-right: 6px;
  color: var(--lime);
  font-size: 18px;
}

.generate-address-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.generator-result-bar {
  min-height: 78px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.generator-result-bar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.generator-result-bar > div > span {
  font-size: 30px;
}

.generator-result-bar p {
  margin: 0;
  color: #89877e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.generator-result-bar p strong {
  display: block;
  margin-top: 3px;
  color: var(--toolbox-ink);
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.result-actions button,
.address-result-card header button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #4f4e48;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.result-actions button:hover,
.address-result-card header button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.result-actions button.danger {
  color: #b23a2d;
}

.address-results {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background:
    linear-gradient(rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    #faf9f5;
  background-size: 38px 38px;
}

.address-result-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cfcdc4;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 30px rgba(23, 23, 19, 0.06);
}

.address-result-card > header {
  min-height: 78px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: #f4f3ed;
}

.address-result-card > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-result-card > header > div:last-child {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.address-result-card > header > div > span {
  font-size: 28px;
}

.address-result-card header p {
  margin: 0;
  color: #7a786f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.address-result-card header p strong {
  display: block;
  margin-top: 3px;
  color: var(--toolbox-ink);
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}

.record-overview {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr 0.85fr;
  border-bottom: 1px solid var(--line);
  background: var(--toolbox-ink);
  background: var(--toolbox-ink);
  color: white;
}

.record-overview > div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.record-overview > div:last-child {
  border-right: 0;
}

.record-overview span {
  display: block;
  margin-bottom: 7px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.record-overview strong,
.record-overview pre {
  margin: 0;
  color: #f2f0e9;
  font: 650 16px/1.65 Inter, Arial, sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.record-overview small {
  margin-top: 5px;
  display: block;
  color: #9b9990;
  font-size: 14px;
}

.record-section-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.record-section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ddd9d0;
  border-radius: 12px;
  background: #fff;
}

.record-section summary {
  min-height: 74px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  background: #f5f4ef;
  cursor: pointer;
}

.record-section summary::-webkit-details-marker {
  display: none;
}

.record-section summary > span {
  min-width: 0;
}

.record-section summary strong {
  display: block;
  color: #282721;
  font-size: 17px;
}

.record-section summary small {
  margin-top: 5px;
  display: block;
  color: #8a887f;
  font-size: 13px;
  line-height: 1.5;
}

.record-section summary b {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e9e7df;
  color: #77756d;
  font-size: 13px;
}

.record-section[open] summary b {
  background: var(--orange);
  color: white;
}

.record-fields > div {
  min-height: 62px;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eceae3;
}

.record-fields span {
  color: #8a887f;
  font-size: 14px;
  font-weight: 700;
}

.record-fields strong {
  min-width: 0;
  color: #282721;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.record-fields button {
  min-height: 34px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.sensitive-test-banner {
  margin: 16px 16px 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5c7b8;
  border-radius: 11px;
  background: #fff6f1;
}

.sensitive-test-banner span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.sensitive-test-banner p {
  margin: 0;
  color: #745f54;
  font-size: 14px;
  line-height: 1.6;
}

.empty-address-state {
  min-height: 220px;
  padding: 36px;
  display: grid;
  place-content: center;
  text-align: center;
}

.empty-address-state strong {
  font-size: 20px;
}

.empty-address-state p {
  color: #747269;
  font-size: 14px;
}

.generator-notice {
  margin-top: 18px;
  padding: 17px 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #e5c7b8;
  border-radius: 13px;
  background: #fff6f1;
}

.generator-notice > span {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.generator-notice p {
  margin: 0;
  color: #745f54;
  font-size: 14px;
  line-height: 1.75;
}

.generator-notice strong {
  display: block;
  color: #33251f;
}

.generator-notice code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 77, 0, 0.09);
  color: #9d3210;
  font-family: monospace;
  font-size: 13px;
}

.address-directory {
  margin-top: 70px;
}

.address-directory > div:first-child {
  max-width: 720px;
}

.address-directory h3 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -2px;
}

.address-directory > div:first-child > p:last-child {
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 15px;
  line-height: 1.7;
}

.country-directory-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.country-directory-grid button {
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  color: #383732;
  text-align: left;
  cursor: pointer;
}

.country-directory-grid button:hover,
.country-directory-grid button.active {
  background: var(--orange-soft);
  color: var(--orange);
}

.country-directory-grid strong {
  font-size: 14px;
}

.country-directory-grid small {
  color: #9a988f;
  font-size: 12px;
}

.region-directory-heading {
  margin-top: 46px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.region-directory-heading h3 {
  margin: 0;
  font-size: 28px;
}

.region-directory-heading > span {
  color: #838178;
  font-size: 14px;
  font-weight: 800;
}

.region-directory-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.region-directory-grid button {
  min-height: 74px;
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
}

.region-directory-grid button:hover {
  border-color: var(--orange);
  background: white;
}

.region-directory-grid strong {
  padding-right: 28px;
  font-size: 14px;
  line-height: 1.35;
}

.region-directory-grid span {
  margin-top: 5px;
  color: #7b7970;
  font-size: 13px;
}

.region-directory-grid small {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.tool-roadmap {
  padding: 100px max(32px, calc((100% - 1280px) / 2));
  border-top: 1px solid var(--toolbox-ink);
  border-bottom: 1px solid var(--toolbox-ink);
  background: var(--toolbox-ink);
  color: white;
}

.tool-roadmap-heading {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
}

.tool-roadmap-heading h2 {
  max-width: 720px;
  margin: 10px 0 0;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.03;
  letter-spacing: -3.5px;
}

.tool-roadmap-heading > p {
  margin: 0;
  color: #b9b7ae;
  font-size: 14px;
  line-height: 1.8;
}

.future-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #45443f;
  border-radius: 18px;
  overflow: hidden;
}

.future-tool-grid article {
  min-height: 300px;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #45443f;
  background: #1c1c18;
}

.future-tool-grid article:last-child {
  border-right: 0;
}

.future-tool-grid article > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.future-tool-grid article > div > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lime);
  color: var(--toolbox-ink);
  font-size: 17px;
  font-weight: 900;
}

.future-tool-grid small {
  color: #79786f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.future-tool-grid article > p {
  margin: 42px 0 8px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.7px;
}

.future-tool-grid h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.6px;
}

.future-tool-grid article > strong {
  margin-top: 13px;
  color: #aaa89f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.75;
}

.future-tool-grid article > i {
  margin-top: auto;
  color: #6f6d65;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.toolbox-faq {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 100px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.toolbox-faq h2 {
  margin: 10px 0 0;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -3.2px;
}

.toolbox-faq details {
  border-top: 1px solid var(--toolbox-ink);
}

.toolbox-faq details:last-child {
  border-bottom: 1px solid var(--toolbox-ink);
}

.toolbox-faq summary {
  padding: 24px 46px 24px 0;
  position: relative;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.toolbox-faq summary::-webkit-details-marker {
  display: none;
}

.toolbox-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--orange);
  font-size: 26px;
  font-weight: 500;
}

.toolbox-faq details[open] summary::after {
  content: "−";
}

.toolbox-faq details p {
  margin: -5px 0 22px;
  padding-right: 60px;
  color: var(--toolbox-muted);
  font-size: 13px;
  line-height: 1.8;
}

.toolbox-footer > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.toolbox-footer > div a {
  color: #69675f;
  font-size: 12px;
  font-weight: 700;
}

.toolbox-promo {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 86px 0;
}

.toolbox-promo-inner {
  min-height: 270px;
  padding: 42px 46px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 42%, rgba(199, 255, 74, 0.24), transparent 26%),
    var(--ink);
  color: white;
}

.toolbox-promo-inner::after {
  content: "地址";
  position: absolute;
  right: 178px;
  bottom: -37px;
  color: rgba(255, 255, 255, 0.055);
  font-size: 138px;
  font-weight: 900;
  letter-spacing: -10px;
  pointer-events: none;
}

.toolbox-promo h2 {
  max-width: 720px;
  margin: 10px 0 14px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.toolbox-promo-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #bcbab2;
  font-size: 14px;
  line-height: 1.75;
}

.toolbox-promo-inner > a {
  min-width: 176px;
  min-height: 54px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .toolbox-hero {
    grid-template-columns: 1fr 360px;
    gap: 48px;
  }

  .toolbox-hero-copy h1 {
    font-size: clamp(54px, 7vw, 74px);
  }

  .future-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .future-tool-grid article:nth-child(2) {
    border-right: 0;
  }

  .future-tool-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid #45443f;
  }

  .generator-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .generate-address-btn {
    grid-column: auto;
  }

  .country-directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .region-directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .toolbox-hero,
  .address-generator,
  .available-tools,
  .toolbox-faq,
  .toolbox-promo {
    width: min(100% - 32px, 720px);
  }

  .toolbox-hero {
    padding: 70px 0 58px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .toolbox-hero-copy h1 {
    font-size: clamp(48px, 11vw, 70px);
    letter-spacing: -4px;
  }

  .toolbox-hero-card {
    max-width: 480px;
  }

  .toolbox-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .toolbox-trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .toolbox-trust-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .address-generator {
    padding: 78px 0;
  }

  .available-tools {
    padding-top: 76px;
  }

  .available-tools-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .available-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .generator-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .generator-filter-grid,
  .generator-search-row {
    grid-template-columns: 1fr;
  }

  .generator-controls fieldset {
    min-width: 0;
  }

  .generate-address-btn {
    grid-column: auto;
  }

  .popular-location-row {
    grid-template-columns: 1fr;
  }

  .record-overview {
    grid-template-columns: 1fr;
  }

  .record-overview > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .record-overview > div:last-child {
    border-bottom: 0;
  }

  .record-section-grid {
    grid-template-columns: 1fr;
  }

  .country-directory-grid,
  .region-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-roadmap {
    padding: 78px 16px;
  }

  .tool-roadmap-heading,
  .toolbox-faq {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .toolbox-faq {
    padding: 78px 0;
  }

  .toolbox-promo {
    padding: 58px 0;
  }

  .toolbox-promo-inner {
    padding: 32px;
    grid-template-columns: 1fr;
  }

  .toolbox-promo-inner > a {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .generator-heading h1 {
    font-size: 40px;
    letter-spacing: -2.5px;
  }

  .generator-panel {
    border-radius: 17px;
  }

  .generator-controls,
  .popular-location-row,
  .address-results {
    padding: 16px;
  }

  .generator-search-row > label > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .generator-search-row input,
  .generator-search-row label button {
    width: 100%;
    min-height: 48px;
    border: 1px solid #bdbbb1;
    border-radius: 10px;
  }

  .generator-result-bar {
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .result-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .result-actions button {
    min-height: 42px;
  }

  .address-result-card > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .address-result-card > header > div:last-child {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .record-section-grid {
    padding: 10px;
  }

  .record-fields > div {
    min-height: 66px;
    grid-template-columns: 104px minmax(0, 1fr) 46px;
    gap: 8px;
  }

  .record-fields span {
    font-size: 13px;
  }

  .record-fields strong {
    font-size: 15px;
  }

  .sensitive-test-banner {
    margin: 12px 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .sensitive-test-banner p {
    font-size: 13px;
  }

  .country-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-directory-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .region-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .toolbox-hero {
    padding-top: 52px;
  }

  .toolbox-hero-copy h1 {
    margin-top: 17px;
    font-size: 47px;
    line-height: 1.02;
    letter-spacing: -3px;
  }

  .toolbox-hero-copy > p:not(.section-kicker) {
    font-size: 14px;
    line-height: 1.75;
  }

  .toolbox-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbox-hero-actions a {
    width: 100%;
  }

  .toolbox-hero-card {
    padding: 23px;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .toolbox-trust-strip span {
    min-height: 80px;
    padding: 14px 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .toolbox-trust-strip strong {
    font-size: 21px;
  }

  .available-tool-grid {
    grid-template-columns: 1fr;
  }

  .available-tool-card {
    min-height: 310px;
    padding: 24px;
  }

  .available-tools-heading h2 {
    font-size: 40px;
    letter-spacing: -2.4px;
  }

  .generator-heading h1,
  .toolbox-faq h2 {
    font-size: 40px;
    letter-spacing: -2.4px;
  }

  .generator-heading > div > p:last-child {
    font-size: 15px;
  }

  .generator-status {
    white-space: normal;
  }

  .generator-panel {
    border-radius: 17px;
  }

  .generator-controls,
  .address-results {
    padding: 15px;
  }

  .generator-result-bar {
    padding: 13px 15px;
  }

  .generator-result-bar > button {
    max-width: 92px;
  }

  .address-result-card > header {
    align-items: flex-start;
  }

  .address-field-list > div {
    padding: 11px 12px;
    grid-template-columns: 86px minmax(0, 1fr) 32px;
    gap: 8px;
  }

  .address-field-list strong {
    font-size: 12px;
  }

  .future-tool-grid {
    grid-template-columns: 1fr;
  }

  .future-tool-grid article {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid #45443f;
  }

  .future-tool-grid article:last-child {
    border-bottom: 0;
  }

  .tool-roadmap-heading h2 {
    font-size: 40px;
    letter-spacing: -2.4px;
  }

  .toolbox-faq details p {
    padding-right: 0;
  }

  .toolbox-footer > div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .toolbox-promo-inner {
    padding: 26px 22px;
  }

  .toolbox-promo h2 {
    font-size: 37px;
    letter-spacing: -2.2px;
  }

  .toolbox-promo-inner > a {
    width: 100%;
  }
}

/* Case converter */
.case-converter-page {
  background:
    radial-gradient(circle at 8% 17%, rgba(255, 77, 0, 0.09), transparent 20%),
    radial-gradient(circle at 92% 10%, rgba(199, 255, 74, 0.15), transparent 23%),
    var(--paper);
}

.case-breadcrumb {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #85837a;
  font-size: 13px;
  font-weight: 700;
}

.case-breadcrumb a:hover {
  color: var(--orange);
}

.case-breadcrumb strong {
  color: var(--ink);
}

.case-converter {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 66px 0 104px;
}

.case-converter-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 42px;
}

.case-converter-heading h1 {
  margin: 12px 0 18px;
  font-size: clamp(54px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -5px;
}

.case-converter-heading > div > p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 16px;
  line-height: 1.8;
}

.case-converter-heading > span {
  margin-bottom: 5px;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #67655d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.case-converter-heading > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20af68;
  box-shadow: 0 0 0 4px rgba(32, 175, 104, 0.13);
}

.case-converter-panel {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: white;
  box-shadow: 0 28px 72px rgba(23, 23, 19, 0.1);
}

.case-mode-panel {
  padding: 24px;
  border-right: 1px solid var(--ink);
  background: #eeede7;
}

.case-mode-heading,
.case-editor-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}

.case-mode-heading > span,
.case-editor-header > div:first-child > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.case-mode-heading strong {
  display: block;
  font-size: 15px;
}

.case-mode-heading small {
  display: block;
  margin-top: 2px;
  color: #85837a;
  font-size: 11px;
}

.case-mode-grid {
  margin-top: 22px;
  display: grid;
  gap: 7px;
}

.case-mode-grid button {
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}

.case-mode-grid button:hover {
  border-color: #b8b6ad;
  background: white;
}

.case-mode-grid button.active {
  border-color: var(--orange);
  background: var(--orange-soft);
  box-shadow: inset 4px 0 0 var(--orange);
}

.case-mode-grid button span {
  font-size: 13px;
  font-weight: 900;
}

.case-mode-grid button small {
  color: #939188;
  font-size: 11px;
  white-space: nowrap;
}

.case-mode-grid button.active small {
  color: var(--orange);
}

.case-workspace {
  min-width: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background:
    linear-gradient(rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    #faf9f5;
  background-size: 38px 38px;
}

.case-editor-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #cfcdc4;
  border-radius: 15px;
  background: white;
  box-shadow: 0 9px 24px rgba(23, 23, 19, 0.05);
}

.case-editor-header {
  min-height: 68px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #f4f3ed;
}

.case-editor-header strong {
  font-size: 15px;
}

.case-editor-header > small {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.case-editor-tools {
  display: flex;
  gap: 6px;
}

.case-editor-tools button,
.case-replace-btn {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #5f5d56;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.case-editor-tools button:hover,
.case-replace-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.case-editor-tools button:disabled,
.case-output-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.case-editor-card textarea {
  width: 100%;
  min-height: 390px;
  padding: 20px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: white;
  color: var(--ink);
  font: 500 16px/1.8 Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.case-editor-card textarea::placeholder {
  color: #aaa89f;
}

.case-output-card textarea {
  background: #fffdf8;
}

.case-stats {
  min-height: 48px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-top: 1px solid var(--line);
  background: #fbfaf6;
  color: #85837a;
  font-size: 11px;
  font-weight: 700;
}

.case-stats strong {
  color: var(--ink);
  font-size: 13px;
}

.case-output-actions {
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: #f4f3ed;
}

.case-copy-btn {
  min-height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.case-copy-btn b {
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.6px;
}

.case-copy-btn:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.case-toast {
  min-width: 230px;
  padding: 13px 18px;
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: 180ms ease;
  box-shadow: 0 14px 34px rgba(23, 23, 19, 0.2);
}

.case-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.case-use-cases {
  padding: 98px max(32px, calc((100% - 1280px) / 2));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: white;
}

.case-use-cases > div:first-child {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.case-use-cases h2 {
  max-width: 720px;
  margin: 10px 0 0;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -3.4px;
}

.case-use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #484740;
  border-radius: 17px;
  overflow: hidden;
}

.case-use-case-grid article {
  min-height: 230px;
  padding: 25px;
  border-right: 1px solid #484740;
  background: #1c1c18;
}

.case-use-case-grid article:last-child {
  border-right: 0;
}

.case-use-case-grid span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.case-use-case-grid h3 {
  margin: 58px 0 12px;
  font-size: 22px;
}

.case-use-case-grid p {
  margin: 0;
  color: #aaa89f;
  font-size: 13px;
  line-height: 1.8;
}

.case-related-tools {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 94px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
}

.case-related-tools h2 {
  margin: 10px 0 13px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.case-related-tools > div > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 15px;
  line-height: 1.75;
}

.case-related-tools > a,
.case-related-links a {
  min-width: 230px;
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 12px;
  background: var(--orange);
  color: white;
  font-size: 14px;
  font-weight: 900;
  transition: 180ms ease;
}

.case-related-tools > a:hover,
.case-related-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 77, 0, 0.2);
}

.case-related-links {
  display: grid;
  gap: 10px;
}

.case-related-links a:last-child {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

/* Character counter */
.character-counter-page {
  background:
    radial-gradient(circle at 8% 17%, rgba(125, 92, 255, 0.1), transparent 20%),
    radial-gradient(circle at 92% 10%, rgba(199, 255, 74, 0.15), transparent 23%),
    var(--paper);
}

.character-counter {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 66px 0 104px;
}

.character-counter-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 42px;
}

.character-counter-heading h1 {
  margin: 12px 0 18px;
  font-size: clamp(54px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -5px;
}

.character-counter-heading > div > p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 16px;
  line-height: 1.8;
}

.character-counter-heading > span {
  margin-bottom: 5px;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #67655d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.character-counter-heading > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20af68;
  box-shadow: 0 0 0 4px rgba(32, 175, 104, 0.13);
}

.character-counter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: white;
  box-shadow: 0 28px 72px rgba(23, 23, 19, 0.1);
}

.counter-editor-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  background: white;
}

.counter-editor-header,
.counter-detail-heading {
  min-height: 82px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #f1f0ea;
}

.counter-editor-header > div:first-child,
.counter-detail-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.counter-editor-header > div:first-child > span,
.counter-detail-heading > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.counter-editor-header strong,
.counter-detail-heading strong {
  display: block;
  font-size: 16px;
}

.counter-editor-header small,
.counter-detail-heading small {
  display: block;
  margin-top: 3px;
  color: #7d7b73;
  font-size: 13px;
}

.counter-editor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.counter-editor-actions button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cfcdc4;
  border-radius: 9px;
  background: white;
  color: #55534d;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.counter-editor-actions button:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.counter-editor-actions button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.counter-editor-actions button:first-child:hover {
  color: white;
  background: var(--orange);
}

.counter-editor-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.counter-editor-card textarea {
  width: 100%;
  min-height: 540px;
  padding: 24px;
  flex: 1;
  resize: vertical;
  border: 0;
  outline: 0;
  background: white;
  color: var(--ink);
  font: 500 17px/1.85 Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.counter-editor-card textarea::placeholder {
  color: #a3a198;
}

.counter-primary-stats {
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: white;
}

.counter-primary-stats span {
  padding: 16px 14px;
  display: grid;
  place-content: center;
  gap: 4px;
  border-right: 1px solid #46453f;
  text-align: center;
}

.counter-primary-stats span:last-child {
  border-right: 0;
}

.counter-primary-stats strong {
  color: var(--lime);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -1px;
}

.counter-primary-stats small {
  color: #c3c1b7;
  font-size: 13px;
  font-weight: 800;
}

.counter-detail-card {
  min-width: 0;
  background:
    linear-gradient(rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    #faf9f5;
  background-size: 38px 38px;
}

.counter-stat-grid {
  margin: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.counter-stat-grid > div {
  min-height: 116px;
  padding: 15px;
  display: grid;
  align-content: start;
  border: 1px solid #d5d3ca;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.91);
}

.counter-stat-grid dt {
  color: #605e57;
  font-size: 14px;
  font-weight: 800;
}

.counter-stat-grid dd {
  margin: 9px 0 5px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.counter-stat-grid small {
  color: #85837a;
  font-size: 12px;
  line-height: 1.45;
}

.counter-notes {
  margin-top: 16px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.74);
}

.counter-notes strong {
  font-size: 14px;
}

.counter-notes p {
  margin: 0;
  color: #6d6b64;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .available-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-converter-panel {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .case-workspace {
    grid-template-columns: 1fr;
  }

  .case-editor-card textarea {
    min-height: 280px;
  }

  .character-counter-panel {
    grid-template-columns: 1fr;
  }

  .counter-editor-card {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .counter-editor-card textarea {
    min-height: 400px;
  }
}

@media (max-width: 820px) {
  .case-breadcrumb,
  .case-converter,
  .character-counter,
  .case-related-tools {
    width: min(100% - 32px, 720px);
  }

  .case-converter {
    padding: 54px 0 76px;
  }

  .case-converter-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .character-counter {
    padding: 54px 0 76px;
  }

  .character-counter-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .character-counter-heading h1 {
    font-size: clamp(48px, 10.5vw, 68px);
    letter-spacing: -3.7px;
  }

  .character-counter-heading > span {
    margin: 0;
  }

  .case-converter-heading h1 {
    font-size: clamp(48px, 10.5vw, 68px);
    letter-spacing: -3.7px;
  }

  .case-converter-heading > span {
    margin: 0;
  }

  .case-converter-panel {
    grid-template-columns: 1fr;
  }

  .case-mode-panel {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .case-mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-mode-grid button {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .case-use-cases {
    padding: 76px 16px;
  }

  .case-use-case-grid {
    grid-template-columns: 1fr;
  }

  .case-use-case-grid article {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid #484740;
  }

  .case-use-case-grid article:last-child {
    border-bottom: 0;
  }

  .case-use-case-grid h3 {
    margin-top: 38px;
  }

  .case-related-tools {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-related-tools > a,
  .case-related-links,
  .case-related-links a {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .available-tool-grid {
    grid-template-columns: 1fr;
  }

  .case-breadcrumb {
    padding-top: 20px;
    gap: 7px;
    font-size: 12px;
  }

  .case-converter-heading h1 {
    font-size: 46px;
    letter-spacing: -3px;
  }

  .case-converter-heading > div > p:last-child {
    font-size: 15px;
  }

  .case-converter-heading > span {
    white-space: normal;
  }

  .character-counter-heading h1 {
    font-size: 46px;
    letter-spacing: -3px;
  }

  .character-counter-heading > div > p:last-child {
    font-size: 15px;
  }

  .character-counter-heading > span {
    white-space: normal;
  }

  .character-counter-panel {
    border-radius: 17px;
  }

  .counter-editor-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .counter-editor-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .counter-editor-actions button {
    width: 100%;
  }

  .counter-editor-card textarea {
    min-height: 360px;
    padding: 18px;
    font-size: 16px;
  }

  .counter-primary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .counter-primary-stats span:nth-child(2) {
    border-right: 0;
  }

  .counter-primary-stats span:nth-child(-n + 2) {
    border-bottom: 1px solid #46453f;
  }

  .counter-detail-heading {
    min-height: 76px;
    padding: 15px;
  }

  .counter-stat-grid {
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .counter-stat-grid > div {
    min-height: 104px;
  }

  .counter-notes {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-converter-panel {
    border-radius: 17px;
  }

  .case-mode-panel,
  .case-workspace {
    padding: 15px;
  }

  .case-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-mode-grid button {
    min-height: 74px;
    padding: 10px;
  }

  .case-editor-header {
    min-height: 62px;
    padding: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .case-editor-tools {
    width: 100%;
  }

  .case-editor-tools button {
    flex: 1;
  }

  .case-editor-card textarea {
    min-height: 260px;
    padding: 16px;
    font-size: 16px;
  }

  .case-output-actions {
    grid-template-columns: 1fr;
  }

  .case-output-actions button {
    min-height: 43px;
  }

  .case-use-cases h2,
  .case-related-tools h2 {
    font-size: 39px;
    letter-spacing: -2.4px;
  }

  .case-related-tools {
    padding: 72px 0;
  }

  .case-related-tools > a,
  .case-related-links,
  .case-related-links a {
    width: 100%;
  }
}

/* Global business inquiry conversion flow */
.commercial-preview-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.commercial-preview-actions a {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.commercial-preview-actions a:first-child {
  background: var(--lime);
  color: var(--ink);
}

.commercial-preview-actions a:last-child {
  border: 1px solid #55554e;
  color: white;
}

.commercial-preview-actions a:hover {
  transform: translateY(-2px);
}

.commercial-preview-actions a:last-child:hover {
  border-color: var(--orange);
  background: rgba(255, 77, 0, 0.13);
}

.inquiry-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 58px;
  padding: 8px 17px 8px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 46px rgba(23, 23, 19, 0.24);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.inquiry-float:hover {
  transform: translateY(-3px);
  background: #262621;
  box-shadow: 0 20px 54px rgba(23, 23, 19, 0.3);
}

.inquiry-float:focus-visible,
.inquiry-close:focus-visible,
.inquiry-form input:focus-visible,
.inquiry-form select:focus-visible,
.inquiry-form textarea:focus-visible,
.inquiry-form button:focus-visible,
.inquiry-success button:focus-visible {
  outline: 3px solid rgba(255, 77, 0, 0.34);
  outline-offset: 3px;
}

.inquiry-float-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 17px;
}

.inquiry-float > span:last-child {
  display: grid;
  gap: 2px;
  text-align: left;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
}

.inquiry-float small {
  color: #a6a59e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.inquiry-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(17, 17, 15, 0.67);
  backdrop-filter: blur(9px);
  animation: inquiry-fade-in 180ms ease-out both;
}

.inquiry-dialog {
  width: min(1040px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: white;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.35);
  animation: inquiry-slide-in 220ms ease-out both;
}

.inquiry-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dfded7;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.inquiry-close:hover {
  transform: rotate(6deg);
  border-color: var(--orange);
}

.inquiry-intro {
  min-width: 0;
  padding: 42px 38px 36px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 10% 100%, rgba(255, 77, 0, 0.26), transparent 38%),
    var(--ink);
  color: white;
}

.inquiry-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: auto;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.inquiry-brand > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--orange);
  font-size: 17px;
  transform: rotate(-5deg);
}

.inquiry-intro .section-kicker {
  margin: 52px 0 13px;
  color: var(--lime);
}

.inquiry-intro h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -2.4px;
}

.inquiry-intro > p:not(.section-kicker) {
  margin: 20px 0 24px;
  color: #aaa9a2;
  font-size: 14px;
  line-height: 1.75;
}

.inquiry-intro ul {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.inquiry-intro li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d8d7d0;
  font-size: 12px;
}

.inquiry-intro li b {
  color: var(--orange);
  font-size: 10px;
}

.inquiry-intro > a {
  width: fit-content;
  color: white;
  border-bottom: 1px solid #5a5a53;
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
}

.inquiry-intro > a span {
  margin-left: 9px;
  color: var(--orange);
}

.inquiry-form {
  min-width: 0;
  padding: 38px 42px 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.inquiry-form-heading {
  margin-bottom: 24px;
  padding-right: 46px;
  display: grid;
  gap: 5px;
}

.inquiry-form-heading span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.inquiry-form-heading strong {
  font-size: 24px;
  letter-spacing: -0.7px;
}

.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.inquiry-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.inquiry-form label > span {
  color: #595851;
  font-size: 12px;
  font-weight: 750;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5d4cc;
  border-radius: 10px;
  background: #fbfbf8;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.inquiry-form input,
.inquiry-form select {
  height: 46px;
  padding: 0 13px;
}

.inquiry-form textarea {
  min-height: 105px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.6;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.08);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #aaa9a1;
}

.inquiry-full {
  margin-bottom: 15px;
}

.inquiry-form-grid + .inquiry-full {
  margin-top: 15px;
}

.inquiry-honeypot {
  position: absolute;
  left: -9999px;
}

.inquiry-message {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.55;
}

.inquiry-message.error {
  background: #fff0ec;
  color: #a53320;
}

.inquiry-submit-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.inquiry-submit-row p {
  max-width: 300px;
  margin: 0;
  color: #85847c;
  font-size: 10px;
  line-height: 1.5;
}

.inquiry-submit-row button,
.inquiry-success button {
  min-height: 46px;
  flex-shrink: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.inquiry-submit-row button:hover:not(:disabled),
.inquiry-success button:hover {
  transform: translateY(-2px);
  background: #e94600;
}

.inquiry-submit-row button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.inquiry-submit-row button span {
  margin-left: 11px;
}

.inquiry-success {
  min-width: 0;
  padding: 66px 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.inquiry-success > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #e7f8ec;
  color: #18834b;
  font-size: 25px;
  font-weight: 900;
}

.inquiry-success .section-kicker {
  margin: 0 0 8px;
  color: var(--orange);
}

.inquiry-success h3 {
  margin: 0;
  font-size: 37px;
  letter-spacing: -1.6px;
}

.inquiry-success > p:not(.section-kicker) {
  max-width: 460px;
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* Toolbox information architecture and low-fatigue color system */
.toolbox-page {
  --ink: #1d2a35;
  --muted: #657581;
  --paper: #f4f6f7;
  --line: #d7e0e6;
  --orange: #d5673d;
  --orange-soft: #f8ebe4;
  --lime: #b7d0dd;
  --toolbox-ink: #1d2a35;
  --toolbox-muted: #657581;
  --toolbox-accent: #426c87;
  --toolbox-accent-strong: #2f566f;
  --toolbox-accent-soft: #e8f0f4;
  --toolbox-warm: #d5673d;
  --toolbox-surface: #ffffff;
  --toolbox-line: #d7e0e6;
  background:
    radial-gradient(circle at 90% 8%, rgba(66, 108, 135, 0.1), transparent 24%),
    linear-gradient(180deg, #f7f8f8 0%, #f2f5f6 100%);
  color: var(--toolbox-ink);
}

.toolbox-header {
  border-bottom-color: var(--toolbox-line);
  background: rgba(247, 249, 250, 0.94);
  backdrop-filter: blur(14px);
}

.toolbox-subnav {
  width: min(1280px, calc(100% - 64px));
  min-height: 58px;
  margin: 22px auto 0;
  padding: 7px 8px 7px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--toolbox-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(29, 42, 53, 0.05);
}

.case-breadcrumb + .toolbox-subnav {
  margin-top: 16px;
}

.toolbox-subnav > strong {
  flex: 0 0 auto;
  color: var(--toolbox-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.7px;
}

.toolbox-subnav > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.toolbox-subnav a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #526572;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: 160ms ease;
}

.toolbox-subnav a:hover {
  background: var(--toolbox-accent-soft);
  color: var(--toolbox-accent-strong);
}

.toolbox-subnav a.active {
  background: var(--toolbox-ink);
  color: white;
  box-shadow: 0 6px 16px rgba(29, 42, 53, 0.16);
}

.toolbox-subnav a:focus-visible,
.available-tool-card:focus-visible,
.toolbox-page button:focus-visible,
.toolbox-page input:focus-visible,
.toolbox-page select:focus-visible,
.toolbox-page textarea:focus-visible {
  outline: 3px solid rgba(66, 108, 135, 0.28);
  outline-offset: 3px;
}

.toolbox-hero {
  padding-top: 82px;
}

.toolbox-hero-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 208, 221, 0.16), transparent 30%),
    var(--toolbox-ink);
  box-shadow: 14px 14px 0 var(--toolbox-warm);
  transform: rotate(0.6deg);
}

.toolbox-hero-card > div b,
.toolbox-hero-card li i,
.toolbox-hero-actions a:first-child span,
.generate-address-btn span,
.record-overview span,
.future-tool-grid article > div > span,
.case-mode-heading > span,
.case-editor-header > div:first-child > span,
.case-copy-btn b,
.case-use-case-grid span,
.counter-editor-header > div:first-child > span,
.counter-detail-heading > span {
  color: #c4d9e3;
}

.toolbox-hero-card li i,
.generator-status i,
.profit-calculator-heading > span i,
.unit-converter-heading > span i,
.case-converter-heading > span i,
.character-counter-heading > span i {
  background: var(--toolbox-accent);
  box-shadow: 0 0 0 4px rgba(66, 108, 135, 0.13);
}

.toolbox-trust-strip {
  border-color: var(--toolbox-line);
  background: #eaf0f3;
}

.toolbox-trust-strip span {
  border-color: var(--toolbox-line);
  color: #5f707b;
}

.tool-category-list {
  display: grid;
  gap: 8px;
}

.tool-category-section {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  border-top: 1px solid var(--toolbox-line);
}

.tool-category-section:last-child {
  border-bottom: 1px solid var(--toolbox-line);
}

.tool-category-header {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.tool-category-header > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--toolbox-accent-soft);
  color: var(--toolbox-accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.tool-category-header h3 {
  margin: 1px 0 6px;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.tool-category-header p {
  margin: 0;
  color: var(--toolbox-muted);
  font-size: 14px;
  line-height: 1.6;
}

.tool-category-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tool-category-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.available-tool-card {
  min-height: 286px;
  border-color: var(--toolbox-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(29, 42, 53, 0.045);
}

.available-tool-card:hover {
  border-color: #9fb4c1;
  box-shadow: 0 18px 42px rgba(29, 42, 53, 0.09);
}

.featured-tool-card {
  min-height: 300px;
  border-color: #aebfca;
  background:
    radial-gradient(circle at 88% 14%, rgba(66, 108, 135, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f2f6f8 100%);
}

.featured-tool-card > strong {
  max-width: 720px;
}

.case-tool-card {
  border-color: var(--toolbox-line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--toolbox-ink);
}

.available-tool-card::after,
.case-tool-card::after,
.counter-tool-card::after,
.profit-tool-card::after,
.unit-tool-card::after {
  color: rgba(66, 108, 135, 0.055);
}

.available-tool-icon {
  background: #49697d;
}

.profit-tool-card .available-tool-icon {
  background: var(--toolbox-warm);
}

.unit-tool-card .available-tool-icon {
  background: #547d96;
}

.case-tool-card .available-tool-icon {
  background: #6d7d8d;
  color: white;
}

.counter-tool-card .available-tool-icon {
  background: #7e716a;
}

.case-tool-card .available-tool-card-top small {
  color: #7a8993;
}

.case-tool-card > strong,
.available-tool-card > strong {
  color: #657581;
}

.case-tool-card .available-tool-link,
.available-tool-link {
  color: var(--toolbox-accent-strong);
}

.available-tool-card > p {
  color: var(--toolbox-warm);
  font-size: 13px;
}

.available-tool-card-top small {
  font-size: 12px;
}

.available-tool-card > strong {
  font-size: 15px;
}

.generator-panel,
.profit-form-column,
.profit-result-card,
.unit-converter-panel,
.case-converter-panel,
.character-counter-panel {
  border-color: #aebdc7;
  box-shadow: 0 24px 62px rgba(29, 42, 53, 0.08);
}

.generator-controls,
.address-result-card > header,
.case-mode-panel,
.case-editor-header,
.case-output-actions,
.counter-editor-header,
.counter-detail-heading {
  background: #edf2f4;
}

.generator-results,
.address-results,
.case-workspace,
.counter-detail-panel {
  background-color: #f5f7f8;
}

.generator-controls select:focus,
.generator-controls input:focus,
.profit-field-grid label > div:focus-within,
.profit-price-box label > div:focus-within {
  border-color: var(--toolbox-accent);
  box-shadow: 0 0 0 3px rgba(66, 108, 135, 0.12);
}

.unit-category-tabs button.active {
  border-color: #b7d0dd;
  background: #b7d0dd;
  box-shadow: 0 8px 22px rgba(66, 108, 135, 0.12);
}

.profit-quickbar select:focus {
  border-color: #b7d0dd;
  box-shadow: 0 0 0 3px rgba(66, 108, 135, 0.14);
}

.dimensional-form select:focus {
  border-color: var(--toolbox-accent);
  box-shadow: 0 0 0 3px rgba(66, 108, 135, 0.12);
}

.dimensional-result {
  background:
    radial-gradient(circle at 100% 0, rgba(183, 208, 221, 0.14), transparent 35%),
    var(--toolbox-ink);
}

.profit-result-card::before {
  background: rgba(183, 208, 221, 0.1);
}

.profit-result-topline b {
  background: rgba(183, 208, 221, 0.14);
}

.profit-calculator-page {
  background:
    radial-gradient(circle at 8% 15%, rgba(213, 103, 61, 0.08), transparent 23%),
    radial-gradient(circle at 92% 10%, rgba(66, 108, 135, 0.11), transparent 25%),
    var(--paper);
}

.unit-converter-page {
  background:
    radial-gradient(circle at 8% 16%, rgba(84, 125, 150, 0.11), transparent 22%),
    radial-gradient(circle at 92% 9%, rgba(213, 103, 61, 0.06), transparent 24%),
    var(--paper);
}

.case-converter-page {
  background:
    radial-gradient(circle at 8% 17%, rgba(109, 125, 141, 0.1), transparent 21%),
    radial-gradient(circle at 92% 10%, rgba(66, 108, 135, 0.08), transparent 24%),
    var(--paper);
}

.character-counter-page {
  background:
    radial-gradient(circle at 8% 17%, rgba(126, 113, 106, 0.09), transparent 21%),
    radial-gradient(circle at 92% 10%, rgba(66, 108, 135, 0.08), transparent 24%),
    var(--paper);
}

.address-generator-page {
  background:
    radial-gradient(circle at 8% 17%, rgba(84, 125, 150, 0.1), transparent 22%),
    radial-gradient(circle at 92% 10%, rgba(213, 103, 61, 0.055), transparent 24%),
    var(--paper);
}

.tool-roadmap,
.case-use-cases,
.profit-result-card,
.unit-category-tabs {
  background-color: var(--toolbox-ink);
}

.future-tool-grid {
  grid-template-columns: repeat(3, 1fr);
  border-color: #465866;
}

.future-tool-grid article,
.case-use-case-grid article {
  border-color: #465866;
  background: #22323f;
}

.future-tool-grid article > div > span {
  background: #b7d0dd;
  color: var(--toolbox-ink);
}

.case-related-tools > a,
.case-related-links a {
  background: var(--toolbox-accent-strong);
}

.case-related-tools > a:hover,
.case-related-links a:hover {
  box-shadow: 0 12px 26px rgba(47, 86, 111, 0.2);
}

.toolbox-promo-inner {
  background:
    radial-gradient(circle at 82% 42%, rgba(91, 130, 153, 0.3), transparent 29%),
    #1d2a35;
}

.toolbox-promo-inner > a {
  background: #d5673d;
  color: white;
}

@media (max-width: 980px) {
  .toolbox-subnav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .toolbox-subnav > div {
    width: 100%;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .tool-category-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .toolbox-subnav {
    width: calc(100% - 32px);
    margin-top: 14px;
    padding: 10px;
  }

  .toolbox-subnav > strong {
    padding: 0 5px;
  }

  .toolbox-subnav a {
    min-height: 42px;
    padding: 0 13px;
    font-size: 13px;
  }

  .toolbox-hero {
    padding-top: 56px;
  }

  .tool-category-section {
    padding: 22px 0;
  }

  .tool-category-grid,
  .tool-category-grid.single {
    grid-template-columns: 1fr;
  }

  .available-tool-card,
  .featured-tool-card {
    min-height: 275px;
  }

  .future-tool-grid {
    grid-template-columns: 1fr;
  }
}

.inquiry-success > div {
  width: 100%;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}

.inquiry-success small {
  color: var(--muted);
  font-size: 11px;
}

.inquiry-success strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.inquiry-success button {
  margin-top: 24px;
  min-width: 120px;
}

@keyframes inquiry-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes inquiry-slide-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 780px) {
  .commercial-preview-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .commercial-preview-actions a {
    width: 100%;
  }

  .inquiry-float {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding-right: 14px;
  }

  .inquiry-float-icon {
    width: 36px;
    height: 36px;
  }

  .inquiry-overlay {
    padding: 0;
    place-items: end center;
  }

  .inquiry-dialog {
    width: 100%;
    max-height: 94dvh;
    grid-template-columns: 1fr;
    border-width: 1px 0 0;
    border-radius: 22px 22px 0 0;
    overflow-y: auto;
  }

  .inquiry-intro {
    padding: 27px 24px 24px;
  }

  .inquiry-brand {
    margin-bottom: 0;
  }

  .inquiry-intro .section-kicker {
    margin-top: 28px;
  }

  .inquiry-intro h2 {
    max-width: 500px;
    font-size: 39px;
    letter-spacing: -2px;
  }

  .inquiry-intro > p:not(.section-kicker) {
    margin-bottom: 18px;
  }

  .inquiry-intro ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 18px;
  }

  .inquiry-intro li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
  }

  .inquiry-form {
    padding: 27px 24px 30px;
    overflow: visible;
  }

  .inquiry-success {
    min-height: 420px;
    padding: 50px 28px;
  }
}

@media (max-width: 520px) {
  .inquiry-float > span:last-child {
    font-size: 12px;
  }

  .inquiry-float small {
    display: none;
  }

  .inquiry-intro {
    padding: 24px 20px 22px;
  }

  .inquiry-intro h2 {
    padding-right: 44px;
    font-size: 34px;
    letter-spacing: -1.7px;
  }

  .inquiry-intro > p:not(.section-kicker) {
    font-size: 13px;
  }

  .inquiry-intro ul {
    display: none;
  }

  .inquiry-form {
    padding: 24px 20px 28px;
  }

  .inquiry-form-heading strong {
    font-size: 21px;
  }

  .inquiry-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .inquiry-form input,
  .inquiry-form select {
    height: 48px;
  }

  .inquiry-submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .inquiry-submit-row p {
    max-width: none;
  }

  .inquiry-submit-row button {
    width: 100%;
  }

  .inquiry-success {
    min-height: 410px;
    padding: 44px 24px;
  }

  .inquiry-success h3 {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final cascade for route-specific themes declared later in this stylesheet. */
.services-page,
.partner-page {
  --ink: #101828;
  --muted: #667085;
  --paper: #f7f7f5;
  --line: #e4e7ec;
  --orange: #ff4d00;
  --orange-soft: #fff1eb;
  --lime: #ff7a45;
  background: var(--paper);
  color: var(--ink);
}

.services-hero > aside,
.partner-brief-card {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--orange);
}

.services-hero-actions a:first-child,
.partner-hero-actions a:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  box-shadow: 0 10px 24px rgba(255, 77, 0, 0.2);
}

.service-card:hover,
.partner-fit-grid article:hover {
  border-color: #ffb99e;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.09);
}

.partner-ways {
  background: var(--ink);
}

.partner-way-grid article {
  border-color: #344054;
  background: #1d2939;
}

.partner-way-grid article > span,
.partner-way-grid a b {
  color: #ff7a45;
}

.services-cta,
.partner-cta {
  border-block-color: var(--ink);
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 77, 0, 0.2), transparent 29%),
    var(--ink);
  color: white;
}

.services-cta .section-kicker,
.partner-cta .section-kicker {
  color: #ff7a45;
}

.services-cta p:last-child,
.partner-cta p:last-child {
  color: #d0d5dd;
}

.services-cta > a,
.partner-cta > a {
  background: var(--orange);
  color: white;
}

.headlines-page {
  --headline-navy: #101828;
  --headline-blue: #475467;
  --headline-blue-soft: #eef2f6;
  --headline-paper: #f7f7f5;
  --headline-card: #ffffff;
  --headline-line: #dfe3e8;
  --headline-orange: #ff4d00;
}

.headlines-header {
  background: rgba(255, 255, 255, 0.94);
}

.headline-category-tabs button:hover,
.headline-category-tabs button.active {
  background: #fff1eb;
  color: var(--headline-navy);
}

.headline-category-tabs button.active span,
.headline-card-source > span {
  background: var(--headline-orange);
  color: white;
}

.headline-search-row input:focus,
.headline-search-row select:focus {
  border-color: var(--headline-orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.headline-list-card .headline-category-mark {
  background: #fff1eb;
  color: var(--headline-orange);
}

.headline-article-toc a:hover,
.headline-article-toc a.active,
.headline-article-sources a,
.headline-back-link a {
  color: var(--headline-orange);
}

.toolbox-page {
  --ink: #101828;
  --muted: #667085;
  --paper: #f7f7f5;
  --line: #e4e7ec;
  --orange: #ff4d00;
  --orange-soft: #fff1eb;
  --lime: #ff7a45;
  --toolbox-ink: #101828;
  --toolbox-muted: #667085;
  --toolbox-accent: #ff4d00;
  --toolbox-accent-strong: #d94000;
  --toolbox-accent-soft: #fff1eb;
  --toolbox-warm: #ff4d00;
  --toolbox-surface: #ffffff;
  --toolbox-line: #e4e7ec;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 77, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #fafafa 0%, #f5f6f7 100%);
}

.toolbox-header {
  background: rgba(255, 255, 255, 0.94);
}

.toolbox-hero-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 77, 0, 0.18), transparent 30%),
    var(--toolbox-ink);
  box-shadow: 14px 14px 0 var(--orange);
}

.toolbox-hero-card > div b,
.toolbox-hero-card li i,
.toolbox-hero-actions a:first-child span,
.generate-address-btn span,
.record-overview span,
.future-tool-grid article > div > span,
.case-mode-heading > span,
.case-editor-header > div:first-child > span,
.case-copy-btn b,
.case-use-case-grid span,
.counter-editor-header > div:first-child > span,
.counter-detail-heading > span {
  color: #ff9a73;
}

.toolbox-hero-card li i,
.generator-status i,
.profit-calculator-heading > span i,
.unit-converter-heading > span i,
.case-converter-heading > span i,
.character-counter-heading > span i {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.13);
}

.toolbox-trust-strip {
  border-color: var(--toolbox-line);
  background: #f0f2f5;
}

.tool-category-header > span {
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.available-tool-card:hover,
.featured-tool-card:hover {
  border-color: #ffb99e;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.09);
}

.featured-tool-card {
  border-color: #ffd0bd;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 77, 0, 0.09), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.available-tool-icon,
.profit-tool-card .available-tool-icon,
.unit-tool-card .available-tool-icon {
  background: var(--orange);
}

.case-tool-card .available-tool-icon,
.counter-tool-card .available-tool-icon {
  background: var(--toolbox-ink);
}

.case-tool-card .available-tool-link,
.available-tool-link,
.available-tool-card > p {
  color: var(--orange-strong);
}

.generator-controls select:focus,
.generator-controls input:focus,
.profit-field-grid label > div:focus-within,
.profit-price-box label > div:focus-within,
.dimensional-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.unit-category-tabs button.active,
.profit-quick-actions button:first-child,
.generate-address-btn,
.case-copy-btn,
.counter-copy-btn {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 22px rgba(255, 77, 0, 0.18);
}

.profit-result-card,
.dimensional-result,
.tool-roadmap,
.case-use-cases,
.unit-category-tabs {
  background-color: var(--toolbox-ink);
}

.future-tool-grid article,
.case-use-case-grid article {
  border-color: #344054;
  background: #1d2939;
}

.future-tool-grid article > div > span {
  background: var(--orange);
  color: white;
}

.case-related-tools > a,
.case-related-links a {
  background: var(--orange-strong);
}

.toolbox-promo-inner {
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 77, 0, 0.24), transparent 29%),
    var(--toolbox-ink);
}

.inquiry-float {
  border-color: #344054;
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.2);
}

.inquiry-float:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.24);
}

.inquiry-float-icon,
.inquiry-submit-row button,
.inquiry-success button {
  background: var(--orange);
  color: white;
}

.inquiry-intro {
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 77, 0, 0.2), transparent 31%),
    var(--ink);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.inquiry-success > span,
.form-message.success,
.generator-status.is-ready i {
  background: #e7f8ec;
  color: #18834b;
}

@media (max-width: 780px) {
  .services-hero > aside,
  .partner-brief-card,
  .toolbox-hero-card {
    box-shadow: 6px 6px 0 var(--orange-soft);
  }
}

.logo-ai {
  background: var(--ink);
  color: #ff8a5b;
}

.toolbox-page .toolbox-directory-hero .toolbox-hero-actions a:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  box-shadow: 0 10px 24px rgba(255, 77, 0, 0.2);
}

.toolbox-page .toolbox-directory-hero .toolbox-hero-actions a:first-child:hover {
  border-color: var(--orange-strong);
  background: var(--orange-strong);
  color: white;
}

/* Final homepage and AI directory palette: classic navy, warm orange and
   high-contrast neutral surfaces. Green is reserved for success states. */
.home-page,
.ai-tools-page {
  --ink: #0f172a;
  --muted: #526071;
  --paper: #f6f7f9;
  --card: #ffffff;
  --line: #dbe1e8;
  --orange: #f04b23;
  --orange-strong: #cf3513;
  --orange-soft: #fff0eb;
  background: var(--paper);
  color: var(--ink);
}

.home-page .hero {
  background:
    radial-gradient(circle at 12% 88%, rgba(240, 75, 35, 0.14), transparent 29%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f2f5f8 100%);
}

.home-page .hero-content > p,
.home-page .audience-paths-heading > p:last-child,
.home-page .compact-heading > p,
.home-page .scene-heading > p,
.home-page .home-academy-heading > div:last-child p,
.home-page .knowledge-intro > p:not(.section-kicker),
.home-page .home-service-bridge > div:first-child > p:last-child {
  color: #526071;
}

.home-page .category-overview-card h3,
.home-page .home-academy-grid h3,
.home-page .faq-list summary,
.home-page .audience-path-grid h3,
.home-page .home-service-bridge h2 {
  color: #0f172a;
}

.home-page .category-overview-card p,
.home-page .home-academy-grid p,
.home-page .faq-list details p,
.home-page .audience-path-grid li {
  color: #526071;
}

.home-page .provider-path h3,
.home-page .provider-path li,
.home-page .provider-path a,
.home-page .ranking-panel h2,
.home-page .ranking-list h3,
.home-page .toolbox-promo-inner h2,
.home-page .about-section h2,
.home-page .submit-section h2 {
  color: #ffffff;
}

.home-page .brand-proof small,
.home-page .ranking-intro > p:not(.section-kicker),
.home-page .ranking-list p,
.home-page .toolbox-promo-copy > p:last-child,
.home-page .about-copy > p,
.home-page .submit-section p:not(.section-kicker) {
  color: #cbd5e1;
}

.home-page .brand-proof strong,
.home-page .about-stats span,
.home-page .footer-top p,
.home-page footer,
.home-page footer a {
  color: #e2e8f0;
}

.home-page .category-overview,
.home-page .scene-section,
.home-page .ranking-section,
.home-page .home-academy,
.home-page .knowledge-section,
.home-page .about-section,
.home-page .home-service-bridge,
.home-page .submit-section {
  scroll-margin-top: 86px;
}

.home-ai-tools-entry {
  margin-top: 22px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.home-ai-tools-entry > div {
  display: grid;
  gap: 3px;
}

.home-ai-tools-entry strong {
  color: var(--ink);
  font-size: 17px;
}

.home-ai-tools-entry span {
  color: var(--muted);
  font-size: 14px;
}

.home-ai-tools-entry > a {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.home-ai-tools-entry > a span {
  color: #ff8b68;
}

.ai-tools-page {
  min-height: 100vh;
}

.ai-tools-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

.ai-tools-hero {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 70px;
}

.ai-tools-hero h1 {
  max-width: 800px;
  margin: 18px 0 20px;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ai-tools-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.ai-tools-hero > div > p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.ai-tools-search {
  max-width: 780px;
  margin-top: 32px;
}

.ai-tools-hero aside {
  padding: 14px 26px;
  display: grid;
  border: 1px solid #28364a;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 4%, rgba(240, 75, 35, 0.22), transparent 35%),
    var(--ink);
  box-shadow: 10px 10px 0 var(--orange-soft);
}

.ai-tools-hero aside span {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #334155;
  color: #cbd5e1;
  font-size: 14px;
}

.ai-tools-hero aside span:last-child {
  border-bottom: 0;
}

.ai-tools-hero aside strong {
  color: white;
  font-size: 25px;
}

.ai-tools-category-strip {
  top: 72px;
  z-index: 70;
  border-block-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.ai-tools-content {
  padding-top: 68px;
}

.ai-tools-page .tool-card {
  border-color: var(--line);
  background: white;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.ai-tools-page .tool-card:hover {
  border-color: #ffb49f;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.ai-tools-page .tool-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.ai-tools-page .tool-card > div:nth-child(2) > p {
  color: var(--muted);
}

.ai-tools-page .result-meta {
  flex-wrap: wrap;
}

.ai-tools-page .result-meta button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #344054;
}

.ai-tools-page .result-meta button:hover,
.ai-tools-page .result-meta button.active {
  border-color: #ffb49f;
  background: var(--orange-soft);
  color: var(--orange-strong);
}

.ai-tools-guide {
  width: min(1160px, calc(100% - 48px));
  margin: 28px auto 90px;
  padding: 56px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  border-radius: 24px;
  background: var(--ink);
  color: white;
}

.ai-tools-guide h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.ai-tools-guide > div:last-child {
  display: grid;
  gap: 0;
}

.ai-tools-guide article {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 42px 150px 1fr;
  align-items: start;
  gap: 16px;
  border-bottom: 1px solid #334155;
}

.ai-tools-guide article:last-child {
  border-bottom: 0;
}

.ai-tools-guide article span {
  color: #ff8b68;
  font-size: 13px;
  font-weight: 700;
}

.ai-tools-guide article h3 {
  margin: 0;
  color: white;
  font-size: 17px;
}

.ai-tools-guide article p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
}

.ai-tools-footer {
  background: #ffffff;
}

@media (max-width: 980px) {
  .ai-tools-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ai-tools-hero aside {
    grid-template-columns: repeat(3, 1fr);
  }

  .ai-tools-hero aside span {
    min-height: 94px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    border-right: 1px solid #334155;
    border-bottom: 0;
  }

  .ai-tools-hero aside span:last-child {
    border-right: 0;
  }

  .ai-tools-guide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .home-ai-tools-entry {
    align-items: stretch;
    flex-direction: column;
  }

  .home-ai-tools-entry > a {
    justify-content: space-between;
  }

  .ai-tools-hero {
    width: calc(100% - 32px);
    padding: 54px 0 40px;
  }

  .ai-tools-hero h1 {
    font-size: 43px;
    letter-spacing: -0.035em;
  }

  .ai-tools-hero > div > p:not(.section-kicker) {
    font-size: 16px;
  }

  .ai-tools-hero aside {
    padding: 10px 18px;
    grid-template-columns: 1fr;
  }

  .ai-tools-hero aside span {
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid #334155;
  }

  .ai-tools-category-strip {
    top: 64px;
  }

  .ai-tools-content {
    padding-top: 48px;
  }

  .ai-tools-page .section-heading {
    align-items: flex-start;
  }

  .ai-tools-page .result-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .ai-tools-guide {
    width: calc(100% - 32px);
    margin-bottom: 60px;
    padding: 34px 24px;
  }

  .ai-tools-guide article {
    grid-template-columns: 34px 1fr;
  }

  .ai-tools-guide article p {
    grid-column: 2;
  }
}

/* Homepage visual QA fixes: one dependable contrast system for the sections
   that were previously affected by late cascade overrides. */
.home-page .site-header .submit-link {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e23f19;
  border-radius: 10px;
  background: #f04b23;
  color: #ffffff;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(240, 75, 35, 0.2);
}

.home-page .site-header .submit-link:hover {
  border-color: #bd2d0d;
  background: #cf3513;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(207, 53, 19, 0.24);
}

.home-page .toolbox-promo {
  width: min(1360px, calc(100% - 48px));
  padding: 88px 0;
}

.home-page .toolbox-promo-inner {
  min-height: 292px;
  padding: 48px 56px;
  border: 1px solid #26364d;
  background:
    radial-gradient(circle at 84% 42%, rgba(240, 75, 35, 0.2), transparent 29%),
    linear-gradient(135deg, #0f172a 0%, #142239 68%, #1c3049 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.home-page .toolbox-promo-inner::after {
  content: "100";
  right: 42px;
  bottom: -82px;
  color: rgba(255, 255, 255, 0.045);
  font-size: 190px;
  letter-spacing: -0.08em;
}

.home-page .toolbox-promo .section-kicker {
  color: #ff8b68;
}

.home-page .toolbox-promo h2 {
  color: #ffffff;
}

.home-page .toolbox-promo-copy > p:last-child {
  color: #cbd5e1;
}

.home-page .toolbox-promo-inner > a {
  border: 1px solid #f04b23;
  background: #f04b23;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(240, 75, 35, 0.24);
}

.home-page .toolbox-promo-inner > a:hover {
  border-color: #cf3513;
  background: #cf3513;
  color: #ffffff;
  transform: translateY(-2px);
}

.home-page .faq-list {
  padding: 10px 28px;
  border: 1px solid #d5dce5;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.home-page .faq-list details {
  border-bottom: 1px solid #dbe1e8;
  background: #ffffff;
}

.home-page .faq-list details:last-child {
  border-bottom: 0;
}

.home-page .faq-list summary {
  color: #0f172a;
}

.home-page .faq-list summary span {
  color: #7b8798;
}

.home-page .faq-list details p {
  color: #526071;
}

.home-page .audience-path-grid .seller-path {
  color: #0f172a;
}

.home-page .seller-path > div a:first-child,
.home-page .provider-path > div a:first-child {
  border-color: #f04b23;
  background: #f04b23;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(240, 75, 35, 0.2);
}

.home-page .seller-path > div a:last-child {
  border-color: #0f172a;
  background: transparent;
  color: #0f172a;
}

.home-page .provider-path > div a:last-child {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

.home-page .seller-path > div a:first-child:hover,
.home-page .provider-path > div a:first-child:hover {
  border-color: #cf3513;
  background: #cf3513;
  color: #ffffff;
  transform: translateY(-1px);
}

.home-page .seller-path > div a:last-child:hover {
  background: #0f172a;
  color: #ffffff;
}

.home-page .provider-path > div a:last-child:hover {
  background: #ffffff;
  color: #0f172a;
}

.home-page .about-section {
  width: min(1360px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto 88px;
  padding: 72px clamp(38px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(56px, 7vw, 104px);
  border: 1px solid #26364d;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(240, 75, 35, 0.18), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #131f34 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.home-page .about-section > div {
  min-width: 0;
}

.home-page .about-section h2 {
  max-width: none;
  color: #ffffff;
  font-size: clamp(38px, 3.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.home-page .about-copy > p {
  color: #d2dae6;
}

.home-page .about-stats {
  border-top-color: #334155;
}

.home-page .about-stats span {
  color: #aeb9c9;
}

.home-page .about-stats strong {
  color: #ffffff;
}

.home-page footer {
  padding: 0 36px;
  border: 1px solid #d5dce5;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: #ffffff;
  color: #334155;
}

.home-page footer .logo-word {
  color: #0f172a;
}

.home-page .footer-top > p {
  color: #5b6879;
}

.home-page .footer-category-links a,
.home-page .footer-bottom,
.home-page .footer-bottom a,
.home-page footer a {
  color: #526071;
}

.home-page .footer-bottom > div {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 10px;
}

.home-page .footer-category-links a:hover,
.home-page .footer-bottom a:hover {
  color: #cf3513;
}

@media (max-width: 1100px) {
  .home-page .site-header .submit-link {
    display: none;
  }

  .home-page .about-section {
    padding: 58px 44px;
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 780px) {
  .home-page .toolbox-promo,
  .home-page .about-section {
    width: calc(100% - 30px);
  }

  .home-page .toolbox-promo {
    padding: 70px 0;
  }

  .home-page .toolbox-promo-inner {
    padding: 36px 28px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-page .toolbox-promo-inner > a {
    width: 100%;
  }

  .home-page .faq-list {
    padding: 8px 20px;
  }

  .home-page .about-section {
    margin-bottom: 72px;
    padding: 48px 28px;
    gap: 38px;
  }

  .home-page .about-section h2 {
    font-size: 36px;
  }

  .home-page footer {
    width: calc(100% - 30px);
    padding: 0 22px;
  }

  .home-page .footer-bottom > div {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .home-page .faq-list summary {
    grid-template-columns: 30px 1fr 24px;
  }

  .home-page .about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .about-stats span {
    min-width: 0;
  }

  .home-page .footer-category-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .footer-bottom > div {
    gap: 10px 18px;
  }
}
