:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --bg-strong: #e7ddcc;
  --panel: #fffdf7;
  --surface: #fffdf7;
  --text: #1f261f;
  --muted: #697064;
  --border: #ded4bf;
  --primary: #174f43;
  --primary-strong: #0d352d;
  --accent: #c9782b;
  --accent-dark: #0d352d;
  --danger: #b42318;
  --error: #b42318;
  --warning-bg: #fff6e8;
  --warning-border: #e6b56f;
  --shadow: 0 24px 60px rgba(31, 38, 31, 0.1);
}

/* AIFinderKit homepage v3: two clear tasks, real output, one brand workflow. */
body.home-v3 {
  color-scheme: light;
  --home-bg: #f4f5f1;
  --home-panel: #fffefa;
  --home-panel-soft: #edf4f0;
  --home-ink: #17231e;
  --home-muted: #65716a;
  --home-line: #d6ddd8;
  --home-green: #0f4a3d;
  --home-green-deep: #092f27;
  --home-mint: #dcece5;
  --home-copper: #bc6929;
  background:
    radial-gradient(circle at 82% 5%, rgba(50, 119, 96, 0.12), transparent 30rem),
    radial-gradient(circle at 12% 36%, rgba(188, 105, 41, 0.07), transparent 26rem),
    var(--home-bg);
  color: var(--home-ink);
}

body.home-v3::before {
  height: 820px;
  background-image:
    linear-gradient(rgba(15, 74, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 74, 61, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}

.home-v3 ::selection {
  background: rgba(188, 105, 41, 0.22);
  color: var(--home-green-deep);
}

.home-v3 .home-site-header {
  width: min(1184px, calc(100% - 32px));
  min-height: 72px;
  border-bottom-color: rgba(15, 74, 61, 0.14);
  background: rgba(244, 245, 241, 0.86);
  backdrop-filter: blur(18px) saturate(130%);
}

.home-v3 .home-brand-symbol {
  border-radius: 8px;
  background: var(--home-green);
}

.home-v3 .site-nav {
  gap: 18px;
}

.home-v3 .site-nav a {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  color: #405049;
  font-weight: 760;
  text-underline-offset: 5px;
}

.home-v3 .home-nav-product {
  position: relative;
  padding-left: 13px;
}

.home-v3 .home-nav-product::before {
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-green);
  content: "";
}

.home-v3 .home-nav-search {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 13px;
}

.home-v3 .home-nav-search::before {
  background: var(--home-copper);
}

.home-v3 .home-shell {
  width: min(1184px, 100%);
  padding: 0 24px 76px;
}

.home-v3 .home-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(42px, 6vw, 82px);
  min-height: min(760px, calc(100dvh - 72px));
  padding: 58px 0 68px;
}

.home-v3 .home-kicker {
  margin: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-green);
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v3 .home-kicker span {
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: var(--home-copper);
  box-shadow: none;
}

.home-v3 .home-hero h1 {
  max-width: 9.4em;
  color: var(--home-ink);
  font-size: clamp(52px, 5.25vw, 70px);
  line-height: 1;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

body.home-product-page.home-v3[data-page-language="en"] .home-hero h1 {
  max-width: none;
  font-size: clamp(46px, 3.6vw, 50px);
}

body.home-product-page.home-v3[data-page-language="en"] .home-hero h1 > span {
  white-space: nowrap;
}

.home-v3 .home-gradient-text {
  color: var(--home-green);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .home-v3 .home-gradient-text {
    background: linear-gradient(112deg, var(--home-green) 7%, #317c68 60%, var(--home-copper) 125%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.home-v3 .home-hero-lead {
  max-width: 560px;
  margin-top: 24px;
  color: #425049;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.72;
  text-wrap: pretty;
}

.home-v3 .home-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.home-v3 .home-choice {
  display: grid;
  min-width: 0;
  min-height: 168px;
  align-content: start;
  border: 1px solid rgba(15, 74, 61, 0.18);
  border-radius: 13px;
  background: rgba(255, 254, 250, 0.86);
  color: var(--home-ink);
  padding: 16px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(23, 52, 44, 0.06);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.home-v3 .home-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 74, 61, 0.42);
  box-shadow: 0 20px 42px rgba(23, 52, 44, 0.11);
}

.home-v3 .home-choice-search {
  background: linear-gradient(145deg, rgba(237, 246, 242, 0.96), rgba(255, 254, 250, 0.92));
}

.home-v3 .home-choice-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--home-muted);
  font-size: 10px;
  font-weight: 850;
}

.home-v3 .home-choice-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b9a73;
  box-shadow: 0 0 0 4px rgba(43, 154, 115, 0.1);
}

.home-v3 .home-choice-search .home-choice-status i {
  background: var(--home-copper);
  box-shadow: 0 0 0 4px rgba(188, 105, 41, 0.1);
}

.home-v3 .home-choice-task {
  margin-top: 15px;
  color: var(--home-muted);
  font-size: 12px;
}

.home-v3 .home-choice strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 3px;
  color: var(--home-green-deep);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.home-v3 .home-choice strong b {
  color: var(--home-copper);
  font-weight: 650;
}

.home-v3 .home-choice small {
  margin-top: 13px;
  color: var(--home-muted);
  font-size: 10px;
  line-height: 1.45;
}

.home-v3 .home-demo {
  border-color: rgba(15, 74, 61, 0.2);
  border-radius: 16px;
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 34px 78px rgba(20, 44, 36, 0.16);
}

.home-v3 .home-demo-topbar {
  display: flex;
  min-height: 48px;
  justify-content: space-between;
  border-bottom-color: var(--home-line);
  color: var(--home-muted);
  padding: 0 16px;
  letter-spacing: 0.02em;
}

.home-v3 .home-demo-status i {
  background: #2b9a73;
  box-shadow: 0 0 0 4px rgba(43, 154, 115, 0.1);
}

.home-v3 .home-demo-tabs {
  border-bottom-color: var(--home-line);
  padding: 9px 12px;
}

.home-v3 .home-demo-tabs button {
  min-height: 46px;
  border-radius: 8px;
  color: var(--home-muted);
  padding: 9px 13px;
}

.home-v3 .home-demo-tabs button.is-active {
  background: var(--home-mint);
  color: var(--home-green);
}

.home-v3 .home-demo-panel {
  min-height: 448px;
  padding: 18px;
}

.home-v3 .home-ppt-stage {
  position: relative;
  display: block;
  min-height: 372px;
  overflow: hidden;
  border: 1px solid rgba(15, 74, 61, 0.12);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 40%, rgba(70, 133, 110, 0.2), transparent 17rem),
    #e9eee9;
  color: inherit;
}

.home-v3 .home-ppt-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 74, 61, 0.17);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 38px rgba(17, 46, 37, 0.18);
}

.home-v3 .home-ppt-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.home-v3 .home-ppt-shot-main {
  z-index: 3;
  top: 70px;
  left: 11%;
  width: 78%;
}

.home-v3 .home-ppt-shot-left {
  z-index: 1;
  top: 18px;
  left: 2%;
  width: 49%;
  transform: rotate(-2deg);
}

.home-v3 .home-ppt-shot-right {
  z-index: 2;
  right: 2%;
  bottom: 27px;
  width: 47%;
  transform: rotate(1.7deg);
}

.home-v3 .home-stage-caption {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(8, 39, 32, 0.88);
  color: rgba(255, 255, 255, 0.88);
  padding: 7px 9px;
  font-size: 9px;
  font-weight: 780;
  backdrop-filter: blur(8px);
}

.home-v3 .home-stage-caption i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69caa2;
}

.home-v3 .home-output-meta {
  gap: 0;
  margin-top: 13px;
}

.home-v3 .home-output-meta span {
  border: 0;
  border-left: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  color: var(--home-muted);
  padding: 2px 10px;
  font-size: 10px;
}

.home-v3 .home-output-meta span:first-child {
  border-left: 0;
  padding-left: 0;
}

.home-v3 .home-search-output {
  background: #0e1815;
}

.home-v3 .home-search-output pre {
  min-height: 328px;
  padding-top: 18px;
  font-size: 11px;
}

.home-v3 .home-search-output .home-output-meta span {
  border-color: #30473f;
  background: transparent;
}

.home-v3 .home-proof-strip {
  border-color: var(--home-line);
}

.home-v3 .home-proof-strip article {
  gap: 4px;
  padding: 22px 18px;
}

.home-v3 .home-proof-strip article + article {
  border-left-color: var(--home-line);
}

