:root {
  --bg: #06140f;
  --bg-2: #081b14;
  --bg-3: #0c241a;
  --surface: rgba(12, 36, 26, 0.72);
  --surface-solid: #0b2118;
  --surface-elevated: #102d21;
  --text: #f4f7f2;
  --text-soft: #d7e0da;
  --muted: #9dafA4;
  --line: rgba(231, 193, 104, 0.18);
  --line-strong: rgba(231, 193, 104, 0.34);
  --emerald: #116b4a;
  --emerald-2: #159766;
  --emerald-3: #32c489;
  --gold: #cda64c;
  --gold-2: #ebcf86;
  --gold-3: #f5e2ac;
  --danger: #e77777;
  --success: #54d79b;
  --shadow-sm: 0 16px 40px rgba(0, 0, 0, 0.18);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --max: 1240px;
  --header-height: 82px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="light"] {
  --bg: #f6f5ef;
  --bg-2: #eef2ec;
  --bg-3: #e6eee8;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #fffef9;
  --surface-elevated: #ffffff;
  --text: #0c2118;
  --text-soft: #243d32;
  --muted: #65766d;
  --line: rgba(15, 105, 72, 0.14);
  --line-strong: rgba(15, 105, 72, 0.26);
  --shadow-sm: 0 16px 40px rgba(21, 70, 48, 0.08);
  --shadow: 0 30px 80px rgba(21, 70, 48, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -8%, rgba(50, 196, 137, .08), transparent 30%),
    radial-gradient(circle at 92% 3%, rgba(235, 207, 134, .06), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open,
body.nav-open { overflow: hidden; }

::selection { background: rgba(50, 196, 137, .28); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 18px;
  top: 18px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gold-2);
  color: #0a1b13;
  font-weight: 800;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 118px 0; position: relative; }
.section-contrast {
  background:
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 30%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.04; letter-spacing: -.04em; }
h1 { font-size: clamp(3.65rem, 7.1vw, 7.25rem); font-weight: 760; }
h2 { font-size: clamp(2.55rem, 5vw, 5rem); font-weight: 740; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { color: var(--muted); }
strong { color: var(--text-soft); }

.text-gradient {
  background: linear-gradient(125deg, #eafff4 0%, #79d8ad 36%, var(--gold-2) 76%, #f8e9bd 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
[data-theme="light"] .text-gradient {
  background: linear-gradient(125deg, #0b543b 0%, #18885d 44%, #99701a 92%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-2);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-number {
  display: block;
  margin-bottom: 18px;
  color: rgba(235, 207, 134, .52);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .82rem;
  letter-spacing: .15em;
}
.section-heading { max-width: 860px; margin-bottom: 56px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2 { margin: 16px 0 22px; }
.section-heading p { max-width: 760px; font-size: 1.08rem; }
.section-heading.centered p { margin-inline: auto; }
.copy-large { font-size: clamp(1.22rem, 1.8vw, 1.58rem); line-height: 1.52; color: var(--text-soft); }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  font-size: .94rem;
  transition: transform .22s var(--ease), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible,
.control-btn:focus-visible,
.text-button:focus-visible,
.cookie-close:focus-visible,
.footer-cookie-link:focus-visible,
.cookie-fab:focus-visible,
.language-panel button:focus-visible {
  outline: 3px solid rgba(50, 196, 137, .26);
  outline-offset: 3px;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0e6947, #159966);
  box-shadow: 0 15px 36px rgba(13, 114, 75, .24);
}
.btn-primary:hover { box-shadow: 0 20px 46px rgba(13, 114, 75, .32); }
.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,.025);
  border-color: var(--line-strong);
  backdrop-filter: blur(14px);
}
.btn-secondary:hover { background: rgba(255,255,255,.06); }
[data-theme="light"] .btn-secondary:hover { background: rgba(14, 99, 67, .05); }
.btn-gold {
  color: #10261a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 15px 36px rgba(205, 166, 76, .14);
}
.btn-lg { min-height: 56px; padding-inline: 23px; border-radius: 16px; }

/* Header */
.site-header {
  position: fixed;
  z-index: 150;
  inset: 0 0 auto;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 20, 14, .76);
  border-color: var(--line);
  backdrop-filter: blur(20px) saturate(120%);
  box-shadow: 0 10px 32px rgba(0,0,0,.08);
}
[data-theme="light"] .site-header.scrolled { background: rgba(246, 245, 239, .84); }
.nav-shell {
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 150px; height: 54px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 3px; }
.main-nav a {
  padding: 10px 10px;
  border-radius: 11px;
  color: rgba(230, 238, 233, .74);
  font-size: .86rem;
  font-weight: 690;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
[data-theme="light"] .main-nav a { color: #52685d; }
.main-nav a:hover,
.main-nav a.active { color: var(--text); background: rgba(50, 196, 137, .08); }
.main-nav a.active { box-shadow: inset 0 0 0 1px rgba(50, 196, 137, .12); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.control-btn {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(7, 28, 20, .62);
  backdrop-filter: blur(14px);
}
[data-theme="light"] .control-btn { background: rgba(255,255,255,.64); }
.theme-toggle { width: 42px; display: grid; place-items: center; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
[data-theme="light"] .theme-toggle .sun-icon { display: none; }
.language-menu { position: relative; }
.language-trigger { min-width: 64px; padding: 0 11px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; font-weight: 800; }
.language-trigger svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.language-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
}
.language-panel button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  background: transparent;
  text-align: left;
}
.language-panel button:hover,
.language-panel button.active { background: rgba(50,196,137,.08); }
.language-panel small { color: var(--muted); }
.btn-nav { min-height: 42px; padding-inline: 15px; font-size: .83rem; }
.menu-toggle { display: none; width: 42px; padding: 0 10px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .2s ease; }

/* Hero */
.hero-home {
  position: relative;
  min-height: 950px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #04120d;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(3, 16, 11, .97) 0%, rgba(3, 16, 11, .88) 38%, rgba(3, 16, 11, .48) 66%, rgba(3, 16, 11, .28) 100%),
    linear-gradient(180deg, rgba(4,18,13,.22), rgba(4,18,13,.9) 94%),
    url('../images/hero-desktop.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
}
[data-theme="light"] .hero-home::before {
  opacity: .34;
  filter: saturate(.72) brightness(1.25);
}
[data-theme="light"] .hero-home { background: var(--bg); }
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .06;
  pointer-events: none;
  background-image: url('../images/noise.webp');
  background-repeat: repeat;
  background-size: 180px 180px;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.hero-orb-one { width: 340px; height: 340px; right: 4%; top: 18%; background: rgba(34, 174, 115, .08); animation: floatOrb 9s ease-in-out infinite; }
.hero-orb-two { width: 260px; height: 260px; left: 42%; bottom: 3%; background: rgba(235, 207, 134, .06); animation: floatOrb 12s ease-in-out infinite reverse; }
@keyframes floatOrb { 50% { transform: translate3d(12px, -18px, 0) scale(1.06); } }
.hero-home-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .62fr);
  gap: 70px;
  align-items: center;
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 110px;
}
.hero-copy { max-width: 850px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { max-width: 900px; margin-bottom: 28px; }
.hero-lead { max-width: 810px; color: #c9d7cf; font-size: clamp(1.1rem, 1.7vw, 1.38rem); line-height: 1.55; }
.hero-support { max-width: 770px; margin-top: 18px; color: #9fb2a8; font-size: .98rem; }
[data-theme="light"] .hero-lead { color: #264538; }
[data-theme="light"] .hero-support { color: #596f63; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-trustline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.hero-trustline span {
  padding: 8px 11px;
  border: 1px solid rgba(235, 207, 134, .16);
  border-radius: 999px;
  background: rgba(3, 14, 10, .28);
  color: #b9c8c0;
  font-size: .76rem;
}
[data-theme="light"] .hero-trustline span { background: rgba(255,255,255,.48); color: #486156; border-color: var(--line); }
.hero-system-card {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(235, 207, 134, .2);
  border-radius: 24px;
  background: rgba(5, 24, 16, .68);
  box-shadow: 0 34px 90px rgba(0,0,0,.34);
  backdrop-filter: blur(18px) saturate(120%);
}
[data-theme="light"] .hero-system-card { background: rgba(255,255,255,.72); }
.system-card-topbar { height: 48px; padding: 0 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.07); color: #94aa9d; font: 700 .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
[data-theme="light"] .system-card-topbar { border-color: var(--line); color: #697b71; }
.system-dots { display: flex; gap: 5px; }
.system-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.22); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; color: #8ce0b6; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(84, 215, 155, .08); animation: statusPulse 2s infinite; }
@keyframes statusPulse { 50% { box-shadow: 0 0 0 8px rgba(84,215,155,0); } }
.system-flow { padding: 22px 20px; }
.flow-node { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; background: rgba(255,255,255,.02); }
[data-theme="light"] .flow-node { border-color: var(--line); background: rgba(14,105,72,.025); }
.flow-node.active { border-color: rgba(50, 196, 137, .28); background: rgba(50, 196, 137, .06); }
.flow-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(50,196,137,.08); color: var(--gold-2); font: 800 .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.flow-node strong, .flow-node span { display: block; }
.flow-node strong { font-size: .84rem; letter-spacing: -.01em; }
.flow-node span { margin-top: 2px; color: #83998d; font-size: .68rem; }
.flow-line { height: 23px; display: grid; place-items: center; }
.flow-line span { width: 1px; height: 100%; background: linear-gradient(var(--emerald-3), rgba(50,196,137,.12)); position: relative; overflow: hidden; }
.flow-line span::after { content: ""; position: absolute; inset: -6px 0 auto; height: 7px; background: var(--gold-2); animation: flowDrop 2.4s linear infinite; }
@keyframes flowDrop { to { transform: translateY(30px); } }
.system-result { margin: 0 20px 20px; padding: 16px; border: 1px solid rgba(235, 207, 134, .18); border-radius: 14px; background: linear-gradient(135deg, rgba(205,166,76,.08), rgba(50,196,137,.05)); }
.system-result-label { display: block; margin-bottom: 5px; color: var(--gold-2); font-size: .66rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.system-result strong { font-size: .82rem; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); color: rgba(255,255,255,.48); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
[data-theme="light"] .scroll-cue { color: #65766d; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); }

/* Intro editorial */
.split-editorial { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; align-items: start; }
.sticky-copy { position: sticky; top: 130px; }
.sticky-copy h2 { margin: 16px 0 0; font-size: clamp(2.45rem, 4.5vw, 4.35rem); }
.editorial-copy { max-width: 760px; }
.editorial-copy p { font-size: 1.06rem; margin-bottom: 24px; }
.editorial-copy .copy-large { font-size: clamp(1.28rem, 1.9vw, 1.66rem); }
.pull-quote { margin: 40px 0; padding: 28px 30px; border-left: 2px solid var(--gold); border-radius: 0 20px 20px 0; background: linear-gradient(90deg, rgba(205,166,76,.07), transparent); }
.pull-quote span { color: var(--gold-2); font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.pull-quote blockquote { margin: 10px 0 0; color: var(--text); font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.28; letter-spacing: -.035em; }

/* Audit */
.audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audit-card { position: relative; min-height: 370px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.022), transparent), var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.audit-card::before { content: ""; position: absolute; inset: auto -20% -48% auto; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(50,196,137,.11), transparent 68%); }
.audit-index { display: block; margin-bottom: 56px; color: var(--gold-2); font: 800 .72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.audit-card h3 { margin-bottom: 13px; font-size: 1.45rem; }
.audit-card p { font-size: .92rem; }
.audit-card ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.audit-card li { position: relative; padding-left: 17px; color: var(--text-soft); font-size: .82rem; }
.audit-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--emerald-3); }

/* Capabilities */
.capability-list { border-top: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 180px minmax(0,1fr) 54px; gap: 34px; align-items: start; padding: 38px 0; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease), background .25s ease; }
.capability-row:hover { padding-inline: 18px; background: linear-gradient(90deg, rgba(50,196,137,.035), transparent 65%); }
.capability-meta { display: grid; gap: 5px; color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.capability-meta span:first-child { color: var(--gold-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.capability-main h3 { margin-bottom: 12px; font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
.capability-main p { max-width: 790px; margin: 0; font-size: .98rem; }
.circle-link { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-2); font-size: 1.2rem; transition: transform .22s var(--ease), background .22s ease; }
.circle-link:hover { transform: rotate(8deg) translateY(-2px); background: rgba(205,166,76,.08); }

/* Workflow story */
.workflow-story { overflow: hidden; background: radial-gradient(circle at 8% 45%, rgba(50,196,137,.07), transparent 28%); }
.workflow-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 84px; align-items: center; }
.workflow-visual { position: sticky; top: 130px; }
.data-window { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 22px; background: #071610; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(3deg) rotateX(1deg); }
.data-window-head { height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
.data-window-head > span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.data-window-head em { margin-left: 8px; color: #7f9388; font: 700 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; }
.data-window pre { margin: 0; padding: 30px; overflow: auto; color: #cfddd5; font: 500 clamp(.73rem, 1.2vw, .88rem)/1.85 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.code-muted { color: #62786c; }
.code-green { color: #58d69d; }
.code-gold { color: #efcf7c; }
.workflow-copy h2 { margin: 16px 0 24px; }
.workflow-copy > p { margin-bottom: 20px; }
.workflow-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.workflow-outcomes div { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.workflow-outcomes strong, .workflow-outcomes span { display: block; }
.workflow-outcomes strong { margin-bottom: 5px; font-size: .9rem; }
.workflow-outcomes span { color: var(--muted); font-size: .78rem; }

/* Integrations */
.integration-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.integration-hub { position: relative; min-height: 530px; display: grid; place-items: center; }
.integration-hub::before, .integration-hub::after { content: ""; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); border: 1px solid rgba(50,196,137,.13); border-radius: 50%; }
.integration-hub::before { width: 360px; height: 360px; }
.integration-hub::after { width: 490px; height: 490px; }
.hub-core { position: relative; z-index: 2; width: 200px; height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line-strong); border-radius: 50%; background: radial-gradient(circle at 30% 20%, rgba(50,196,137,.16), transparent 42%), var(--surface-solid); box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.hub-core img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 10px; }
.hub-core strong { font-size: .85rem; }
.hub-core span { max-width: 130px; margin-top: 4px; color: var(--muted); font-size: .62rem; }
.hub-node { position: absolute; z-index: 3; min-width: 78px; min-height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-elevated); box-shadow: var(--shadow-sm); color: var(--text-soft); font-size: .72rem; font-weight: 800; }
.node-a { top: 4%; left: 22%; }
.node-b { top: 10%; right: 12%; }
.node-c { top: 44%; right: 0; }
.node-d { bottom: 12%; right: 13%; }
.node-e { bottom: 6%; left: 18%; }
.node-f { top: 46%; left: 0; }
.integration-copy h3 { margin-bottom: 18px; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.integration-copy p { margin-bottom: 18px; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 25px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--emerald-3); font-weight: 900; }

/* Process */
.process-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--line); }
.process-step { min-height: 325px; padding: 30px; background: var(--bg); }
.section-contrast .process-step { background: var(--bg-2); }
.process-step > span { display: inline-flex; margin-bottom: 76px; color: var(--gold-2); font: 800 .74rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.process-step h3 { margin-bottom: 12px; font-size: 1.45rem; }
.process-step p { margin: 0; font-size: .9rem; }

/* Reliability */
.reliability-section { background: linear-gradient(180deg, transparent, rgba(50,196,137,.025), transparent); }
.reliability-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.reliability-copy { position: sticky; top: 130px; }
.reliability-copy h2 { margin: 16px 0 24px; }
.reliability-copy p { margin-bottom: 20px; }
.reliability-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { min-height: 300px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.mini-card > span { color: var(--gold-2); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.mini-card h3 { margin: 54px 0 12px; font-size: 1.42rem; }
.mini-card p { margin: 0; font-size: .88rem; }

/* Possibilities */
.possibilities-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.possibility-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.possibility-columns ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.possibility-columns li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: .9rem; }

/* Decision */
.decision-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: start; }
.decision-copy h2 { margin: 16px 0 24px; }
.decision-copy p { margin-bottom: 20px; }
.decision-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.decision-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 19px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.decision-row:last-child { border-bottom: 0; }
.decision-row span, .decision-row strong { font-size: .86rem; }
.decision-row span { color: var(--muted); }
.decision-head { background: rgba(205,166,76,.06); }
.decision-head span { color: var(--gold-2); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

/* FAQ preview */
.faq-preview-section { background: radial-gradient(circle at 10% 40%, rgba(205,166,76,.05), transparent 26%); }
.faq-preview-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.faq-preview-grid .section-heading { position: sticky; top: 130px; margin-bottom: 0; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 18px; color: var(--gold-2); font-weight: 800; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 24px 48px 24px 0; color: var(--text); font-size: 1.05rem; font-weight: 760; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 8px; top: 20px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-2); font-weight: 400; transition: transform .2s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion-body { padding: 0 48px 24px 0; }
.accordion-body p { margin: 0; }

/* Final CTA */
.final-cta-section { padding-top: 40px; }
.final-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: end; padding: clamp(34px, 5vw, 64px); border: 1px solid rgba(235,207,134,.28); border-radius: 34px; background: linear-gradient(135deg, rgba(16,77,52,.94), rgba(6,29,20,.96) 62%, rgba(93,70,20,.48)); box-shadow: var(--shadow); }
.final-cta::after { content: ""; position: absolute; right: -100px; top: -130px; width: 360px; height: 360px; border: 1px solid rgba(235,207,134,.14); border-radius: 50%; box-shadow: 0 0 0 50px rgba(235,207,134,.02), 0 0 0 100px rgba(235,207,134,.014); }
.final-cta-copy { position: relative; z-index: 2; }
.final-cta h2 { max-width: 890px; margin: 16px 0 20px; font-size: clamp(2.5rem, 4.6vw, 4.8rem); }
.final-cta p { max-width: 760px; margin: 0; color: #bfd0c7; }
.final-cta-actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.final-cta .btn-secondary { color: #eff7f2; border-color: rgba(255,255,255,.16); }

/* Newsletter + Footer */
.newsletter-section { padding: 70px 0 0; }
.newsletter-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.newsletter-card h2 { margin: 11px 0 9px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.newsletter-card p { margin: 0; max-width: 680px; }
.newsletter-form { display: flex; gap: 9px; }
.newsletter-form input {
  min-width: 0;
  flex: 1;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: var(--surface-solid);
  color: var(--text);
}
.newsletter-form input:focus { border-color: rgba(50,196,137,.48); box-shadow: 0 0 0 4px rgba(50,196,137,.08); }
.site-footer { margin-top: 70px; padding: 70px 0 28px; border-top: 1px solid var(--line); background: rgba(0,0,0,.06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr .8fr; gap: 46px; }
.footer-intro p { max-width: 380px; margin-top: 18px; font-size: .9rem; }
.footer-brand img { width: 190px; height: auto; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column strong { margin-bottom: 7px; font-size: .82rem; }
.footer-column a,
.footer-cookie-link { padding: 0; border: 0; background: none; color: var(--muted); font-size: .84rem; text-align: left; }
.footer-column a:hover,
.footer-cookie-link:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

/* Cookie consent system */
.cookie-banner[hidden],
.cookie-fab[hidden],
.cookie-modal[hidden],
.cookie-modal-backdrop[hidden],
.privacy-signal[hidden] { display: none !important; }
.cookie-banner {
  position: fixed;
  z-index: 500;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 1180px;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .28s ease, transform .34s var(--ease);
}
.cookie-banner.visible { opacity: 1; transform: translateY(0) scale(1); }
.cookie-banner-content {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(235,207,134,.28);
  border-radius: 24px;
  background: rgba(6, 23, 16, .965);
  box-shadow: 0 34px 100px rgba(0,0,0,.48);
  backdrop-filter: blur(24px) saturate(120%);
}
.cookie-brandmark { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(235,207,134,.22); border-radius: 16px; background: rgba(255,255,255,.025); }
.cookie-brandmark img { width: 48px; height: 48px; object-fit: contain; }
.cookie-kicker { display: block; margin-bottom: 6px; color: #e6ca7b; font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.cookie-banner h2 { margin: 0 0 7px; color: #f3f7f4; font-size: 1.2rem; letter-spacing: -.02em; }
.cookie-banner p { max-width: 760px; margin: 0; color: #a8bbb0; font-size: .82rem; line-height: 1.55; }
.cookie-banner-links { display: flex; gap: 13px; margin-top: 9px; }
.cookie-banner-links a { color: #d7e1db; font-size: .72rem; text-decoration: underline; text-decoration-color: rgba(255,255,255,.18); text-underline-offset: 3px; }
.cookie-banner-actions { min-width: 170px; display: grid; gap: 7px; }
.cookie-banner-actions .btn { min-height: 42px; width: 100%; font-size: .78rem; }
.cookie-banner .btn-secondary { color: #f1f6f3; background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.12); }
.text-button { padding: 5px 8px; border: 0; background: none; color: #d7e1db; font-size: .73rem; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(255,255,255,.18); text-underline-offset: 3px; }

.cookie-fab {
  position: fixed;
  z-index: 420;
  left: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235,207,134,.28);
  border-radius: 50%;
  color: var(--gold-2);
  background: rgba(7, 27, 19, .88);
  box-shadow: 0 14px 40px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: scale(.76) translateY(8px);
  transition: transform .35s var(--ease), opacity .25s ease, border-color .2s ease;
}
.cookie-fab.visible { opacity: 1; transform: scale(1) translateY(0); }
.cookie-fab:hover { transform: scale(1.07) translateY(-2px); border-color: rgba(235,207,134,.55); }
.cookie-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cookie-fab-pulse { position: absolute; inset: -1px; border: 1px solid rgba(235,207,134,.25); border-radius: 50%; animation: cookiePulse 4s ease-out infinite; pointer-events: none; }
@keyframes cookiePulse { 0%, 55% { opacity: 0; transform: scale(1); } 65% { opacity: .5; } 100% { opacity: 0; transform: scale(1.45); } }

.cookie-modal-backdrop { position: fixed; z-index: 550; inset: 0; background: rgba(0, 9, 6, .7); backdrop-filter: blur(8px); opacity: 0; transition: opacity .22s ease; }
.cookie-modal-backdrop.visible { opacity: 1; }
.cookie-modal {
  position: fixed;
  z-index: 560;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .22s ease, transform .28s var(--ease);
}
.cookie-modal.visible { pointer-events: auto; opacity: 1; transform: translateY(0) scale(1); }
.cookie-modal-shell {
  width: min(920px, 100%);
  max-height: min(860px, calc(100vh - 44px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(235,207,134,.28);
  border-radius: 28px;
  background: #081b14;
  color: #f3f7f4;
  box-shadow: 0 44px 140px rgba(0,0,0,.58);
}
.cookie-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cookie-modal-header h2 { margin: 0; color: #f3f7f4; font-size: clamp(1.45rem, 3vw, 2.1rem); letter-spacing: -.035em; }
.cookie-close { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); color: #dbe6df; }
.cookie-close svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cookie-modal-body { overflow-y: auto; padding: 22px 26px 24px; scrollbar-width: thin; scrollbar-color: rgba(235,207,134,.25) transparent; }
.cookie-intro { margin: 0 0 20px; color: #9eb2a7; font-size: .88rem; }
.privacy-signal { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin-bottom: 18px; padding: 13px 14px; border: 1px solid rgba(50,196,137,.2); border-radius: 14px; background: rgba(50,196,137,.055); }
.privacy-signal svg { width: 26px; fill: none; stroke: #64d8a5; stroke-width: 1.5; }
.privacy-signal strong, .privacy-signal span { display: block; }
.privacy-signal strong { font-size: .82rem; color: #e5f3eb; }
.privacy-signal span { margin-top: 2px; color: #92aa9d; font-size: .72rem; }
.cookie-category-list { display: grid; gap: 10px; }
.cookie-category { border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.018); }
.cookie-category-head { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 16px; }
.cookie-category h3 { margin: 0 0 4px; color: #f0f6f2; font-size: .98rem; letter-spacing: -.015em; }
.cookie-category p { margin: 0; color: #8fa59a; font-size: .76rem; }
.cookie-category details { border-top: 1px solid rgba(255,255,255,.06); }
.cookie-category summary { padding: 11px 16px; color: #bac9c1; font-size: .72rem; font-weight: 760; cursor: pointer; }
.cookie-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px; }
.cookie-detail-grid div { padding: 12px; border-radius: 11px; background: rgba(255,255,255,.025); }
.cookie-detail-grid strong, .cookie-detail-grid span { display: block; }
.cookie-detail-grid strong { color: #dce7e1; font-size: .72rem; }
.cookie-detail-grid span { margin-top: 4px; color: #7f968a; font-size: .67rem; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { position: relative; width: 44px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.13); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); transition: background .2s ease; cursor: pointer; }
.switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: #c4d0ca; transition: transform .23s var(--ease), background .2s ease; }
.switch input:checked + .sr-only + i,
.switch input:checked + i { background: #157b55; }
.switch input:checked + .sr-only + i::after,
.switch input:checked + i::after { transform: translateX(20px); background: #f1d689; }
.switch input:focus-visible + .sr-only + i,
.switch input:focus-visible + i { outline: 3px solid rgba(50,196,137,.25); outline-offset: 3px; }
.switch.locked span { color: #7ed3aa; font-size: .68rem; font-weight: 800; }
.switch.locked i { background: #126f4d; cursor: default; }
.switch.locked i::after { left: 24px; background: #e8cf8a; }
.cookie-modal-footer { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 18px 26px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.08); }
.cookie-meta { display: grid; gap: 2px; }
.cookie-meta span { color: #6f877a; font-size: .63rem; }
.cookie-meta a { color: #a9bbb1; font-size: .68rem; text-decoration: underline; text-underline-offset: 3px; }
.cookie-modal-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-modal-actions .btn { min-height: 42px; padding-inline: 14px; font-size: .74rem; }
.cookie-modal .btn-secondary { color: #ecf4ef; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); }

/* Toast */
#toast-root { position: fixed; z-index: 700; top: 96px; right: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: 380px; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface-elevated); box-shadow: var(--shadow-sm); color: var(--text); font-size: .82rem; opacity: 0; transform: translateY(-8px) translateX(8px); transition: .22s ease; }
.toast.visible { opacity: 1; transform: translateY(0) translateX(0); }

/* Compatibility styles for existing pages */
.page-hero { padding: calc(var(--header-height) + 95px) 0 78px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 18% 0%, rgba(50,196,137,.09), transparent 34%); }
.page-hero .kicker, .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-2); font-weight: 800; letter-spacing: .15em; text-transform: uppercase; font-size: .72rem; }
.page-hero h1 { margin: 14px 0 20px; font-size: clamp(2.8rem, 6vw, 5.5rem); }
.page-hero p { max-width: 820px; font-size: 1.08rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--text); font-size: .84rem; font-weight: 750; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: var(--surface-solid); color: var(--text); }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(50,196,137,.5); box-shadow: 0 0 0 4px rgba(50,196,137,.07); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag, .badge { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; }
.portfolio-card { overflow: hidden; padding: 0; }
.portfolio-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #073b28, #0f7a4f 58%, #d6ad4f); }
.portfolio-body { padding: 24px; }
.legal { max-width: 920px; }
.legal h2 { margin-top: 38px; font-size: 1.8rem; }
.legal h3 { margin-top: 28px; }
.notice { margin: 24px 0; padding: 17px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(205,166,76,.06); }

/* Reveal motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.audit-card:nth-child(2), .process-step:nth-child(2), .mini-card:nth-child(2) { transition-delay: .06s; }
.audit-card:nth-child(3), .process-step:nth-child(3) { transition-delay: .12s; }
.audit-card:nth-child(4), .process-step:nth-child(4) { transition-delay: .05s; }
.audit-card:nth-child(5), .process-step:nth-child(5) { transition-delay: .11s; }
.audit-card:nth-child(6), .process-step:nth-child(6) { transition-delay: .17s; }

@media (max-width: 1160px) {
  .main-nav { display: none; position: fixed; inset: var(--header-height) 20px auto; max-height: calc(100vh - var(--header-height) - 24px); overflow-y: auto; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-elevated); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; gap: 5px; }
  .main-nav a { padding: 13px 14px; }
  .menu-toggle { display: block; }
  .hero-home-grid { grid-template-columns: 1fr .52fr; gap: 44px; }
  .hero-system-card { transform: scale(.94); transform-origin: right center; }
  .audit-grid { grid-template-columns: repeat(2, 1fr); }
  .possibility-columns { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.25fr .75fr .9fr; }
  .footer-column:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  .section { padding: 88px 0; }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .brand img { width: 124px; }
  .btn-nav { display: none; }
  .hero-home { min-height: auto; }
  .hero-home-grid { grid-template-columns: 1fr; padding-top: calc(var(--header-height) + 90px); padding-bottom: 110px; }
  .hero-copy { max-width: 820px; }
  .hero-system-card { width: min(560px, 100%); transform: none; }
  .split-editorial,
  .workflow-story-grid,
  .integration-layout,
  .reliability-grid,
  .decision-grid,
  .faq-preview-grid { grid-template-columns: 1fr; gap: 52px; }
  .sticky-copy,
  .workflow-visual,
  .reliability-copy,
  .faq-preview-grid .section-heading { position: relative; top: auto; }
  .capability-row { grid-template-columns: 120px minmax(0,1fr) 50px; gap: 24px; }
  .process-timeline { grid-template-columns: 1fr 1fr; }
  .integration-hub { max-width: 600px; width: 100%; margin-inline: auto; }
  .final-cta { grid-template-columns: 1fr; }
  .final-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .newsletter-card { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-column:last-child { grid-column: auto; }
  .cookie-banner-content { grid-template-columns: 50px 1fr; }
  .cookie-banner-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 1fr; }
  .cookie-modal-footer { grid-template-columns: 1fr; }
  .cookie-modal-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(var(--max), calc(100% - 26px)); }
  .section { padding: 76px 0; }
  h1 { font-size: clamp(3rem, 14vw, 4.9rem); }
  h2 { font-size: clamp(2.3rem, 10vw, 3.6rem); }
  .nav-shell { gap: 10px; }
  .brand img { width: 104px; }
  .language-trigger { min-width: 56px; }
  .hero-home::before {
    background-image:
      linear-gradient(180deg, rgba(3,16,11,.40), rgba(3,16,11,.94) 58%, rgba(3,16,11,.99) 100%),
      url('../images/hero-mobile.webp');
    background-position: center top;
  }
  [data-theme="light"] .hero-home::before { opacity: .30; }
  .hero-home-grid { padding-top: calc(var(--header-height) + 108px); padding-bottom: 92px; }
  .hero-lead { font-size: 1.08rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-system-card { margin-top: 16px; }
  .system-flow { padding: 17px 14px; }
  .system-result { margin: 0 14px 14px; }
  .scroll-cue { display: none; }
  .audit-grid,
  .workflow-outcomes,
  .process-timeline,
  .reliability-cards,
  .possibility-columns,
  .footer-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid { grid-template-columns: 1fr; }
  .audit-card { min-height: 0; }
  .audit-index { margin-bottom: 36px; }
  .capability-row { grid-template-columns: 1fr 46px; gap: 18px; }
  .capability-meta { grid-column: 1 / -1; display: flex; gap: 12px; }
  .capability-main { grid-column: 1; }
  .circle-link { grid-column: 2; grid-row: 2; }
  .integration-hub { min-height: 430px; transform: scale(.86); transform-origin: center; }
  .integration-hub::before { width: 300px; height: 300px; }
  .integration-hub::after { width: 400px; height: 400px; }
  .hub-core { width: 166px; height: 166px; }
  .hub-core img { width: 58px; }
  .process-step { min-height: 0; }
  .process-step > span { margin-bottom: 48px; }
  .decision-row { grid-template-columns: 1fr; gap: 6px; }
  .decision-head { display: none; }
  .final-cta { padding: 30px 22px; border-radius: 26px; }
  .final-cta-actions { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner-content { grid-template-columns: 1fr; padding: 18px; border-radius: 20px; }
  .cookie-brandmark { display: none; }
  .cookie-banner-actions { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .cookie-banner-actions .text-button { grid-column: 1 / -1; }
  .cookie-modal { padding: 8px; }
  .cookie-modal-shell { max-height: calc(100vh - 16px); border-radius: 20px; }
  .cookie-modal-header { padding: 18px 18px 16px; }
  .cookie-modal-body { padding: 18px; }
  .cookie-detail-grid { grid-template-columns: 1fr; }
  .cookie-modal-footer { padding: 15px 18px; }
  .cookie-modal-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-fab { left: 12px; bottom: 12px; }
  #toast-root { top: 82px; right: 12px; left: 12px; }
  .toast { max-width: none; }
}

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

/* Shared legacy page compatibility until each page receives its dedicated redesign */
.section-sm { padding: 70px 0; }
.card .icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(50,196,137,.07); color: var(--gold-2); }
.feature-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { color: var(--muted); }
.feature-list li::before { content: "✓"; margin-right: 9px; color: var(--emerald-3); font-weight: 900; }
.account-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.account-panel { min-height: 500px; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tab { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--muted); }
.tab.active { background: rgba(50,196,137,.08); color: var(--text); }
.pricing-card.featured { border-color: var(--line-strong); }
.price { margin: 16px 0 4px; color: var(--text); font-size: 2.2rem; font-weight: 900; }
.price small { color: var(--muted); font-size: .86rem; }
.form-note { margin-top: 10px; color: var(--muted); font-size: .78rem; }
.placeholder { color: var(--gold-2); font-weight: 800; }
@media (max-width: 680px) { .account-shell { grid-template-columns: 1fr; } }

/* Performance: skip layout/paint work for long sections until they approach the viewport. */
main > section:not(.hero-home) {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

/* Avoid expensive off-screen paint work while preserving the visual design. */
@media (max-width: 900px) {
  .hero-orb { filter: blur(14px); }
}
