/* TechBuilds marketing site. Built on tokens.css (TechBuilds design system). No raw colours below except inside the phone mockup, which mirrors Simply's immersive screen. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
.lead a, .faq p a, .fine a, .prose a, .legal a { text-decoration: underline; text-underline-offset: 0.15em; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; overflow-wrap: anywhere; }
p, li, dd { overflow-wrap: anywhere; }
::selection { background: var(--primary-subtle); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: var(--z-toast); background: var(--surface-raised); color: var(--ink); padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.skip:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-lg); height: auto; padding: var(--space-2) var(--space-6); border-radius: var(--radius-md); border: 1px solid transparent; font: 600 16px/24px var(--font-sans); max-width: 100%; white-space: normal; text-align: center; cursor: pointer; transition: background-color 150ms cubic-bezier(0.2, 0, 0, 1), border-color 150ms, color 150ms; }
.btn .icon-sm { transition: transform 200ms cubic-bezier(0.2, 0, 0, 1); }
.btn:hover .icon-sm { transform: translateX(2px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-primary:active { background: var(--primary-pressed); }
.btn-secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-subtle); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--link); padding: 0 var(--space-3); }
.btn-ghost:hover { background: var(--primary-subtle); }
.btn-md { min-height: var(--control-md); height: auto; padding: var(--space-2) var(--space-4); font-size: 14px; line-height: 20px; }
.btn-on-dark { background: #ffffff; color: var(--tb-navy); }
.btn-on-dark:hover { background: #e9f2fe; color: var(--tb-navy); }

.eyebrow-link { color: var(--link); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 24px; padding: var(--space-1) var(--space-2); border-radius: var(--radius-xs); font: 600 12px/16px var(--font-sans); white-space: normal; }
.chip-brand { background: var(--primary-subtle); color: var(--on-primary-subtle); }
.chip-neutral { background: var(--surface-sunken); color: var(--ink-muted); }
.chip-success { background: var(--success-subtle); color: var(--success); }
.chip .dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--surface); border-bottom: 1px solid transparent; transition: border-color 200ms, box-shadow 200ms; }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header .wrap { height: var(--header-height); display: flex; align-items: center; gap: var(--space-8); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: var(--space-2); flex: 1; }
.nav a { font: 500 15px/24px var(--font-sans); color: var(--ink-muted); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--surface-subtle); }
.header-cta { display: flex; align-items: center; gap: var(--space-2); }
.header-cta .btn-primary { min-height: 44px; }
.menu-btn { flex: none; display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; }

/* ---------- Sections ---------- */
.section { padding: var(--space-24) 0; }
.section-subtle { background: var(--surface-subtle); }
.section-head { max-width: 720px; margin-bottom: var(--space-12); }
.section-head .eyebrow { color: var(--link); margin-bottom: var(--space-3); display: block; }
.section-head .h2 { margin-bottom: var(--space-4); text-wrap: balance; }
.section-head .lead { color: var(--ink-muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: var(--space-16) 0 var(--space-24); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-12); align-items: center; }
.hero-copy .chip { margin-bottom: var(--space-6); }
.hero-copy .display { text-wrap: balance; }
.hero-copy .display .soft { color: var(--ink-muted); }
.hero-copy .lead { color: var(--ink-muted); margin-top: var(--space-6); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-10); }
ul.plain.hero-proof { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.hero-proof li { display: flex; align-items: center; gap: var(--space-2); font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.hero-proof .icon-sm { color: var(--success); }
ul.plain { list-style: none; margin: 0; padding: 0; }

/* The one gradient moment on the page */
.stage { position: relative; border-radius: var(--radius-xl); background: var(--gradient-brand); padding: var(--space-12) var(--space-8); min-height: 600px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(120deg, transparent 20%, #000 90%); z-index: -1; }
.stage-note { position: absolute; left: var(--space-6); bottom: var(--space-6); display: flex; align-items: center; gap: var(--space-3); background: rgba(255, 255, 255, 0.96); color: var(--tb-navy); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); font: 600 14px/20px var(--font-sans); }
.stage-note img { width: 36px; height: 36px; border-radius: 9px; }
.stage-note small { display: block; font: 400 12px/16px var(--font-sans); color: #536273; }

/* ---------- Phone mockup (mirrors Simply's forced-dark teleprompter) ---------- */
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; background: #020a16; padding: 12px; box-shadow: 0 30px 60px rgba(2, 10, 22, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.08); }
.phone-screen { position: relative; height: 100%; border-radius: 36px; background: #000; overflow: hidden; color: #fff; }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 88px; height: 24px; border-radius: 12px; background: #020a16; transform: translateX(-50%); z-index: 3; }
.phone-top { position: absolute; top: 44px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 3; font: 600 12px/16px var(--font-sans); }
.rec { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 93, 115, 0.16); color: #ff5d73; padding: 4px 8px; border-radius: 6px; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff5d73; animation: blink 1.4s steps(2, start) infinite; }
.phone-top .meta { color: rgba(255, 255, 255, 0.7); }
.script { position: absolute; inset: 0; padding: 0 22px; mask-image: linear-gradient(to bottom, transparent 70px, #000 140px, #000 60%, transparent 74%); }
.script-inner { padding-top: 214px; font: 600 22px/30px var(--font-sans); letter-spacing: -0.01em; will-change: transform; }
.script-inner .beat { margin-bottom: 34px; }
.script-inner p { color: rgba(255, 255, 255, 0.92); text-wrap: balance; }
.script-inner strong { font-weight: 700; color: #08b7f5; }
.guide { position: absolute; left: 10px; right: 10px; top: 196px; height: 84px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(8, 183, 245, 0.45); z-index: 2; pointer-events: none; }
.phone-controls { position: relative; display: grid; grid-template-columns: minmax(44px, 1fr) 48px minmax(44px, 1fr); gap: 8px; align-items: center; z-index: 3; }
.phone-controls button { min-width: 44px; min-height: 44px; padding: var(--space-2); border-radius: var(--radius-md); border: 1px solid var(--border-strong); background: var(--surface-raised); color: var(--ink); font: 600 12px/16px var(--font-sans); cursor: pointer; transition: background-color 150ms; }
.phone-controls button:hover { background: var(--surface-subtle); }
.phone-controls .shutter { width: 48px; height: 48px; border-radius: 50%; background: transparent; border: 2px solid var(--border-strong); display: grid; place-items: center; padding: 0; }
.phone-controls .shutter span { width: 32px; height: 32px; border-radius: 50%; background: var(--record); transition: border-radius 200ms, width 200ms, height 200ms; }
.phone-controls .shutter[aria-pressed="false"] span { border-radius: 50%; }
.phone-controls .shutter[aria-pressed="true"] span { width: 22px; height: 22px; border-radius: 6px; }
.speed-label { text-align: center; font: 500 12px/16px var(--font-sans); color: var(--ink-muted); }
.demo { --demo-scale: 1; width: max(200px, calc(290px * var(--demo-scale))); max-width: 100%; display: grid; gap: var(--space-3); }
.demo-visual { width: calc(290px * var(--demo-scale)); height: calc(590px * var(--demo-scale)); margin-left: auto; }
.demo-visual .phone { transform: scale(var(--demo-scale)); transform-origin: top left; }
.demo[data-running="false"] .rec i { animation: none; }
.stage-phone .speed-label { color: var(--on-brand); background: var(--surface-brand); padding: var(--space-1) var(--space-2); border-radius: var(--radius-md); }
.stage-phone .phone-controls .shutter { border-color: var(--on-brand); background: var(--surface-brand); }
.stage-caption { position: absolute; top: var(--space-3); left: var(--space-4); color: var(--on-brand); font: 500 12px/16px var(--font-sans); }
@keyframes blink { to { visibility: hidden; } }

/* ---------- Product-company statement ---------- */
.manifesto { padding: var(--space-24) 0; border-top: 1px solid var(--border); }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-16); align-items: center; }
.manifesto .statement { font: 600 40px/50px var(--font-sans); letter-spacing: -0.025em; text-wrap: balance; }
.manifesto .statement em { font-style: normal; color: var(--link); }
.contrast { display: grid; gap: var(--space-4); }
.contrast-row { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.contrast-row > div { padding: var(--space-4) var(--space-5); font: 400 14px/20px var(--font-sans); }
.contrast-row .them { color: var(--ink-muted); background: var(--surface-subtle); }
.contrast-row .us { color: var(--ink); font-weight: 600; }
.contrast-row:not(dl) .us { display: flex; gap: var(--space-2); align-items: flex-start; }
.contrast-row .us .icon-sm { color: var(--primary); margin-top: 1px; }
.contrast-row dt { font: 600 12px/16px var(--font-sans); margin-bottom: var(--space-2); }
.contrast-row dd { margin: 0; }
.contrast-head { display: grid; grid-template-columns: 1fr 1fr; padding: 0 var(--space-5); font: 600 12px/16px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- Product catalogue ---------- */
.catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.product { position: relative; display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); padding: var(--space-8); min-height: 340px; color: var(--ink); transition: box-shadow 200ms, border-color 200ms; }
a.product:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); color: var(--ink); }
.product-num { flex: none; font: 600 13px/16px var(--font-mono); color: var(--ink-muted); letter-spacing: 0.04em; }
.product-top { display: flex; gap: var(--space-3); justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-8); }
.product .app-icon { width: 64px; height: 64px; border-radius: 15px; margin-bottom: var(--space-6); box-shadow: var(--shadow-sm); }
.product .h3 { margin-bottom: var(--space-2); }
.product .desc { color: var(--ink-muted); }
.product .more { margin-top: auto; padding-top: var(--space-6); display: inline-flex; align-items: center; gap: var(--space-2); font: 600 14px/20px var(--font-sans); color: var(--link); }
.product.featured { grid-column: span 1; }
.product.lab { background: var(--surface-subtle); border-style: dashed; border-color: var(--border-strong); box-shadow: none; }
.lab-mark { width: 64px; height: 64px; border-radius: 15px; margin-bottom: var(--space-6); border: 1px dashed var(--border-strong); display: grid; place-items: center; color: var(--ink-muted); }
.lab .h3 { color: var(--ink-muted); }

/* ---------- Simply spotlight ---------- */
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: start; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-6); margin-top: var(--space-10); }
.feature .ficon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--primary-subtle); color: var(--on-primary-subtle); display: grid; place-items: center; margin-bottom: var(--space-4); }
.feature h3 { font: 600 16px/24px var(--font-sans); margin-bottom: var(--space-1); }
.feature p { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.flow { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-xs); }
.flow ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.flow li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); padding-bottom: var(--space-8); }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--border-strong); display: grid; place-items: center; font: 600 14px/20px var(--font-sans); color: var(--ink); background: var(--surface-raised); position: relative; z-index: 1; }
.flow li::after { content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 0; width: 1px; background: var(--border); }
.flow li:last-child::after { display: none; }
.flow h3 { font: 600 16px/24px var(--font-sans); padding-top: 8px; }
.flow p { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); margin-top: 2px; }
.flow-foot { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; }
.flow-foot p { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.principle { padding: var(--space-8) var(--space-6) 0 0; }
.principle + .principle { padding-left: var(--space-6); border-left: 1px solid var(--border); }
.principle .num { font: 600 13px/16px var(--font-mono); color: var(--link); margin-bottom: var(--space-6); display: block; }
.principle h3 { font: 600 18px/26px var(--font-sans); margin-bottom: var(--space-2); }
.principle p { font: 400 15px/24px var(--font-sans); color: var(--ink-muted); }

/* ---------- Use cases ---------- */
.uses { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.use { display: inline-flex; align-items: center; gap: var(--space-2); height: 44px; padding: 0 var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); font: 500 15px/24px var(--font-sans); }
.use .icon-sm { color: var(--link); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-6) 0; font: 600 18px/26px var(--font-sans); }
.faq summary h3 { font: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon-sm { transition: transform 200ms cubic-bezier(0.2, 0, 0, 1); color: var(--ink-muted); }
.faq details[open] summary .icon-sm { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--space-6); color: var(--ink-muted); max-width: 64ch; }

