/* Stotaa Digital: site styles (v2, light and dark) */
:root {
  --blue: #5B7CFA; --blue-deep: #2D46C8; --coral: #E94B4B; --coral-deep: #B8283F; --butter: #FFE7A3;
  --bg: #FFFFFF; --bg-soft: #F6F7FB; --paper: #FFFFFF; --ink: #0F1733; --muted: #5F6684; --faint: #8C93AD;
  --line: #E6E8F0; --chip: #F4F5F9; --orb: .26; --sun: .2; --grain: .045;
  --good: #12805C; --ok: #2D46C8; --warn: #B26A00; --bad: #C2283C;
  --good-bg: #E3F5EE; --ok-bg: #E8EDFF; --warn-bg: #FFF1D6; --bad-bg: #FDE6E8;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--coral) 100%);
  --grad3: linear-gradient(90deg, var(--blue), var(--coral), var(--butter));
  --shadow: 0 1px 2px rgba(15,23,51,.04), 0 20px 50px -24px rgba(15,23,51,.22);
  --font: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.22,1,.36,1);
}
:root[data-mode="dark"] {
  --bg: #0A1028; --bg-soft: #0E1533; --paper: #111A3C; --ink: #F3F4FA; --muted: #A9B0CC; --faint: #7C84A3;
  --line: #1F2A55; --chip: #141C40; --orb: .38; --sun: .06; --grain: .07;
  --good: #3FCB97; --ok: #8EA4FF; --warn: #F2B54B; --bad: #FF7A86;
  --good-bg: rgba(63,203,151,.14); --ok-bg: rgba(142,164,255,.14); --warn-bg: rgba(242,181,75,.14); --bad-bg: rgba(255,122,134,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 60px -28px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 300; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Atmosphere ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--orb); transition: opacity .8s; }
