:root {
  color-scheme: light dark;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f5faf9;
  --bg-soft: #edf7f5;
  --surface: #ffffff;
  --surface-2: #f7fbfb;
  --surface-3: #eef5f5;
  --ink: #10232b;
  --ink-2: #263d46;
  --muted: #607580;
  --muted-2: #82939b;
  --line: #d9e7e5;
  --line-strong: #bdd5d1;
  --teal-950: #05343c;
  --teal-900: #063f49;
  --teal-800: #075d60;
  --teal-700: #0a7d73;
  --teal-600: #10958a;
  --teal-400: #2dd4bf;
  --teal-200: #a7f3e7;
  --teal-100: #d9faf4;
  --teal-50: #effdfa;
  --agent-950: #171634;
  --agent-900: #211b58;
  --agent-800: #302b83;
  --agent-700: #4b45c4;
  --agent-600: #6257e8;
  --agent-500: #7c6df2;
  --agent-400: #a855f7;
  --agent-200: #d8d3ff;
  --agent-100: #eeebff;
  --agent-50: #f7f5ff;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --red-600: #dc2626;
  --green-700: #047857;
  --green-100: #d1fae5;
  --shadow-sm: 0 1px 2px rgba(16, 35, 43, .05), 0 5px 16px rgba(16, 35, 43, .05);
  --shadow-md: 0 12px 30px rgba(16, 35, 43, .10);
  --shadow-lg: 0 28px 80px rgba(16, 35, 43, .16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --container: 1180px;
  --header-height: 72px;
}

html[data-theme="dark"] {
  --bg: #091316;
  --bg-soft: #0c1a1e;
  --surface: #102126;
  --surface-2: #13282e;
  --surface-3: #183139;
  --ink: #edf9f7;
  --ink-2: #d0e4e1;
  --muted: #9fb7b4;
  --muted-2: #7d9694;
  --line: #284047;
  --line-strong: #36565d;
  --teal-50: #0d2929;
  --teal-100: #113a37;
  --agent-50: #1d1b38;
  --agent-100: #27234a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .18), 0 8px 20px rgba(0, 0, 0, .16);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, .28);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, .4);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg: #091316;
    --bg-soft: #0c1a1e;
    --surface: #102126;
    --surface-2: #13282e;
    --surface-3: #183139;
    --ink: #edf9f7;
    --ink-2: #d0e4e1;
    --muted: #9fb7b4;
    --muted-2: #7d9694;
    --line: #284047;
    --line-strong: #36565d;
    --teal-50: #0d2929;
    --teal-100: #113a37;
    --agent-50: #1d1b38;
    --agent-100: #27234a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .18), 0 8px 20px rgba(0, 0, 0, .16);
    --shadow-md: 0 16px 36px rgba(0, 0, 0, .28);
    --shadow-lg: 0 34px 90px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: normal;
}
html[lang^="zh"] h1 { word-break: keep-all; }
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] h4 {
  word-break: normal;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.9rem); font-weight: 780; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 720; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
::selection { background: var(--teal-200); color: var(--teal-950); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow-container { width: min(800px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section-heading { max-width: 660px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.narrow { max-width: 780px; }
.section-heading .kicker, .kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal-700);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.theme-agent .kicker, .agent-feature-grid .kicker, .agent-link, .accent-agent .kicker { color: var(--agent-600); }
.section-heading p { margin-top: 22px; font-size: clamp(1.03rem, 1.7vw, 1.2rem); }
.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.skip-link {
  position: fixed; left: 14px; top: 12px; z-index: 1000;
  padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--surface);
  transform: translateY(-160%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-link { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { border-radius: 12px; box-shadow: 0 5px 16px rgba(10, 125, 115, .16); }
.brand-word { font-size: 1.24rem; color: var(--ink); }
.desktop-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-link, .nav-products-button {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 13px;
  border: 0; border-radius: 11px; background: transparent; color: var(--muted);
  font-weight: 650; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.nav-link:hover, .nav-link:focus-visible, .nav-products-button:hover, .nav-products-button:focus-visible, .nav-link.is-active { background: var(--surface-3); color: var(--ink); }
.nav-products { position: relative; }
.nav-products-button .chevron { margin-left: 6px; transform: translateY(-1px); }
.product-menu {
  position: absolute; top: calc(100% + 10px); left: 0; width: 390px; padding: 10px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg);
}
.product-menu-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 13px; border-radius: 13px; }
.product-menu-item:hover, .product-menu-item:focus-visible { background: var(--surface-2); }
.product-menu-item strong { display: block; font-size: 1rem; }
.product-menu-item small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-link, .theme-toggle, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  width: 42px; flex: 0 0 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--muted); box-shadow: 0 1px 2px rgba(16, 35, 43, .035);
}
.language-link:hover, .language-link:focus-visible, .theme-toggle:hover, .theme-toggle:focus-visible, .menu-toggle:hover, .menu-toggle:focus-visible {
  border-color: var(--line-strong); background: var(--surface-3); color: var(--ink);
}
.theme-toggle, .menu-toggle { cursor: pointer; }
.language-picker { position: relative; display: inline-flex; }
.language-link { cursor: pointer; }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  display: grid;
  width: min(250px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 100px));
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.language-menu[hidden] { display: none; }
.language-menu-group {
  display: block;
  padding: 11px 12px 5px;
  color: var(--muted-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.language-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 680;
}
.language-menu-item:hover, .language-menu-item:focus-visible { background: var(--surface-3); color: var(--ink); }
.language-menu-item.is-current { color: var(--teal-800); background: var(--teal-50); }
.language-menu-item .icon { width: 17px; height: 17px; }
.theme-icon-dark { display: none; }
html[data-theme="dark"] .theme-icon-light { display: none; }
html[data-theme="dark"] .theme-icon-dark { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .theme-icon-light { display: none; }
  html[data-theme="system"] .theme-icon-dark { display: inline-flex; }
}
.menu-toggle { display: none; }
.menu-close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: inline-flex; }
.mobile-menu { position: absolute; left: 0; right: 0; top: var(--header-height); padding: 10px 0 20px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-md); }
.mobile-menu-inner { display: grid; gap: 8px; }
.mobile-menu-label { padding: 8px 6px 4px; color: var(--muted-2); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mobile-product-link { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 13px; background: var(--teal-50); }
.mobile-product-link.agent { background: var(--agent-50); }
.mobile-product-link strong, .mobile-product-link small { display: block; }
.mobile-product-link small { color: var(--muted); }
.mobile-menu-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 8px; }
.mobile-menu-links .nav-link { justify-content: center; background: var(--surface-2); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px;
  padding: 0 21px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; line-height: 1;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal-400) 65%, transparent); outline-offset: 3px; }
