/* The NextFound Academics marketing page (/marketing, and "/" on a public hostname).
   NextFound's identity: navy (#0F1A2B) and red (#E23B2E) on white and a warm off-white, with the
   N-that-becomes-an-arrow as the recurring motif. Headlines in Outfit, text in Inter, labels in
   JetBrains Mono, all self-hosted (static/fonts/nextfound.css): the Content-Security-Policy allows
   nothing from outside. The privacy statement keeps its own stylesheet, marketing.css. */

:root {
  --navy: #0F1A2B;
  --navy-2: #17243A;
  --navy-3: #22314B;
  --navy-line: #2C3B55;
  --navy-soft: #EBEEF3;
  --red: #E23B2E;
  --red-deep: #C12E22;
  --red-ink: #B8291E;
  --red-soft: #FDECEA;
  --ink: #0F1A2B;
  --body: #3B4659;
  --muted: #667085;
  --line: #E6E1D8;
  --line-cool: #E4E7EC;
  --paper: #F5F2ED;
  --white: #FFFFFF;
  --ok: #157347;
  --ok-soft: #E5F3EB;
  --amber: #9A5B00;
  --amber-soft: #FBF0DC;
  --head: "Outfit", "Inter", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 26, 43, .06), 0 20px 44px rgba(15, 26, 43, .10);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .12), 0 40px 80px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--red-ink); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
section { padding: clamp(72px, 9vw, 120px) 0; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--red); }
.head { max-width: 760px; margin-bottom: 44px; }
.head h2 + p { margin-top: 18px; font-size: 1.08rem; }
.fineprint { margin: 22px 0 0; font-size: .84rem; color: var(--muted); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--sans); text-decoration: none; padding: 16px 24px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(226, 59, 46, .35); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: var(--white); }
.btn-small { padding: 11px 18px; font-size: .92rem; box-shadow: none; }

