/* DockSplash site. No build step: plain CSS, system fonts. */

:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg-raised: #0e1524;
  --bg-card: #121b2e;
  --line: #22304a;
  --text: #e8eef9;
  --muted: #9aa8c1;
  --accent: #4cc9f0;
  --accent-strong: #7bdcff;
  --accent-ink: #04202b;
  --warm: #ff9f43;
  --radius: 18px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }

a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); }
@media (max-width: 720px) { .site-nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); color: #fff; }
.site-nav .btn { padding: 9px 16px; font-size: 0.92rem; color: var(--accent-ink); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 620px; z-index: -1;
  background:
    radial-gradient(520px 320px at 30% 30%, rgba(76, 201, 240, 0.20), transparent 70%),
    radial-gradient(480px 300px at 72% 20%, rgba(255, 159, 67, 0.13), transparent 70%);
}
.eyebrow {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-raised); color: var(--muted); font-size: 0.86rem;
}
.hero h1 span { color: var(--accent); }
.lede { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.fineprint { margin-top: 16px; color: var(--muted); font-size: 0.88rem; }

/* The hero stage: a stand-in desktop with an animated Dock.
   Replace with a screen recording when one exists (see README). */
.stage {
  position: relative; margin: clamp(40px, 6vw, 70px) auto 0; max-width: 980px; aspect-ratio: 16 / 8.2;
  border-radius: 22px 22px 0 0; border: 1px solid var(--line); border-bottom: 0;
  background:
    radial-gradient(90% 120% at 20% 0%, #24406f 0%, transparent 60%),
    radial-gradient(80% 110% at 85% 10%, #5a2f6b 0%, transparent 60%),
    linear-gradient(180deg, #131d36, #0a101f);
  overflow: hidden;
}
/* The hero clip is wider than the text column, and loses a strip of sky off the top. */
video.stage {
  display: block; width: min(100vw - 40px, 1280px); max-width: none; height: auto; aspect-ratio: 2 / 1;
  margin-left: 50%; transform: translateX(-50%); object-fit: cover; object-position: 50% 100%;
}
.stage-note {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); color: #c9d5ea; font-size: 0.78rem; white-space: nowrap;
}
.dock {
  position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%);
  display: flex; gap: clamp(8px, 1.6vw, 16px); padding: clamp(8px, 1.3vw, 13px);
  border-radius: clamp(16px, 2.6vw, 26px);
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.icon {
  --c1: #5aa9ff; --c2: #2456d6;
  position: relative; width: clamp(34px, 7.4vw, 74px); aspect-ratio: 1; border-radius: 23%;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.icon::before, .icon::after { content: ""; position: absolute; pointer-events: none; }
.icon.i2 { --c1: #ff7a7a; --c2: #c9264f; }
.icon.i3 { --c1: #ffd66b; --c2: #f08a24; }
.icon.i4 { --c1: #7be495; --c2: #1e9e63; }
.icon.i5 { --c1: #c79bff; --c2: #6a3bd1; }
.icon.i6 { --c1: #f4f6fa; --c2: #aab4c6; }
.icon.i7 { --c1: #6ee7f0; --c2: #1787a8; }

/* Water: liquid sloshing in the lower half. */
.fx-water { overflow: hidden; }
.fx-water::before {
  left: -50%; top: 52%; width: 200%; height: 200%; border-radius: 42%;
  background: rgba(120, 215, 255, 0.62);
  animation: slosh 5.5s linear infinite;
}
.fx-water::after {
  left: -50%; top: 56%; width: 200%; height: 200%; border-radius: 39%;
  background: rgba(60, 150, 235, 0.5);
  animation: slosh 8s linear infinite reverse;
}
@keyframes slosh { to { transform: rotate(360deg); } }

/* Fire: flames rising from behind the top edge. */
.fx-fire::before {
  inset: -78% 4% 52% 4%; z-index: -1; border-radius: 50% 50% 22% 22% / 68% 68% 32% 32%;
  background: radial-gradient(55% 62% at 50% 62%, #fff3b0 0%, #ffb23e 34%, #ff5a1f 62%, transparent 82%);
  filter: blur(3px); transform-origin: 50% 100%;
  animation: flicker 0.9s ease-in-out infinite alternate;
}
@keyframes flicker {
  0% { transform: scale(0.94, 0.86) skewX(-4deg); opacity: 0.85; }
  50% { transform: scale(1.02, 1.04) skewX(3deg); opacity: 1; }
  100% { transform: scale(0.97, 0.93) skewX(-2deg); opacity: 0.9; }
}

/* Precious metal: a gleam sweeping across. */
.fx-gilt { --c1: #ffe9a6; --c2: #b98420; overflow: hidden; }
.fx-gilt::before {
  top: -20%; bottom: -20%; left: -70%; width: 46%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: gleam 3.6s ease-in-out infinite;
}
@keyframes gleam { 0%, 55% { left: -70%; } 100% { left: 130%; } }

/* Underglow: a pulsing glow on the Dock around the icon. */
.fx-glow { animation: glow 3s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), 0 0 10px 2px rgba(199, 155, 255, 0.35); }
  50% { box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), 0 0 34px 12px rgba(199, 155, 255, 0.8); }
}

/* Moons: one small moon in orbit, in front and then behind. */
.fx-moon::before {
  left: 50%; top: 50%; width: 22%; height: 22%; margin: -11% 0 0 -11%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #b7c1d6 70%);
  animation: orbit 4.2s linear infinite;
}
@keyframes orbit {
  0% { transform: translate(-330%, 40%) scale(1.05); z-index: 2; }
  25% { transform: translate(0, 150%) scale(1.25); z-index: 2; }
  50% { transform: translate(330%, -40%) scale(1.05); z-index: 2; }
  50.01% { z-index: -1; }
  75% { transform: translate(0, -150%) scale(0.8); z-index: -1; }
  100% { transform: translate(-330%, 40%) scale(1.05); z-index: -1; }
}

/* ---------- Sections ---------- */

section { padding: clamp(64px, 9vw, 112px) 0; }
.band { background: var(--bg-raised); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.kicker { display: block; margin-bottom: 12px; color: var(--accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Clips ---------- */

.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.clip { margin: 0; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); overflow: hidden; }
.clip video, .clip img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.clip figcaption { padding: 18px 20px 22px; }
.clip figcaption p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Effect list ---------- */

.more-head { margin: clamp(40px, 5vw, 60px) 0 22px; }
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 36px; margin: 0; }
.teasers dt { font-weight: 650; }
.teasers dd { margin: 4px 0 0; color: var(--muted); font-size: 0.97rem; }

.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 34px 40px; }
.group h3 { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 13px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--line); font-size: 0.92rem; }

/* ---------- Feature cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); }
.card .glyph { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: rgba(76, 201, 240, 0.12); color: var(--accent); }
.card .glyph svg { width: 22px; height: 22px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; color: var(--accent); font: 700 0.9rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Pricing ---------- */

.pricing { display: grid; place-items: center; }
.price-card {
  width: min(100%, 460px); padding: 36px; text-align: center; border-radius: 24px;
  background: linear-gradient(180deg, #16223b, var(--bg-card)); border: 1px solid #2f456c;
  box-shadow: 0 30px 80px -30px rgba(76, 201, 240, 0.35);
}
.price { margin: 14px 0 4px; font: 800 3.4rem/1 var(--font-display); letter-spacing: -0.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { margin: 24px 0 28px; padding: 0; list-style: none; text-align: left; display: grid; gap: 10px; }
.price-card li { padding-left: 28px; position: relative; color: #cfd9ec; }
.price-card li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-card .btn { width: 100%; }
.price-card .fineprint a { color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* ---------- Footer ---------- */

.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.site-footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.disclaimer { flex-basis: 100%; font-size: 0.82rem; opacity: 0.8; }

/* ---------- Legal pages ---------- */

.prose { max-width: 720px; padding: clamp(48px, 7vw, 88px) 0; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.prose p, .prose li { color: #cbd5e8; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; }
.prose .updated { color: var(--muted); font-size: 0.92rem; }
.draft { margin: 24px 0; padding: 14px 18px; border-radius: 12px; border: 1px dashed var(--warm); color: var(--warm); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