/* ---------- CTA + footer (navy) ---------- */
.dark-zone { background: var(--surface-brand); color: var(--on-brand); }
.cta { padding: var(--space-24) 0 var(--space-16); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-12); align-items: center; }
.cta .h2 { color: var(--on-brand); text-wrap: balance; }
.cta .lead { color: var(--on-brand-muted); margin-top: var(--space-4); }
.access-form { background: #0e2a50; border: 1px solid #1d3a60; border-radius: var(--radius-xl); padding: var(--space-8); }
.access-form label { display: block; font: 600 14px/20px var(--font-sans); color: #ffffff; margin-bottom: var(--space-2); }
.access-row { display: flex; gap: var(--space-2); }
.access-row input[type="email"] { flex: 1; min-width: 0; height: var(--control-lg); padding: 0 var(--space-4); border-radius: var(--radius-md); border: 1px solid #6c86a6; background: #061a35; color: #ffffff; font: 400 16px/24px var(--font-sans); }
.access-row input[type="email"]::placeholder { color: #a3b3c7; }
.access-row input[type="email"]:focus-visible { outline: 2px solid #08b7f5; outline-offset: 1px; border-color: #08b7f5; }
.access-form .fine { margin-top: var(--space-3); font: 400 13px/18px var(--font-sans); color: #a3b3c7; }
.access-form .fine a { color: #08b7f5; }
.form-status { margin-top: var(--space-3); font: 600 14px/20px var(--font-sans); min-height: 20px; }
.form-status.ok { color: #47cd89; }
.form-status.err { color: #ff8a80; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access-form.light { background: var(--surface-raised); border-color: var(--border); box-shadow: var(--shadow-sm); }
.access-form.light label { color: var(--ink); }
.access-form.light input[type="email"] { background: var(--surface-raised); color: var(--ink); border-color: var(--border-strong); }
.access-form.light input[type="email"]::placeholder { color: var(--ink-muted); }
.access-form.light input[type="email"]:focus-visible { outline-color: var(--focus-ring); border-color: var(--focus-ring); }
.access-form.light .fine { color: var(--ink-muted); }
.access-form.light .fine a { color: var(--link); }
.access-form.light .form-status.ok { color: var(--success); }
.access-form.light .form-status.err { color: var(--danger); }

.site-footer { padding: var(--space-16) 0 var(--space-10); border-top: 1px solid #1d3a60; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: var(--space-4); color: var(--on-brand-muted); font: 400 14px/20px var(--font-sans); max-width: 30ch; }
.site-footer .footer-heading { font: 600 12px/16px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-brand-muted); margin-bottom: var(--space-4); }
.site-footer ul a { display: inline-block; padding: 4px 0; color: #ffffff; font: 400 15px/24px var(--font-sans); }
.site-footer ul a:hover { color: #08b7f5; }
.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-5); margin-left: -12px; }
.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
.footer-bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid #1d3a60; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font: 400 13px/18px var(--font-sans); color: var(--on-brand-muted); }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero { padding: var(--space-16) 0 var(--space-16); }
.page-hero .eyebrow { color: var(--link); display: block; margin-bottom: var(--space-4); }
.page-hero .h1 { max-width: 16em; text-wrap: balance; }
.page-hero .lead { color: var(--ink-muted); margin-top: var(--space-6); max-width: 38em; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-12); align-items: center; }
.product-id { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-8); }
.product-id img { width: 72px; height: 72px; border-radius: 17px; box-shadow: var(--shadow-sm); }
.product-id strong { display: block; font: 700 22px/28px var(--font-sans); letter-spacing: -0.01em; }
.product-id span { display: block; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.phone-wrap { display: grid; place-items: center; padding: var(--space-10); background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-xl); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); }
.prose p { color: var(--ink-muted); font: 400 18px/28px var(--font-sans); }
.prose p + p { margin-top: var(--space-4); }
.prose strong { color: var(--ink); font-weight: 600; }
#main:focus { outline: none; }

/* ---------- Highlights / Privacy summary cards ---------- */
.section-highlights { padding: var(--space-8) 0 var(--space-10); background: var(--surface); border-bottom: 1px solid var(--border); }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.summary-card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); box-shadow: var(--shadow-xs); transition: border-color 150ms ease, box-shadow 150ms ease; }
.summary-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.summary-card-icon { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--primary-subtle); color: var(--primary); display: grid; place-items: center; flex: none; }
.summary-card-title { font: 600 15px/20px var(--font-sans); color: var(--ink); margin: 0; }
.summary-card-desc { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); margin: 0; }

/* ---------- Legal page layout & typography ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-12); align-items: start; }
.legal-sidebar { position: sticky; top: calc(var(--header-height, 72px) + var(--space-6)); max-height: calc(100vh - 100px); overflow-y: auto; padding-right: var(--space-2); scrollbar-width: thin; }
.legal-sidebar-sticky { display: flex; flex-direction: column; gap: var(--space-4); }
.legal-content { max-width: var(--container-text); min-width: 0; }
.legal { max-width: var(--container-text); }
.legal-section { scroll-margin-top: calc(var(--header-height, 72px) + var(--space-6)); padding-top: var(--space-8); }
.legal-section:first-of-type { padding-top: 0; }
.legal-section + .legal-section { border-top: 1px solid var(--border); margin-top: var(--space-8); }

.legal-heading-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.legal h2, .legal-heading-row h2 { font: 600 22px/28px var(--font-sans); color: var(--ink); margin: 0; }
.legal h3 { font: 600 17px/24px var(--font-sans); color: var(--ink); margin: var(--space-6) 0 var(--space-2); }
.legal p, .legal li { color: var(--ink-muted); font: 400 16px/26px var(--font-sans); }
.legal p + p,
.legal ul + p,
.legal ol + p,
.legal p + ul,
.legal p + ol,
.legal h3 + p { margin-top: var(--space-3); }
.legal ul, .legal ol { margin-top: var(--space-3); padding-left: 1.25em; }
.legal li + li { margin-top: var(--space-2); }

/* Section heading anchor link */
.heading-anchor { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--radius-md); color: var(--border-strong); opacity: 0.7; transition: opacity 150ms ease, color 150ms ease, background-color 150ms ease; text-decoration: none; border: 1px solid transparent; }
.heading-anchor:hover { opacity: 1; color: var(--primary); background: var(--primary-subtle); border-color: var(--border); }
.heading-anchor:focus-visible { opacity: 1; color: var(--primary); outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.heading-anchor.is-copied { color: var(--success); background: var(--success-subtle); border-color: var(--success); opacity: 1; }

/* Table of contents */
.legal-toc { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-xs); }
.legal-toc-title { font: 600 14px/20px var(--font-sans); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); margin: 0 0 var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--border); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc-counter; display: grid; gap: 2px; }
.legal-toc li { counter-increment: toc-counter; }
.legal-toc a { display: flex; align-items: baseline; gap: var(--space-2); padding: 5px var(--space-2); border-radius: var(--radius-sm); font: 400 13px/18px var(--font-sans); color: var(--ink-muted); text-decoration: none; transition: color 150ms ease, background-color 150ms ease; }
.legal-toc a::before { content: counter(toc-counter) "."; font-feature-settings: "tnum"; font-weight: 500; color: var(--border-strong); min-width: 1.6em; flex: none; font-size: 12px; }
.legal-toc a:hover { color: var(--ink); background: var(--surface-subtle); }
.legal-toc a.is-active, .legal-toc a[aria-current="true"] { color: var(--primary); font-weight: 600; background: var(--primary-subtle); }
.legal-toc a.is-active::before, .legal-toc a[aria-current="true"]::before { color: var(--primary); font-weight: 600; }