.home-v3 .home-proof-strip small {
  color: var(--home-copper);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v3 .home-proof-strip strong {
  color: var(--home-green-deep);
  font-size: 14px;
}

.home-v3 .home-proof-strip span {
  color: var(--home-muted);
}

.home-v3 .home-section {
  padding: 86px 0;
  border-bottom-color: var(--home-line);
}

.home-v3 .home-section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.home-v3 .home-section-heading h2,
.home-v3 .home-trust-copy h2,
.home-v3 .home-final-cta h2,
.home-v3 .home-bridge-intro h2 {
  color: var(--home-ink);
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-v3 .home-section-heading > p:last-child,
.home-v3 .home-trust-copy > p:last-child,
.home-v3 .home-bridge-intro > p:last-child {
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.7;
}

.home-v3 .home-product-grid {
  gap: 14px;
}

.home-v3 .home-product-card {
  min-height: 500px;
  gap: 22px;
  border-color: rgba(15, 74, 61, 0.18);
  border-radius: 15px;
  background: rgba(255, 254, 250, 0.9);
  padding: 26px;
  box-shadow: 0 18px 48px rgba(20, 44, 36, 0.055);
}

.home-v3 .home-product-search {
  background: linear-gradient(145deg, rgba(234, 245, 240, 0.96), rgba(255, 254, 250, 0.94));
}

.home-v3 .home-product-card h3 {
  color: var(--home-green-deep);
  font-size: 34px;
}

.home-v3 .home-product-card p,
.home-v3 .home-product-card li {
  color: var(--home-muted);
}

.home-v3 .home-product-io {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-v3 .home-product-io span {
  min-width: 0;
  color: #3e4b45;
  padding: 15px 12px 15px 0;
  font-size: 12px;
  line-height: 1.55;
}

.home-v3 .home-product-io span + span {
  border-left: 1px solid var(--home-line);
  padding-left: 14px;
}

.home-v3 .home-product-io small {
  display: block;
  margin-bottom: 4px;
  color: var(--home-copper);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v3 .home-product-card > a {
  border-top-color: var(--home-line);
  color: var(--home-green);
  min-height: 48px;
}

.home-v3 .home-endpoint-list code {
  border-color: rgba(15, 74, 61, 0.17);
  background: rgba(255, 255, 255, 0.74);
  color: var(--home-green);
}

.home-v3 .home-roadmap-note {
  color: var(--home-muted);
}

.home-v3 .home-bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(46px, 8vw, 104px);
  background: linear-gradient(180deg, transparent, rgba(220, 236, 229, 0.42), transparent);
}

.home-v3 .home-bridge-intro {
  align-self: start;
}

.home-v3 .home-bridge-intro h2 {
  margin: 8px 0 16px;
}

.home-v3 .home-bridge-flow {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.home-v3 .home-bridge-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--home-line);
  padding: 22px 0;
}

.home-v3 .home-bridge-flow li:last-child {
  border-bottom: 1px solid var(--home-line);
}

.home-v3 .home-bridge-flow li > span {
  color: var(--home-copper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 850;
}

.home-v3 .home-bridge-flow small {
  display: block;
  margin-bottom: 5px;
  color: var(--home-green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-v3 .home-bridge-flow strong {
  display: block;
  color: var(--home-ink);
  font-size: 19px;
}

.home-v3 .home-bridge-flow p {
  margin: 6px 0 0;
  color: var(--home-muted);
  line-height: 1.6;
}

.home-v3 .home-trust-section {
  gap: clamp(44px, 8vw, 104px);
}

.home-v3 .home-trust-list article {
  border-top-color: var(--home-line);
  padding: 24px 0;
}

.home-v3 .home-trust-list article:last-child {
  border-bottom-color: var(--home-line);
}

.home-v3 .home-trust-list h3 {
  color: var(--home-ink);
}

.home-v3 .home-trust-list p,
.home-v3 .home-faq-list p {
  color: var(--home-muted);
}

.home-v3 .home-faq-list details {
  border-top-color: var(--home-line);
  padding: 19px 0;
}

.home-v3 .home-faq-list details:last-child {
  border-bottom-color: var(--home-line);
}

.home-v3 .home-faq-list summary {
  min-height: 44px;
  color: var(--home-ink);
  line-height: 1.45;
}

.home-v3 .home-final-cta {
  align-items: center;
  margin-top: 86px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 18%, rgba(188, 105, 41, 0.26), transparent 22rem),
    var(--home-green-deep);
  padding: clamp(30px, 5vw, 54px);
}

.home-v3 .home-final-cta h2 {
  color: #fff;
}

.home-v3 .home-final-cta > div > p:last-child {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.home-v3 .home-final-options {
  display: grid;
  min-width: min(400px, 42%);
  gap: 8px;
}

.home-v3 .home-final-options a {
  display: grid;
  min-height: 76px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.home-v3 .home-final-options a:first-child {
  background: #fff;
  color: var(--home-green-deep);
}

.home-v3 .home-final-options a:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.14);
}

.home-v3 .home-final-options a:first-child:hover {
  background: #eef4f1;
}

.home-v3 .home-final-options small {
  margin-bottom: 4px;
  opacity: 0.68;
  font-size: 10px;
}

.home-v3 .home-final-options strong {
  font-size: 15px;
}

.home-v3 .home-brand,
.home-v3 .home-footer a,
.home-v3 .home-footer > span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.home-v3 .home-footer a {
  min-width: 44px;
}

.home-v3 a:focus-visible,
.home-v3 button:focus-visible,
.home-v3 summary:focus-visible {
  outline: 3px solid rgba(188, 105, 41, 0.4);
  outline-offset: 3px;
}

.home-v3 #products,
.home-v3 #workflow,
.home-v3 #trust {
  scroll-margin-top: 96px;
}

@media (prefers-color-scheme: dark) {
  body.home-v3 {
    color-scheme: dark;
    --home-bg: #111914;
    --home-panel: #17231d;
    --home-panel-soft: #1a2a23;
    --home-ink: #eef3f0;
    --home-muted: #aab6af;
    --home-line: #34463e;
    --home-green: #9bd5c0;
    --home-green-deep: #dcebe5;
    --home-mint: #233b32;
    --home-copper: #e5a165;
    background:
      radial-gradient(circle at 82% 5%, rgba(91, 159, 136, 0.11), transparent 30rem),
      radial-gradient(circle at 12% 36%, rgba(229, 161, 101, 0.06), transparent 26rem),
      var(--home-bg);
  }

  body.home-v3::before {
    background-image:
      linear-gradient(rgba(155, 213, 192, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(155, 213, 192, 0.025) 1px, transparent 1px);
  }

  .home-v3 .home-site-header {
    border-bottom-color: var(--home-line);
    background: rgba(17, 25, 20, 0.88);
  }

  .home-v3 .site-nav a,
  .home-v3 .home-brand,
  .home-v3 .home-footer a {
    color: #c5ded4;
  }

  .home-v3 .home-hero-lead,
  .home-v3 .home-product-io span {
    color: #b9c6bf;
  }

  .home-v3 .home-choice,
  .home-v3 .home-product-card,
  .home-v3 .home-product-search,
  .home-v3 .home-demo {
    border-color: var(--home-line);
    background: rgba(23, 35, 29, 0.94);
  }

  .home-v3 .home-choice-search,
  .home-v3 .home-product-search {
    background: linear-gradient(145deg, rgba(26, 45, 37, 0.98), rgba(23, 35, 29, 0.96));
  }

  .home-v3 .home-choice strong,
  .home-v3 .home-product-card h3,
  .home-v3 .home-product-card > a,
  .home-v3 .home-bridge-flow small {
    color: #b9dfd1;
  }

  .home-v3 .home-ppt-stage {
    border-color: var(--home-line);
    background: radial-gradient(circle at 50% 40%, rgba(83, 145, 123, 0.18), transparent 17rem), #18241f;
  }

  .home-v3 .home-endpoint-list code {
    border-color: #486057;
    background: #101813;
    color: #b9dfd1;
  }

  .home-v3 .home-bridge {
    background: linear-gradient(180deg, transparent, rgba(35, 59, 50, 0.34), transparent);
  }

  .home-v3 .home-final-cta {
    background: radial-gradient(circle at 90% 18%, rgba(229, 161, 101, 0.2), transparent 22rem), #0a2d25;
  }

  .home-v3 .home-final-options a:first-child {
    background: #dcebe5;
    color: #092f27;
  }
}

@media (max-width: 980px) {
  .home-v3 .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 44px;
  }

  .home-v3 .home-hero-copy {
    max-width: 760px;
  }

  .home-v3 .home-demo {
    width: min(760px, 100%);
  }

  .home-v3 .home-bridge {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-v3 .home-bridge-intro {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .home-v3 .home-site-header {
    width: 100%;
    min-height: 64px;
    padding: 10px 14px;
  }

  .home-v3 .home-brand {
    gap: 7px;
    min-height: 44px;
    font-size: 14px;
  }

  .home-v3 .home-brand-symbol {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .home-v3 .home-site-header .site-nav {
    gap: 6px;
  }

  .home-v3 .home-site-header .home-nav-secondary {
    display: none;
  }

  .home-v3 .home-site-header .home-nav-product {
    min-width: 44px;
    padding-left: 9px;
    font-size: 11px;
  }

  .home-v3 .home-nav-product::before {
    width: 5px;
    height: 5px;
  }

  .home-v3 .home-site-header .language-switch {
    min-width: 44px;
    padding-left: 0;
    font-size: 11px;
  }

  .home-v3 .home-shell {
    padding: 0 16px 52px;
  }

  .home-v3 .home-hero {
    gap: 32px;
    padding: 46px 0 52px;
  }

  .home-v3 .home-kicker {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .home-v3 .home-hero h1 {
    max-width: 9.6em;
    font-size: clamp(40px, 11.8vw, 48px);
    line-height: 1.02;
  }

  body.home-product-page.home-v3[data-page-language="en"] .home-hero h1 {
    max-width: none;
    font-size: 38px;
  }

  body.home-product-page.home-v3[data-page-language="en"] .home-hero h1 > span {
    white-space: normal;
  }

  .home-v3 .home-hero-lead {
    margin-top: 19px;
    font-size: 16px;
    line-height: 1.68;
  }

  .home-v3 .home-choice-grid {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .home-v3 .home-choice {
    min-height: 142px;
  }

  .home-v3 .home-demo {
    border-radius: 13px;
  }

  .home-v3 .home-demo-topbar {
    min-height: 44px;
  }

  .home-v3 .home-demo-tabs button {
    min-height: 46px;
  }

  .home-v3 .home-demo-panel {
    min-height: 344px;
    padding: 10px;
  }

  .home-v3 .home-ppt-stage {
    min-height: 280px;
  }

  .home-v3 .home-ppt-shot-main {
    top: 64px;
    left: 7%;
    width: 86%;
  }

  .home-v3 .home-ppt-shot-left {
    top: 15px;
    width: 55%;
  }

  .home-v3 .home-ppt-shot-right {
    right: 2%;
    bottom: 35px;
    width: 54%;
  }

  .home-v3 .home-stage-caption {
    right: 7px;
    bottom: 6px;
    left: 7px;
    justify-content: center;
    font-size: 8px;
    text-align: center;
  }

  .home-v3 .home-search-output pre {
    min-height: 270px;
    font-size: 9px;
  }

  .home-v3 .home-output-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .home-v3 .home-output-meta span,
  .home-v3 .home-output-meta span:first-child {
    border-left: 0;
    padding: 0;
  }

  .home-v3 .home-proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .home-v3 .home-proof-strip article {
    min-height: 108px;
    padding: 14px 10px;
  }

  .home-v3 .home-proof-strip article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .home-v3 .home-proof-strip article:nth-child(4) {
    border-top: 1px solid var(--home-line);
  }

  .home-v3 .home-section {
    padding: 62px 0;
  }

  .home-v3 .home-section-heading {
    margin-bottom: 26px;
  }

  .home-v3 .home-section-heading h2,
  .home-v3 .home-trust-copy h2,
  .home-v3 .home-final-cta h2,
  .home-v3 .home-bridge-intro h2 {
    font-size: 36px;
  }

  .home-v3 .home-product-grid,
  .home-v3 .home-trust-section,
  .home-v3 .home-faq {
    grid-template-columns: 1fr;
  }

  .home-v3 .home-product-card {
    min-height: 0;
    padding: 21px;
  }

  .home-v3 .home-product-io {
    grid-template-columns: 1fr;
  }

  .home-v3 .home-product-io span {
    padding: 13px 0;
  }

  .home-v3 .home-product-io span + span {
    border-top: 1px solid var(--home-line);
    border-left: 0;
    padding-left: 0;
  }

  .home-v3 .home-bridge {
    gap: 28px;
  }

  .home-v3 .home-bridge-flow li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 19px 0;
  }

  .home-v3 .home-trust-section,
  .home-v3 .home-faq {
    gap: 26px;
  }

  .home-v3 .home-trust-copy {
    position: static;
  }

  .home-v3 .home-final-cta {
    align-items: stretch;
    margin-top: 64px;
    padding: 28px 22px;
  }

  .home-v3 .home-final-options {
    min-width: 0;
    width: 100%;
  }

  .home-v3 .home-footer a,
  .home-v3 .home-footer > span {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v3 *,
  .home-v3 *::before,
  .home-v3 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Search API v2: developer-first product page with real response patterns. */
.search-product-page {
  background:
    radial-gradient(circle at 82% 5%, rgba(46, 147, 124, 0.11), transparent 28rem),
    radial-gradient(circle at 6% 28%, rgba(201, 120, 43, 0.08), transparent 24rem),
    #f7f6f1;
}

.search-product-page::before {
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  background-image:
    linear-gradient(rgba(23, 79, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 79, 67, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  pointer-events: none;
  content: "";
}

.search-site-header {
  position: relative;
  z-index: 5;
  width: min(1240px, 100%);
  min-height: 76px;
  padding: 18px 24px;
}

.search-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.search-brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
}

.search-brand small {
  border-left: 1px solid var(--border);
  color: var(--muted);
  padding-left: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.search-product-page .site-nav a {
  color: #35443f;
  font-size: 14px;
  text-decoration: none;
}

.search-product-page .site-nav a:hover {
  color: var(--primary);
}

.search-product-page .site-nav .search-nav-cta {
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
}

.search-v2-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.search-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
  gap: clamp(42px, 6vw, 82px);
  min-height: 680px;
  align-items: center;
  padding: 70px 0 76px;
}

.search-hero-copy {
  min-width: 0;
}

.search-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 22px;
  border: 1px solid rgba(23, 79, 67, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  padding: 7px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-beta-badge > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dad80;
  box-shadow: 0 0 0 5px rgba(61, 173, 128, 0.12);
}

.search-v2-hero h1 {
  margin: 0;
  color: #15231f;
  font-size: clamp(46px, 5.1vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.search-v2-hero h1 > span {
  display: block;
}

.search-gradient-text {
  color: #174f43;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .search-gradient-text {
    background: linear-gradient(92deg, #174f43 2%, #338d79 72%, #c9782b 135%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.search-hero-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: #64706b;
  font-size: 19px;
  line-height: 1.75;
}

.search-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.search-product-page .button-link {
  min-height: 48px;
  border-radius: 10px;
  padding: 12px 18px;
}

.search-product-page .button-link span {
  margin-left: 8px;
}

.search-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.search-hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 30px 0 0;
  padding: 0;
  color: #53605b;
  font-size: 13px;
  list-style: none;
}

.search-hero-checks li::before {
  margin-right: 7px;
  color: #27916f;
  content: "✓";
}

.search-console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #233934;
  border-radius: 18px;
  background: #10201d;
  color: #d9e6e1;
  box-shadow: 0 32px 80px rgba(19, 47, 41, 0.22);
}

.search-console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px;
}

.search-console-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6f817b;
}

.search-console-bar > span:first-child { background: #e17f57; }
.search-console-bar > span:nth-child(2) { background: #d8b450; }
.search-console-bar > span:nth-child(3) { background: #54aa7f; }

.search-console-bar p {
  margin: 0 0 0 8px;
  color: #8da19a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.search-console-request {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #132622;
  padding: 20px 22px;
}

.search-console-request > p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
}

.search-console-request b {
  color: #80d7b9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.search-console-request > p code {
  color: #f4f8f6;
  font-size: 13px;
}

.search-console-request > p > span {
  margin-left: auto;
  border: 1px solid rgba(128, 215, 185, 0.25);
  border-radius: 999px;
  color: #9ab1aa;
  padding: 4px 8px;
  font-size: 10px;
}

.search-console pre,
.search-code-workbench pre,
.search-skill-panel pre {
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
}

.search-console pre code,
.search-code-workbench pre code,
.search-skill-panel pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.search-console-request pre {
  color: #b9c9c4;
  font-size: 12px;
  line-height: 1.65;
}

.search-console-response {
  padding: 20px 22px 8px;
}

.search-response-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #82968f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.search-response-meta span:first-child {
  color: #83d5b8;
}

.search-response-meta i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #54c692;
}

.search-console-response article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 17px 0;
}

.search-result-rank {
  color: #637b73;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.search-console-response h3 {
  margin: 0 0 4px;
  color: #f1f6f4;
  font-size: 14px;
}

.search-console-response article p {
  margin: 0;
  overflow: hidden;
  color: #81978f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-source-tags {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.search-source-tags span {
  border-radius: 5px;
  background: rgba(128, 215, 185, 0.09);
  color: #8fc9b4;
  padding: 3px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.search-console-footer {
  display: flex;
  gap: 8px;
  padding: 13px 22px 17px;
}

.search-console-footer span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #748a83;
  padding: 4px 8px;
  font-size: 9px;
  text-transform: uppercase;
}

.search-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(23, 79, 67, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(40, 55, 49, 0.05);
}

.search-proof-strip > div {
  min-width: 0;
  padding: 20px 22px;
}

.search-proof-strip > div + div {
  border-left: 1px solid rgba(23, 79, 67, 0.12);
}

.search-proof-strip strong,
.search-proof-strip span {
  display: block;
}

.search-proof-strip strong {
  color: var(--primary-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.search-proof-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.search-section {
  padding: 96px 0 0;
}

.search-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.search-section-heading.compact {
  max-width: 560px;
}

.search-section-heading h2,
.search-api-intro h2,
.search-skill-panel h2,
.search-apply-copy h2 {
  margin: 8px 0 14px;
  color: #17241f;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.search-section-heading > p:last-child,
.search-api-intro > p,
.search-skill-panel > div > p,
.search-apply-copy > p {
  color: #65716c;
  font-size: 17px;
  line-height: 1.7;
}

.search-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.search-feature-grid article {
  min-width: 0;
  border: 1px solid rgba(23, 79, 67, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 26px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.search-feature-grid article:hover {
  border-color: rgba(23, 79, 67, 0.32);
  box-shadow: 0 18px 46px rgba(34, 52, 46, 0.07);
  transform: translateY(-2px);
}

.search-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.search-feature-top > span {
  color: #b9c2be;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.search-feature-top code {
  border-radius: 6px;
  background: #eef4f1;
  color: var(--primary);
  padding: 5px 8px;
  font-size: 11px;
}

.search-feature-grid h3 {
  margin: 28px 0 9px;
  font-size: 22px;
}

.search-feature-grid p {
  min-height: 52px;
  margin: 0;
  color: #68736e;
  line-height: 1.65;
}

.search-feature-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.search-feature-grid li {
  border-radius: 999px;
  background: #f2f0e9;
  color: #66706c;
  padding: 5px 9px;
  font-size: 11px;
}

.search-api-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
}

.search-endpoint-pill {
  display: grid;
  gap: 7px;
  margin: 26px 0;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 14px;
}

.search-endpoint-pill span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-endpoint-pill code {
  overflow-wrap: anywhere;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}

.search-api-points {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #53615b;
  list-style: none;
}

.search-api-points li::before {
  margin-right: 9px;
  color: #2b9875;
  content: "✓";
}

.search-code-workbench {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #263934;
  border-radius: 16px;
  background: #101c1a;
  color: #dce8e4;
  box-shadow: 0 28px 72px rgba(24, 46, 40, 0.17);
}

.search-code-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 10px;
}

.search-code-tabs button {
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #82958f;
  padding: 7px 10px;
  font-size: 11px;
}

.search-code-tabs button:hover,
.search-code-tabs button.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #eaf3f0;
}

.search-code-tabs .search-copy-code {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-code-sample {
  min-height: 210px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 23px;
  color: #b8d3ca;
  font-size: 12px;
  line-height: 1.7;
}

.search-json-preview > div {
  display: flex;
  justify-content: space-between;
  color: #789087;
  padding: 13px 22px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.search-json-preview pre {
  max-height: 290px;
  padding: 17px 22px 22px;
  color: #8fb2a6;
  font-size: 10px;
  line-height: 1.6;
}

.search-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.search-flow-grid li {
  position: relative;
  min-width: 0;
  border-top: 1px solid rgba(23, 79, 67, 0.22);
  padding: 22px 16px 0 0;
}

.search-flow-grid li::after {
  position: absolute;
  top: -4px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.search-flow-grid li > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e8f1ed;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.search-flow-grid h3 {
  margin: 16px 0 7px;
  font-size: 17px;
}

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

.search-skill-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 44px;
  align-items: center;
  margin-top: 96px;
  border: 1px solid rgba(23, 79, 67, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(75, 155, 130, 0.13), transparent 24rem),
    #eef3ef;
  padding: clamp(30px, 5vw, 54px);
}

.search-skill-panel .search-hero-actions {
  margin-top: 24px;
}

.search-skill-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
}

.search-skill-meta span {
  border: 1px solid rgba(23, 79, 67, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #315d52;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
}

.search-skill-steps {
  display: grid;
  gap: 7px;
  margin: 17px 0 0;
  padding-left: 20px;
  color: #51615c;
  font-size: 12px;
  line-height: 1.55;
}

.search-skill-steps code,
.search-skill-checksum code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.search-skill-checksum {
  overflow-wrap: anywhere;
  font-size: 10px !important;
}

.search-skill-checksum a {
  color: var(--primary);
  font-weight: 800;
}

.search-skill-install {
  border: 1px solid #253d37;
  border-radius: 12px;
  background: #13231f;
  color: #a9cabf;
  padding: 22px;
  font-size: 11px;
  line-height: 1.7;
  box-shadow: 0 20px 45px rgba(20, 48, 41, 0.14);
}

.search-skill-install > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  border-bottom: 1px solid rgba(169, 202, 191, 0.12);
  padding: 8px 0;
  color: #d2e5df;
  font-size: 11px;
}

.search-skill-install > p code {
  overflow-wrap: anywhere;
  color: #80d7b9;
  text-align: right;
}

.search-skill-install pre {
  margin: 16px 0;
  color: #a9cabf;
  font-size: 11px;
  line-height: 1.7;
}

.search-skill-install small {
  display: block;
  color: #82958f;
  font-size: 10px;
  line-height: 1.55;
}

.search-skill-install small code {
  color: #b8d2ca;
}

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

.search-security-grid article {
  min-width: 0;
  border-left: 2px solid rgba(23, 79, 67, 0.2);
  padding: 4px 16px 6px;
}

.search-security-grid article > span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.search-security-grid h3 {
  margin: 13px 0 8px;
  font-size: 18px;
}

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

.search-apply-v2 {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  margin-top: 100px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 100%, rgba(70, 155, 127, 0.22), transparent 26rem),
    #16352e;
  padding: clamp(32px, 6vw, 64px);
}

.search-beta-badge.light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #b9dfd1;
}

.search-apply-copy h2 {
  color: #f3f8f6;
}

.search-apply-copy > p {
  color: #b9cac4;
}

.search-apply-copy ol {
  display: grid;
  gap: 12px;
  margin: 30px 0;
  padding: 0;
  color: #d8e5e0;
  list-style: none;
}

.search-apply-copy li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.search-apply-copy li span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #91cbb7;
  font-size: 11px;
}

.search-apply-copy .search-privacy-note {
  color: #90a79f;
  font-size: 12px;
}

.search-apply-v2 .search-apply-card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.17);
}

.search-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.search-apply-form label {
  color: #30433d;
  font-size: 13px;
}

.search-field-help {
  margin-top: -2px;
  color: #748078;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.search-apply-form input,
.search-apply-form textarea {
  border-color: #d5ddd8;
  border-radius: 8px;
  background: #fbfcfb;
}

.search-apply-form textarea {
  min-height: 100px;
}

.search-optional-fields {
  border-top: 1px solid #e1e5e2;
  border-bottom: 1px solid #e1e5e2;
  padding: 12px 0;
}

.search-optional-fields summary {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.search-optional-fields[open] summary {
  margin-bottom: 12px;
}

.search-apply-form > button {
  min-height: 48px;
  margin-top: 0;
  border-radius: 9px;
}

.search-form-hint {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.search-faq {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: 50px;
}

.search-faq-list {
  border-top: 1px solid var(--border);
}

.search-faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 20px 2px;
}

.search-faq-list summary {
  color: #26352f;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.search-faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.search-footer {
  width: min(1240px, 100%);
  margin-top: 30px;
  padding-top: 28px;
  padding-bottom: 34px;
}

@media (prefers-reduced-motion: no-preference) {
  .search-console {
    animation: search-console-enter 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes search-console-enter {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

@media (max-width: 980px) {
  .search-v2-hero,
  .search-api-section,
  .search-skill-panel,
  .search-apply-v2 {
    grid-template-columns: 1fr;
  }

  .search-v2-hero {
    gap: 44px;
    padding-top: 54px;
  }

  .search-console,
  .search-code-workbench {
    width: min(720px, 100%);
  }

  .search-proof-strip,
  .search-security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-proof-strip > div:nth-child(3) {
    border-top: 1px solid rgba(23, 79, 67, 0.12);
    border-left: 0;
  }

  .search-proof-strip > div:nth-child(4) {
    border-top: 1px solid rgba(23, 79, 67, 0.12);
  }
}

@media (max-width: 760px) {
  .search-site-header {
    align-items: center;
    flex-direction: row;
    padding: 14px 18px;
  }

  .search-brand small,
  .search-site-header .site-nav > a:nth-child(-n+4) {
    display: none;
  }

  .search-site-header .site-nav {
    gap: 8px;
  }

  .search-site-header .site-nav .language-switch {
    padding-left: 9px;
  }

  .search-v2-shell {
    padding: 0 18px 54px;
  }

  .search-v2-hero {
    min-height: auto;
    padding: 50px 0 54px;
  }

  .search-v2-hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    letter-spacing: -0.04em;
  }

  .search-hero-lead {
    font-size: 16px;
  }

  .search-product-page .search-hero-actions .button-link {
    width: 100%;
  }

  .search-hero-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-console-request,
  .search-console-response {
    padding-right: 16px;
    padding-left: 16px;
  }

  .search-console-footer {
    overflow-x: auto;
    padding-right: 16px;
    padding-left: 16px;
    white-space: nowrap;
  }

  .search-proof-strip,
  .search-feature-grid,
  .search-security-grid,
  .search-faq {
    grid-template-columns: 1fr;
  }

  .search-proof-strip > div + div,
  .search-proof-strip > div:nth-child(3) {
    border-top: 1px solid rgba(23, 79, 67, 0.12);
    border-left: 0;
  }

  .search-section {
    padding-top: 70px;
  }

  .search-section-heading h2,
  .search-api-intro h2,
  .search-skill-panel h2,
  .search-apply-copy h2 {
    font-size: 34px;
  }

  .search-feature-grid p {
    min-height: auto;
  }

  .search-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .search-skill-panel,
  .search-apply-v2 {
    margin-top: 70px;
    padding: 28px 20px;
  }

  .search-code-tabs button {
    padding-right: 7px;
    padding-left: 7px;
  }

  .search-form-row {
    grid-template-columns: 1fr;
  }

  .search-faq {
    gap: 0;
  }

  .search-footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f7f5ef;
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

.shell {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 28px 24px;
}

.shell.narrow {
  width: min(560px, 100%);
}

.landing-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 32px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 48px 24px;
}

.topbar,
.row,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  margin-bottom: 20px;
}

.product-topbar {
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: 34px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 14px;
  font-size: 21px;
}

h3 {
  font-size: 16px;
}

.landing-hero h1 {
  max-width: 760px;
  font-size: 64px;
  line-height: 0.98;
}

.hero-copy {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

.hero-copy-en {
  max-width: 760px;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.6;
}

.value-list,
.guidance-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list {
  margin-top: 28px;
  max-width: 640px;
}

.value-list li,
.guidance-list li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px 14px;
}

.panel,
.notice {
  min-width: 0;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  padding: 22px;
  box-shadow: var(--shadow);
}

.access-card {
  background: var(--panel);
}

.low-prominence {
  box-shadow: none;
}

.notice {
  border-color: var(--warning-border);
  background: var(--warning-bg);
  box-shadow: none;
}

.privacy-notice {
  margin-bottom: 12px;
  padding: 10px 14px;
}

.privacy-notice p {
  margin: 0;
  color: #5f5140;
  font-size: 14px;
  line-height: 1.45;
}

.notice p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 14px;
}

label,
legend {
  color: #344034;
  font-weight: 700;
}

input,
select,
textarea,
button {
  width: 100%;
  margin-top: 6px;
  border-radius: 8px;
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 11px 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 79, 67, 0.16);
  border-color: var(--primary);
}

textarea {
  resize: vertical;
}

button,
.link-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  padding: 11px 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.link-button:hover {
  background: var(--primary-strong);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

button.secondary {
  border-color: var(--border);
  background: #ffffff;
  color: var(--text);
}

.link-button {
  width: auto;
  border-radius: 8px;
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

.message {
  min-height: 24px;
  color: var(--muted);
}

.message.error {
  color: var(--danger);
}

.badge {
  border-radius: 999px;
  background: #dceee8;
  color: var(--primary-strong);
  padding: 7px 11px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.details div {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  padding: 12px;
}

.mode-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 16px;
  border: 1px solid rgba(49, 132, 111, 0.22);
  border-radius: 8px;
  background: #eef8f4;
  color: var(--primary-strong);
  padding: 12px 14px;
}

.mode-summary span {
  color: var(--muted);
  font-size: 13px;
}

.mode-summary strong {
  font-size: 15px;
  overflow-wrap: anywhere;
  text-align: right;
}

.job-progress-card {
  border-color: rgba(49, 132, 111, 0.24);
}

.progress-message {
  color: var(--text);
  font-size: 17px;
  font-weight: 750;
  margin: 12px 0;
}

.progress-track {
  position: relative;
  height: 3px;
  margin: 24px 14px 8px;
  border-radius: 999px;
  background: #dfe6e1;
}

.progress-track::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #dfe6e1;
  content: "";
  transform: translateY(-50%);
}

.progress-track-fill {
  display: block;
  position: relative;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 180ms ease;
}

.progress-stage-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-node-list {
  position: relative;
}

.progress-node {
  display: grid;
  justify-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  color: var(--muted);
  text-align: center;
}

.progress-stage-marker {
  width: 14px;
  height: 14px;
  margin-top: -14px;
  border: 2px solid #c8d2cb;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px var(--panel);
}

.progress-stage-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.progress-node strong {
  color: var(--text);
  font-size: 14px;
}

.progress-node small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.progress-node.is-completed .progress-stage-marker {
  border-color: var(--primary);
  background: var(--primary);
}

.progress-node.is-active strong {
  color: var(--primary-strong);
}

.progress-node.is-active .progress-stage-marker {
  border-color: var(--primary);
  background: #fff;
  box-shadow:
    0 0 0 5px var(--panel),
    0 0 0 9px rgba(49, 132, 111, 0.14);
}

.progress-node.is-degraded strong {
  color: #8a5a0a;
}

.progress-node.is-degraded .progress-stage-marker {
  border-color: #b87912;
  background: #b87912;
}

.progress-node.is-failed strong {
  color: var(--danger);
}

.progress-node.is-failed .progress-stage-marker {
  border-color: var(--danger);
  background: var(--danger);
}

.progress-wait {
  margin-top: 12px;
}

.pending-delivery-note {
  margin-top: 10px;
}

.panel.is-pending-delivery {
  display: none;
}

.job-outline {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.job-outline li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface);
}

.job-outline li span {
  color: var(--muted);
  font-size: 0.92rem;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.check input {
  width: auto;
  margin: 0;
}

.ai-image-mode {
  gap: 10px;
  padding: 0;
  border: 0;
}

.ai-image-mode legend {
  margin-bottom: 2px;
}

.ai-image-mode .muted {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
}

.mode-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mode-card {
  display: grid;
  min-height: 112px;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

.mode-card:hover {
  border-color: rgba(23, 79, 67, 0.42);
}

.mode-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-card:focus-within {
  outline: 3px solid rgba(23, 79, 67, 0.16);
  border-color: var(--primary);
}

.mode-card.is-selected {
  border-color: var(--primary);
  background: rgba(220, 238, 232, 0.78);
}

.mode-card.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.mode-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mode-card-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.mode-card-copy {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.mode-card-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e9f4ef;
  color: var(--primary-strong);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.mode-card-badge:empty {
  display: none;
}

.create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.guidance-panel {
  position: sticky;
  top: 18px;
}

.create-actions,
.inline-form-actions,
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.create-actions button,
.inline-form-actions button {
  width: auto;
}

.action-note,
.quota-copy,
.hero-meta {
  font-size: 14px;
  line-height: 1.5;
}

.compact-form {
  max-width: 420px;
}

.promo-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  color: var(--primary-strong);
}

.promo-inline strong {
  font-size: 16px;
}

.promo-inline span {
  color: var(--muted);
  font-size: 14px;
}

.plan-actions {
  margin-top: 14px;
}

.inline-action {
  width: auto;
  margin-top: 0;
}

.account-start {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.assistive-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-list a {
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--accent-dark);
  padding: 9px 12px;
  font-weight: 700;
  text-decoration: none;
}

.events {
  min-height: 160px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #111827;
  color: #e5e7eb;
  padding: 12px;
}

.preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.preview-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 10px;
  text-decoration: none;
}

.preview-card img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #eef2f6;
}

.preview-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.preview-viewer {
  display: block;
}

.preview-viewer-shell {
  display: grid;
  gap: 12px;
}

.preview-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #e9edf2;
}

.preview-stage-image {
  display: block;
  width: 100%;
  max-height: min(68vh, 620px);
  object-fit: contain;
  background: #ffffff;
}

.preview-nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  margin: 0;
  border-color: rgba(31, 41, 55, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.preview-prev {
  left: 12px;
}

.preview-next {
  right: 12px;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-zoom-button {
  width: auto;
  margin: 0;
}

.preview-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.preview-thumb {
  flex: 0 0 112px;
  display: grid;
  gap: 6px;
  width: 112px;
  margin: 0;
  border-color: var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 6px;
}

.preview-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

.preview-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 4px;
  object-fit: cover;
}

.preview-thumb span {
  color: var(--muted);
  font-size: 12px;
}

.preview-zoom {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, 0.86);
  padding: 24px;
}

.preview-zoom.hidden {
  display: none;
}

.preview-zoom-image {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
}

.preview-zoom-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

.preview-share-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.preview-share-panel h3 {
  margin: 0 0 4px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-actions button {
  width: auto;
  margin: 0;
}

.share-url {
  overflow-wrap: anywhere;
}

.share-shell {
  max-width: 1320px;
}

.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.share-preview-panel {
  padding: 14px;
}

.share-info-panel {
  position: sticky;
  top: 16px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 0 16px;
}

.feedback-panel {
  border-style: dashed;
  background: #fbfcfd;
}

.feedback-panel summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
}

.feedback-panel form {
  margin-top: 16px;
}

.source-preview {
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  padding: 12px;
}

.hero {
  margin: 48px 0 18px;
}

.admin-shell {
  width: min(1180px, 100%);
}

.admin-topbar {
  align-items: flex-start;
}

.compact-actions {
  justify-content: flex-start;
}

.compact-actions button,
.compact-actions select {
  width: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 16px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
}

.stat-card.danger {
  border-color: #fecaca;
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.funnel-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  border-left: 3px solid var(--primary);
  background: #f7faf8;
  padding: 12px;
}

.funnel-grid span,
.funnel-grid small {
  color: var(--muted);
}

.funnel-grid strong {
  font-size: 24px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: start;
}

.admin-list-panel,
.admin-detail-panel {
  min-width: 0;
}

.admin-job-list,
.admin-card-list {
  display: grid;
  gap: 10px;
}

.job-row {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 0;
  border-color: var(--border);
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.job-row:hover,
.job-row.active {
  border-color: var(--accent);
  background: #edf7f5;
}

.job-row span,
.job-row small,
.job-row em {
  color: var(--muted);
  font-style: normal;
}

.detail-heading {
  align-items: flex-start;
  margin-bottom: 12px;
}

.admin-details {
  grid-template-columns: repeat(2, 1fr);
}

.admin-actions {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 0.8fr) 1.4fr auto auto;
  gap: 12px;
  align-items: end;
}

.setting-check {
  min-height: 44px;
}

.admin-section {
  margin-top: 18px;
}

.admin-section h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.admin-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.admin-card p {
  margin: 4px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-card a {
  width: auto;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent-dark);
  padding: 8px 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .landing-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }

  .landing-hero h1 {
    font-size: 42px;
  }

  .shell {
    padding: 16px;
  }

  .topbar,
  .row,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .job-topbar {
    align-items: center;
    flex-direction: row;
  }

  .job-topbar h1 {
    font-size: 30px;
  }

  .job-topbar .link-button {
    align-self: flex-start;
    padding: 9px 12px;
    font-size: 14px;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .mode-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .mode-summary strong {
    text-align: left;
  }

  .progress-track {
    display: none;
  }

  .progress-stage-list {
    display: grid;
    gap: 0;
    margin-top: 18px;
  }

  .progress-node {
    position: relative;
    grid-template-columns: 20px minmax(0, 1fr);
    justify-items: stretch;
    gap: 10px;
    padding: 0 0 18px;
    text-align: left;
  }

  .progress-node:not(:last-child)::after {
    position: absolute;
    top: 17px;
    bottom: 1px;
    left: 6px;
    width: 2px;
    background: #dfe6e1;
    content: "";
  }

  .progress-node.is-completed:not(:last-child)::after,
  .progress-node.is-degraded:not(:last-child)::after {
    background: var(--primary);
  }

  .progress-stage-marker {
    margin-top: 4px;
    box-shadow: none;
  }

  .progress-node.is-active .progress-stage-marker {
    box-shadow: 0 0 0 5px rgba(49, 132, 111, 0.12);
  }

  .mode-card-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .create-layout,
  .admin-layout,
  .admin-details,
  .settings-grid,
  .share-layout {
    grid-template-columns: 1fr;
  }

  .share-info-panel {
    position: static;
  }

  .preview-stage {
    min-height: 220px;
  }

  .preview-nav {
    width: 36px;
    height: 36px;
  }

  .admin-card {
    align-items: stretch;
    flex-direction: column;
  }
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px 24px;
}

.brand-mark {
  color: var(--primary-strong);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.site-nav,
.site-footer {
  flex-wrap: wrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a,
.site-footer a,
.public-band a,
.plan-card a,
.policy-consent a {
  color: var(--primary);
  font-weight: 800;
}

.site-nav .language-switch {
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

.public-shell {
  display: grid;
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.public-hero {
  display: grid;
  gap: 18px;
  min-height: 360px;
  align-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
  padding: clamp(28px, 6vw, 56px);
  box-shadow: var(--shadow);
}

.public-hero h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.02;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  padding: 11px 16px;
  font-weight: 900;
  text-decoration: none;
}

.button-link.secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--primary-strong);
  cursor: pointer;
}

.price-callout {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid rgba(23, 79, 67, 0.24);
  border-radius: 8px;
  background: #eef8f4;
  color: var(--primary-strong);
  padding: 10px 12px;
  font-weight: 800;
}

.public-band,
.plan-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  padding: 22px;
}

.single-price-card {
  border: 1px solid rgba(23, 79, 67, 0.24);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.95);
  padding: 24px;
  box-shadow: var(--shadow);
}

.single-price-card h2 {
  font-size: 28px;
}

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

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

.product-entry-grid,
.principle-grid,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-entry,
.principle-item,
.scenario-link {
  display: block;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.scenario-link:hover,
.product-entry:hover {
  border-color: rgba(23, 79, 67, 0.42);
  transform: translateY(-1px);
}

.scenario-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-entry .button-link {
  margin-top: 12px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.plan-card h2,
.plan-card h3 {
  color: var(--primary-strong);
}

.policy-page {
  max-width: 920px;
}

.policy-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.policy-consent {
  display: grid;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(23, 79, 67, 0.2);
  border-radius: 8px;
  background: #eef8f4;
  padding: 12px;
}

.policy-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.policy-consent span {
  font-weight: 600;
}

.policy-links {
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .step-grid,
  .plan-grid,
  .product-entry-grid,
  .principle-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .promo-inline,
  .create-actions,
  .inline-form-actions,
  .plan-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .create-actions button,
  .inline-form-actions button,
  .plan-actions .inline-action,
  .plan-actions a,
  .hero-actions .button-link,
  .hero-actions button.button-link {
    width: 100%;
  }

  .public-hero h1 {
    font-size: 38px;
  }
}

.brand-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 42px 24px 64px;
}

.brand-hero {
  display: grid;
  gap: 22px;
  min-height: min(620px, calc(100dvh - 84px));
  align-content: center;
  border-bottom: 1px solid var(--border);
}

.brand-hero h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading-row {
  max-width: 720px;
  margin-bottom: 22px;
}

.product-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.proof-grid article {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.product-card-live {
  border-color: rgba(23, 79, 67, 0.45);
}

.product-status {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.product-card a,
.product-card span {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 800;
}

.search-page-shell {
  display: grid;
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 42px 24px 64px;
}

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 48px 0 56px;
}

.search-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}

.search-endpoint-card,
.search-apply-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.search-endpoint-card code {
  display: block;
  margin: 12px 0;
  overflow-wrap: anywhere;
  color: var(--primary-strong);
  font-weight: 800;
}

.search-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.search-capability-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.search-apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(340px, 1.3fr);
  gap: 24px;
  align-items: start;
}

.search-apply-form {
  display: grid;
  gap: 14px;
}

.search-apply-form label {
  display: grid;
  gap: 6px;
  color: var(--primary-strong);
  font-weight: 800;
}

.search-apply-form input,
.search-apply-form textarea,
.search-apply-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

.search-apply-form textarea {
  min-height: 110px;
  resize: vertical;
}

.search-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 9px !important;
  color: var(--text) !important;
  font-weight: 600 !important;
}

.search-consent input {
  width: auto;
  margin-top: 5px;
}

.search-form-status {
  min-height: 24px;
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.search-form-status.is-error {
  color: var(--danger);
}

.search-honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 760px) {
  .brand-shell {
    padding: 30px 18px 48px;
  }

  .brand-hero {
    min-height: auto;
    padding: 44px 0;
  }

  .product-grid,
  .proof-grid,
  .search-capability-grid,
  .search-hero,
  .search-apply-layout {
    grid-template-columns: 1fr;
  }
}

/* Marketing page: trust-first consumer product, restrained motion and one forest accent. */
.marketing-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(201, 120, 43, 0.08), transparent 25rem),
    #f6f7f4;
}

.marketing-page .site-header {
  min-height: 72px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.marketing-page .brand-mark span {
  color: var(--muted);
  font-weight: 700;
}

.marketing-page .public-shell {
  gap: clamp(48px, 7vw, 88px);
  padding-top: 20px;
}

.public-hero-split {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  min-height: min(670px, calc(100dvh - 92px));
  border: 0;
  background: transparent;
  padding: clamp(24px, 4vw, 48px) 0;
  box-shadow: none;
}

.hero-content {
  display: grid;
  align-content: center;
  gap: 18px;
}

.public-hero-split h1 {
  max-width: none;
  font-size: clamp(42px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.public-hero-split .hero-copy {
  max-width: 28rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 21px);
}

.public-hero-split .hero-copy-en {
  color: var(--muted);
  font-size: 15px;
}

.hero-product-visual {
  align-self: center;
  margin: 0;
}

.hero-product-visual img,
.showcase-section > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 79, 67, 0.16);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(23, 52, 44, 0.16);
}

.hero-product-visual figcaption {
  max-width: 58ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.proof-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  white-space: nowrap;
}

.proof-rail span {
  color: var(--muted);
  font-size: 14px;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.showcase-copy h2,
.scenario-section h2,
.flow-section h2,
.account-conversion h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.showcase-copy > p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 17px;
}

.showcase-facts {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.showcase-facts div {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.showcase-facts dt {
  color: var(--primary-strong);
  font-weight: 850;
}

.showcase-facts dd {
  color: var(--muted);
}

.marketing-page .public-band {
  border: 0;
  background: transparent;
  padding: 0;
}

.marketing-page .scenario-grid {
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  margin-top: 24px;
}

.marketing-page .scenario-link {
  min-height: 132px;
  border-radius: 14px;
  background: #fff;
  padding: 22px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.marketing-page .scenario-featured {
  grid-row: span 2;
  min-height: 278px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(145deg, rgba(13, 53, 45, 0.94), rgba(23, 79, 67, 0.86)),
    var(--primary);
  color: #f8fbf8;
}

.marketing-page .scenario-featured span {
  color: rgba(248, 251, 248, 0.76);
}

.marketing-page .scenario-wide {
  grid-column: 1 / -1;
  min-height: auto;
  background: #eef4f0;
}

.flow-section {
  display: grid;
  gap: 22px;
}

.flow-list {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: flow;
  list-style: none;
}

.flow-list li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 52px minmax(200px, 0.65fr) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  color: var(--accent);
  font-weight: 900;
}

.flow-list li strong {
  font-size: 19px;
}

.flow-list li span {
  color: var(--muted);
}

.marketing-page .pricing-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 16px;
  background: var(--primary-strong);
  color: #f7faf8;
  padding: clamp(28px, 5vw, 48px);
}

.marketing-page .pricing-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 54px);
}

.marketing-page .pricing-strip p {
  max-width: 44rem;
  color: rgba(247, 250, 248, 0.76);
}

.marketing-page .pricing-strip .eyebrow {
  color: #f0a45f;
}

.marketing-page .pricing-strip .button-link {
  border-color: #f7faf8;
  background: #f7faf8;
  color: var(--primary-strong);
  white-space: nowrap;
}

.marketing-page .pricing-strip .button-link.secondary {
  background: transparent;
  color: #f7faf8;
}

.account-conversion {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
  border: 1px solid rgba(23, 79, 67, 0.24);
  border-radius: 16px;
  background: #fff;
  padding: clamp(26px, 5vw, 52px);
}

.account-conversion .compact-form {
  max-width: none;
}

.trust-line {
  display: grid;
  grid-template-columns: minmax(200px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.trust-line p {
  color: var(--muted);
}

.marketing-page .access-card {
  max-width: 520px;
  margin: -28px 0 0;
  border-radius: 14px;
}

.marketing-page .access-card summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 800;
}

.marketing-page .access-card form {
  margin-top: 18px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-product-visual {
    animation: hero-enter 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-color-scheme: dark) {
  body.marketing-page {
    color-scheme: dark;
    --text: #eef3f0;
    --muted: #a8b2ac;
    --border: #34463e;
    --primary: #8bc9b3;
    --primary-strong: #102f27;
    --accent: #e6a061;
    background:
      radial-gradient(circle at 88% 8%, rgba(230, 160, 97, 0.08), transparent 25rem),
      #111914;
  }

  .marketing-page .brand-mark,
  .marketing-page .site-nav a,
  .marketing-page .site-footer a,
  .marketing-page .trust-line a {
    color: #b9dfd1;
  }

  .marketing-page .button-link {
    border-color: #b9dfd1;
    background: #b9dfd1;
    color: #102f27;
  }

  .marketing-page button {
    border-color: #b9dfd1;
    background: #b9dfd1;
    color: #102f27;
  }

  .marketing-page .button-link.secondary {
    border-color: #52645c;
    background: #17231d;
    color: #eef3f0;
  }

  .marketing-page .scenario-link,
  .marketing-page .account-conversion,
  .marketing-page .access-card {
    border-color: #34463e;
    background: #17231d;
  }

  .marketing-page label,
  .marketing-page legend {
    color: #dce7e1;
  }

  .marketing-page button:disabled {
    border-color: #52645c;
    background: #29483d;
    color: #eef3f0;
    opacity: 1;
  }

  .marketing-page .access-card summary {
    color: #b9dfd1;
  }

  .marketing-page .scenario-wide,
  .marketing-page .funnel-grid article {
    background: #1b2b23;
  }

  .marketing-page input {
    border-color: #52645c;
    background: #101813;
    color: #eef3f0;
  }
}

@media (max-width: 900px) {
  .public-hero-split,
  .showcase-section {
    grid-template-columns: 1fr;
  }

  .public-hero-split {
    min-height: auto;
  }

  .showcase-copy {
    max-width: 650px;
  }
}

@media (max-width: 760px) {
  .marketing-page .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .marketing-page .site-nav {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 13px;
  }

  .marketing-page .site-nav a:nth-child(1),
  .marketing-page .site-nav a:nth-child(3),
  .marketing-page .site-nav a:nth-child(4) {
    display: none;
  }

  .marketing-page .site-nav .language-switch {
    padding-left: 10px;
  }

  .marketing-page .public-shell {
    gap: 48px;
    padding: 12px 16px 48px;
  }

  .public-hero-split {
    gap: 22px;
    padding: 20px 0 0;
  }

  .public-hero-split .hero-content {
    gap: 14px;
  }

  .public-hero-split h1 {
    max-width: none;
    font-size: 42px;
  }

  .hero-product-visual img,
  .showcase-section > img {
    border-radius: 12px;
  }

  .proof-rail {
    justify-content: flex-start;
  }

  .marketing-page .scenario-grid,
  .account-conversion,
  .trust-line {
    grid-template-columns: 1fr;
  }

  .marketing-page .scenario-featured {
    grid-row: auto;
    min-height: 190px;
  }

  .marketing-page .scenario-wide {
    grid-column: auto;
  }

  .flow-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .flow-list li span {
    grid-column: 2;
  }

  .marketing-page .pricing-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .marketing-page .pricing-strip .plan-actions {
    width: 100%;
  }

  .account-conversion {
    gap: 18px;
  }
}

/* Final cascade adjustments for the Search API page. */
body.search-product-page[data-page-language="en"] .search-v2-hero h1 {
  font-size: clamp(46px, 4.5vw, 60px);
}

@media (max-width: 760px) {
  body.search-product-page .search-site-header {
    align-items: center;
    flex-direction: row;
  }

  body.search-product-page .search-site-header .site-nav {
    width: auto;
    margin-left: auto;
  }
}

/* AIFinderKit homepage v2: two-product story with inspectable output. */
.home-product-page {
  background:
    radial-gradient(circle at 82% 4%, rgba(47, 151, 126, 0.13), transparent 28rem),
    radial-gradient(circle at 7% 20%, rgba(201, 120, 43, 0.09), transparent 24rem),
    #f7f6f1;
}

.home-product-page::before {
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  background-image:
    linear-gradient(rgba(23, 79, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 79, 67, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
  content: "";
}

.home-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1240px, 100%);
  min-height: 74px;
  border-bottom: 1px solid rgba(222, 212, 191, 0.7);
  background: rgba(247, 246, 241, 0.86);
  backdrop-filter: blur(18px);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.home-brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
}

.home-product-page .site-nav a {
  color: #35443f;
  font-size: 14px;
  text-decoration: none;
}

.home-product-page .site-nav a:hover {
  color: var(--primary);
}

.home-product-page .home-nav-search {
  border: 1px solid rgba(23, 79, 67, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 7px 12px;
}

.home-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(46px, 6vw, 86px);
  min-height: 700px;
  align-items: center;
  padding: 72px 0 82px;
}

.home-hero-copy {
  min-width: 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  border: 1px solid rgba(23, 79, 67, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-kicker span,
.home-status span,
.home-demo-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d9b75;
  box-shadow: 0 0 0 4px rgba(45, 155, 117, 0.12);
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(52px, 5.7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-hero h1 > span {
  display: block;
}

.home-gradient-text {
  width: fit-content;
  color: var(--primary);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .home-gradient-text {
    background: linear-gradient(112deg, var(--primary) 8%, #2f927b 54%, var(--accent) 118%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.home-hero-lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: #59635b;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
}

.home-hero-actions {
  margin-top: 28px;
}

.home-product-page .button-link {
  min-height: 48px;
  border-radius: 10px;
  padding: 12px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-product-page .button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(23, 79, 67, 0.13);
}

.home-hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.home-hero-checks li::before {
  margin-right: 7px;
  color: var(--primary);
  content: "✓";
}

.home-demo {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 67, 0.2);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 36px 90px rgba(26, 53, 44, 0.16);
}

.home-demo-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  padding: 0 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.home-window-dots {
  display: flex;
  gap: 5px;
}

.home-window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9c5b9;
}

.home-window-dots span:first-child { background: #df806f; }
.home-window-dots span:nth-child(2) { background: #deb565; }
.home-window-dots span:last-child { background: #6db58e; }

.home-demo-status {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
}

.home-demo-status i {
  width: 6px;
  height: 6px;
}

.home-demo-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
}

.home-demo-tabs button {
  width: auto;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
}

.home-demo-tabs button.is-active {
  background: #e8f2ee;
  color: var(--primary);
}

.home-demo-panel {
  min-height: 430px;
  padding: 22px;
}

.home-demo-panel[hidden] {
  display: none;
}

.home-slide-canvas {
  display: grid;
  min-height: 350px;
  align-content: space-between;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(125deg, rgba(14, 53, 45, 0.97), rgba(23, 79, 67, 0.95)),
    #174f43;
  color: #fff;
  padding: 25px 28px 20px;
}

.home-real-ppt-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 67, 0.16);
  border-radius: 12px;
  background: #0c2925;
}

.home-real-ppt-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-real-ppt-preview figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 29, 25, 0.82);
  color: rgba(255, 255, 255, 0.88);
  padding: 7px 10px;
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
}

.home-real-ppt-preview figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-real-ppt-preview figcaption i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62c49b;
  box-shadow: 0 0 0 3px rgba(98, 196, 155, 0.14);
}

.home-real-ppt-preview figcaption time {
  color: rgba(255, 255, 255, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.home-slide-head,
.home-slide-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-slide-canvas h2 {
  max-width: 450px;
  margin: 34px 0 26px;
  color: #fff;
  font-size: clamp(27px, 3vw, 41px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-slide-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.home-slide-flow article {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  padding: 12px;
}

.home-slide-flow b {
  color: #e9a45f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.home-slide-flow strong {
  font-size: 13px;
}

.home-slide-flow small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.home-output-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.home-output-meta span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
}

.home-search-output {
  background: #101a17;
  color: #d5e5df;
}

.home-code-request {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #263a33;
  padding-bottom: 16px;
  font-size: 12px;
}

.home-code-request span {
  border-radius: 5px;
  background: #d88036;
  color: #1d160f;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
}

.home-code-request code { color: #e7f1ed; }
.home-code-request i { margin-left: auto; color: #75c79f; font-style: normal; }

.home-search-output pre {
  min-height: 315px;
  margin: 0;
  overflow: auto;
  padding: 20px 2px 12px;
  background: transparent;
  color: #b9c9c3;
  font-size: 11px;
  line-height: 1.65;
}

.home-search-output .json-key { color: #8dc8e8; }
.home-search-output .json-string { color: #d6c88a; }
.home-search-output .json-number { color: #8bd4a7; }
.home-search-output .home-output-meta span { border-color: #30473f; background: #172620; color: #9eb4ac; }

.home-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-proof-strip article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 22px 20px;
}

.home-proof-strip article + article {
  border-left: 1px solid var(--border);
}

.home-proof-strip strong {
  color: var(--primary-strong);
  font-size: 14px;
}

.home-proof-strip span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.home-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.home-section-heading {
  max-width: 750px;
  margin-bottom: 36px;
}

.home-section-heading.compact {
  max-width: 640px;
}

.home-section-heading h2,
.home-trust-copy h2,
.home-final-cta h2 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.home-section-heading > p:last-child,
.home-trust-copy > p:last-child,
.home-final-cta > div > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-product-card {
  display: grid;
  min-height: 460px;
  align-content: space-between;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 67, 0.2);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.9);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(31, 38, 31, 0.06);
}

.home-product-search {
  background:
    linear-gradient(145deg, rgba(236, 247, 243, 0.94), rgba(255, 253, 247, 0.95));
}

.home-product-card-head,
.home-product-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-product-card-head > span {
  color: #a9ada6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.home-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.home-status.is-beta span {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 120, 43, 0.12);
}

.home-product-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-product-card h3 {
  margin: 0 0 16px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.home-product-card p,
.home-product-card li {
  color: #59635b;
  line-height: 1.65;
}

.home-product-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 19px;
}

.home-product-card > a {
  border-top: 1px solid var(--border);
  color: var(--primary);
  padding-top: 20px;
  font-weight: 900;
  text-decoration: none;
}

.home-endpoint-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-endpoint-list code {
  border: 1px solid rgba(23, 79, 67, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  padding: 8px 10px;
  font-size: 11px;
}

.home-roadmap-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.home-roadmap-note span {
  margin-right: 8px;
  border-radius: 999px;
  background: #ece9df;
  color: #61675f;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-workflow {
  background: linear-gradient(180deg, transparent, rgba(232, 242, 238, 0.48), transparent);
}

.home-step-grid,
.home-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-step-grid article {
  min-width: 0;
  border-top: 2px solid var(--primary);
  padding: 24px 20px 10px 0;
}

.home-step-grid article > span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
}

.home-step-grid h3 {
  margin: 24px 0 12px;
  font-size: 22px;
}

.home-step-grid p,
.home-scenario-grid p,
.home-trust-list p,
.home-faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.home-scenario-grid article {
  display: grid;
  min-width: 0;
  min-height: 300px;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.84);
  padding: 24px;
}

.home-scenario-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f2ee;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
}

.home-scenario-grid h3 {
  margin: 36px 0 8px;
  font-size: 22px;
}

.home-scenario-grid a {
  margin-top: auto;
  color: var(--primary);
  padding-top: 22px;
  font-weight: 900;
  text-decoration: none;
}

.home-trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.home-trust-copy {
  position: sticky;
  top: 120px;
}

.home-trust-list {
  display: grid;
}

.home-trust-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--border);
  padding: 26px 0;
}

.home-trust-list article:last-child {
  border-bottom: 1px solid var(--border);
}

.home-trust-list article > span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
}

.home-trust-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.home-trust-list p {
  margin: 0;
}

.home-faq {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 48px;
}

.home-faq-list {
  display: grid;
}

.home-faq-list details {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

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

.home-faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.home-faq-list p {
  max-width: 680px;
  margin: 14px 0 0;
}

.home-final-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 96px 0 16px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 20%, rgba(233, 164, 95, 0.3), transparent 22rem),
    var(--primary-strong);
  color: #fff;
  padding: clamp(30px, 5vw, 58px);
}

.home-final-cta h2 {
  color: #fff;
}

.home-final-cta .eyebrow,
.home-final-cta > div > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.home-final-cta .hero-actions {
  flex-shrink: 0;
}

.home-final-cta .button-link {
  border-color: #fff;
  background: #fff;
  color: var(--primary-strong);
}

.home-final-cta .button-link.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-footer {
  width: min(1200px, 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .home-demo {
    animation: home-demo-enter 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes home-demo-enter {
    from { opacity: 0; transform: translateY(18px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 42px;
  }

  .home-hero-copy {
    max-width: 760px;
  }

  .home-demo {
    width: min(720px, 100%);
  }

  .home-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-strip article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .home-proof-strip article:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .home-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .home-site-header {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    min-height: 66px;
    padding: 14px 16px;
  }

  .home-brand-symbol {
    width: 30px;
    height: 30px;
  }

  .home-site-header .site-nav {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .home-site-header .home-nav-secondary {
    display: none;
  }

  .home-site-header .language-switch {
    padding-left: 8px;
  }

  .home-shell {
    padding: 0 16px 54px;
  }

  .home-hero {
    gap: 34px;
    padding: 54px 0 56px;
  }

  .home-kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .home-hero h1,
  body.home-product-page[data-page-language="en"] .home-hero h1 {
    font-size: clamp(42px, 12.5vw, 54px);
  }

  .home-hero-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .home-hero-actions {
    margin-top: 22px;
  }

  .home-hero-actions .button-link,
  .home-final-cta .button-link {
    width: 100%;
  }

  .home-hero-checks {
    display: grid;
  }

  .home-demo {
    border-radius: 14px;
  }

  .home-demo-topbar {
    grid-template-columns: 1fr auto;
  }

  .home-demo-topbar > span:nth-child(2) {
    display: none;
  }

  .home-demo-panel {
    min-height: 370px;
    padding: 12px;
  }

  .home-slide-canvas {
    min-height: 300px;
    padding: 18px 17px 15px;
  }

  .home-slide-canvas h2 {
    margin: 26px 0 22px;
    font-size: 27px;
  }

  .home-slide-flow {
    gap: 5px;
  }

  .home-slide-flow article {
    padding: 9px 7px;
  }

  .home-slide-flow strong {
    font-size: 11px;
  }

  .home-slide-flow small {
    display: none;
  }

  .home-search-output pre {
    min-height: 290px;
    font-size: 9px;
  }

  .home-output-meta {
    gap: 5px;
  }

  .home-proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .home-proof-strip article {
    padding: 17px 12px;
  }

  .home-section {
    padding: 68px 0;
  }

  .home-section-heading {
    margin-bottom: 28px;
  }

  .home-section-heading h2,
  .home-trust-copy h2,
  .home-final-cta h2 {
    font-size: 36px;
  }

  .home-product-grid,
  .home-step-grid,
  .home-scenario-grid,
  .home-trust-section,
  .home-faq {
    grid-template-columns: 1fr;
  }

  .home-product-card {
    min-height: 430px;
    padding: 22px;
  }

  .home-step-grid {
    gap: 24px;
  }

  .home-scenario-grid article {
    min-height: 270px;
  }

  .home-trust-section,
  .home-faq {
    gap: 30px;
  }

  .home-trust-copy {
    position: static;
  }

  .home-final-cta {
    margin-top: 68px;
    border-radius: 16px;
  }
}

/* PPT Agent v2.3 landing refresh: show inspected output before feature claims. */
.marketing-page .hero-slide-stack {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.marketing-page .hero-slide-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 67, 0.18);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(18, 42, 35, 0.18);
}

.marketing-page .hero-slide-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.marketing-page .hero-slide-main {
  z-index: 3;
  top: 17%;
  left: 0;
  width: 78%;
  transform: rotate(-1.2deg);
}

.marketing-page .hero-slide-secondary {
  z-index: 1;
  top: 1%;
  right: 0;
  width: 60%;
  transform: rotate(1.7deg);
}

.marketing-page .hero-slide-tertiary {
  z-index: 4;
  right: 0;
  bottom: 40px;
  width: 55%;
  transform: rotate(-1deg);
}

.marketing-page .hero-output-badge {
  position: absolute;
  z-index: 6;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(13, 43, 36, 0.9);
  color: #f7faf8;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(13, 43, 36, 0.2);
  backdrop-filter: blur(8px);
}

.marketing-page .hero-output-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f1a45d;
  box-shadow: 0 0 0 4px rgba(241, 164, 93, 0.17);
}

.marketing-page .hero-slide-stack figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.marketing-page .real-output-section,
.marketing-page .creation-flow-section {
  display: grid;
  gap: 28px;
}

.marketing-page .section-intro {
  max-width: 780px;
}

.marketing-page .section-intro.compact {
  max-width: 650px;
}

.marketing-page .section-intro h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.marketing-page .section-intro > p:last-child {
  max-width: 700px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.marketing-page .quality-signal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.62);
}

.marketing-page .quality-signal-row span {
  min-width: 0;
  padding: 14px 16px;
  border-left: 1px solid var(--border);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.marketing-page .quality-signal-row span:first-child {
  border-left: 0;
}

.marketing-page .real-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.marketing-page .real-case-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 67, 0.16);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18, 42, 35, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.marketing-page .real-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(18, 42, 35, 0.13);
}

.marketing-page .real-case-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.marketing-page .real-case-card figcaption {
  display: grid;
  grid-template-columns: minmax(135px, auto) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 18px 20px 20px;
}

.marketing-page .real-case-card strong {
  color: var(--primary-strong);
  font-size: 15px;
}

.marketing-page .real-case-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.marketing-page .creation-flow-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(34px, 5vw, 62px) 0;
}

.marketing-page .creation-flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing-page .creation-flow-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  min-height: 176px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  padding: 22px;
}

.marketing-page .step-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.marketing-page .creation-flow-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-strong);
  font-size: 18px;
  line-height: 1.3;
}