.button-primary { background: linear-gradient(135deg, var(--teal-800), var(--teal-600)); color: #fff; box-shadow: 0 12px 28px rgba(10, 125, 115, .22); }
.button-primary:hover { box-shadow: 0 16px 35px rgba(10, 125, 115, .3); }
.button-agent { background: linear-gradient(135deg, var(--agent-800), var(--agent-600) 60%, var(--agent-400)); color: #fff; box-shadow: 0 12px 28px rgba(98, 87, 232, .24); }
.button-agent:hover { box-shadow: 0 16px 35px rgba(98, 87, 232, .33); }
.button-secondary { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--teal-600); box-shadow: var(--shadow-sm); }
.button-small { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.button-icon { width: 1.05em; height: 1.05em; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-700); font-weight: 750; }
.text-link .icon { transition: transform .15s ease; }
.text-link:hover .icon { transform: translateX(4px); }
.agent-link { color: var(--agent-600); }

.badge {
  display: inline-flex; align-items: center; width: fit-content; min-height: 30px; padding: 0 11px;
  border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .04em;
  color: var(--muted); background: var(--surface-3); border: 1px solid var(--line);
}
.badge-site { color: var(--teal-800); background: var(--teal-50); border-color: color-mix(in srgb, var(--teal-400) 32%, var(--line)); }
.badge-agent { color: var(--agent-700); background: var(--agent-50); border-color: color-mix(in srgb, var(--agent-500) 25%, var(--line)); }
.badge-success { color: var(--green-700); background: var(--green-100); border-color: color-mix(in srgb, var(--green-700) 18%, transparent); }
.badge-warning { color: var(--amber-600); background: var(--amber-100); border-color: color-mix(in srgb, var(--amber-500) 25%, transparent); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

.hero { position: relative; overflow: hidden; padding: clamp(82px, 10vw, 150px) 0; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(.2px); }
.home-hero { min-height: min(820px, calc(100vh - var(--header-height))); display: flex; align-items: center; background:
  radial-gradient(circle at 84% 14%, rgba(168, 85, 247, .12), transparent 30%),
  radial-gradient(circle at 12% 85%, rgba(45, 212, 191, .15), transparent 34%),
  linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.home-hero::before { width: 430px; height: 430px; right: -180px; top: -180px; border: 1px solid color-mix(in srgb, var(--agent-500) 18%, transparent); }
.home-hero::after { width: 520px; height: 520px; left: -270px; bottom: -340px; background: rgba(45, 212, 191, .08); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.hero-copy { max-width: 690px; }
.hero-copy h1 { margin-top: 22px; max-width: 11ch; }
.home-siteegress-hero .hero-copy h1 {
  max-width: 620px;
  font-size: clamp(3.15rem, 5.6vw, 5.15rem);
}
.hero-lede { margin-top: 28px; max-width: 650px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-pills, .agent-trust-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.trust-pills span, .agent-trust-pills span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 68%, transparent); border: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 650; }

.hero-product-visual { position: relative; min-height: 510px; isolation: isolate; }
.visual-orbit { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--muted) 24%, transparent); }
.visual-orbit-one { inset: 34px 44px 40px 58px; animation: spin 44s linear infinite; }
.visual-orbit-two { inset: 96px 104px 104px 110px; animation: spin-reverse 34s linear infinite; }
.visual-product-card { position: absolute; width: min(330px, 70%); min-height: 215px; padding: 22px; border-radius: 25px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 91%, transparent); box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); transition: transform .2s ease, box-shadow .2s ease; }
.visual-product-card:hover { transform: translateY(-4px); box-shadow: 0 34px 90px rgba(16, 35, 43, .2); }
.visual-siteegress { left: 0; top: 58px; transform: rotate(-3deg); }
.visual-siteegress:hover { transform: rotate(-3deg) translateY(-4px); }
.visual-agent { right: 0; bottom: 45px; transform: rotate(3deg); }
.visual-agent:hover { transform: rotate(3deg) translateY(-4px); }
.visual-product-head { display: flex; align-items: center; justify-content: space-between; }
.visual-product-card strong { display: block; margin-top: 20px; font-size: 1.55rem; letter-spacing: -.03em; }
.visual-product-card small { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; }
.mini-flow { display: flex; align-items: center; gap: 11px; margin-top: 24px; }
.mini-flow span { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-800), var(--teal-400)); }
.mini-flow i { position: relative; width: 27px; height: 27px; border: 2px solid var(--teal-400); border-radius: 50%; }
.mini-flow i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; border-top: 2px solid color-mix(in srgb, var(--teal-400) 60%, transparent); }
.mini-policy { position: relative; height: 58px; margin-top: 23px; display: flex; justify-content: space-between; align-items: center; }
.mini-policy::before { content: ""; position: absolute; left: 17%; right: 17%; top: 50%; border-top: 2px solid color-mix(in srgb, var(--agent-500) 45%, transparent); }
.mini-policy span { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: var(--agent-100); border: 3px solid var(--agent-500); }
.mini-policy b { position: absolute; z-index: 2; left: 50%; top: 50%; width: 38px; height: 32px; transform: translate(-50%, -50%); border-radius: 10px; background: var(--agent-800); box-shadow: 0 5px 12px rgba(48, 43, 131, .24); }
.visual-principle { position: absolute; z-index: 3; left: 50%; top: 49%; width: 132px; padding: 12px; transform: translate(-50%, -50%); text-align: center; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.visual-principle > span { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 12px; background: linear-gradient(135deg, var(--teal-100), var(--agent-100)); color: var(--agent-700); }
.visual-principle strong, .visual-principle small { display: block; }
.visual-principle strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.visual-principle small { display: none; }

.product-intro-section { background: var(--surface); }
.product-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 54px; }
.product-card { position: relative; overflow: hidden; min-height: 520px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface-2); box-shadow: var(--shadow-sm); }
.product-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -130px; bottom: -120px; border-radius: 50%; opacity: .18; }
.product-card-siteegress::after { background: var(--teal-400); }
.product-card-agent::after { background: var(--agent-400); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-card-top > div { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.product-card h3 { margin-top: 30px; font-size: clamp(2rem, 4vw, 3.2rem); }
.product-subtitle { margin-top: 5px; color: var(--teal-700); font-weight: 750; }
.product-card-agent .product-subtitle { color: var(--agent-600); }
.product-card > p:not(.product-subtitle) { max-width: 580px; margin-top: 20px; font-size: 1.06rem; }
.compact-list { display: grid; gap: 10px; margin: 28px 0 30px; padding: 0; list-style: none; }
.compact-list li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 620; }
.compact-list .icon { color: var(--teal-700); }
.product-card-agent .compact-list .icon { color: var(--agent-600); }
.product-card .text-link { position: relative; z-index: 2; }

.distinction-section { background: var(--bg-soft); }
.distinction-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { background: var(--surface-2); color: var(--ink); font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }
.comparison-table thead th:nth-child(2) { color: var(--teal-700); }
.comparison-table thead th:nth-child(3) { color: var(--agent-600); }
.comparison-table tbody th { width: 26%; color: var(--muted); font-size: .9rem; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }
.principles-section { padding-top: 0; background: var(--bg-soft); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 255px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--teal-800); background: var(--teal-100); }
.accent-agent .feature-icon { color: var(--agent-700); background: var(--agent-100); }
.feature-card h3 { margin-top: 22px; }
.feature-card p { margin-top: 12px; margin-bottom: 0; }