/* External & helper link hints */
.icon-inline { display: inline-block; vertical-align: -2px; width: 14px; height: 14px; margin-left: 3px; stroke-width: 2; flex: none; }

/* Back to top button */
.back-to-top { position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 90; display: inline-flex; align-items: center; gap: 6px; padding: var(--space-2) var(--space-4); min-height: 40px; border-radius: var(--radius-full); background: var(--surface-raised); color: var(--ink); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); font: 600 13px/18px var(--font-sans); text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 200ms cubic-bezier(0.2, 0, 0, 1), transform 200ms cubic-bezier(0.2, 0, 0, 1), background-color 150ms ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--surface-subtle); color: var(--primary); }
.back-to-top:focus-visible { opacity: 1; pointer-events: auto; transform: translateY(0); outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 500ms cubic-bezier(0.2, 0, 0, 1), transform 500ms cubic-bezier(0.2, 0, 0, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .phone-controls, .no-js .speed-label { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { border-left: 0; padding-left: 0; }
  .principle { padding-bottom: var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .spotlight-grid, .cta-grid, .manifesto-grid, .product-hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
  .catalogue { grid-template-columns: minmax(0, 1fr); }
  .product { min-height: 0; }
  .stage { min-height: 0; }
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { justify-content: space-between; }
  .no-js .site-header { position: static; }
  .no-js .menu-btn { display: none; }
  .mobile-nav[data-open="true"], .no-js .mobile-nav { display: block; border-top: 1px solid var(--border); background: var(--surface); padding: var(--space-2) var(--space-6) var(--space-6); }
  .mobile-nav a { display: block; padding: var(--space-3) 0; font: 500 17px/24px var(--font-sans); color: var(--ink); border-bottom: 1px solid var(--border); }
}
@media (max-width: 767px) {
  .wrap { padding: 0 var(--space-4); }
  .site-header .wrap { flex-wrap: wrap; min-height: 64px; height: auto; padding-top: var(--space-2); padding-bottom: var(--space-2); }
  .brand { min-width: 108px; max-width: 174px; flex: 1 1 108px; }
  .brand img { height: auto; width: 100%; max-width: 174px; }
  .section, .manifesto, .cta { padding: var(--space-16) 0; }
  .hero { padding: var(--space-10) 0 var(--space-16); }
  .hero-copy .chip { height: auto; min-height: 24px; white-space: normal; }
  .display { font-size: 40px; line-height: 44px; }
  .h1 { font-size: 32px; line-height: 40px; }
  .h2 { font-size: 28px; line-height: 36px; }
  .lead { font-size: 18px; line-height: 28px; }
  .manifesto .statement { font-size: 28px; line-height: 36px; }
  .features { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding-left: 0; border-left: 0; }
  .principle + .principle { border-top: 1px solid var(--border); }
  .stage { padding: var(--space-8) var(--space-4) var(--space-16); }
  .stage-note { left: var(--space-4); right: var(--space-4); bottom: var(--space-4); }
  .access-row { flex-direction: column; }
  .access-row input[type="email"] { flex: none; width: 100%; }
  .access-row .btn { width: 100%; }
  .header-cta .btn-primary { min-height: 44px; height: auto; padding: var(--space-2) var(--space-3); }
  .footer-grid { grid-template-columns: 1fr; }
  .contrast-row { grid-template-columns: 1fr; }
  .contrast-head { display: none; }
  .phone-wrap { padding: var(--space-6) var(--space-2); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rec i { animation: none; }
  * { transition-duration: 0ms !important; }
}

/* ---------- Utility modifiers (no inline styles: CSP) ---------- */
.eyebrow-block { display: block; margin-bottom: var(--space-3); }
.eyebrow-dark { color: var(--tb-cyan); display: block; margin-bottom: var(--space-3); }
.lead-muted { color: var(--ink-muted); margin-top: var(--space-4); }
.flow-title { margin-bottom: var(--space-6); }
.prose-gap { margin-top: var(--space-8); }
.contrast-row.single { grid-template-columns: 1fr; }
.contrast-row.single .us .icon-sm { color: var(--danger); }
.legal-date { margin-top: var(--space-10); }
.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 960px) {
  .features.three { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .legal-sidebar { position: static; max-height: none; overflow-y: visible; padding-right: 0; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .features.three { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .legal-section { scroll-margin-top: calc(var(--header-height, 64px) + var(--space-4)); }
  .back-to-top { right: var(--space-4); bottom: var(--space-4); padding: var(--space-2) var(--space-3); }
}

.sm-only { display: none; }
@media (max-width: 767px) {
  .site-header .wrap { gap: var(--space-3); }
  .header-cta { margin-left: auto; }
  .lg-only { display: none; }
  .sm-only { display: inline; }
}

/* ---------- Hero stage: many products, many platforms ---------- */
.stage-multi { display: block; min-height: 600px; padding: 0; }
.browser { position: absolute; top: 40px; left: 32px; width: 78%; max-width: 440px; border-radius: var(--radius-lg); background: #ffffff; box-shadow: 0 24px 48px rgba(2, 10, 22, 0.35); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: #eef2f7; border-bottom: 1px solid #e6eaf0; }
.browser-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #c3ccd7; }
.browser-url { margin-left: 10px; flex: 1; display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 6px; background: #ffffff; font: 500 11px/16px var(--font-sans); color: #536273; }
.browser-url .icon-sm { width: 12px; height: 12px; }
.browser-body { display: grid; grid-template-columns: 72px 1fr; height: 272px; }
.browser-body i, .browser-body b { display: block; }
.sk-side { background: #f5f7fa; border-right: 1px solid #e6eaf0; padding: 14px 12px; display: grid; align-content: start; gap: 10px; }
.sk-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--tb-navy); margin-bottom: 8px; }
.sk-nav { height: 8px; border-radius: 4px; background: #d5dce5; }
.sk-nav.on { background: var(--tb-blue); }
.sk-main { padding: 16px; display: grid; align-content: start; gap: 14px; }
.sk-head { display: flex; justify-content: space-between; align-items: center; }
.sk-title { width: 42%; height: 12px; border-radius: 6px; background: var(--tb-navy); }
.sk-btn { width: 58px; height: 22px; border-radius: 6px; background: var(--tb-blue); }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-card { border: 1px solid #e6eaf0; border-radius: 8px; padding: 10px; display: grid; gap: 8px; }
.sk-card.accent { background: #e9f2fe; border-color: transparent; }
.sk-num { width: 60%; height: 14px; border-radius: 4px; background: #061a35; opacity: 0.85; }
.sk-line { height: 7px; border-radius: 4px; background: #d5dce5; }
.w40 { width: 40%; } .w45 { width: 45%; } .w55 { width: 55%; } .w70 { width: 70%; } .w80 { width: 80%; }
.sk-list { display: grid; gap: 10px; }
.sk-row { display: grid; grid-template-columns: 14px 1fr 44px; gap: 10px; align-items: center; }
.sk-dot { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #c3ccd7; }
.sk-pill { height: 14px; border-radius: 4px; background: #ecfdf3; }
.stage-phone { position: absolute; right: 32px; bottom: 32px; }
.stage-phone .demo { --demo-scale: 0.66; }
.stage-multi .stage-note { left: 32px; bottom: 32px; }
.stage-note-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--primary-subtle); color: var(--on-primary-subtle); display: grid; place-items: center; }
@media (max-width: 960px) { .stage-multi { min-height: 560px; } }
@media (max-width: 767px) {
  .stage-multi { min-height: 480px; padding: 0; }
  .browser { left: 16px; top: 40px; width: calc(100% - 64px); }
  .browser-body { grid-template-columns: 52px 1fr; height: 230px; }
  .stage-phone { right: 16px; bottom: 16px; }
  .stage-phone .demo { --demo-scale: 0.55; }
  .phone-wrap .demo { --demo-scale: 0.8; }
  .stage-multi .stage-note { display: none; }
}

@media (max-width: 359px) {
  .site-header .wrap { flex-wrap: wrap; gap: var(--space-2); }
  .brand { flex: 1 1 132px; }
  .brand img { max-width: 132px; }
  .header-cta { flex: none; }
  .header-cta .btn-primary { padding-left: var(--space-2); padding-right: var(--space-2); }
}

/* ---------- Sitemap ---------- */
.sitemap-index { padding: 0 0 var(--space-24); }
.sitemap { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.sitemap-entry { padding: var(--space-8) 0; border-bottom: 1px solid var(--border); }
.sitemap-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); }
.sitemap-title { margin: 0; }
.sitemap-title a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 0.12em; text-decoration-thickness: 1px; }
.sitemap-title a:hover { color: var(--link); text-decoration-color: var(--link); }
.sitemap-path { margin: 0; color: var(--ink-muted); font: 400 14px/20px var(--font-sans); }
.sitemap-desc { margin: var(--space-3) 0 0; max-width: 42em; color: var(--ink-muted); font: 400 18px/28px var(--font-sans); }
.sitemap-places { display: flex; flex-wrap: wrap; column-gap: var(--space-6); list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.sitemap-places a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font: 500 16px/24px var(--font-sans); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 0.15em; }
.sitemap-places a:hover { color: var(--link); text-decoration-color: var(--link); }
.sitemap-note { margin-top: var(--space-8); max-width: 42em; color: var(--ink-muted); font: 400 14px/20px var(--font-sans); }
.sitemap-note a { color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; }
.sitemap-note a:hover { color: var(--link-hover); }

/* ---------- Print stylesheet ---------- */
@media print {
  .site-header, .dark-zone, .legal-sidebar, .back-to-top, .skip, .heading-anchor { display: none !important; }
  .legal-layout { display: block !important; }
  .legal-content, .legal { max-width: 100% !important; }
  .section-highlights { border-bottom: 0 !important; padding: 0 0 16pt !important; }
  .summary-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8pt !important; }
  .summary-card { border: 1pt solid #ccc !important; box-shadow: none !important; page-break-inside: avoid; }
  body { background: #ffffff !important; color: #000000 !important; font-size: 11pt !important; line-height: 1.5 !important; }
  .legal p, .legal li { color: #222222 !important; }
  .legal h2, .legal h3 { color: #000000 !important; page-break-after: avoid; }
  .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #555555; }
  .legal a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #555555; }
  .sitemap-entry { break-inside: avoid; }
  .sitemap-title a, .sitemap-places a, .sitemap-note a { color: #000000 !important; }
}