.marketing-page .creation-flow-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (prefers-color-scheme: dark) {
  .marketing-page .hero-slide-frame,
  .marketing-page .real-case-card,
  .marketing-page .quality-signal-row,
  .marketing-page .creation-flow-list li {
    border-color: #34463e;
    background: #17231d;
  }

  .marketing-page .quality-signal-row span,
  .marketing-page .real-case-card strong,
  .marketing-page .creation-flow-list strong {
    color: #dce7e1;
  }
}

@media (max-width: 900px) {
  .marketing-page .hero-slide-stack {
    width: min(720px, 100%);
    min-height: 560px;
    margin: 0 auto;
  }

  .marketing-page .quality-signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-page .quality-signal-row span:nth-child(3) {
    border-left: 0;
  }

  .marketing-page .quality-signal-row span:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .marketing-page .creation-flow-list {
    grid-template-columns: 1fr;
  }

  .marketing-page .creation-flow-list li {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .marketing-page .hero-slide-stack {
    min-height: 330px;
  }

  .marketing-page .hero-slide-main {
    top: 19%;
    width: 84%;
  }

  .marketing-page .hero-slide-secondary {
    width: 54%;
  }

  .marketing-page .hero-slide-tertiary {
    bottom: 32px;
    width: 56%;
  }

  .marketing-page .hero-slide-stack figcaption {
    font-size: 10px;
    text-align: left;
  }

  .marketing-page .section-intro h2 {
    font-size: 38px;
  }

  .marketing-page .quality-signal-row,
  .marketing-page .real-output-grid {
    grid-template-columns: 1fr;
  }

  .marketing-page .quality-signal-row span,
  .marketing-page .quality-signal-row span:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .marketing-page .quality-signal-row span:first-child {
    border-top: 0;
  }

  .marketing-page .real-case-card figcaption {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .marketing-page .creation-flow-list li {
    padding: 18px;
  }
}

/* PPT Agent landing UX refinement: preserve the brand, reduce friction, foreground real output. */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #0d352d;
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.marketing-page {
  --page-bg: #f3f5f1;
  --page-panel: #ffffff;
  --page-ink: #19241f;
  --page-muted: #637069;
  --page-line: #d6ddd8;
  --page-forest: #0f4a3d;
  --page-forest-deep: #0a3028;
  --page-copper: #bc6929;
  background:
    radial-gradient(circle at 82% 3%, rgba(58, 116, 96, 0.1), transparent 30rem),
    var(--page-bg);
  color: var(--page-ink);
}

.marketing-page ::selection {
  background: rgba(188, 105, 41, 0.25);
  color: var(--page-forest-deep);
}

.marketing-page .site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  width: min(1184px, calc(100% - 32px));
  min-height: 72px;
  border-bottom: 1px solid rgba(15, 74, 61, 0.13);
  background: rgba(243, 245, 241, 0.86);
  backdrop-filter: blur(18px) saturate(130%);
}

.marketing-page .brand-mark {
  letter-spacing: -0.025em;
}

.marketing-page .site-nav a {
  text-underline-offset: 5px;
}

.marketing-page .site-nav .nav-cta {
  border: 1px solid var(--page-forest);
  border-radius: 9px;
  background: var(--page-forest);
  color: #fff;
  padding: 9px 13px;
  text-decoration: none;
}

.marketing-page .site-nav .nav-cta:hover {
  border-color: var(--page-forest-deep);
  background: var(--page-forest-deep);
  color: #fff;
}

.marketing-page .public-shell {
  width: min(1184px, 100%);
  gap: clamp(64px, 8vw, 112px);
}

.marketing-page .public-hero-split {
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
  gap: clamp(34px, 6vw, 78px);
  min-height: min(690px, calc(100dvh - 72px));
  padding: 34px 0 48px;
}

.marketing-page .hero-content {
  gap: 20px;
}

.marketing-page .public-hero-split h1 {
  max-width: 9.6em;
  color: var(--page-ink);
  font-size: clamp(46px, 4.3vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.marketing-page .public-hero-split .hero-copy {
  max-width: 31rem;
  color: #34423b;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.65;
  text-wrap: pretty;
}

.marketing-page .hero-start-form {
  display: grid;
  gap: 9px;
  max-width: 520px;
  margin-top: 6px;
  border: 1px solid rgba(15, 74, 61, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
  box-shadow: 0 18px 46px rgba(23, 52, 44, 0.1);
}

.marketing-page .hero-start-form label {
  display: grid;
  gap: 8px;
  color: var(--page-forest-deep);
  font-size: 13px;
  font-weight: 850;
}

.marketing-page .hero-email-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.marketing-page .hero-email-control.has-verification {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.72fr) auto;
}

.marketing-page .hero-email-control input,
.marketing-page .hero-email-control .verification-code input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--page-line);
  border-radius: 9px;
  background: #fff;
  color: var(--page-ink);
  padding: 12px 14px;
  font-size: 16px;
}

.marketing-page .hero-email-control button {
  min-height: 50px;
  border: 1px solid var(--page-forest);
  border-radius: 9px;
  background: var(--page-forest);
  color: #fff;
  padding: 11px 17px;
  font-weight: 900;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.marketing-page .hero-email-control button:hover {
  border-color: var(--page-forest-deep);
  background: var(--page-forest-deep);
}

.marketing-page .hero-email-control button:active,
.marketing-page .button-link:active,
.marketing-page .nav-cta:active {
  transform: translateY(1px);
}

.marketing-page .hero-form-note {
  color: var(--page-muted);
  font-size: 12px;
  line-height: 1.5;
}

.marketing-page .hero-start-form .message:empty {
  display: none;
}

.marketing-page .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: var(--page-forest);
  font-size: 14px;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.marketing-page a:focus-visible,
.marketing-page button:focus-visible,
.marketing-page input:focus-visible,
.marketing-page summary:focus-visible {
  outline: 3px solid rgba(188, 105, 41, 0.38);
  outline-offset: 3px;
}

.marketing-page #examples,
.marketing-page #account-heading,
.marketing-page #en-account-heading,
.marketing-page #creation-flow-heading,
.marketing-page #en-creation-flow-heading {
  scroll-margin-top: 96px;
}

.marketing-page .hero-product-visual {
  animation: none;
}

.marketing-page .hero-slide-stack {
  min-height: 520px;
}

.marketing-page .hero-slide-frame {
  border-color: rgba(15, 74, 61, 0.14);
  border-radius: 12px;
  box-shadow: 0 28px 64px rgba(20, 44, 36, 0.17);
}

.marketing-page .hero-slide-main {
  top: 16%;
  width: 80%;
}

.marketing-page .hero-slide-secondary {
  top: 2%;
  width: 57%;
}

.marketing-page .hero-slide-tertiary {
  bottom: 44px;
  width: 53%;
}

.marketing-page .hero-slide-stack figcaption {
  color: var(--page-muted);
  text-align: left;
}

.marketing-page .proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--page-line);
  border-bottom: 1px solid var(--page-line);
}

