/* HydraTask marketing site — mobile-first, bluish, alive but calm.
   Palette: deep sea navy → teal-blue, with a warm crown-gold accent. */

:root {
  --ink: #0b1d33;
  --ink-2: #12294a;
  --sea: #163a5c;
  --sea-2: #1f5f86;
  --teal: #22a0aa;
  --teal-2: #3cc7cf;
  --foam: #dff3f7;
  --paper: #f4f9fb;
  --white: #ffffff;
  --gold: #e6b246;
  --coral: #ff7a59;
  --text: #0e1a2b;
  --muted: #5a6b80;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 29, 51, 0.12);
  --max: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { 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(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 8vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px rgba(230, 178, 70, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(230, 178, 70, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-outline { background: transparent; color: var(--sea); border-color: var(--sea); }
.btn-outline:hover { background: var(--foam); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 29, 51, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--white);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; font-weight: 800; font-family: var(--display); font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: none; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: none; }
.nav-toggle {
  background: none; border: 0; color: var(--white); width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; }
.nav-drawer {
  display: none; background: var(--ink-2); color: var(--white); padding: 0.5rem 0 1rem;
}
.nav-drawer.open { display: block; }
.nav-drawer a { display: block; padding: 0.8rem 0; color: var(--white); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
@media (min-width: 820px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .nav-drawer { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: linear-gradient(180deg, #0b1d33 0%, #12294a 45%, #163a5c 100%);
}
.hero .wrap { position: relative; z-index: 3; padding: 2.6rem 0 0; text-align: center; }
.hero h1 { color: var(--white); margin-bottom: 0.6rem; }
.hero h1 em { font-style: normal; color: var(--teal-2); }
.hero .lede { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 34rem; margin: 0 auto 1.4rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 0.6rem; }
.hero .fine { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stars i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #cfe9f3; opacity: 0.6;
  animation: twinkle 4s ease-in-out infinite;
}

/* the battle stage */
.stage {
  --vessel-w: clamp(200px, 56vw, 360px);
  --vessel-h: var(--vessel-w);   /* ship box is 720×720 */
  /* Phones: the King stays in proportion with the ship. Tablets and up
     (see the 768px block below) get the towering 3× version. */
  --king-w: clamp(150px, 46vw, 260px);
  --king-bottom: 16%;
  position: relative; z-index: 2; height: clamp(300px, 74vw, 440px); margin-top: 0.75rem;
  /* The submerged King may extend below the stage: clip below, never above (his crown can rise). */
  clip-path: inset(-100% 0 0 0);
}
.sea {
  position: absolute; left: -10%; right: -10%; height: 46%; bottom: 0;
}
/* Wave crests: a repeating scalloped edge in the layer's own colour with a
   foam line along the top, drifting sideways at each layer's own pace. */
.sea::after {
  content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 24px;
  background-repeat: repeat-x; background-size: 180px 24px;
  animation: drift 9s linear infinite;
}
.sea-back::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22180%22 height=%2224%22 viewBox=%220 0 180 24%22%3E%3Cpath d=%22M0 24 V14 C22 4 38 4 60 14 S98 24 120 14 S158 4 180 14 V24 Z%22 fill=%22%231d5a80%22/%3E%3Cpath d=%22M0 14 C22 4 38 4 60 14 S98 24 120 14 S158 4 180 14%22 fill=%22none%22 stroke=%22rgba%28223,243,247,0.32%29%22 stroke-width=%222.5%22 stroke-linecap=%22round%22/%3E%3C/svg%3E"); animation-duration: 11s; }
.sea-mid::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22180%22 height=%2224%22 viewBox=%220 0 180 24%22%3E%3Cpath d=%22M0 24 V14 C22 4 38 4 60 14 S98 24 120 14 S158 4 180 14 V24 Z%22 fill=%22%231a4a6b%22/%3E%3Cpath d=%22M0 14 C22 4 38 4 60 14 S98 24 120 14 S158 4 180 14%22 fill=%22none%22 stroke=%22rgba%28223,243,247,0.38%29%22 stroke-width=%222.5%22 stroke-linecap=%22round%22/%3E%3C/svg%3E"); animation-duration: 8s; animation-direction: reverse; }
.sea-front::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22180%22 height=%2224%22 viewBox=%220 0 180 24%22%3E%3Cpath d=%22M0 24 V14 C22 4 38 4 60 14 S98 24 120 14 S158 4 180 14 V24 Z%22 fill=%22%23123a57%22/%3E%3Cpath d=%22M0 14 C22 4 38 4 60 14 S98 24 120 14 S158 4 180 14%22 fill=%22none%22 stroke=%22rgba%28223,243,247,0.45%29%22 stroke-width=%222.5%22 stroke-linecap=%22round%22/%3E%3C/svg%3E"); animation-duration: 6.5s; }
@keyframes drift { to { background-position-x: -180px; } }
.sea-back { background: #1d5a80; bottom: 22%; height: 30%; opacity: 0.9; animation: swell 7s ease-in-out infinite; }
.sea-mid { background: #1a4a6b; bottom: 10%; height: 32%; z-index: 1; animation: swell 5.5s ease-in-out infinite reverse; }
/* Overshoots the stage bottom so the swell never lifts it off the submerged King. */
.sea-front { background: #123a57; bottom: -14px; height: calc(26% + 14px); z-index: 3; animation: swell 6.5s ease-in-out infinite; }


.king {
  position: absolute; right: -2%; bottom: var(--king-bottom); width: var(--king-w); z-index: 2;
  transform-origin: 50% 100%;
  animation: king-rise 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) both, king-sway 6s ease-in-out 1.8s infinite;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}
.king.hit { animation: king-rise 0s both, king-flinch 0.5s ease-out; }

.vessel {
  position: absolute; left: -4%; bottom: 14%; width: var(--vessel-w); z-index: 5;
  transform-origin: 50% 90%;
  animation: bob 5s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}
.ship { width: 100%; }
/* The hero stands on the main deck: the deck line is y=300 of the ship's
   720×720 box (which starts at y=-200), so his feet sit 30.6% up — set a
   hair lower so they're on the planks, not hovering. */
.pirate {
  position: absolute; left: 46%; bottom: 29.8%; width: 23%; z-index: 2;
  transform-origin: 50% 100%;
  animation: raise 7s ease-in-out 2.4s infinite;
}

/* Broadside: each shot box runs from a gun port to the King's chest; the
   puff blooms at the port, the ball arcs across it. Gun ports sit at 31%,
   48%, 66% of the ship's width and 23% up its box. */
.shot {
  position: absolute; z-index: 6; pointer-events: none;
  bottom: calc(14% + var(--vessel-h) * 0.23);
  right: calc(-4% + var(--king-w) * 0.5);
  height: 34%;
}
.shot-1 { left: calc(-4% + var(--vessel-w) * 0.31); }
.shot-2 { left: calc(-4% + var(--vessel-w) * 0.48); }
.shot-3 { left: calc(-4% + var(--vessel-w) * 0.66); }
.shot .puff {
  position: absolute; left: 0; bottom: 0; width: 28px; height: 28px; margin: 0 0 -14px -6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 244, 247, 0.95) 0 35%, rgba(200, 210, 220, 0.6) 60%, transparent 72%);
  opacity: 0; transform: scale(0.3);
  animation: puff 7s linear 2.4s infinite;
}
.shot .ball {
  position: absolute; left: 0; top: 0; width: 0; height: 100%;
  animation: ball-x 7s linear 2.4s infinite;
}
.shot .ball b {
  position: absolute; left: 0; top: 100%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8a96a3, #1b2129 70%);
  box-shadow: 0 0 0 2px rgba(223, 243, 247, 0.55), 0 0 10px rgba(223, 243, 247, 0.45);
  opacity: 0;
  animation: ball-y 7s linear 2.4s infinite;
}
.shot-2 .ball b { --apex: 8%; }
.shot-3 .ball b { --apex: -6%; }
.shot-2 .puff, .shot-2 .ball, .shot-2 .ball b { animation-delay: 2.55s; }
.shot-3 .puff, .shot-3 .ball, .shot-3 .ball b { animation-delay: 2.7s; }


/* Hydranado: a funnel that sweeps the stage right → left, with three-headed
   hatchlings swirling around its axis as it goes — front pass big and bright,
   back pass small and dim, tumbling as they climb. */
.nado {
  position: absolute; left: 0; bottom: 16%; width: clamp(220px, 60vw, 380px); height: clamp(200px, 56vw, 500px);   /* base rides the front crest; never taller than the stage */
  opacity: 0; transform: translateX(110vw); z-index: 4;   /* in front of the sea and the King, behind the ship */
  animation: nado-travel 13s linear 3s infinite;
  pointer-events: none;
}
/* The vortex: a column of translucent elliptical bands, each with a lit
   left side and a dark right side (the rotation cue), widths following a
   curved taper, wobbling sideways out of phase down the column so the
   whole thing twists. Soft-masked top and bottom; a spray skirt at the
   water. Bands are built by site.js (`buildVortex`). */
.nado .funnel {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  animation: funnel-lean 4s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.nado .band {
  position: absolute; left: 50%; height: 13%; border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 30% 50%, rgba(223, 243, 247, 0.55) 0, rgba(120, 220, 226, 0.4) 35%, rgba(60, 199, 207, 0.22) 65%, rgba(30, 120, 140, 0.1) 88%, transparent 100%);
  box-shadow: inset -12px 0 18px rgba(8, 30, 48, 0.35), inset 10px 0 16px rgba(223, 243, 247, 0.18);
  animation: band-wobble 2.2s ease-in-out infinite;
}
/* a moving streak across each band suggests the spin */
.nado .band::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(100deg, transparent 20%, rgba(223, 243, 247, 0.35) 40%, transparent 55%, rgba(223, 243, 247, 0.18) 72%, transparent 85%);
  background-size: 200% 100%;
  animation: band-spin 1.1s linear infinite;
}
.nado .spray {
  /* Kept inside the funnel's box on purpose: the mask clips to it, and a
     wider ellipse gets hard vertical edges. */
  position: absolute; left: 50%; bottom: 3%; width: 98%; height: 16%; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side at 50% 50%, rgba(223, 243, 247, 0.5) 0, rgba(223, 243, 247, 0.22) 40%, rgba(60, 199, 207, 0.1) 70%, transparent 100%);
  animation: spray-pulse 1.6s ease-in-out infinite;
}
@keyframes band-wobble {
  0%, 100% { transform: translateX(calc(-50% + var(--sway, 0px))); }
  50% { transform: translateX(calc(-50% - var(--sway, 0px))); }
}
@keyframes band-spin { to { background-position-x: -200%; } }
@keyframes spray-pulse { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; } 50% { transform: translateX(-50%) scale(1.12, 0.9); opacity: 1; } }
.nado .hatch {
  position: absolute; left: 50%; bottom: 8%; width: 36%; margin-left: -18%;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
  animation: swirl 3s linear infinite;
  will-change: transform, opacity;
}
.nado .hatch:nth-of-type(2) { animation-delay: -1s; }
.nado .hatch:nth-of-type(3) { animation-delay: -2s; }
.nado .hatch.top { bottom: 62%; width: 30%; margin-left: -15%; animation-name: swirl-top; animation-duration: 2.4s; }
.nado .hatch.top:nth-of-type(5) { animation-delay: -1.2s; }

/* Top-third riders: the same lap, but a short climb so they stay up in the mouth of the funnel. */
@keyframes swirl-top {
  0%   { transform: translate(0, 0) scale(0.5) rotate(-15deg);            opacity: 0.35; z-index: 0; }
  25%  { transform: translate(-150%, -25%) scale(0.8) rotate(20deg);     opacity: 0.9; }
  50%  { transform: translate(0, -50%) scale(1) rotate(-25deg);          opacity: 1;    z-index: 3; }
  75%  { transform: translate(150%, -25%) scale(0.8) rotate(25deg);      opacity: 0.9; }
  100% { transform: translate(0, 0) scale(0.5) rotate(-15deg);           opacity: 0.35; z-index: 0; }
}
@keyframes nado-travel {
  0%   { opacity: 0; transform: translateX(110vw); }
  6%   { opacity: 1; }
  60%  { opacity: 1; }
  68%  { opacity: 0; transform: translateX(-40vw); }
  100% { opacity: 0; transform: translateX(-40vw); }
}
@keyframes funnel-lean { 0%, 100% { transform: skewX(-4deg) rotate(-1.5deg); } 50% { transform: skewX(4deg) rotate(1.5deg); } }
/* One lap around the funnel while climbing it: x follows a cosine, depth (scale/opacity) a sine. */
@keyframes swirl {
  0%   { transform: translate(0, -10%) scale(0.55) rotate(-15deg);        opacity: 0.35; z-index: 0; }
  25%  { transform: translate(-130%, -70%) scale(0.85) rotate(20deg);    opacity: 0.9; }
  50%  { transform: translate(0, -130%) scale(1.1) rotate(-25deg);       opacity: 1;    z-index: 3; }
  75%  { transform: translate(130%, -70%) scale(0.85) rotate(25deg);     opacity: 0.9; }
  100% { transform: translate(0, -10%) scale(0.55) rotate(-15deg);       opacity: 0.35; z-index: 0; }
}

@media (min-width: 768px) {
  .stage {
    --king-w: min(40vw, 500px);   /* 2× the original at desktop widths */
    --king-bottom: 4%;            /* his base sits behind the front wave only */
    height: clamp(440px, 52vw, 660px); margin-top: 1rem;
  }
}

.stage-caption {
  position: relative; z-index: 4; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); text-align: center; padding: 0.4rem 0 1rem;
}

@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }
@keyframes swell { 0%, 100% { transform: translateX(0) translateY(0); } 50% { transform: translateX(-2.5%) translateY(-6px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes king-rise { from { transform: translateY(70%) scale(0.9); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes king-sway { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes king-flinch { 0% { transform: translateX(0); filter: brightness(1.8); } 30% { transform: translateX(12px) rotate(3deg); } 100% { transform: translateX(0); filter: brightness(1); } }
/* "Fire!" — the hero rears back and thrusts the cutlass skyward, holds it
   through the volley, then settles. */
@keyframes raise {
  0%, 56%, 100% { transform: translateY(0) rotate(0); }
  60% { transform: translateY(-4%) rotate(-4deg); }
  64% { transform: translateY(-12%) rotate(-16deg); }
  76% { transform: translateY(-10%) rotate(-14deg); }
  84% { transform: translateY(0) rotate(0); }
}
/* Volley timing inside the 7s cycle: puff at 66%, ball in flight 66→77%. */
@keyframes puff {
  0%, 65%, 100% { opacity: 0; transform: scale(0.3); }
  66% { opacity: 1; transform: scale(0.6); }
  72% { opacity: 0.7; transform: scale(1.6) translate(6px, -8px); }
  80% { opacity: 0; transform: scale(2.2) translate(12px, -18px); }
}
/* Flight is 66→80% of the cycle (~1s). X is linear; Y decelerates to the
   apex and accelerates down — the quadratic eases keep it parabolic. */
@keyframes ball-x {
  0%, 66% { left: 0; }
  80%, 100% { left: 100%; }
}
@keyframes ball-y {
  0%, 65.9% { opacity: 0; top: 100%; }
  66% { opacity: 1; top: 100%; animation-timing-function: cubic-bezier(0.2, 0.7, 0.5, 1); }
  72.5% { top: var(--apex, 0%); animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.3); }
  80% { opacity: 1; top: 42%; }
  80.4%, 100% { opacity: 0; top: 42%; }
}
@keyframes nado-in { 0%, 30%, 80%, 100% { opacity: 0; transform: translateY(20%) scale(0.85); } 40%, 70% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit {
  0% { transform: translateX(-120%) scale(0.7) rotate(-10deg); opacity: 0.5; }
  25% { transform: translateX(0) scale(1.05) rotate(0); opacity: 1; }
  50% { transform: translateX(120%) scale(0.7) rotate(10deg); opacity: 0.5; }
  75% { transform: translateX(0) scale(0.5) rotate(0); opacity: 0.25; }
  100% { transform: translateX(-120%) scale(0.7) rotate(-10deg); opacity: 0.5; }
}

/* Honour Reduce Motion: the scene becomes a still. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars i, .sea, .sea::after, .king, .vessel, .pirate, .nado, .nado .funnel, .nado .band, .nado .band::after, .nado .spray, .nado .hatch, .shot .puff, .shot .ball, .shot .ball b { animation: none !important; }
  .king { opacity: 1; transform: none; }
  .nado { opacity: 0.8; transform: translateX(45vw); }
  .nado .hatch:nth-child(2) { transform: translate(-110%, -40%) scale(0.8); }
  .nado .hatch:nth-child(3) { transform: translate(90%, -85%) scale(0.7); }
  .shot { display: none; }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ---------- sections ---------- */
section { padding: 3.2rem 0; }
section.alt { background: var(--white); }
section.deep { background: linear-gradient(180deg, var(--ink-2), var(--sea)); color: var(--white); }
section.deep h2, section.deep h3 { color: var(--white); }
section.deep .muted { color: rgba(255, 255, 255, 0.7); }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow);
  border: 1px solid rgba(11, 29, 51, 0.06);
}
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--foam); color: var(--sea-2); font-size: 1.3rem; margin-bottom: 0.8rem; }
.deep .card { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; color: var(--white); }
.deep .card .icon { background: rgba(255, 255, 255, 0.12); color: var(--teal-2); }

.quote {
  border-left: 4px solid var(--teal); padding: 0.6rem 1rem; margin: 1.4rem 0; font-size: 1.15rem; font-family: var(--display); font-weight: 600; color: var(--sea);
}

/* honesty rule */
.honesty { display: grid; gap: 0.9rem; }
.honesty .rule { display: flex; gap: 0.8rem; align-items: flex-start; }
.honesty .rule b { display: block; }
.honesty .check { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 800; }

/* NOW: the ship aground beside the pitch — same art as the app's landing */
.now-lead { display: flex; align-items: center; gap: 2rem; margin-bottom: 1.8rem; }
.now-lead .section-head { margin-bottom: 0; }
.aground { flex: 0 0 300px; margin: 0; }
.aground img { width: 100%; height: auto; }
.aground figcaption { font-size: 0.82rem; text-align: center; margin-top: 0.4rem; }
@media (max-width: 719px) {
  .now-lead { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .aground { flex-basis: auto; max-width: 280px; align-self: center; }
}

/* NOW stuck grid */
.stuck { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, 1fr); }
.stuck .card { padding: 1rem; }
.stuck .card h3 { font-size: 1rem; }
.stuck .card p { font-size: 0.9rem; margin: 0; }
.stuck .card.wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .stuck { grid-template-columns: repeat(5, 1fr); } .stuck .card.wide { grid-column: auto; } }

/* roster strip */
.roster { display: flex; gap: 0.8rem; overflow-x: auto; padding: 0.4rem 0 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.roster figure { flex: 0 0 116px; margin: 0; scroll-snap-align: start; text-align: center; }
.roster figure img { height: 120px; margin: 0 auto 0.3rem; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.25)); }
.roster figcaption { font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.roster figure.mob figcaption { color: var(--coral); }
.roster figure img { transition: transform 0.2s ease; }
.roster figure:hover img { transform: translateY(-4px) scale(1.04); }

/* seasons */
.seasons { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .seasons { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .seasons { grid-template-columns: repeat(4, 1fr); } }
.season { background: var(--white); border-radius: 14px; padding: 0.9rem; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.season b { display: block; margin-bottom: 0.15rem; }
.season span { font-size: 0.82rem; color: var(--muted); }
.price-tag { display: inline-block; background: var(--foam); color: var(--sea); font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.85rem; margin-top: 0.5rem; }

/* pricing */
.plans { display: grid; gap: 1rem; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; }
.plan .big { font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--sea); }
.plan ul { padding-left: 1.1rem; margin: 0.6rem 0 0; }
.plan li { margin-bottom: 0.3rem; }
.plan .ribbon { position: absolute; top: -10px; right: 14px; background: var(--gold); color: var(--ink); font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 999px; letter-spacing: 0.05em; }

/* get the app */
.get { display: grid; gap: 1.4rem; align-items: center; text-align: center; }
@media (min-width: 820px) { .get { grid-template-columns: 1.2fr 1fr; text-align: left; } }
.qr {
  display: inline-block; background: var(--white); padding: 1rem; border-radius: 20px; box-shadow: var(--shadow); position: relative;
}
.qr img { width: 200px; height: 200px; }
.qr .placeholder {
  position: absolute; inset: auto 0 -0.7rem 0; margin: 0 auto; width: max-content; background: var(--coral); color: var(--white);
  font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.7rem; border-radius: 999px; letter-spacing: 0.06em;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; background: #000; color: #fff; border-radius: 12px; padding: 0.55rem 1rem; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.store-badge small { display: block; font-size: 0.65rem; line-height: 1; opacity: 0.85; }
.store-badge b { display: block; font-size: 1.15rem; line-height: 1.1; font-family: var(--display); }

/* faq */
details { background: var(--white); border-radius: 14px; padding: 0.9rem 1.1rem; box-shadow: var(--shadow); margin-bottom: 0.7rem; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 800; color: var(--teal); font-size: 1.3rem; }
details[open] summary::after { content: "–"; }
details p { margin: 0.7rem 0 0; color: var(--muted); }

/* footer */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 2.4rem 0 2rem; font-size: 0.9rem; }
footer .cols { display: grid; gap: 1.4rem; }
@media (min-width: 720px) { footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer a { color: var(--white); text-decoration: none; }
footer ul { list-style: none; padding: 0; margin: 0.4rem 0 0; }
footer li { margin-bottom: 0.4rem; }
footer .legal { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* reveal on scroll */
.js .fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .fade-up.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.doc { padding: 2.4rem 0 3rem; max-width: 46rem; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.doc .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.doc ul { padding-left: 1.2rem; }
.doc .callout { background: var(--foam); border-radius: 14px; padding: 1rem 1.2rem; margin: 1.2rem 0; }