/* ------------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(15, 26, 43, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); transition: box-shadow .2s ease; }
.top.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo img { height: 34px; display: block; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: #C9D0DC; text-decoration: none; font-size: .94rem; font-weight: 500; }
.top nav a:hover { color: var(--white); }
.top nav a.btn { color: var(--white); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); border-radius: 2px; content: ""; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span:first-child { top: 21px; }
.menu-btn span:first-child::before { left: 0; top: -7px; }
.menu-btn span:first-child::after { left: 0; top: 7px; }
.top.open .menu-btn span:first-child { background: transparent; }
.top.open .menu-btn span:first-child::before { transform: translateY(7px) rotate(45deg); }
.top.open .menu-btn span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--navy); color: #C9D0DC; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(226, 59, 46, .22), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #E7EAF0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 9px 14px; border-radius: 999px; margin-bottom: 26px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(226, 59, 46, .25); }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.2vw, 3.95rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.hero h1 .hl { display: block; color: transparent; background: linear-gradient(92deg, #FF7A6E, var(--red) 60%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #C9D0DC; margin: 26px 0 32px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .92rem; color: #AEB7C6; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: #7FD4A4; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-stage { position: relative; padding: 0 40px 40px 0; }
.window { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.window-bar { display: flex; align-items: center; gap: 7px; background: #F2F4F7; padding: 11px 14px; border-bottom: 1px solid var(--line-cool); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E23B2E; }
.window-bar i:nth-child(2) { background: #F2B429; }
.window-bar i:nth-child(3) { background: #2BA36B; }
.addr { margin-left: 12px; flex: 1; background: var(--white); border: 1px solid var(--line-cool); border-radius: 999px; padding: 4px 12px; font: 400 .74rem/1.4 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { display: grid; grid-template-columns: 56px 1fr; min-height: 360px; }
.mini-nav { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.mini-nav span { width: 24px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.18); }
.mini-nav span.on { background: var(--red); }
.mini-crest { width: 32px; height: 32px; border-radius: 9px; background: var(--white); display: grid; place-items: center; margin-bottom: 8px; }
.mini-crest svg { width: 20px; height: 20px; fill: var(--red); stroke: var(--red); }
.mini-main { padding: 18px 18px 14px; }
.mini-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.mini-head b { display: block; font-family: var(--head); color: var(--navy); font-size: 1.05rem; letter-spacing: -.01em; }
.mini-head small { color: var(--muted); font-size: .76rem; }
.live { display: inline-flex; align-items: center; gap: 6px; font: 600 .7rem/1 var(--mono); color: var(--ok); background: var(--ok-soft); padding: 6px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.mini-stats div { background: #F6F7F9; border-radius: 10px; padding: 10px 11px; }
.mini-stats small { display: block; font-size: .68rem; color: var(--muted); }
.mini-stats b { font-family: var(--head); color: var(--navy); font-size: 1.32rem; letter-spacing: -.02em; }
.mini-stats b em { font-style: normal; font-size: .78rem; color: var(--muted); margin-left: 2px; }
.mini-stats .accent { background: var(--red-soft); }
.mini-stats .accent b { color: var(--red-ink); }
.feed { display: grid; gap: 7px; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line-cool); border-radius: 10px; font-size: .8rem; color: var(--body); background: var(--white); }
.feed li p { margin: 0; line-height: 1.35; }
.feed li time { font: 400 .7rem/1 var(--mono); color: var(--muted); }
.feed li.new { animation: slidein .5s ease both; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); background: #FFF8F0; } }
.tag { font: 600 .64rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 5px 7px; border-radius: 6px; white-space: nowrap; }
.t-ok { background: var(--ok-soft); color: var(--ok); }
.t-navy { background: var(--navy-soft); color: var(--navy); }
.t-red { background: var(--red-soft); color: var(--red-ink); }
.t-amber { background: var(--amber-soft); color: var(--amber); }

.phone { position: absolute; right: 0; bottom: 0; width: 196px; background: #FBFAF6; border: 8px solid #060B14; border-radius: 30px; padding: 30px 10px 14px; box-shadow: var(--shadow-lg); transform: rotate(4deg); }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 56px; height: 8px; margin-left: -28px; border-radius: 6px; background: #060B14; }
.phone-head { font: 700 .78rem/1 var(--sans); color: var(--white); background: var(--navy); margin: 0 -10px 10px; padding: 9px 12px; }
.bubble { background: #DFF5E4; color: #1B3A26; font-size: .72rem; line-height: 1.4; border-radius: 12px; padding: 9px 10px 16px; margin-bottom: 8px; position: relative; }
.bubble b { display: block; font-size: .76rem; margin-bottom: 2px; }
.bubble time { position: absolute; right: 9px; bottom: 4px; font-size: .6rem; color: #4D6B58; }
.stage-note { position: absolute; left: 0; bottom: 0; margin: 0; max-width: 58%; font: 400 .72rem/1.4 var(--mono); color: #8893A7; }

/* ------------------------------------------------------------------ facts */
.facts { padding: 0; background: var(--navy-2); border-top: 1px solid var(--navy-line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 30px 24px; border-left: 1px solid var(--navy-line); display: flex; gap: 16px; align-items: center; }
.facts-grid div:first-child { border-left: 0; padding-left: 0; }
.facts-grid b { font: 800 2.8rem/1 var(--head); color: var(--white); letter-spacing: -.04em; }
.facts-grid span { font-size: .88rem; color: #AEB7C6; line-height: 1.4; }

/* ------------------------------------------------------------------ modules */
.modules { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip { font: 500 .9rem/1 var(--sans); color: var(--navy); background: var(--white); border: 1px solid var(--line); padding: 11px 16px; border-radius: 999px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.count { font: 400 .8rem/1 var(--mono); color: var(--muted); margin: 0 0 26px; min-height: 1em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.mod { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.mod[hidden] { display: none; }
.mod svg { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--red-soft); fill: none; stroke: var(--red-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.mod h3 { font-size: 1.06rem; margin-bottom: 7px; }
.mod p { font-size: .9rem; line-height: 1.55; margin: 0; color: var(--body); }
.no-js .filters, .no-js .count { display: none; }
.more { text-align: center; margin-top: 30px; }
.more [hidden] { display: none; }
.btn-navy { background: var(--navy); color: var(--white); cursor: pointer; }
.btn-navy:hover { background: var(--navy-3); }
.mod:focus { outline: none; }

/* ------------------------------------------------------------------ tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--navy-soft); border-radius: 16px; margin-bottom: 34px; }
.tabs [role=tab] { flex: 1 1 auto; font: 600 .94rem/1.2 var(--sans); color: var(--navy); background: none; border: 0; padding: 14px 16px; border-radius: 11px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.tabs [role=tab]:hover { background: rgba(255,255,255,.6); }
.tabs [role=tab][aria-selected="true"] { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(15, 26, 43, .2); }
.no-js .tabs { display: none; }
.no-js [role=tabpanel] + [role=tabpanel] { margin-top: 64px; }

.pane { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 1081px) { html:not(.no-js) .pane { min-height: 600px; } }
.pane[hidden], .role[hidden] { display: none; }
.pane:not([hidden]) { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.pane-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: 16px; letter-spacing: -.03em; line-height: 1.1; }
.pane-art { background: var(--paper); border-radius: var(--radius); padding: clamp(16px, 3vw, 30px); }
.art { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); background: var(--white); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: .97rem; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157347' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks b { color: var(--ink); }

/* mocks drawn in HTML */
.mock { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; font-size: .86rem; }
.mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-cool); }
.mock-head svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mock-head b { font-family: var(--head); color: var(--navy); font-size: 1.02rem; }
.mock-head > span { margin-left: auto; font: 400 .72rem/1 var(--mono); color: var(--muted); }
.nb { border: 1px solid var(--line-cool); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.nb.pinned { border-left: 4px solid var(--red); }
.nb .who { font: 500 .7rem/1 var(--mono); color: var(--red-ink); text-transform: uppercase; letter-spacing: .05em; }
.nb h4 { font-size: 1rem; margin: 8px 0 4px; letter-spacing: -.01em; }
.nb p { margin: 0 0 6px; font-size: .84rem; }
.nb small { color: var(--muted); font-size: .74rem; }
.confirm { background: var(--navy); color: #C9D0DC; border-radius: 12px; padding: 14px 16px; margin-top: 4px; }
.confirm b { display: block; color: var(--white); }
.confirm span { font-size: .78rem; }
.confirm div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.confirm i, .pay-foot i { font-style: normal; font-weight: 600; font-size: .8rem; padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.confirm i.go, .pay-foot i.go { background: var(--red); border-color: var(--red); color: var(--white); }
.pill { font: 600 .68rem/1 var(--mono) !important; padding: 6px 9px; border-radius: 999px; }
.pill.amber { background: var(--amber-soft); color: var(--amber) !important; }
.pay-mock table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.pay-mock th { text-align: left; font: 500 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 6px 8px; }
.pay-mock td { padding: 9px 6px; border-top: 1px solid var(--line-cool); white-space: nowrap; }
.pay-mock td:last-child { font-weight: 700; color: var(--navy); }
.pay-mock tr.up td { background: #FFF8EC; }
.pay-mock em { font-style: normal; font-weight: 600; font-size: .68rem; color: var(--amber); margin-left: 4px; }
.pay-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .76rem; color: var(--muted); }
.clock { display: flex; align-items: center; gap: 14px; margin-top: 16px; background: var(--navy); border-radius: 12px; padding: 14px 16px; }
.clock svg { width: 46px; height: 46px; padding: 6px; background: var(--white); border-radius: 8px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.clock b { display: block; font: 700 1.5rem/1 var(--mono); color: var(--white); letter-spacing: .12em; }
.clock small { color: #AEB7C6; font-size: .72rem; }

/* ------------------------------------------------------------------ journey */
.journey { background: var(--navy); color: #C9D0DC; }
.journey h2 { color: var(--white); }
.journey .eyebrow { color: #FF8A7F; }
.track { display: grid; grid-template-columns: repeat(8, minmax(150px, 1fr)); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.track li { position: relative; padding: 52px 18px 0 0; scroll-snap-align: start; }
.track li::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--navy-line); }
.track li::after { content: ""; position: absolute; top: 9px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 3px solid var(--red); }
.track li span { font: 500 .74rem/1 var(--mono); color: #FF8A7F; }
.track h3 { color: var(--white); font-size: 1.04rem; margin: 8px 0 6px; }
.track p { font-size: .86rem; color: #AEB7C6; margin: 0; line-height: 1.45; }

/* ------------------------------------------------------------------ roles */
.roles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.roles .head { margin-bottom: 0; }
.tabs.vertical { flex-direction: column; margin: 30px 0 0; }
.tabs.vertical [role=tab] { text-align: left; }
.role { background: var(--paper); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); animation: fade .35s ease both; }
.role-ic { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--navy); fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.role h3 { font-size: 1.6rem; margin-bottom: 20px; letter-spacing: -.025em; }
.no-js .role + .role { margin-top: 16px; }

/* ------------------------------------------------------------------ studios */
.studios { background: var(--paper); }
.studio-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.studio { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.studio .stage { height: 220px; display: grid; place-items: center; background: linear-gradient(160deg, #EEF0F4, #F8F6F2); }
.studio figcaption { padding: 18px 20px 22px; font-size: .9rem; line-height: 1.5; }
.studio figcaption b { display: block; font-family: var(--head); color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.idcard { width: 168px; height: 106px; display: flex; flex-direction: column; background: var(--white); border-radius: 9px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-4deg); }
.idc-top { display: flex; align-items: center; gap: 6px; background: var(--navy); color: var(--white); padding: 5px 8px; font-size: .58rem; letter-spacing: .08em; }
.crest { width: 15px; height: 15px; border-radius: 4px; background: var(--white); display: grid; place-items: center; }
.crest svg { width: 11px; height: 11px; fill: var(--red); stroke: var(--red); }
.idc-body { display: flex; gap: 8px; padding: 7px 8px 0; flex: 1; font-size: .56rem; line-height: 1.4; color: var(--muted); }
.idc-body b { display: block; color: var(--navy); font-size: .66rem; }
.idc-body small { display: block; }
.photo { width: 34px; height: 42px; border-radius: 4px; background: linear-gradient(180deg, #C9D0DC 0 45%, #AEB7C6 45%); }
.idc-foot { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 8px 6px; }
.bars { width: 70px; height: 12px; background: repeating-linear-gradient(90deg, var(--navy) 0 1px, transparent 1px 3px, var(--navy) 3px 5px, transparent 5px 6px); }
.qr svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2; }
.paper-mock { width: 128px; height: 168px; background: var(--white); border-radius: 6px; box-shadow: var(--shadow); padding: 12px; position: relative; }
.pm-head { height: 22px; border-radius: 4px; background: var(--navy); margin-bottom: 12px; }
.pm-head.red { background: var(--red); }
.pm-rows i { display: block; height: 6px; border-radius: 3px; background: #E4E7EC; margin-bottom: 9px; }
.pm-rows i:nth-child(2n) { width: 78%; }
.pm-sign { position: absolute; left: 12px; bottom: 16px; width: 54px; height: 2px; background: var(--navy); }
.receipt-mini { transform: rotate(3deg); }
.pm-amount { font: 800 1.05rem/1 var(--head); color: var(--navy); margin-bottom: 12px; }
.cert { border: 4px double #C8B27A; transform: rotate(-2deg); }
.pm-title { height: 10px; width: 70%; margin: 6px auto 16px; border-radius: 3px; background: #C8B27A; }
.pm-seal { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.pm-seal svg { width: 18px; height: 18px; fill: var(--white); stroke: var(--white); }

/* ------------------------------------------------------------------ platform */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split h2 { margin-bottom: 18px; }
.split .lead { margin-bottom: 24px; }
.art-card { background: var(--paper); border-radius: var(--radius); padding: clamp(16px, 3vw, 30px); }

/* ------------------------------------------------------------------ trust */
.trust { background: var(--navy); color: #C9D0DC; }
.trust h2, .trust h3 { color: var(--white); }
.trust .eyebrow { color: #FF8A7F; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.t { background: var(--navy); padding: 30px 28px; }
.t svg { width: 30px; height: 30px; fill: none; stroke: #FF8A7F; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.t h3 { font-size: 1.12rem; margin-bottom: 8px; }
.t p { font-size: .92rem; margin: 0; color: #AEB7C6; }

/* ------------------------------------------------------------------ compare */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font: 500 .74rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper); }
.compare thead th.us { color: var(--white); background: var(--navy); }
.compare tbody th { font-family: var(--head); color: var(--ink); font-size: 1rem; width: 18%; }
.compare td { color: var(--muted); }
.compare td.us { color: var(--ink); background: #FBFAF7; font-weight: 500; }

/* ------------------------------------------------------------------ how */
.how { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: var(--white); font: 700 1.1rem/1 var(--head); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { font-size: .92rem; margin: 0; }

/* ------------------------------------------------------------------ faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid .head { position: sticky; top: 100px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.06rem/1.35 var(--head); color: var(--ink); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; font-size: .97rem; }

/* ------------------------------------------------------------------ cta + footer */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #FFE4E1; text-align: center; }
.cta-band .mark { position: absolute; width: 520px; right: -90px; bottom: -120px; fill: rgba(255,255,255,.08); }
.cta-band .wrap { position: relative; max-width: 760px; }
.cta-band h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.cta-band p { font-size: 1.12rem; margin-bottom: 30px; }
.cta-band .btn-red { background: var(--navy); box-shadow: 0 14px 30px rgba(15, 26, 43, .35); }
.cta-band .btn-red:hover { background: #060B14; }
.cta-band .ask { margin: 0; color: var(--white); }
footer { background: #0A1320; color: #8893A7; padding: 56px 0; font-size: .9rem; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.foot img { height: 34px; }
.foot p { margin: 12px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot nav a { color: #C9D0DC; text-decoration: none; }
.foot nav a:hover { color: var(--white); }
.foot small { grid-column: 1 / -1; border-top: 1px solid #1B2638; padding-top: 22px; }

/* ------------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
  .top nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 16px 20px; border-top: 1px solid var(--navy-line); display: none; }
  .top.open nav { display: flex; }
  .top nav a { padding: 14px 4px; border-bottom: 1px solid var(--navy-line); }
  .top nav a.btn { margin-top: 14px; justify-content: center; border: 0; }
  .menu-btn { display: block; }
  .no-js .top nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; background: none; border: 0; padding: 0; }
  .hero-grid, .pane, .roles-grid, .split-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 620px; }
  .window { transform: none; }
  .studio-row, .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .faq-grid .head { position: static; }
  .tabs.vertical { flex-direction: row; }
  .tabs.vertical [role=tab] { text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-stage { padding: 0 0 210px; }
  .phone { width: 160px; right: 4px; }
  .stage-note { max-width: 46%; }
  .mini-stats b { font-size: 1.05rem; }
  .window-body { grid-template-columns: 40px 1fr; }
  .mini-main { padding: 14px 12px 12px; }
  .feed li { grid-template-columns: auto 1fr; }
  .feed li time { display: none; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div { border-left: 0; padding-left: 0; border-top: 1px solid var(--navy-line); }
  .facts-grid div:first-child { border-top: 0; }
  .studio-row, .steps, .trust-grid { grid-template-columns: 1fr; }
  .tabs [role=tab] { flex: 1 1 calc(50% - 6px); font-size: .86rem; padding: 12px 10px; }
  .pay-mock { overflow-x: auto; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
}