.marketing-page .proof-grid div {
  min-width: 0;
  border-left: 1px solid var(--page-line);
  padding: 20px 22px;
}

.marketing-page .proof-grid div:first-child {
  border-left: 0;
  padding-left: 0;
}

.marketing-page .proof-grid strong,
.marketing-page .proof-grid span {
  display: block;
}

.marketing-page .proof-grid strong {
  margin-bottom: 6px;
  color: var(--page-forest-deep);
  font-size: 15px;
}

.marketing-page .proof-grid span {
  color: var(--page-muted);
  font-size: 12px;
  line-height: 1.55;
}

.marketing-page .section-intro {
  max-width: 830px;
}

.marketing-page .section-intro h2,
.marketing-page .scenario-section h2,
.marketing-page .account-conversion h2 {
  color: var(--page-ink);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.marketing-page .section-intro > p:last-child,
.marketing-page .section-lead {
  max-width: 680px;
  margin-top: 16px;
  color: var(--page-muted);
  font-size: 16px;
  line-height: 1.7;
}

.marketing-page .real-output-section,
.marketing-page .creation-flow-section {
  gap: 32px;
}

.marketing-page .real-output-grid {
  gap: 20px;
}

.marketing-page .real-case-card {
  border: 1px solid rgba(15, 74, 61, 0.16);
  border-radius: 14px;
  box-shadow: none;
}

.marketing-page .real-case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(20, 44, 36, 0.11);
}

