/*
 * oceanlaunch.cloud: the public site. Plain CSS, no build step, no third-party requests.
 * Light and dark follow the visitor's system setting; motion is off for people who ask for less.
 */

:root {
  --blue: #2f6df6;
  --blue-2: #1f58e0;
  --sky: #5aa3ff;
  --cyan: #19b4e5;
  --navy-1: #0a1834;
  --navy-2: #0e2350;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fe;
  --card: #ffffff;
  --green: #16a34a;
  --radius: 1rem;
  --shadow: 0 18px 40px -24px rgba(15, 35, 80, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f5f9; --text: #cbd5e1; --muted: #94a3b8; --line: #1e293b;
    --bg: #0b1222; --bg-soft: #0f1a30; --card: #111c33; --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 1rem; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
code { font-family: var(--mono); font-size: .9em; }
.container { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .75rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--card); padding: .5rem 1rem; border-radius: .5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem;
  border-radius: .7rem; border: 1px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, border-color .18s, color .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 26px -14px rgba(47, 109, 246, .9); }
.btn-primary:hover { box-shadow: 0 16px 30px -14px rgba(47, 109, 246, 1); }
.btn-ghost { color: var(--ink); background: var(--card); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { color: var(--navy-1); background: #fff; }
.btn-sm { padding: .5rem .9rem; font-size: .88rem; }
.btn-block { width: 100%; }
.arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 35, 80, .45); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .7rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 8px 20px -8px rgba(47, 109, 246, .8); }
.brand .accent { color: var(--blue); }
.nav-links { display: flex; gap: 1.6rem; margin-left: 1.5rem; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); text-decoration: none; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.55rem; height: 2px; border-radius: 2px; background: var(--blue); }
.nav-cta { margin-left: auto; display: flex; gap: .6rem; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); padding: .4rem; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.is-open .nav { flex-wrap: wrap; height: auto; padding: .9rem 0 1.1rem; }
  .site-header.is-open .nav-links { display: flex; flex-direction: column; gap: .9rem; width: 100%; margin: .6rem 0 0; order: 3; }
  .site-header.is-open .nav-cta { display: flex; width: 100%; order: 4; margin: .6rem 0 0; }
  .site-header.is-open .nav-cta .btn { flex: 1; }
}