.o1 { width: 46vmax; height: 46vmax; left: -16vmax; top: -20vmax; background: radial-gradient(circle at 40% 40%, var(--blue), var(--blue-deep) 60%, transparent 72%); animation: a1 26s ease-in-out infinite alternate; }
.o2 { width: 40vmax; height: 40vmax; right: -14vmax; bottom: -20vmax; background: radial-gradient(circle at 60% 60%, var(--coral), var(--coral-deep) 60%, transparent 72%); animation: a2 30s ease-in-out infinite alternate; }
.o3 { width: 22vmax; height: 22vmax; right: 16vw; top: 6vh; background: radial-gradient(circle, var(--butter), transparent 70%); opacity: var(--sun); animation: a3 22s ease-in-out infinite alternate; }
@keyframes a1 { to { transform: translate(10vw, 8vh) scale(1.12); } }
@keyframes a2 { to { transform: translate(-9vw, -7vh) scale(1.1); } }
@keyframes a3 { to { transform: translate(-14vw, 30vh) scale(.85); } }
.grain { position: absolute; inset: 0; opacity: var(--grain); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Type helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .02em; margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.g { background: linear-gradient(100deg, var(--blue) 0%, var(--coral) 55%, var(--blue) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite; }
@keyframes shimmer { 50% { background-position: 100% 0; } }
.display { font-weight: 300; font-size: clamp(40px, 6vw, 76px); line-height: 1.06; letter-spacing: -.025em; }
.h2 { font-weight: 300; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.02em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); line-height: 1.75; max-width: 40em; }
.muted { color: var(--muted); }
.rule { display: block; width: 72px; height: 2px; border-radius: 2px; background: var(--grad3); background-size: 200% 100%; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border-radius: 999px; font: 400 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s, border-color .35s; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 14px 34px -16px rgba(15,23,51,.6); }
.btn-primary:hover { transform: translateY(-2px); background: linear-gradient(100deg, var(--blue-deep), var(--blue)); color: #fff; box-shadow: 0 18px 40px -16px rgba(91,124,250,.7); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.link { position: relative; text-decoration: none; padding-bottom: 4px; color: var(--ink); font-weight: 400; display: inline-flex; gap: 10px; align-items: center; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .5s, border-color .5s, backdrop-filter .5s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { position: relative; display: block; width: 150px; aspect-ratio: 497.82/146.12; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .7s ease; }
.brand .dk, [data-mode="dark"] .brand .lt { opacity: 0; }
[data-mode="dark"] .brand .dk { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; text-decoration: none; font-size: 15px; font-weight: 400; color: var(--muted); padding: 6px 0; transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { padding: 12px 22px; font-size: 14px; }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.toggle { position: relative; width: 60px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); cursor: pointer; flex: none; transition: background .6s, border-color .6s; }
.knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--butter), #FFC56B); box-shadow: 0 2px 8px rgba(233,75,75,.35); transition: transform .7s cubic-bezier(.65,0,.35,1), background .7s; }
.knob::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--chip); transform: translate(14px,-12px) scale(0); transition: transform .7s cubic-bezier(.65,0,.35,1), background .6s; }
[data-mode="dark"] .knob { transform: translateX(28px); background: linear-gradient(135deg, #C9D3FF, var(--blue)); box-shadow: 0 2px 10px rgba(91,124,250,.55); }
[data-mode="dark"] .knob::after { transform: translate(7px,-6px) scale(.82); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-soft { background: color-mix(in srgb, var(--bg-soft) 70%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .h2 + p { margin-top: 20px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .kicker { justify-content: center; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); }
.hero-lines span { display: block; }
.hero-lines span:nth-child(even) { color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.hero-grid > * { min-width: 0; }
.forces { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; line-height: 1.3; margin-bottom: 26px; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 36px; }
.tagline { font-size: 13px; letter-spacing: .02em; color: var(--faint); }
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); }
.page-hero .lead { margin-top: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 26px; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* Twice visual */
.twice { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-left: auto; }
.twice::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid var(--line); }
.twice::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed var(--line); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.twice .leaves { position: absolute; inset: 26%; }
.twice .leaves img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .7s; }
.twice .leaves .dk, [data-mode="dark"] .twice .leaves .lt { opacity: 0; }
[data-mode="dark"] .twice .leaves .dk { opacity: 1; }
.twice .tag { position: absolute; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; max-width: 210px; }
.twice .tag b { display: block; font-weight: 500; font-size: 15px; }
.twice .tag i { font-style: normal; color: var(--muted); }
.twice .tag .k { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 12px; }
.twice .tag .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.twice .t1 { --c: var(--blue); left: 0; top: 12%; animation: float 7s ease-in-out infinite; }
.twice .t2 { --c: var(--coral); right: 0; bottom: 10%; animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 36px 28px 40px 0; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .n { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.pillar h3 { font-size: 22px; font-weight: 400; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar ul { list-style: none; padding: 0; margin: 4px 0 0; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
.pillar ul li { display: flex; gap: 10px; }
.pillar ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); margin-top: 10px; flex: none; }
.pillar .more { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 400; display: inline-flex; gap: 8px; align-items: center; }
.pillar .more .arrow { transition: transform .35s var(--ease); }
.pillar:hover .more .arrow { transform: translateX(5px); }

/* Triad */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.triad div { padding: 34px 28px; text-align: center; font-size: clamp(18px, 2vw, 24px); font-weight: 300; }
.triad div + div { border-left: 1px solid var(--line); }
.triad small { display: block; font-size: 13px; color: var(--faint); margin-bottom: 8px; }

/* Duo: leaf one / leaf two */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.duo > * { min-width: 0; }
.duo .mid { width: clamp(120px, 14vw, 180px); position: relative; aspect-ratio: 1; }
.duo .mid img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .7s; }
.duo .mid .dk, [data-mode="dark"] .duo .mid .lt { opacity: 0; }
[data-mode="dark"] .duo .mid .dk { opacity: 1; }

/* Feature (one service, detailed) */
.feature { position: relative; padding: clamp(28px, 3.5vw, 44px); border-radius: 24px; background: color-mix(in srgb, var(--paper) 82%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--c, var(--blue)); opacity: 0; }
.feature .label { font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.feature .label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--blue)); }
.feature h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; margin-bottom: 14px; }
.feature .sub { color: var(--ink); font-weight: 400; margin-bottom: 10px; }
.feature p { color: var(--muted); }
.feature.coral { --c: var(--coral); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.tags li { font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* Service list (editorial rows) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: clamp(20px, 3vw, 48px); padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; position: relative; }
.row > * { min-width: 0; }
.row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.row:hover::after { transform: scaleX(1); }
.row .n { font-size: 13px; color: var(--faint); padding-top: 6px; font-variant-numeric: tabular-nums; }
.row h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 400; }
.row h3 small { display: block; font-size: 13px; color: var(--faint); font-weight: 300; margin-top: 8px; letter-spacing: 0; }
.row p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.grid-2 > * { min-width: 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }

/* Founders */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.person { display: flex; gap: 22px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--paper) 80%, transparent); }
.mono { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 400; color: #fff; flex: none; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.person.coral .mono { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); }
.person h3 { font-size: 22px; font-weight: 400; }
.person p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Audit teaser */
.audit-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 80%, transparent); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.audit-band > * { min-width: 0; }
.audit-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, var(--blue), transparent 70%); opacity: .14; }
.pills { display: flex; gap: 8px; margin-bottom: 18px; }
.pill { font-size: 12px; font-weight: 400; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.quick { display: flex; gap: 10px; }
.field-url { position: relative; flex: 1; min-width: 0; }
.field-url svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--faint); }
.field-url input, .quick input { width: 100%; height: 56px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 15px var(--font); padding: 0 20px 0 48px; transition: border-color .3s, box-shadow .3s; }
.field-url input:focus, .quick input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }

/* CTA */
.cta { text-align: center; padding: clamp(88px, 11vw, 150px) 0; position: relative; }
.cta .display { font-size: clamp(36px, 5.4vw, 68px); }
.cta .rule { margin: 0 auto 40px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Checker (audit page) ---------- */
.check-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 86%, transparent); box-shadow: var(--shadow); }
.check-card h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; margin-bottom: 10px; }
.check-card p { color: var(--muted); }
.check-form { display: flex; gap: 10px; margin-top: 26px; }
.check-form .btn { height: 56px; flex: none; }
.check-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; display: flex; gap: 10px; align-items: center; }
.check-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--good); flex: none; }
.form-error { color: var(--bad); font-size: 14px; margin-top: 12px; min-height: 1.2em; }
.paste-box { margin-top: 16px; display: none; }
.paste-box.open { display: block; }
.paste-box textarea { width: 100%; min-height: 140px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); resize: vertical; }
.paste-box .btn { margin-top: 10px; }
.results { padding: 0 0 40px; display: none; scroll-margin-top: 100px; }
.results.show { display: block; }
.loading { display: none; padding: 40px 0 80px; text-align: center; color: var(--muted); }
.loading.show { display: block; }
.scan-line { width: 240px; height: 3px; border-radius: 3px; margin: 0 auto 18px; background: var(--line); overflow: hidden; position: relative; }
.scan-line::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--grad); border-radius: 3px; animation: scan 1.2s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.report { background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.report .eyebrow { font-size: 13px; color: var(--faint); }
.report-head { padding: 34px 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.report-head h2 { font-size: 28px; margin: 0; word-break: break-word; }
.report-head .meta { color: var(--muted); font-size: 14px; }
.report-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.report-actions .btn { padding: 11px 18px; font-size: 14px; }
.scores { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.score { padding: 28px 22px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.score:last-child { border-right: 0; }
.score.overall { background: linear-gradient(135deg, #0F1733, #18224A); color: #fff; }
.ring { position: relative; width: 78px; height: 78px; flex: none; }
.score.overall .ring { width: 116px; height: 116px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: var(--line); }
.score.overall .ring .track { stroke: rgba(255,255,255,.12); }
.ring .bar { transition: stroke-dashoffset 1.2s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 500; }
.score.overall .ring b { font-size: 32px; }
.score h3 { margin: 0 0 2px; font-size: 17px; font-weight: 500; }
.score small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.score.overall small { color: rgba(255,255,255,.7); }
.badge { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.score.overall .badge { background: rgba(255,255,255,.12); color: #fff; }
.report-body { padding: 34px 40px 40px; display: grid; gap: 40px; }
.report-body > *, .report-head > * { min-width: 0; }
.report-section h3 { font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.report-section > p { color: var(--muted); font-size: 15px; }
.tabs { display: flex; gap: 6px; background: var(--chip); padding: 5px; border-radius: 14px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 18px; }
.tab { font: 400 14px var(--font); border: 0; background: none; padding: 9px 16px; border-radius: 10px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,51,.14); }
.checks { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.checks li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: start; }
.checks li:last-child { border-bottom: 0; }
.checks .ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; margin-top: 2px; }
.ico.pass { background: var(--good); } .ico.warn { background: #E39B1B; } .ico.fail { background: var(--bad); } .ico.na { background: #A9AEC1; }
.checks strong { font-weight: 500; font-size: 15px; display: block; }
.checks .detail { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; word-break: break-word; }
.checks .w { font-size: 12px; color: var(--muted); white-space: nowrap; margin-top: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table.bots { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
table.bots th, table.bots td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.bots th { font-weight: 500; font-size: 12px; color: var(--muted); background: var(--chip); }
table.bots tr:last-child td { border-bottom: 0; }
table.bots td:first-child { font-weight: 500; white-space: nowrap; }
table.bots .key { font-size: 11px; color: var(--coral); margin-left: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.status.allowed { color: var(--good); } .status.allowed::before { background: var(--good); }
.status.partial { color: var(--warn); } .status.partial::before { background: #E39B1B; }
.status.blocked { color: var(--bad); } .status.blocked::before { background: var(--bad); }
.fixes { counter-reset: fix; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fixes li { counter-increment: fix; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 18px; background: var(--chip); border-radius: 14px; font-size: 15px; }
.fixes li::before { content: counter(fix); width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.fixes small { display: block; color: var(--muted); font-size: 13px; }
pre.code { background: #0F1733; color: #E7EAF6; border-radius: 14px; padding: 18px 20px; font-size: 13px; overflow-x: auto; margin: 0; line-height: 1.6; border: 1px solid var(--line); }
.code-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.copy-btn { font: 400 13px var(--font); border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.method { font-size: 14px; color: var(--muted); background: var(--chip); border-radius: 14px; padding: 16px 18px; }
.method strong { color: var(--ink); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-grid > * { min-width: 0; }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 86%, transparent); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 400; color: var(--ink); padding: 0; }
.opt { color: var(--faint); font-weight: 300; }
.field input, .field select, .field textarea { width: 100%; font: 400 15px var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: all .3s; }
.chips input:checked + span { border-color: transparent; background: var(--ink); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.form-foot small { color: var(--faint); font-size: 13px; }
.form-status { margin-top: 16px; font-size: 15px; min-height: 1.2em; }
.form-status.ok { color: var(--good); } .form-status.err { color: var(--bad); }
.side { display: grid; gap: 20px; }
.side-card { padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 80%, transparent); }
.side-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list small { display: block; font-size: 12px; color: var(--faint); }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 400; word-break: break-word; }
.contact-list a:hover { color: var(--coral); }
.side-card.deep { background: linear-gradient(150deg, #0F1733, #18224A); color: #fff; border-color: transparent; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 15px; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.next-steps b { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.next-steps span { color: rgba(255,255,255,.78); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 400; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 4px; }
.note { padding: 16px 20px; border-radius: 14px; background: var(--chip); font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-logo { position: relative; width: 150px; aspect-ratio: 497.82/146.12; margin-bottom: 20px; }
.footer-logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .7s; }
.footer-logo .dk, [data-mode="dark"] .footer-logo .lt { opacity: 0; }
[data-mode="dark"] .footer-logo .dk { opacity: 1; }
.site-footer p { color: var(--muted); font-size: 14px; max-width: 30em; }
.site-footer h4 { font-size: 13px; font-weight: 400; color: var(--faint); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer ul a { color: var(--ink); text-decoration: none; word-break: break-word; transition: color .3s; }
.site-footer ul a:hover { color: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }
.footer-bottom nav { display: flex; gap: 20px; }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost .big { font-size: clamp(90px, 16vw, 200px); font-weight: 300; line-height: 1; letter-spacing: -.04em; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }
.intro > * { animation: rise 1.1s var(--ease) both; }
.intro > *:nth-child(2) { animation-delay: .12s; } .intro > *:nth-child(3) { animation-delay: .24s; } .intro > *:nth-child(4) { animation-delay: .36s; } .intro > *:nth-child(5) { animation-delay: .48s; }
.hero-lines span { animation: rise 1.1s var(--ease) both; }
.hero-lines span:nth-child(2) { animation-delay: .15s; } .hero-lines span:nth-child(3) { animation-delay: .3s; } .hero-lines span:nth-child(4) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px max(24px, env(safe-area-inset-left, 0px)) 28px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 18px; }
  .nav-links a:not(.btn) { display: block; padding: 16px 0; font-size: 17px; }
  .nav-links a:not(.btn)::after { display: none; }
  .hero-grid, .split, .audit-band, .contact-grid { grid-template-columns: 1fr; }
  .twice { margin: 0 auto; max-width: 400px; }
  .duo { grid-template-columns: 1fr; }
  .duo .mid { margin: 0 auto; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row .n { padding: 0; }
  .scores { grid-template-columns: 1fr 1fr; }
  .score.overall { grid-column: 1 / -1; }
  .score { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .pillars, .grid-2, .people, .triad, .footer-grid { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding-left: 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .triad div + div { border-left: 0; border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .check-form, .quick { flex-direction: column; }
  .check-form .btn, .quick .btn { justify-content: center; }
  .scores { grid-template-columns: 1fr; }
  .report-head, .report-body { padding-left: 22px; padding-right: 22px; }
  .twice .tag { max-width: 170px; padding: 10px 14px; }
  .person { flex-direction: column; align-items: flex-start; }
  .nav { height: 72px; }
  .nav-links { inset: 72px 0 auto 0; }
  .brand { width: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Founders with photos */
.founder { display: grid; gap: 22px; }
.founder .ph { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--chip); }
.founder .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.founder:hover .ph img { transform: scale(1.04); }
.founder .ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--blue)); }
.founder.coral { --c: var(--coral); }
.founder h3 { font-size: 24px; font-weight: 400; }
.founder p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.founder a { color: var(--ink); }
.founder p.bio { color: var(--muted); font-size: 15px; line-height: 1.75; margin-top: 14px; }
.people { align-items: start; }
.footer-logo, .brand-link, .duo .mid, .twice .leaves { display: block; }