.marketing-page .case-preview-trigger {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.marketing-page .case-preview-trigger img {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.marketing-page .case-preview-trigger:hover img {
  transform: scale(1.012);
}

.marketing-page .real-case-card figcaption {
  grid-template-columns: minmax(142px, auto) minmax(0, 1fr);
  padding: 18px 20px 21px;
}

.marketing-page .real-case-card strong {
  color: var(--page-forest-deep);
}

.marketing-page .creation-flow-section {
  padding: clamp(42px, 6vw, 72px) 0;
}

.marketing-page .creation-flow-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.marketing-page .creation-flow-list li {
  min-height: 190px;
  border: 0;
  border-left: 1px solid var(--page-line);
  border-radius: 0;
  background: transparent;
  padding: 28px 24px;
}

.marketing-page .creation-flow-list li:first-child {
  border-left: 0;
}

.marketing-page .step-index {
  color: var(--page-copper);
  font-variant-numeric: tabular-nums;
}

.marketing-page .creation-flow-list strong {
  color: var(--page-forest-deep);
}

.marketing-page .scenario-section {
  display: grid;
}

.marketing-page .scenario-grid {
  margin-top: 8px;
}

.marketing-page .scenario-link {
  border-color: rgba(15, 74, 61, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.marketing-page .scenario-link:hover {
  border-color: rgba(15, 74, 61, 0.44);
  transform: translateY(-2px);
}

.marketing-page .scenario-featured {
  background: linear-gradient(150deg, #0c3a30, #155847);
}

.marketing-page .pricing-strip {
  border-radius: 14px;
  background: var(--page-forest-deep);
}

.marketing-page .price-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.marketing-page .price-assurances li {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(247, 250, 248, 0.82);
  padding: 0 14px;
  font-size: 13px;
}

.marketing-page .price-assurances li:first-child {
  border-left: 0;
  padding-left: 0;
}

.marketing-page .account-conversion {
  border-color: rgba(15, 74, 61, 0.18);
  border-radius: 14px;
  box-shadow: 0 22px 56px rgba(20, 44, 36, 0.09);
}

.marketing-page .slide-preview-dialog {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(15, 74, 61, 0.24);
  border-radius: 14px;
  background: var(--page-panel);
  color: var(--page-ink);
  padding: 0;
  box-shadow: 0 34px 90px rgba(5, 22, 18, 0.34);
}

.marketing-page .slide-preview-dialog::backdrop {
  background: rgba(6, 18, 15, 0.78);
  backdrop-filter: blur(5px);
}

.marketing-page .slide-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  border-bottom: 1px solid var(--page-line);
  padding: 10px 14px 10px 18px;
}

.marketing-page .slide-preview-toolbar strong {
  color: var(--page-forest-deep);
}

.marketing-page .slide-preview-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.marketing-page .slide-preview-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--page-forest);
  font-size: 14px;
  font-weight: 800;
}

.marketing-page .slide-preview-toolbar button {
  width: auto;
  min-width: 64px;
  min-height: 44px;
  border: 1px solid var(--page-line);
  border-radius: 8px;
  background: transparent;
  color: var(--page-forest-deep);
  font-weight: 800;
}

.marketing-page .slide-preview-dialog > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 98px);
  object-fit: contain;
  background: #fff;
}