.cta-section { padding-top: 0; }
.dual-cta-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(34px, 5vw, 58px); border-radius: var(--radius-xl); color: #fff; background: linear-gradient(120deg, var(--teal-950), var(--teal-800) 47%, var(--agent-800)); box-shadow: var(--shadow-lg); }
.dual-cta-card .kicker { color: var(--teal-200); }
.dual-cta-card p { max-width: 700px; margin-top: 16px; color: rgba(255,255,255,.78); }
.dual-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dual-cta-card .button-primary { background: #fff; color: var(--teal-900); }
.dual-cta-card .button-agent { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.24); }

.product-hero { padding-top: clamp(84px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 126px); }
.siteegress-hero { background:
  radial-gradient(circle at 85% 20%, rgba(45, 212, 191, .22), transparent 34%),
  linear-gradient(180deg, var(--bg), var(--teal-50)); }
.agent-hero { background:
  radial-gradient(circle at 84% 20%, rgba(168, 85, 247, .2), transparent 34%),
  radial-gradient(circle at 15% 90%, rgba(98, 87, 232, .13), transparent 30%),
  linear-gradient(180deg, var(--bg), var(--agent-50)); }
.product-hero-grid { grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr); }
.product-screenshot-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.window-bar span:nth-child(2) { background: #fbbf24; }
.window-bar span:nth-child(3) { background: #34d399; }
.window-bar em { margin-left: 8px; color: var(--muted); font-size: .78rem; font-style: normal; }
.product-screenshot-frame img { display: block; width: 100%; }
.stats-strip { padding: 24px 0; border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 12px 22px; text-align: center; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong, .stats-grid span { display: block; }
.stats-grid strong { color: var(--teal-700); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.stats-grid span { margin-top: 7px; color: var(--muted); font-size: .86rem; font-weight: 650; }
.feature-grid { display: grid; gap: 18px; margin-top: 48px; }
.six-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alternating-section { background: var(--surface); }
.split-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.split-media { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media img { display: block; }
.numbered-steps { display: grid; gap: 22px; margin-top: 34px; }
.numbered-steps article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.numbered-steps article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--teal-800); background: var(--teal-100); font-weight: 800; }
.numbered-steps h3 { font-size: 1.12rem; }
.numbered-steps p { margin-top: 7px; margin-bottom: 0; }
.privacy-architecture-section { background: var(--bg-soft); }
.privacy-architecture-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.privacy-architecture-grid h2 { margin-top: 3px; }
.privacy-architecture-grid > div:first-child > p { margin-top: 20px; font-size: 1.08rem; }
.privacy-boundary-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.privacy-boundary-list span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .86rem; font-weight: 650; }
.privacy-boundary-list .icon { color: var(--teal-700); }
.permissions-card { padding: 28px; border-radius: var(--radius-lg); color: #e8fffb; background: linear-gradient(145deg, #062f36, #0a5d5b); box-shadow: var(--shadow-lg); }
.permissions-card-header { display: flex; align-items: center; gap: 15px; }
.permissions-card-header > .icon { width: 36px; height: 36px; color: var(--teal-200); }
.permissions-card .kicker { margin-bottom: 2px; color: var(--teal-200); }
.permissions-card h3 { color: #fff; font-size: 1.45rem; }
.permission-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.permission-row code { align-self: start; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; }
.permission-row p, .permission-note { margin: 0; color: rgba(232,255,251,.74); }
.permission-note { margin-top: 18px; font-size: .82rem; }
.limitations-section { padding-top: 0; background: var(--bg-soft); }
.limitations-card { display: grid; grid-template-columns: .65fr 1.35fr; gap: 40px; padding: 34px; border: 1px solid color-mix(in srgb, var(--amber-500) 30%, var(--line)); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--amber-100) 55%, var(--surface)); }
.limitations-card > div { display: flex; align-items: flex-start; gap: 14px; }
.limitations-card > div > .icon { width: 30px; height: 30px; color: var(--amber-600); }
.limitations-card h2 { font-size: 1.55rem; }
.limitations-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.limitations-card li { display: flex; gap: 8px; color: var(--ink-2); }
.limitations-card li .icon { color: var(--amber-600); }
.product-final-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.product-final-cta h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.product-final-cta p { margin: 8px 0 0; }

.agent-hero .hero-copy h1 { max-width: 12ch; }
.agent-hero-visual { min-width: 0; }
.agent-architecture { position: relative; display: grid; grid-template-columns: minmax(100px, .8fr) 30px minmax(170px, 1.15fr) 30px minmax(145px, 1fr); gap: 7px; align-items: center; min-height: 310px; padding: 28px; border: 1px solid color-mix(in srgb, var(--agent-500) 26%, var(--line)); border-radius: 30px; background:
  linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--agent-50) 78%, transparent)); box-shadow: var(--shadow-lg); overflow: hidden; }
