/* Ordino — ordino-pos.com
   Author: Hamid Fakhari · Kapital 8 GmbH */

@font-face { font-family: "Inter"; src: url("fonts/inter-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0c12;
  --bg-2: #11121a;
  --panel: #16161f;
  --panel-2: #1c1c28;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f4f5f7;
  --muted: #a3a7b5;
  --dim: #6f7383;
  --green: #2bb27e;
  --green-2: #3fd497;
  --green-glow: rgba(43,178,126,.35);
  --amber: #f5a524;
  --radius: 22px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.green { color: var(--green-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11,12,18,.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--panel-2); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.logo-mark i { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--green); display: block; }
.nav-links { display: flex; gap: 26px; margin-left: 18px; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 5px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .3s, color .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #061710; box-shadow: 0 8px 30px -8px var(--green-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--green-2); box-shadow: 0 10px 40px -6px var(--green-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 50% 18%, rgba(43,178,126,.22), transparent 70%),
    radial-gradient(500px 300px at 15% 40%, rgba(90,110,255,.10), transparent 70%),
    radial-gradient(500px 300px at 85% 45%, rgba(43,178,126,.08), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000 20%, transparent 75%);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--muted);
  transition: background .2s;
}
.pill:hover { background: rgba(255,255,255,.09); }
.pill b { background: var(--green); color: #061710; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 var(--green-glow); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63,212,151,.6); } 80%,100% { box-shadow: 0 0 0 8px rgba(63,212,151,0); } }
h1.display {
  position: relative; margin: 26px auto 0; max-width: 980px;
  font-size: clamp(42px, 7.4vw, 96px); line-height: .98; letter-spacing: -.045em; font-weight: 750;
}
h1.display .serif { font-weight: 400; letter-spacing: -.02em; background: linear-gradient(100deg, #7ff0bf, var(--green) 55%, #1f8f63); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { position: relative; max-width: 680px; margin: 26px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero-ctas { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { position: relative; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 13.5px; color: var(--dim); }
.hero-meta span { display: inline-flex; gap: 7px; align-items: center; }
.hero-meta svg { color: var(--green); }

/* Hero stage: Mac + iPad + iPhone */
.stage { position: relative; margin: 70px auto 0; width: min(1240px, 100% - 24px); aspect-ratio: 16 / 8.6; perspective: 2000px; }
.stage .glow { position: absolute; left: 10%; right: 10%; bottom: 4%; height: 40%; background: radial-gradient(closest-side, rgba(43,178,126,.35), transparent); filter: blur(40px); }
.stage .mac { position: absolute; left: 0; top: 2%; width: 62%; transform: translateY(var(--p-mac, 0)); }
.stage .ipad { position: absolute; left: 30%; top: 15%; width: 52%; z-index: 2; transform: translateY(var(--p-ipad, 0)); }
.stage .iphone { position: absolute; right: 2%; top: 22%; width: 16.5%; z-index: 3; transform: translateY(var(--p-iphone, 0)); }

/* ---------- Device frames ---------- */
.dev-screen { position: relative; overflow: hidden; background: #000; }
.dev-screen img, .dev-screen video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ipad-frame {
  border-radius: 4.2% / 5.8%; padding: 2.1%; background: linear-gradient(145deg, #3a3c44, #17181d 40%, #2a2b31);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.9), 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.05);
}
.ipad-frame .dev-screen { border-radius: 2.6% / 3.6%; aspect-ratio: 4 / 3; }
.ipad-frame.portrait .dev-screen { aspect-ratio: 3 / 4; border-radius: 3.6% / 2.6%; }
.ipad-frame.portrait { border-radius: 5.8% / 4.2%; }
.iphone-frame {
  border-radius: 17% / 8%; padding: 4.2%; background: linear-gradient(145deg, #4a4b52, #1a1b20 45%, #33343a);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -20px rgba(0,0,0,.9), inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.iphone-frame .dev-screen { border-radius: 13% / 6.2%; aspect-ratio: 1206 / 2622; }
.iphone-frame .island { position: absolute; z-index: 2; top: 2.2%; left: 50%; transform: translateX(-50%); width: 31%; height: 3.3%; border-radius: 99px; background: #000; }
.mac-frame { position: relative; }
.mac-frame .lid { border-radius: 2.4% / 3.6%; padding: 1.6% 1.6% 2.4%; background: #0d0d10; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 100px -30px rgba(0,0,0,.9); }
.mac-frame .dev-screen { border-radius: .8% / 1.2%; aspect-ratio: 16 / 10; }
.mac-frame .base { height: 0; padding-bottom: 3.2%; margin: 0 -7%; border-radius: 0 0 14% 14% / 0 0 100% 100%; background: linear-gradient(#c9cbd1, #8d9097 40%, #55575d); position: relative; }
.mac-frame .base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 35%; border-radius: 0 0 10px 10px; background: rgba(0,0,0,.25); }

/* ---------- Logos / trust strip ---------- */
.trust { padding: 70px 0 40px; }
.trust p { text-align: center; color: var(--dim); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 26px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--muted); }
.trust-item b { color: var(--text); font-weight: 650; }
.trust-item svg { color: var(--green); flex: none; }

/* ---------- Section heads ---------- */
section { position: relative; }
.sec { padding: 130px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
h2.h { margin: 18px 0 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 720; max-width: 900px; }
h2.h .serif { color: var(--green-2); }
.sub { margin: 22px 0 0; max-width: 640px; color: var(--muted); font-size: clamp(16.5px, 1.4vw, 19px); }
.center { text-align: center; }
.center h2.h, .center .sub { margin-left: auto; margin-right: auto; }

/* ---------- Devices section ---------- */
.dev-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); margin-top: 40px; }
.dev-tabs button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 15px; transition: background .25s, color .25s; }
.dev-tabs button[aria-selected="true"] { background: var(--text); color: #0b0c12; }
.dev-panels { position: relative; margin-top: 56px; }
.dev-panel { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.dev-panel[hidden] { display: none; }
.dev-panel.in .dev-visual { animation: rise .7s var(--ease) both; }
.dev-panel.in .dev-copy { animation: rise .7s .08s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.dev-visual { display: flex; justify-content: center; }
.dev-visual .iphone-frame { width: min(300px, 70%); }
.dev-copy h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.08; margin: 0; font-weight: 700; }
.dev-copy p { color: var(--muted); margin: 16px 0 0; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 16px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(43,178,126,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%233fd497' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- Story (sticky scroll) ---------- */
.story { padding: 120px 0 60px; }
.story-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; margin-top: 60px; }
.story-steps { display: grid; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.step.active { opacity: 1; }
.step .num { font: 600 13px/1 "Inter"; color: var(--green-2); letter-spacing: .12em; }
.step h3 { margin: 14px 0 0; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.06; font-weight: 700; }
.step p { margin: 16px 0 0; color: var(--muted); max-width: 460px; }
.step .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.story-media { position: sticky; top: 12vh; height: 76vh; display: flex; align-items: center; }
.story-media .ipad-frame { width: 100%; }
.story-media .dev-screen img { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-media .dev-screen img.on { opacity: 1; transform: none; }
.step-img-mobile { display: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 60px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, transform .4s var(--ease);
}
.card:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(43,178,126,.10), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::after { opacity: 1; }
.card h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; font-weight: 680; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(43,178,126,.12); color: var(--green-2); margin-bottom: 20px; box-shadow: inset 0 0 0 1px rgba(43,178,126,.25); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.card .shot { margin: 26px -30px -30px; border-top: 1px solid var(--line); }
.card .shot img { width: 100%; }
.card.big { padding: 36px; }
.stat { font-size: 54px; font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.stat small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; }

/* ---------- Video band ---------- */
.film { padding: 120px 0; }
.film-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.film .iphone-frame { width: min(340px, 80%); margin-inline: auto; }
.film-steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: s; display: grid; gap: 4px; }
.film-steps li { counter-increment: s; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.film-steps li::before { content: counter(s, decimal-leading-zero); color: var(--green-2); font-weight: 650; font-size: 13px; letter-spacing: .08em; }
.film-steps li b { color: var(--text); font-weight: 600; }
.note-small { font-size: 13px; color: var(--dim); margin-top: 18px; }

/* ---------- Compliance ---------- */
.law { padding: 130px 0; background: radial-gradient(900px 500px at 50% 0%, rgba(43,178,126,.09), transparent 70%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.law-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.law-cell { background: var(--bg-2); padding: 34px 30px; }
.law-cell .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--green-2); padding: 5px 10px; border-radius: 8px; background: rgba(43,178,126,.1); }
.law-cell h3 { margin: 16px 0 0; font-size: 20px; letter-spacing: -.02em; font-weight: 660; }
.law-cell p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Pilot ---------- */
.pilot { padding: 140px 0; }
.pilot-card {
  position: relative; overflow: hidden; border-radius: 34px; padding: clamp(32px, 6vw, 80px);
  background: radial-gradient(800px 400px at 85% 0%, rgba(43,178,126,.28), transparent 60%), linear-gradient(160deg, #142a21, #0f1218 60%);
  box-shadow: inset 0 0 0 1px rgba(43,178,126,.3);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.seats { display: flex; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.seat { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.seat.taken { background: var(--green); box-shadow: 0 0 20px -4px var(--green-glow); }
.seats-label { margin-top: 12px; font-size: 14px; color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); }
.perks li b { display: block; font-weight: 640; }
.perks li span { color: var(--muted); font-size: 14.5px; }
.perks svg { flex: none; color: var(--green-2); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; }
.faq-list { max-width: 820px; margin: 50px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 18.5px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 720px; }

/* ---------- Final CTA ---------- */
.final { padding: 140px 0 150px; text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; bottom: -320px; transform: translateX(-50%); width: 1100px; height: 600px; background: radial-gradient(closest-side, rgba(43,178,126,.35), transparent); filter: blur(30px); pointer-events: none; }
.final h2 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1; letter-spacing: -.045em; font-weight: 740; margin: 0 auto; max-width: 900px; position: relative; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot h4 { margin: 0 0 14px; color: var(--text); font-size: 14px; font-weight: 650; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--text); }
.powered { color: var(--muted); }
.powered b { color: var(--text); font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- Application (funnel) ---------- */
.apply { position: fixed; inset: 0; z-index: 100; display: none; }
.apply.open { display: block; }
.apply-bg { position: absolute; inset: 0; background: rgba(5,6,10,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .3s both; }
.apply-sheet {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(680px, 100% - 24px); max-height: calc(100dvh - 24px);
  overflow: auto; border-radius: 28px; background: linear-gradient(180deg, #171822, #12131b); box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(0,0,0,.9);
  animation: pop .45s var(--ease) both;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
.apply-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: rgba(23,24,34,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.apply-head .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.apply-head .bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 4px; transition: width .45s var(--ease); }
.apply-head .stepno { font-size: 13px; color: var(--dim); min-width: 92px; text-align: right; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); cursor: pointer; display: grid; place-items: center; color: var(--muted); flex: none; }
.icon-btn:hover { background: rgba(255,255,255,.12); color: var(--text); }
.icon-btn[hidden] { display: none; }
.apply-body { padding: 34px clamp(20px, 5vw, 44px) 40px; }
.apply-body h3 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.03em; line-height: 1.12; font-weight: 700; }
.apply-body .q-sub { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }
.view { animation: rise .4s var(--ease) both; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.opts.one { grid-template-columns: 1fr; }
.opt { text-align: left; border: 0; cursor: pointer; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15.5px; font-weight: 550; transition: background .2s, box-shadow .2s, transform .15s; display: flex; align-items: center; gap: 12px; }
.opt:hover { background: rgba(255,255,255,.08); }
.opt:active { transform: scale(.99); }
.opt[aria-pressed="true"] { background: rgba(43,178,126,.14); box-shadow: inset 0 0 0 1.5px var(--green); }
.opt .box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; display: grid; place-items: center; }
.opt[aria-pressed="true"] .box { background: var(--green); box-shadow: none; }
.opt[aria-pressed="true"] .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #061710; border-bottom: 2px solid #061710; transform: rotate(-45deg) translate(1px, -1px); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; color: var(--muted); font-weight: 550; }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: 12px; padding: 14px 16px; background: rgba(0,0,0,.3); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; font-size: 16px; outline: none; transition: box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--green); }
.field input:user-invalid { box-shadow: inset 0 0 0 1.5px #e24b4a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.form-grid .full { grid-column: 1 / -1; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); grid-column: 1 / -1; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--green); flex: none; margin-top: 1px; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.apply-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.apply-actions .btn { flex: 1; min-width: 200px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.done-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(43,178,126,.14); color: var(--green-2); margin: 0 auto 22px; box-shadow: 0 0 0 10px rgba(43,178,126,.06); }
.err { color: #ff8a89; font-size: 14px; margin-top: 12px; }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 10px; font-weight: 740; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 44px 0 10px; font-weight: 660; }
.legal h3 { font-size: 17px; margin: 28px 0 6px; font-weight: 640; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--green-2); }
.legal .stand { color: var(--dim); font-size: 14px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 18px 0; }
.legal dt { color: var(--dim); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.legal dd { margin: 0; color: var(--text); }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .dev-panel, .film-in, .pilot-card { grid-template-columns: 1fr; gap: 44px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 2; }
  .law-grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-media { display: none; }
  .step { min-height: 0; opacity: 1; padding: 34px 0; }
  .step-img-mobile { display: block; margin-top: 26px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.open { background: rgba(11,12,18,.97); }
  .nav.open .nav-links { display: grid; position: absolute; top: 68px; left: 0; right: 0; padding: 12px 20px 26px; gap: 0; margin: 0; background: rgba(11,12,18,.97); border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .hero { padding-top: 120px; }
  .hide-sm { display: none; }
  .hero-meta { gap: 8px 16px; font-size: 12.5px; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .stage { aspect-ratio: 4 / 3.6; margin-top: 50px; }
  .stage .mac { width: 92%; left: 4%; top: 0; }
  .stage .ipad { width: 74%; left: 4%; top: 40%; }
  .stage .iphone { width: 26%; right: 4%; top: 46%; }
  .sec, .law, .pilot, .film, .faq { padding: 84px 0; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; }
  .law-grid { grid-template-columns: 1fr; }
  .opts, .form-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 14px; }
  .apply-sheet { top: auto; bottom: 0; transform: translateX(-50%); width: 100%; border-radius: 26px 26px 0 0; max-height: 94dvh; animation: up .45s var(--ease) both; }
  @keyframes up { from { transform: translate(-50%, 30px); opacity: 0; } }
  .dev-tabs button { padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