.marketing-page .mobile-action-bar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .marketing-page .hero-slide-secondary {
    animation: ppt-slide-secondary-enter 560ms 90ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .marketing-page .hero-slide-tertiary {
    animation: ppt-slide-tertiary-enter 560ms 150ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes ppt-slide-secondary-enter {
    from { opacity: 0.82; transform: translateY(10px) rotate(1.7deg); }
    to { opacity: 1; transform: translateY(0) rotate(1.7deg); }
  }

  @keyframes ppt-slide-tertiary-enter {
    from { opacity: 0.82; transform: translateY(12px) rotate(-1deg); }
    to { opacity: 1; transform: translateY(0) rotate(-1deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-page *,
  .marketing-page *::before,
  .marketing-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  .marketing-page {
    --page-bg: #101713;
    --page-panel: #17231d;
    --page-ink: #eef3f0;
    --page-muted: #a9b6af;
    --page-line: #34463e;
    --page-forest: #9bd7c0;
    --page-forest-deep: #dcebe4;
    --page-copper: #efa25f;
    background:
      radial-gradient(circle at 82% 3%, rgba(85, 163, 136, 0.1), transparent 30rem),
      var(--page-bg);
  }

  .marketing-page .site-header {
    border-color: rgba(155, 215, 192, 0.14);
    background: rgba(16, 23, 19, 0.86);
  }

  .marketing-page .site-nav .nav-cta,
  .marketing-page .hero-email-control button {
    border-color: #b9dfd1;
    background: #b9dfd1;
    color: #102f27;
  }

  .marketing-page .public-hero-split .hero-copy {
    color: #c9d5cf;
  }

  .marketing-page .hero-start-form,
  .marketing-page .creation-flow-list,
  .marketing-page .scenario-link,
  .marketing-page .account-conversion {
    border-color: #34463e;
    background: rgba(23, 35, 29, 0.88);
  }

  .marketing-page .hero-email-control input {
    border-color: #52645c;
    background: #101813;
    color: #eef3f0;
  }

  .marketing-page .pricing-strip {
    background: #0b2d25;
  }

  .marketing-page .slide-preview-toolbar button {
    border-color: #52645c;
    color: #dcebe4;
  }
}

@media (max-width: 900px) {
  .marketing-page .public-hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .marketing-page .hero-content {
    max-width: 700px;
  }

  .marketing-page .hero-slide-stack {
    min-height: 570px;
  }

  .marketing-page .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-page .proof-grid div:nth-child(3) {
    border-left: 0;
  }

  .marketing-page .proof-grid div:nth-child(n + 3) {
    border-top: 1px solid var(--page-line);
  }

  .marketing-page .creation-flow-list {
    grid-template-columns: 1fr;
  }

  .marketing-page .creation-flow-list li {
    min-height: 0;
    border-top: 1px solid var(--page-line);
    border-left: 0;
  }

  .marketing-page .creation-flow-list li:first-child {
    border-top: 0;
  }
}

@media (max-width: 760px) {
  body.marketing-page {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .marketing-page .site-header {
    width: 100%;
    min-height: 64px;
    padding: 12px 16px;
  }

  .marketing-page .brand-mark {
    font-size: 16px;
    white-space: nowrap;
  }

  .marketing-page .brand-mark span {
    display: none;
  }

  .marketing-page .site-nav {
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .marketing-page .site-nav a:not(.language-switch):not(.nav-cta) {
    display: none;
  }

  .marketing-page .site-nav .language-switch {
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    border-left: 0;
    padding-left: 0;
  }

  .marketing-page .site-nav .nav-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 11px;
  }

  .marketing-page .public-shell {
    gap: 68px;
    padding: 8px 16px 54px;
  }

  .marketing-page .public-hero-split {
    gap: 30px;
    padding: 38px 0 0;
  }

  .marketing-page .public-hero-split h1 {
    max-width: 10em;
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1.04;
  }

  .marketing-page .public-hero-split .hero-copy {
    font-size: 17px;
    line-height: 1.62;
  }

  .marketing-page .hero-start-form {
    margin-top: 2px;
  }

  .marketing-page .hero-email-control {
    grid-template-columns: 1fr;
  }

  .marketing-page .hero-email-control.has-verification {
    grid-template-columns: 1fr;
  }

  .marketing-page .hero-email-control button {
    width: 100%;
  }

  .marketing-page .hero-slide-stack {
    min-height: 338px;
  }

  .marketing-page .hero-slide-main {
    top: 18%;
    width: 84%;
  }

  .marketing-page .hero-slide-secondary {
    width: 52%;
  }

  .marketing-page .hero-slide-tertiary {
    bottom: 32px;
    width: 55%;
  }

  .marketing-page .proof-grid {
    grid-template-columns: 1fr;
  }

  .marketing-page .proof-grid div,
  .marketing-page .proof-grid div:first-child {
    border-top: 1px solid var(--page-line);
    border-left: 0;
    padding: 15px 0;
  }

  .marketing-page .proof-grid div:first-child {
    border-top: 0;
  }

  .marketing-page .proof-grid strong {
    margin-bottom: 3px;
  }

  .marketing-page .section-intro h2,
  .marketing-page .scenario-section h2,
  .marketing-page .account-conversion h2 {
    font-size: 37px;
  }

  .marketing-page .real-output-grid {
    gap: 16px;
  }

  .marketing-page .real-case-card figcaption {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .marketing-page .creation-flow-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 22px 18px;
  }

  .marketing-page .price-assurances {
    display: grid;
  }

  .marketing-page .price-assurances li,
  .marketing-page .price-assurances li:first-child {
    border-left: 0;
    padding: 0;
  }

  .marketing-page .slide-preview-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .marketing-page .mobile-action-bar {
    position: fixed;
    z-index: 40;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transform: translateY(calc(100% + 28px));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(10, 48, 40, 0.95);
    color: #f7faf8;
    padding: 10px 10px 10px 15px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 18px 48px rgba(5, 22, 18, 0.3);
    backdrop-filter: blur(14px);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
  }

  .marketing-page .mobile-action-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .marketing-page .mobile-action-bar span,
  .marketing-page .mobile-action-bar strong,
  .marketing-page .mobile-action-bar small {
    display: block;
  }

  .marketing-page .mobile-action-bar small {
    margin-top: 2px;
    color: rgba(247, 250, 248, 0.72);
    font-size: 11px;
  }

  .marketing-page .mobile-action-bar .button-link {
    min-height: 46px;
    border-color: #f7faf8;
    background: #f7faf8;
    color: #0a3028;
    padding: 10px 15px;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .marketing-page .site-footer a,
  .marketing-page .site-footer span,
  .marketing-page .brand-mark {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .marketing-page .site-footer a {
    min-width: 44px;
  }

  .marketing-page details > summary {
    display: flex;
    min-height: 44px;
    align-items: center;
  }
}

/* Homepage v3 final cascade closure: keep both product links equal and readable. */
body.home-product-page.home-v3 .home-nav-search {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 13px;
}

@media (prefers-color-scheme: dark) {
  body.home-product-page.home-v3 .site-nav a,
  body.home-product-page.home-v3 .site-nav a:visited {
    color: #c5ded4;
  }

  body.home-product-page.home-v3 .site-nav a:hover,
  body.home-product-page.home-v3 .site-nav a:focus-visible {
    color: #ffffff;
  }
}

@media (max-width: 760px) {
  body.home-product-page.home-v3 .home-site-header .home-nav-product,
  body.home-product-page.home-v3 .home-site-header .language-switch {
    font-size: 12px;
  }
}

/* PPT SaaS UX refresh: one calm product language across creation and pricing. */
.product-page {
  color-scheme: light;
  --product-bg: #f3f5f1;
  --product-panel: #fffefa;
  --product-panel-soft: #eaf1ed;
  --product-ink: #17231e;
  --product-muted: #5f6d66;
  --product-line: #d3ddd7;
  --product-green: #0f4a3d;
  --product-green-deep: #092f27;
  --product-focus: rgba(15, 74, 61, 0.2);
  background:
    radial-gradient(circle at 86% 4%, rgba(50, 119, 96, 0.11), transparent 28rem),
    var(--product-bg);
  color: var(--product-ink);
}

.product-page .product-site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  width: min(1180px, 100%);
  min-height: 70px;
  border-bottom: 1px solid rgba(15, 74, 61, 0.13);
  background: rgba(243, 245, 241, 0.9);
  padding: 13px 24px;
  backdrop-filter: blur(16px) saturate(130%);
}

.product-page .brand-mark {
  color: var(--product-green-deep);
}

.product-page .brand-mark span {
  color: var(--product-muted);
  font-weight: 700;
}

.product-page .site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #405049;
  text-decoration: none;
}

.product-page .site-nav a:hover,
.product-page .site-nav a:focus-visible {
  color: var(--product-green-deep);
}

.product-page .site-nav .nav-cta {
  border-radius: 10px;
  background: var(--product-green);
  color: #f7fbf8;
  padding: 9px 14px;
}

.product-page .button-link,
.product-page button:not(.secondary) {
  border-color: var(--product-green);
  border-radius: 10px;
  background: var(--product-green);
  color: #f7fbf8;
  box-shadow: 0 9px 22px rgba(15, 74, 61, 0.15);
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.product-page .button-link:hover,
.product-page button:not(.secondary):hover {
  transform: translateY(-1px);
  background: var(--product-green-deep);
  box-shadow: 0 13px 28px rgba(15, 74, 61, 0.2);
}

.product-page .button-link:active,
.product-page button:active {
  transform: translateY(1px);
}

.product-page a:focus-visible,
.product-page button:focus-visible,
.product-page summary:focus-visible,
.product-page [role="button"]:focus-visible {
  outline: 3px solid var(--product-focus);
  outline-offset: 3px;
}

.product-page input,
.product-page select,
.product-page textarea {
  border-color: #b9c8c0;
  border-radius: 10px;
  color: var(--product-ink);
}

.product-page input::placeholder,
.product-page textarea::placeholder {
  color: #5d6b64;
  opacity: 1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.product-page input:focus,
.product-page select:focus,
.product-page textarea:focus {
  outline: 3px solid var(--product-focus);
  border-color: var(--product-green);
}

.journey-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--product-muted);
  font-size: 13px;
  font-weight: 750;
  list-style: none;
}

.journey-progress li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.journey-progress li + li::before {
  width: 28px;
  height: 1px;
  margin: 0 10px;
  background: #b7c6be;
  content: "";
}

.journey-progress .is-current {
  color: var(--product-green-deep);
}

.creator-shell,
.pricing-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 42px 24px 76px;
}

.creator-shell > *,
.pricing-shell > *,
.creator-layout > *,
.pricing-hero > * {
  min-width: 0;
}

.creator-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

.creator-kicker {
  margin: 0 0 10px;
  color: var(--product-green);
  font-size: 13px;
  font-weight: 850;
}

.creator-intro h1,
.pricing-hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.creator-intro h1 > span {
  display: block;
}

.creator-intro > div > p:last-child,
.pricing-hero-copy > p {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--product-muted);
  font-size: 17px;
  line-height: 1.68;
}

.account-status-card {
  display: grid;
  min-width: 230px;
  gap: 5px;
  border-left: 2px solid var(--product-green);
  padding: 6px 0 6px 16px;
}

.account-status-card span {
  color: var(--product-muted);
  font-size: 12px;
}

.account-status-card strong {
  font-size: 14px;
}

.privacy-inline {
  margin: 0 0 22px;
  color: var(--product-muted);
  font-size: 13px;
}

.creator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(290px, 0.58fr);
  gap: 22px;
  align-items: start;
}

.product-page .panel {
  border-color: var(--product-line);
  border-radius: 16px;
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 20px 56px rgba(23, 52, 44, 0.08);
}

.creator-workspace {
  padding: clamp(22px, 4vw, 38px);
}

.creator-section-heading h2,
.creator-sidebar h2 {
  margin-bottom: 7px;
  color: var(--product-ink);
}

.creator-section-heading p,
.creator-sidebar p {
  color: var(--product-muted);
}

.scenario-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 8px;
  scrollbar-width: none;
}

.scenario-chip-list::-webkit-scrollbar {
  display: none;
}

.product-page .scenario-chip-list button {
  width: auto;
  min-height: 42px;
  margin: 0;
  border-color: #bdcbc4;
  border-radius: 10px;
  background: #fff;
  color: #304139;
  padding: 9px 13px;
  box-shadow: none;
  font-size: 14px;
}

.product-page .scenario-chip-list button:hover,
.product-page .scenario-chip-list button.is-selected {
  transform: none;
  border-color: var(--product-green);
  background: var(--product-panel-soft);
  color: var(--product-green-deep);
  box-shadow: none;
}

.creator-form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.field-block {
  display: grid;
  gap: 7px;
}

.field-block input,
.field-block select,
.field-block textarea {
  margin-top: 0;
}

.field-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--product-ink);
  font-size: 15px;
  font-weight: 800;
}