.agent-architecture::before { content: ""; position: absolute; width: 280px; height: 280px; right: -130px; top: -140px; border-radius: 50%; background: rgba(168, 85, 247, .12); }
.arch-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 105px; padding: 15px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.arch-node .icon { width: 30px; height: 30px; color: var(--agent-600); }
.arch-node strong { font-size: .84rem; }
.arch-arrow { color: var(--agent-500); }
.arch-arrow .icon { width: 34px; height: 34px; }
.arch-gateway { position: relative; z-index: 2; display: flex; min-height: 190px; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; border: 1px solid color-mix(in srgb, var(--agent-500) 40%, var(--line)); border-radius: 24px; color: #fff; background: linear-gradient(145deg, var(--agent-900), var(--agent-600)); box-shadow: 0 20px 42px rgba(48, 43, 131, .28); }
.arch-gateway strong { margin-top: 12px; font-size: .93rem; }
.arch-decisions { display: grid; gap: 6px; margin-top: 14px; width: 100%; }
.arch-decisions span { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: .7rem; text-align: left; }
.arch-runtime { position: relative; z-index: 1; display: grid; gap: 9px; }
.arch-runtime .arch-node { min-height: 72px; flex-direction: row; justify-content: flex-start; text-align: left; }
.arch-runtime .arch-node .icon { width: 24px; height: 24px; }
.arch-approval { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; color: var(--agent-700); background: #fff; box-shadow: var(--shadow-sm); font-size: .72rem; font-weight: 750; }
.agent-trust-pills span { background: color-mix(in srgb, var(--agent-50) 76%, transparent); }
.boundary-section { padding-top: 34px; background: var(--surface); }
.boundary-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px; border: 1px solid color-mix(in srgb, var(--agent-500) 25%, var(--line)); border-radius: var(--radius-lg); background: var(--agent-50); }
.boundary-icon { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.boundary-card h2 { font-size: clamp(1.45rem, 3vw, 2.3rem); }
.boundary-card p { margin: 10px 0 0; }
.agent-pillars-section { background: var(--surface); }
.agent-feature-grid .feature-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.architecture-section { background: linear-gradient(180deg, var(--agent-50), var(--bg)); }
.architecture-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; }
.architecture-notes { display: grid; gap: 10px; margin-top: 24px; }
.architecture-notes span { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-weight: 650; }
.architecture-notes .icon { color: var(--agent-600); }
.use-cases-section { background: var(--surface); }
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.use-case-grid article { min-height: 250px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-2); }
.use-case-grid article > span { color: var(--agent-600); font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 800; }
.use-case-grid h3 { margin-top: 30px; }
.use-case-grid p { margin-top: 12px; }
.early-access-section { background: var(--surface); padding-top: 0; }
.early-access-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 34px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, var(--agent-950), var(--agent-800), var(--agent-600)); box-shadow: var(--shadow-lg); }
.early-access-card .kicker { color: var(--agent-200); }
.early-access-card p { margin-top: 12px; color: rgba(255,255,255,.76); }
.agent-final-cta { border-color: color-mix(in srgb, var(--agent-500) 28%, var(--line)); }