/* Beta strip */
.beta-strip { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem .35rem .4rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.beta-strip b { color: #fff; background: var(--green); border-radius: 999px; padding: .1rem .55rem; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; }
.hero::before { width: 38rem; height: 38rem; top: -16rem; left: -10rem; background: radial-gradient(circle, var(--blue), transparent 70%); }
.hero::after { width: 30rem; height: 30rem; top: 4rem; right: -12rem; background: radial-gradient(circle, var(--cyan), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 .grad { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .88rem; color: var(--muted); }
.hero-note span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .35rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Product mock in the hero */
.mock { border-radius: 1.1rem; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(15, 35, 80, .55); display: grid; grid-template-columns: 4.25rem 1fr; min-height: 22rem; }
.mock-side { background: linear-gradient(180deg, var(--navy-1), var(--navy-2)); padding: 1rem .75rem; display: flex; flex-direction: column; gap: .55rem; }
.mock-side i { display: block; height: .55rem; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.mock-side i.on { background: var(--blue); height: 1.6rem; border-radius: .45rem; }
.mock-side i.logo { height: 1.6rem; width: 1.6rem; border-radius: .45rem; background: linear-gradient(135deg, var(--blue), var(--cyan)); margin-bottom: .5rem; }
.mock-main { padding: 1.15rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.mock-title { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock-stat { border: 1px solid var(--line); border-radius: .7rem; padding: .6rem .7rem; font-size: .72rem; color: var(--muted); }
.mock-stat b { display: block; font-size: 1.2rem; color: var(--ink); }
.mock-app { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: .7rem; padding: .6rem .7rem; font-size: .8rem; }
.mock-app .ico { width: 1.8rem; height: 1.8rem; border-radius: .5rem; display: grid; place-items: center; background: rgba(47, 109, 246, .12); color: var(--blue); font-weight: 800; font-size: .75rem; flex: none; }
.mock-app .name { font-weight: 700; color: var(--ink); }
.mock-app .host { color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; color: var(--green); background: rgba(22, 163, 74, .12); }
.pill::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.pill.building { color: var(--blue); background: rgba(47, 109, 246, .12); }
.pill.building::before { animation: blink 1s infinite; }
.mock-term { margin-top: auto; border-radius: .7rem; background: #0d1117; color: #c9d1d9; font-family: var(--mono); font-size: .7rem; padding: .7rem .8rem; line-height: 1.7; min-height: 7.4rem; }
.mock-term .t { color: #6e7681; margin-right: .5rem; }
.mock-term .ok { color: #3fb950; }
.mock-term .line { opacity: 0; animation: type .4s var(--ease) forwards; }
.mock-term .line:nth-child(2) { animation-delay: .9s; }
.mock-term .line:nth-child(3) { animation-delay: 1.8s; }
.mock-term .line:nth-child(4) { animation-delay: 2.7s; }
.mock-term .line:nth-child(5) { animation-delay: 3.6s; }
@keyframes type { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .25; } }
@media (max-width: 520px) { .mock { grid-template-columns: 1fr; } .mock-side { display: none; } .mock-stats { grid-template-columns: 1fr 1fr; } .mock-stats .mock-stat:last-child { display: none; } }

/* Sections */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: center; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(47, 109, 246, .35); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .85rem; margin-bottom: 1.1rem; color: var(--blue); background: rgba(47, 109, 246, .1); }
.icon svg { width: 1.45rem; height: 1.45rem; }
.icon.green { color: var(--green); background: rgba(22, 163, 74, .1); }
.icon.violet { color: #7c5cff; background: rgba(124, 92, 255, .12); }
.icon.amber { color: #d97706; background: rgba(217, 119, 6, .12); }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; color: var(--blue); background: rgba(47, 109, 246, .1); margin-left: .35rem; vertical-align: middle; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 1.75rem; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: .35; }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-no { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.1rem; border-radius: 50%; font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 0 0 8px var(--bg-soft), 0 14px 30px -12px rgba(47, 109, 246, .8); }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* Security list */
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.checks li { display: flex; gap: .85rem; }
.checks li::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; margin-top: .1rem; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / .9rem no-repeat; }
.checks b { color: var(--ink); display: block; }
.checks span { color: var(--muted); font-size: .93rem; }
.shield { position: relative; border-radius: 1.4rem; padding: 2rem; color: #c9d5ee; background: radial-gradient(100% 80% at 0% 0%, #1b3b8f, transparent 60%), linear-gradient(160deg, var(--navy-1), var(--navy-2)); box-shadow: 0 40px 80px -40px rgba(15, 35, 80, .7); overflow: hidden; }
.shield h3 { color: #fff; }
.shield code { color: #9cc6ff; }
.shield .row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.shield .row:last-child { border: 0; }
.shield .ok { color: #4ade80; font-weight: 700; white-space: nowrap; }

/* CTA band */
.cta { border-radius: 1.5rem; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; color: #c9d5ee; background: radial-gradient(90% 120% at 50% 0%, #2350c2, transparent 70%), linear-gradient(160deg, var(--navy-1), var(--navy-2)); position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta .lead { color: #a9b8d8; }
.cta .hero-actions { justify-content: center; margin-bottom: 0; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }

/* Pricing */
.pricing-hero { padding-bottom: 2rem; }
.notice { display: flex; gap: .85rem; align-items: flex-start; max-width: 46rem; margin: 0 auto 2rem; padding: 1rem 1.2rem; border-radius: .9rem; border: 1px solid rgba(22, 163, 74, .3); background: rgba(22, 163, 74, .07); color: var(--text); font-size: .93rem; }
.notice b { color: var(--ink); }
.notice .dot { flex: none; width: .65rem; height: .65rem; margin-top: .45rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(22, 163, 74, .18); }
.toggle { display: inline-flex; padding: .3rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.toggle button { border: 0; background: none; padding: .55rem 1.25rem; border-radius: 999px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.toggle button[aria-pressed="true"] { color: #fff; background: var(--blue); }
.toggle .save { font-size: .7rem; color: var(--green); background: rgba(22, 163, 74, .12); border-radius: 999px; padding: .1rem .45rem; margin-left: .3rem; }
.toggle button[aria-pressed="true"] .save { color: #fff; background: rgba(255, 255, 255, .22); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.5rem; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--blue); box-shadow: 0 30px 60px -36px rgba(47, 109, 246, .9); }
.plan.now { border-color: rgba(22, 163, 74, .45); }
.ribbon { position: absolute; top: 1rem; right: 1rem; font-size: .7rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; color: #fff; background: var(--blue); }
.ribbon.green { background: var(--green); }
.ribbon.soft { color: var(--blue); background: rgba(47, 109, 246, .1); }
.plan h3 { font-size: 1.35rem; margin: 1rem 0 .15rem; }
.plan .for { color: var(--muted); font-size: .9rem; margin: 0 0 1.1rem; }
.price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .2rem; color: var(--ink); }
.price b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--muted); font-weight: 600; }
.billed { font-size: .78rem; color: var(--muted); min-height: 1.2rem; margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; font-size: .93rem; }
.plan li { display: flex; gap: .55rem; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; }
.plan .btn { margin-top: auto; }
.fineprint { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1.5rem; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.compare th, .compare td { padding: .9rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { color: var(--ink); background: var(--bg-soft); font-size: .9rem; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .col-pro { background: rgba(47, 109, 246, .05); }
.compare .yes { color: var(--green); font-weight: 800; }
.compare .no { color: var(--muted); }
.table-scroll { overflow-x: auto; border-radius: 1rem; }

.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
details.q { background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: 0 1.2rem; transition: border-color .2s, box-shadow .2s; }
details.q + details.q { margin-top: .75rem; }
details.q[open] { border-color: rgba(47, 109, 246, .5); box-shadow: var(--shadow); }
details.q summary { list-style: none; cursor: pointer; padding: 1rem 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue); transition: transform .2s var(--ease); }
details.q[open] summary::after { transform: rotate(45deg); }
details.q p { color: var(--muted); font-size: .95rem; padding-bottom: 1rem; margin: 0; }

.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.4rem 1.6rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--card); }
.contact .grow { flex: 1; min-width: 14rem; }
.contact b { color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue); }
.foot-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.soon { font-size: .68rem; font-weight: 800; color: var(--blue); background: rgba(47, 109, 246, .1); border-radius: 999px; padding: .05rem .45rem; margin-left: .3rem; text-transform: uppercase; letter-spacing: .04em; }

/* Reveal on scroll (only once the script says so, so nothing stays hidden without it) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

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

/* ---------------------------------------------------------------- animated hero ("film") */

.film {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center;
  min-height: min(88vh, 46rem); padding: 4.5rem 0 5.5rem; color: #c9d5ee;
  background: radial-gradient(110% 80% at 85% 5%, #1755d6 0%, transparent 55%), linear-gradient(180deg, #0b2a6e 0%, #071a45 55%, #040d24 100%);
}
.film-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.film-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.film h1 { color: #fff; }
.film h1 .grad { background: linear-gradient(135deg, #7cc0ff, #3be0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.film .lead { color: #a9b8d8; }
.film .hero-note { color: #9fb0d0; }
.film .hero-note span::before { color: #4ade80; }
.beta-strip.dark { color: #dbe5f7; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none; backdrop-filter: blur(6px); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); backdrop-filter: blur(6px); }
.btn-glass:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }

.drum-stage { position: relative; height: 27rem; display: grid; place-items: center; perspective: 1100px; }
.drum-title { position: absolute; top: .5rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .8rem; white-space: nowrap; }
.drum-title b {
  font-size: 4.6rem; line-height: 1; font-weight: 800;
  background: linear-gradient(160deg, #ffd27a, #ff9f1a); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.drum-title span { color: #fff; font-size: 1.05rem; line-height: 1.25; font-weight: 600; }
.drum { position: relative; width: 23rem; height: 7.4rem; margin-top: 4rem; transform-style: preserve-3d; transition: transform 1.15s cubic-bezier(.65, 0, .25, 1); }
.drum-card {
  --r: 6.4rem;
  position: absolute; inset: 0; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  border-radius: 1rem; color: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: rotateX(calc(var(--i) * -60deg)) translateZ(var(--r));
  opacity: .5; transition: opacity .9s var(--ease);
}
.drum-card.is-front { opacity: 1; }
.drum-card:nth-child(1) { --i: 0; } .drum-card:nth-child(2) { --i: 1; } .drum-card:nth-child(3) { --i: 2; }
.drum-card:nth-child(4) { --i: 3; } .drum-card:nth-child(5) { --i: 4; } .drum-card:nth-child(6) { --i: 5; }
.drum-card b { display: block; font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: .2rem; }
.dc-icon { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .8rem; color: #9cc6ff; background: rgba(90, 163, 255, .18); }
.dc-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dc-icon.green { color: #4ade80; background: rgba(74, 222, 128, .15); }
.dc-icon.violet { color: #b39dff; background: rgba(124, 92, 255, .2); }
.dc-icon.amber { color: #ffc46b; background: rgba(255, 184, 77, .16); }
.dc-mini { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: #a9c4ee; }
.dc-mini i { font-style: normal; }
.dc-mini .ok { color: #4ade80; font-weight: 800; }
.dc-mini .live { color: #4ade80; background: rgba(74, 222, 128, .15); border-radius: 999px; padding: 0 .45rem; font-weight: 700; }
.dc-mini.mono { font-family: var(--mono); font-size: .74rem; }
.dc-mini.steps i:not(.on) { width: .5rem; height: .5rem; border-radius: 50%; background: #5aa3ff; }
.dc-mini.steps i.on { width: .5rem; height: .5rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }

.film-pause {
  position: absolute; right: 1.5rem; bottom: 1.5rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.film-pause:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); }
.film-pause svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.film-pause .i-play { display: none; fill: currentColor; }
.film-pause[aria-pressed="true"] .i-pause { display: none; }
.film-pause[aria-pressed="true"] .i-play { display: block; }

@media (max-width: 960px) {
  .film { min-height: 0; padding: 3.5rem 0 5rem; }
  .film-grid { grid-template-columns: 1fr; gap: 1rem; }
  .drum-stage { height: 21rem; }
}
@media (max-width: 480px) {
  .drum { width: 19rem; }
  .drum-card { padding: .85rem 1rem; }
  .drum-title b { font-size: 3.6rem; }
}
/* A soft shade behind the text, so the waves never compete with it. */
.film::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(4, 13, 36, .55) 0%, rgba(4, 13, 36, .25) 40%, transparent 62%); }
@media (max-width: 960px) { .film::before { background: linear-gradient(180deg, rgba(4, 13, 36, .45), transparent 60%); } }

/* ---------------------------------------------------------------- legal pages */

.legal { max-width: 48rem; padding: 3rem 0 4rem; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; scroll-margin-top: 5.5rem; }
.legal h3 { font-size: 1rem; margin: 1.25rem 0 .4rem; }
.legal section { padding: 0; }
.legal p, .legal li { font-size: .98rem; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .35rem; }
.legal-meta { color: var(--muted); font-size: .9rem; }
.legal-summary { margin: 1.5rem 0; padding: 1.1rem 1.3rem; border-radius: .9rem; border: 1px solid rgba(47, 109, 246, .25); background: rgba(47, 109, 246, .06); }
.legal-toc { margin: 1.5rem 0 1rem; padding: 1rem 1.3rem; border-radius: .9rem; border: 1px solid var(--line); background: var(--card); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; font-size: .92rem; }
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }
.legal-card { padding: 1rem 1.2rem; border-radius: .8rem; border: 1px solid var(--line); background: var(--bg-soft); }