.field-label small,
.material-heading-row h3 small {
  color: var(--product-muted);
  font-size: 12px;
  font-weight: 650;
}

.field-help {
  color: var(--product-muted);
  font-size: 12px;
  font-weight: 500;
}

.material-composer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--product-line);
  padding-top: 24px;
}

.material-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.material-heading-row h3 {
  margin-bottom: 4px;
  color: var(--product-ink);
  font-size: 16px;
}

.material-heading-row p {
  margin: 0;
  color: var(--product-muted);
  font-size: 13px;
}

.material-picker {
  flex: 0 0 auto;
  border: 1px solid var(--product-green);
  border-radius: 10px;
  color: var(--product-green);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 13px;
}

.material-dropzone {
  display: grid;
  min-height: 96px;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px dashed #98ada3;
  border-radius: 12px;
  background: #f8faf8;
  color: var(--product-green-deep);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.material-dropzone span {
  color: var(--product-muted);
  font-size: 12px;
}

.material-dropzone:hover,
.material-dropzone.is-dragging {
  border-color: var(--product-green);
  background: var(--product-panel-soft);
}

.material-dropzone.is-loading {
  cursor: progress;
  opacity: 0.68;
}

.material-status {
  min-height: 0;
  margin: -4px 0 0;
  font-size: 13px;
}

.material-status:empty {
  display: none;
}

.material-text-field textarea {
  min-height: 190px;
  line-height: 1.65;
}

.advanced-options {
  border: 1px solid var(--product-line);
  border-radius: 12px;
  background: #fbfcfa;
}

.advanced-options summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--product-ink);
  cursor: pointer;
  font-weight: 800;
}