.simple-hero { padding: clamp(78px, 9vw, 125px) 0 clamp(60px, 7vw, 96px); background: linear-gradient(180deg, var(--bg), var(--bg-soft)); border-bottom: 1px solid var(--line); }
.simple-hero h1 { margin-top: 20px; max-width: 900px; font-size: clamp(2.7rem, 6vw, 5.3rem); }
.simple-hero p { margin-top: 24px; max-width: 760px; font-size: 1.16rem; }
.simple-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.download-hero h1 {
  max-width: none;
  font-size: clamp(2.6rem, 4.7vw, 4.9rem);
  white-space: nowrap;
  text-wrap: nowrap;
}
.updated { display: block; margin-top: 22px; color: var(--muted-2); font-size: .86rem; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.download-card, .checklist-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.download-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: var(--teal-800); background: var(--teal-100); }
.download-card h2, .checklist-card h2 {
  margin-top: 24px;
  font-size: clamp(1.42rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  white-space: nowrap;
  text-wrap: nowrap;
  letter-spacing: -.025em;
}
.download-card p { margin-top: 14px; }
.download-card .button { margin-top: 8px; }
.small-note { font-size: .82rem; }
.checklist-card ol {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: checks;
}
.checklist-card li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: start;
  min-width: 0;
  counter-increment: checks;
}
.checklist-card li::before {
  content: counter(checks);
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--teal-800);
  background: var(--teal-100);
  font-weight: 800;
}
.checklist-card li p {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.55;
  word-break: normal;
  overflow-wrap: break-word;
}
.checklist-card .checklist-status {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  margin-top: 5px;
  color: var(--teal-800);
}
.checklist-card .checklist-status .icon { width: 18px; height: 18px; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; justify-content: center; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-height) + 28px); display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.legal-toc strong { margin-bottom: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-toc a { padding: 7px 8px; border-radius: 8px; color: var(--muted); font-size: .9rem; }
.legal-toc a:hover { background: var(--surface-3); color: var(--ink); }
.legal-content section { scroll-margin-top: 110px; padding-bottom: 42px; }
.legal-content h2 { font-size: 1.9rem; }
.legal-content p { margin-top: 14px; font-size: 1.03rem; }
.legal-callout { display: flex; gap: 12px; margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--teal-50); border: 1px solid color-mix(in srgb, var(--teal-400) 25%, var(--line)); }
.legal-callout .icon { margin-top: 3px; color: var(--teal-700); }
.legal-callout p { margin: 0; }
.legal-document { max-width: 830px; }
.legal-document > section { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.legal-section-number { color: var(--teal-700); font-family: ui-monospace, monospace; font-weight: 800; }
.legal-document h2 { font-size: 1.65rem; }
.legal-document p { margin-top: 12px; }

.support-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.support-product-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.support-agent { border-color: color-mix(in srgb, var(--agent-500) 25%, var(--line)); background: linear-gradient(180deg, var(--agent-50), var(--surface)); }
.support-product-head { display: flex; align-items: center; gap: 15px; }
.support-product-head .kicker { margin-bottom: 2px; }
.support-product-head h2 { font-size: 1.55rem; }
.support-accordion { display: grid; gap: 8px; margin: 28px 0; }
.support-accordion details { border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); }
.support-accordion summary { padding: 15px 17px; cursor: pointer; font-weight: 720; }
.support-accordion details p { padding: 0 17px 16px; margin: 0; }
.support-agent > p { margin: 24px 0; }
.support-response-section { background: var(--bg-soft); }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { margin-top: 3px; color: var(--teal-700); }
.muted-list .icon { color: var(--red-600); }

.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.security-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.security-card h2 { font-size: 1.65rem; }
.security-card p { margin-top: 14px; }
.primary-security-card { color: #fff; background: linear-gradient(145deg, var(--teal-950), var(--teal-700)); }
.primary-security-card .feature-icon { background: rgba(255,255,255,.12); color: #fff; }
.primary-security-card p { color: rgba(255,255,255,.75); }
.primary-security-card a { font-weight: 750; text-decoration: underline; }
.architecture-security-card { grid-column: 1 / -1; }

.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.docs-grid article { min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.docs-number { color: var(--teal-700); font-family: ui-monospace, monospace; font-size: .82rem; font-weight: 800; }
.docs-grid h2 { margin-top: 28px; font-size: 1.55rem; }
.docs-grid p { margin-top: 14px; }

.site-footer { padding: 70px 0 22px; color: #dcefed; background: #071a1f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .75fr); gap: 42px; }
.footer-brand-link .brand-word { color: #fff; }
.footer-brand p { max-width: 330px; margin-top: 18px; color: #9bb7b4; }
.footer-trust { display: flex; gap: 8px; align-items: center; margin-top: 22px; color: #7ea29e; font-size: .82rem; }
.footer-column h2 { margin-bottom: 17px; color: #7fa5a0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-column { display: flex; flex-direction: column; gap: 10px; }
.footer-column a { color: #c9dedb; }
.footer-column a:hover { color: #fff; }
.footer-column strong, .footer-column small { display: block; }
.footer-column small { margin-top: 2px; color: #789996; font-size: .75rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #789996; font-size: .78rem; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

@media (max-width: 1180px) {
  .download-hero h1 {
    font-size: clamp(2.35rem, 5.2vw, 4rem);
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .hero-grid, .product-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-product-visual { max-width: 680px; width: 100%; margin-inline: auto; }
  .product-screenshot-frame { max-width: 850px; margin-inline: auto; transform: none; }
  .distinction-grid, .architecture-layout, .privacy-architecture-grid { grid-template-columns: 1fr; }
  .six-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-section { grid-template-columns: 1fr; }
  .split-media { order: 2; }
  .use-case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2; }
}

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

@media (max-width: 780px) {
  :root { --header-height: 64px; }
  .language-menu { position: fixed; top: calc(var(--header-height) + 8px); right: 14px; }
  .container, .narrow-container { width: min(100% - 28px, var(--container)); }
  .brand-word { font-size: 1.08rem; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 3px; }
  .home-hero { min-height: auto; }
  .hero { padding-top: 74px; padding-bottom: 80px; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-product-visual { min-height: 440px; }
  .visual-product-card { width: 72%; min-height: 190px; padding: 18px; }
  .visual-siteegress { top: 25px; }
  .visual-agent { bottom: 20px; }
  .visual-principle { width: 145px; }
  .product-cards-grid, .principles-grid, .download-grid, .support-grid, .security-grid, .docs-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .distinction-grid { gap: 32px; }
  .six-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .limitations-card, .product-final-cta, .boundary-card, .early-access-card, .dual-cta-card { grid-template-columns: 1fr; }
  .product-final-cta, .boundary-card { text-align: left; }
  .boundary-card .text-link { justify-self: start; }
  .agent-architecture { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .arch-arrow { transform: rotate(90deg); justify-self: center; }
  .arch-runtime { grid-template-columns: repeat(3, 1fr); }
  .arch-runtime .arch-node { flex-direction: column; justify-content: center; min-height: 100px; text-align: center; }
  .arch-approval { position: static; transform: none; justify-self: center; margin-top: 4px; }
  .use-case-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; display: flex; overflow-x: auto; white-space: nowrap; }
  .legal-toc strong { display: none; }
  .architecture-security-card { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .download-card h2, .checklist-card h2 { font-size: clamp(1.18rem, 6vw, 1.5rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.7rem); }
  .section { padding: 72px 0; }
  .hero-actions, .dual-cta-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-product-visual { min-height: 520px; }
  .visual-product-card { width: 88%; }
  .visual-siteegress { left: 0; top: 20px; }
  .visual-agent { right: 0; bottom: 20px; }
  .visual-principle { top: 51%; }
  .visual-orbit-one { inset: 20px; }
  .visual-orbit-two { inset: 80px 55px; }
  .product-card-top { align-items: flex-start; }
  .product-card-top > div { justify-content: flex-start; }
  .permission-row { grid-template-columns: 1fr; gap: 10px; }
  .arch-runtime { grid-template-columns: 1fr; }
  .simple-hero-grid { grid-template-columns: 1fr; }
  .simple-hero-grid img { width: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-column:last-child { grid-column: auto; }
}

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

@media (forced-colors: active) {
  .button, .badge, .feature-card, .product-card, .agent-architecture, .product-screenshot-frame, .permissions-card { border: 1px solid CanvasText; }
}

/* Product trust architecture — SiteEgress.com 2.0 */
.product-subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.product-subnav-site { box-shadow: inset 0 2px 0 var(--teal-600); }
.product-subnav-agent { box-shadow: inset 0 2px 0 var(--agent-600); }
.product-subnav-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.product-subnav-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.product-subnav-brand span { display: grid; line-height: 1.15; }
.product-subnav-brand strong { font-size: .92rem; }
.product-subnav-brand small { margin-top: 3px; color: var(--muted-2); font-size: .68rem; }
.product-subnav-links { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.product-subnav-links a { position: relative; display: inline-flex; align-items: center; min-height: 54px; padding: 0 11px; color: var(--muted); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.product-subnav-links a::after { content: ""; position: absolute; right: 10px; bottom: 0; left: 10px; height: 2px; border-radius: 2px 2px 0 0; background: transparent; }
.product-subnav-links a:hover, .product-subnav-links a:focus-visible, .product-subnav-links a.is-active { color: var(--ink); }
.product-subnav-site .product-subnav-links a.is-active::after { background: var(--teal-600); }
.product-subnav-agent .product-subnav-links a.is-active::after { background: var(--agent-600); }

.trust-center-hero { position: relative; overflow: hidden; }
.trust-center-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--teal-400) 18%, transparent), transparent 68%); pointer-events: none; }
.center-notice { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.center-notice .icon { margin-top: 3px; color: var(--teal-700); }
.center-notice p { margin: 0; font-size: .92rem; }
.trust-product-grid, .trust-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trust-product-card, .trust-hub-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.trust-product-card::before, .trust-hub-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; }
.trust-product-site::before, .trust-hub-site::before { background: linear-gradient(90deg, var(--teal-700), var(--teal-400)); }
.trust-product-agent::before, .trust-hub-agent::before { background: linear-gradient(90deg, var(--agent-800), var(--agent-400)); }
.trust-product-agent, .trust-hub-agent { background: linear-gradient(180deg, var(--agent-50), var(--surface) 42%); }
.trust-product-header { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.trust-product-header h2 { font-size: 1.7rem; }
.trust-product-card h3 { font-size: 1.35rem; }
.trust-product-card > p, .trust-hub-card > p { margin-top: 14px; }
.trust-product-card .check-list { margin-bottom: 28px; }
.trust-hub-card .feature-icon { margin-bottom: 22px; }
.trust-hub-card h2 { font-size: 1.8rem; }
.trust-hub-card .button { margin-top: 12px; }
.center-support-section { padding-top: 0; }
.center-support-section .narrow-container { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.disclosure-banner-section { padding-top: 0; }
.disclosure-banner { padding: clamp(28px, 5vw, 52px); border: 1px solid color-mix(in srgb, var(--amber-500) 30%, var(--line)); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--amber-100) 42%, var(--surface)), var(--surface)); }
.disclosure-banner > div:first-child { display: flex; align-items: center; gap: 9px; }
.disclosure-banner > div:first-child .icon { color: var(--amber-600); }
.disclosure-banner h2 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3rem); }
.disclosure-banner p { margin-top: 16px; max-width: 820px; }

.product-policy-hero { padding-top: clamp(64px, 8vw, 108px); }
.product-policy-hero-site { background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--teal-400) 18%, transparent), transparent 30%), linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.product-policy-hero-agent { background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--agent-500) 18%, transparent), transparent 30%), linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--agent-50) 70%, var(--bg))); }
.policy-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; }
.policy-hero-grid h1 { max-width: 930px; }
.policy-hero-grid > img { filter: drop-shadow(0 24px 38px rgba(16,35,43,.18)); }
.policy-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: var(--muted-2); font-size: .85rem; }
.policy-meta span { display: inline-flex; align-items: center; gap: 7px; }
.product-policy-content .policy-section { border-bottom: 1px solid var(--line); }
.product-policy-content .policy-section:last-of-type { border-bottom: 0; }
.product-policy-toc { max-height: calc(100vh - var(--header-height) - 100px); overflow-y: auto; }
.legal-callout-agent { border-color: color-mix(in srgb, var(--agent-500) 24%, var(--line)); background: var(--agent-50); }
.legal-callout-agent .icon { color: var(--agent-600); }
.policy-contact-card { margin-top: 34px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.policy-contact-card h2 { font-size: 1.5rem; }
.policy-contact-card p { margin-top: 10px; }

.security-controls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.security-control-card { min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.security-control-site:hover { border-color: color-mix(in srgb, var(--teal-500, var(--teal-600)) 35%, var(--line)); }
.security-control-agent:hover { border-color: color-mix(in srgb, var(--agent-500) 35%, var(--line)); }
.security-control-card h2 { margin-top: 22px; font-size: 1.45rem; }
.security-control-card p { margin-top: 14px; }
.threat-model-section { background: var(--bg-soft); }
.threat-grid, .framework-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 42px; }
.threat-grid article, .framework-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.threat-grid p, .framework-grid p { margin-top: 10px; }
.responsible-disclosure-section { background: var(--surface); }
.disclosure-layout { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 20px; align-items: start; }
.disclosure-layout > article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.disclosure-main { color: #fff; background: linear-gradient(145deg, var(--teal-950), var(--teal-700)) !important; }
.theme-agent .disclosure-main { background: linear-gradient(145deg, var(--agent-950), var(--agent-700)) !important; }
.disclosure-main .kicker, .disclosure-main p { color: rgba(255,255,255,.78); }
.disclosure-main h2 { margin-top: 10px; font-size: 2rem; }
.disclosure-main .button { margin-top: 10px; }
.disclosure-layout h3 { font-size: 1.2rem; }

.compliance-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.compliance-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compliance-table th, .compliance-table td { padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.compliance-table thead th { color: var(--muted); background: var(--surface-2); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.compliance-table tbody th { width: 20%; color: var(--ink); font-size: 1rem; }
.compliance-table tbody td { color: var(--muted); }
.compliance-table tr:last-child th, .compliance-table tr:last-child td { border-bottom: 0; }
.framework-section { background: var(--bg-soft); }

.quick-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.quick-start-grid article { min-height: 245px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.quick-start-grid article > span { color: var(--teal-700); font-family: ui-monospace, monospace; font-size: .8rem; font-weight: 800; }
.theme-agent .quick-start-grid article > span { color: var(--agent-600); }
.quick-start-grid h3 { margin-top: 34px; }
.quick-start-grid p { margin-top: 12px; }
.concept-section { background: var(--bg-soft); }
.concept-list { display: grid; gap: 10px; margin-top: 38px; }
.concept-list article { display: grid; grid-template-columns: minmax(150px, .32fr) 1fr; gap: 24px; align-items: start; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.concept-list code { color: var(--teal-700); font-weight: 800; }
.theme-agent .concept-list code { color: var(--agent-600); }
.concept-list p { margin: 0; }

.release-timeline { position: relative; max-width: 900px; }
.release-timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; width: 2px; background: var(--line); }
.release-entry { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 22px; padding-bottom: 30px; }
.release-marker { position: relative; z-index: 1; width: 22px; height: 22px; margin-top: 27px; border: 5px solid var(--bg); border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 1px var(--line); }
.release-entry.is-current .release-marker { background: var(--teal-600); }
.theme-agent .release-entry.is-current .release-marker { background: var(--agent-600); }
.release-card { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.release-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.release-head h2 { font-size: 2rem; }
.release-head time { color: var(--muted-2); font-size: .85rem; }

.footer-grid-products { grid-template-columns: 1.35fr .85fr .85fr .75fr .95fr; }
.footer-grid-site-only { grid-template-columns: 1.45fr .9fr .8fr 1fr; }
.footer-product-column h2 { color: var(--teal-200); }
.footer-agent-column h2 { color: var(--agent-200); }
.footer-contact-column a { overflow-wrap: anywhere; font-size: .86rem; }

@media (max-width: 1120px) {
  .footer-grid-products { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-grid-site-only { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-grid-products .footer-column:nth-of-type(4), .footer-grid-products .footer-column:nth-of-type(5) { grid-column: auto; }
  .security-controls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disclosure-layout { grid-template-columns: 1fr 1fr; }
  .disclosure-main { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .product-subnav-inner { align-items: stretch; flex-direction: column; gap: 0; padding-top: 10px; }
  .product-subnav-brand { min-height: 38px; }
  .product-subnav-links { width: 100%; }
  .product-subnav-links a { min-height: 46px; }
  .trust-product-grid, .trust-hub-grid, .security-controls-grid, .threat-grid, .framework-grid, .quick-start-grid { grid-template-columns: 1fr; }
  .policy-hero-grid { grid-template-columns: 1fr; }
  .policy-hero-grid > img { display: none; }
  .disclosure-layout { grid-template-columns: 1fr; }
  .disclosure-main { grid-column: auto; }
  .concept-list article { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 780px) {
  .footer-grid-products, .footer-grid-site-only { grid-template-columns: 1fr 1fr; }
  .footer-grid-products .footer-brand { grid-column: 1 / -1; }
  .product-subnav { top: var(--header-height); }
  .product-subnav-brand small { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 26px; }
  .product-policy-toc { position: static; max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-policy-toc strong { grid-column: 1 / -1; }
  .release-head { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  .footer-grid-products, .footer-grid-site-only { grid-template-columns: 1fr; }
  .footer-grid-products .footer-brand { grid-column: auto; }
  .product-subnav-brand { display: none; }
  .product-subnav-inner { padding-top: 0; }
  .product-subnav-links { margin-inline: -4px; }
  .product-subnav-links a { padding-inline: 9px; font-size: .75rem; }
  .product-policy-toc { grid-template-columns: 1fr; }
  .center-notice { padding: 14px; }
  .trust-product-card, .trust-hub-card, .security-control-card, .release-card { padding: 22px; }
}