.advanced-options summary span {
  color: var(--product-muted);
  font-size: 12px;
  font-weight: 600;
}

.advanced-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--product-line);
  padding: 16px;
}

.product-page .policy-consent {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.product-page .policy-consent label {
  align-items: flex-start;
  color: var(--product-muted);
  font-size: 13px;
  font-weight: 550;
}

.product-page .policy-consent a {
  color: var(--product-green);
}

.creator-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--product-line);
  padding-top: 22px;
}

.creator-submit-row button {
  width: auto;
  min-width: 170px;
  min-height: 48px;
  margin: 0;
}

.creator-submit-row p {
  margin: 0;
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-message {
  min-height: 0;
  margin: -12px 0 0;
  font-size: 13px;
}

.form-message:empty {
  display: none;
}

.creator-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.creator-sidebar .panel {
  margin: 0;
  padding: 22px;
  box-shadow: none;
}

.creator-login-gate {
  border-color: rgba(15, 74, 61, 0.42) !important;
  background: #edf4f0 !important;
}

.creator-login-gate .compact-form {
  margin-top: 16px;
}

.creator-login-gate .compact-form button {
  margin-top: 0;
}

.creator-guide ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.creator-guide li {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--product-line);
  padding: 14px 0;
}

.creator-guide li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.creator-guide li span {
  color: var(--product-muted);
  font-size: 13px;
  line-height: 1.5;
}

.delivery-summary {
  background: var(--product-green-deep) !important;
  color: #f4f8f5;
}

.delivery-summary h2,
.delivery-summary p,
.delivery-summary a {
  color: inherit;
}

.delivery-summary p {
  color: rgba(244, 248, 245, 0.76);
  font-size: 13px;
  line-height: 1.55;
}

.delivery-summary a {
  display: inline-flex;
  margin-top: 4px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.pricing-shell {
  display: grid;
  gap: clamp(54px, 7vw, 84px);
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
  min-height: min(650px, calc(100dvh - 110px));
}

.pricing-hero-copy > p {
  max-width: 590px;
}

.pricing-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.pricing-actions .button-link {
  min-height: 49px;
}

.product-page .text-link {
  color: var(--product-green);
  font-weight: 800;
  text-underline-offset: 5px;
}

.pricing-microcopy {
  margin-top: 14px !important;
  font-size: 12px !important;
}

.price-package {
  overflow: hidden;
  border: 1px solid rgba(15, 74, 61, 0.24);
  border-radius: 18px;
  background: var(--product-panel);
  box-shadow: 0 26px 70px rgba(23, 52, 44, 0.12);
}

.price-package-heading {
  display: grid;
  gap: 6px;
  background: var(--product-green-deep);
  color: #f7fbf8;
  padding: 26px;
}

.price-package-heading span {
  color: rgba(247, 251, 248, 0.7);
  font-size: 13px;
}

.price-package-heading strong {
  font-size: 16px;
}

.price-package-heading b {
  margin-right: 5px;
  font-size: 42px;
  letter-spacing: -0.04em;
}

.price-package ul {
  display: grid;
  margin: 0;
  padding: 8px 26px 20px;
  list-style: none;
}

.price-package-summary {
  margin: 0;
  border-bottom: 1px solid var(--product-line);
  color: var(--product-muted);
  padding: 18px 26px 10px;
  font-size: 13px;
  line-height: 1.55;
}

.price-package li {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--product-line);
  padding: 16px 0;
}

.price-package li:last-child {
  border-bottom: 0;
}

.price-package li span {
  color: var(--product-muted);
  font-size: 13px;
  line-height: 1.5;
}

.plan-comparison > header {
  max-width: 720px;
}

.plan-comparison h2,
.purchase-flow h2,
.pricing-faq h2,
.pricing-final-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.plan-comparison > header p,
.pricing-final-cta p {
  color: var(--product-muted);
}

.comparison-table {
  overflow: hidden;
  max-width: 100%;
  margin-top: 26px;
  border: 1px solid var(--product-line);
  border-radius: 16px;
  background: var(--product-panel);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) repeat(2, minmax(170px, 1fr));
  border-bottom: 1px solid var(--product-line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > * {
  padding: 15px 18px;
}

.comparison-row > * + * {
  border-left: 1px solid var(--product-line);
}

.comparison-head {
  background: var(--product-panel-soft);
  color: var(--product-green-deep);
}

.purchase-flow {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: start;
}

.purchase-flow ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.purchase-flow li {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--product-line);
  padding: 18px 0;
}

.purchase-flow li:first-child {
  padding-top: 0;
}

.purchase-flow li span {
  color: var(--product-muted);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  border: 1px solid var(--product-line);
  border-radius: 13px;
  background: var(--product-panel);
  padding: 0 18px;
}

.faq-list summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  color: var(--product-muted);
  font-size: 14px;
  line-height: 1.65;
}

.pricing-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border-radius: 18px;
  background: var(--product-green-deep);
  color: #f7fbf8;
  padding: clamp(28px, 5vw, 48px);
}

.pricing-final-cta h2 {
  max-width: 680px;
}

.pricing-final-cta p {
  margin: 0;
  color: rgba(247, 251, 248, 0.72);
}

.pricing-final-cta .button-link {
  flex: 0 0 auto;
  border-color: #f7fbf8;
  background: #f7fbf8;
  color: var(--product-green-deep);
  white-space: nowrap;
}

.product-footer {
  border-top-color: var(--product-line);
}

.marketing-page .hero-title-line {
  display: block;
}

.marketing-page .public-hero-split h1 {
  font-size: clamp(40px, 3.4vw, 48px);
}

.marketing-page .hero-primary-actions {
  align-items: center;
  gap: 18px;
}

.marketing-page .hero-primary-actions .button-link {
  min-height: 49px;
}

.marketing-page .creation-flow-list .step-index {
  color: var(--page-green);
  font-size: 12px;
}

.marketing-page .account-conversion > .button-link {
  justify-self: end;
  min-height: 49px;
}

@media (prefers-reduced-motion: reduce) {
  .product-page *,
  .product-page *::before,
  .product-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-color-scheme: dark) {
  .product-page {
    color-scheme: dark;
    --product-bg: #111914;
    --product-panel: #17231d;
    --product-panel-soft: #1d2d25;
    --product-ink: #eef3f0;
    --product-muted: #a8b2ac;
    --product-line: #34463e;
    --product-green: #9bd4bf;
    --product-green-deep: #d8eee6;
    --product-focus: rgba(155, 212, 191, 0.3);
    background: #111914;
  }

  .product-page .product-site-header {
    border-bottom-color: #30443a;
    background: rgba(17, 25, 20, 0.9);
  }

  .product-page .brand-mark,
  .product-page .site-nav a,
  .product-page .field-label,
  .product-page .creator-section-heading h2,
  .product-page .creator-sidebar h2,
  .product-page .material-heading-row h3,
  .product-page .advanced-options summary {
    color: var(--product-ink);
  }

  .product-page .panel,
  .product-page .price-package,
  .product-page .comparison-table,
  .product-page .faq-list details {
    background: var(--product-panel);
  }

  .product-page input,
  .product-page select,
  .product-page textarea,
  .product-page .material-dropzone,
  .product-page .advanced-options {
    border-color: #52645c;
    background: #101813;
    color: var(--product-ink);
  }

  .product-page input::placeholder,
  .product-page textarea::placeholder {
    color: #abb8b1;
  }

  .product-page .scenario-chip-list button {
    border-color: #52645c;
    background: #17231d;
    color: var(--product-ink);
  }

  .product-page .scenario-chip-list button.is-selected,
  .product-page .scenario-chip-list button:hover,
  .product-page .material-dropzone:hover,
  .product-page .material-dropzone.is-dragging {
    background: var(--product-panel-soft);
    color: var(--product-ink);
  }

  .product-page .button-link,
  .product-page button:not(.secondary),
  .product-page .site-nav .nav-cta {
    border-color: #b9dfd1;
    background: #b9dfd1;
    color: #102f27;
  }

  .product-page .scenario-chip-list button {
    border-color: #52645c;
    background: #17231d;
    color: var(--product-ink);
  }

  .product-page .scenario-chip-list button.is-selected,
  .product-page .scenario-chip-list button:hover {
    border-color: #9bd4bf;
    background: var(--product-panel-soft);
    color: var(--product-ink);
  }

  .product-page .creator-login-gate {
    background: var(--product-panel-soft) !important;
  }

  .product-page .delivery-summary,
  .product-page .price-package-heading,
  .product-page .pricing-final-cta {
    background: #0b2f27 !important;
  }
}

@media (max-width: 900px) {
  .creator-layout,
  .pricing-hero {
    grid-template-columns: 1fr;
  }

  .creator-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-login-gate,
  .delivery-summary {
    grid-column: 1 / -1;
  }

  .pricing-hero {
    min-height: auto;
    padding-top: 28px;
  }
}

@media (max-width: 760px) {
  .product-page .product-site-header {
    min-height: 62px;
    padding: 10px 16px;
  }

  .product-page .brand-mark span {
    display: none;
  }

  .product-page .site-nav a:not(.language-switch):not(.nav-cta) {
    display: none;
  }

  .product-page .site-nav {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .product-page .site-nav .language-switch {
    min-width: 44px;
    border-left: 0;
    padding-left: 0;
    font-size: 12px;
  }

  .journey-progress li {
    font-size: 11px;
  }

  .journey-progress li + li::before {
    width: 12px;
    margin: 0 5px;
  }

  .creator-shell,
  .pricing-shell {
    padding: 28px 16px 52px;
  }

  .creator-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .creator-intro h1,
  .pricing-hero h1 {
    font-size: 40px;
  }

  .account-status-card {
    min-width: 0;
  }

  .creator-workspace {
    padding: 22px 17px;
  }

  .scenario-chip-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
  }

  .scenario-chip-list button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .material-heading-row,
  .creator-submit-row,
  .pricing-actions,
  .pricing-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .material-picker {
    width: 100%;
    text-align: center;
  }

  .advanced-options-grid,
  .creator-sidebar,
  .faq-list,
  .purchase-flow {
    grid-template-columns: 1fr;
  }

  .creator-login-gate,
  .delivery-summary {
    grid-column: auto;
  }

  .creator-submit-row button,
  .pricing-actions .button-link,
  .pricing-final-cta .button-link {
    width: 100%;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 620px;
  }

  .purchase-flow {
    gap: 12px;
  }

  .pricing-final-cta {
    display: flex;
  }

  .product-footer {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px 16px;
  }

  .product-footer span {
    width: 100%;
  }

  .marketing-page .hero-title-line {
    display: block;
  }

  .marketing-page .hero-title-line + .hero-title-line::before {
    content: none;
  }

  .marketing-page .public-hero-split h1 {
    font-size: 36px;
    letter-spacing: -0.045em;
  }

  .marketing-page .account-conversion > .button-link {
    width: 100%;
    justify-self: stretch;
  }
}

/* Redeem page (Xianyu redemption-code entry) */
.redeem-page main {
  max-width: 640px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.redeem-panel {
  padding: 30px 26px 24px;
  margin-bottom: 20px;
}

.redeem-panel h1 {
  margin: 0 0 6px;
}

.redeem-lead {
  margin: 0 0 18px;
}

.redeem-panel input[name="code"] {
  font-size: 1.05rem;
  padding: 12px 14px;
  letter-spacing: 0.02em;
}

.redeem-panel button[type="submit"] {
  font-size: 1.05rem;
  padding: 12px 20px;
}

.redeem-help {
  margin: 18px 0 0;
  padding-left: 18px;
}

.redeem-help li {
  margin: 6px 0;
  line-height: 1.6;
}

.redeem-alt {
  margin: 16px 0 0;
}

@media (max-width: 640px) {
  .redeem-page main {
    padding-top: 20px;
  }

  .redeem-panel {
    padding: 22px 16px 18px;
  }
}
