/* Swell, swellapp.co.za.  Option A, Golden Hour, picked by Dallas on 2026-10-24.
   Layout: a cinematic scroll.  A full-bleed photo hero, then a night sea of chapters that
   alternate big screenshots left and right, with the icon's striped sunset sun as the one
   recurring motif.  Dark first; light is a dawn sky.  No inline styles anywhere: the site
   sends style-src 'self' (site/_headers).  Fonts are self-hosted, SIL Open Font License. */

@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/dm-serif-display-latin-400-normal.woff2?v=fdf61e20fd") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/dm-serif-display-latin-ext-400-normal.woff2?v=3af47815d6") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2?v=3100e775e8") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2?v=34b9c504ca") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --sea: #050d18;
  --sea-2: #0a1726;
  --panel: #0e1f31;
  --panel-2: #142b42;
  --line: rgba(166, 200, 230, 0.14);
  --line-2: rgba(166, 200, 230, 0.26);
  --text: #f4f1ec;
  --text-2: #b9c6d3;
  --text-3: #8496a8;
  --chrome: rgba(5, 13, 24, 0.78);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --aqua: #2fd6c6;
  --sun-a: #ffd166;
  --sun-b: #ff8a3d;
  --sun-c: #ff4f7b;
  --dusk: #7b1f8f;
  --on-sun: #22092e;
  --sun-ink: #ff8a3d;
  --on-photo: #ffffff;
  --on-photo-2: rgba(255, 255, 255, 0.82);
  --good: #34d399;
  /* the app's own sport colours */
  --surf: #3987e5; --bodyboard: #d95926; --sup: #199e70; --kite: #c98500; --wing: #d55181;
  --windsurf: #008300; --surfski: #9085e9; --kayak: #e66767; --swim: #2390b0;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --sea: #f7f5fb; --sea-2: #eeebf6; --panel: #ffffff; --panel-2: #f4f1f9;
    --line: rgba(40, 24, 80, 0.12); --line-2: rgba(40, 24, 80, 0.22);
    --text: #160f2c; --text-2: #4a4462; --text-3: #6b6584;
    --chrome: rgba(247, 245, 251, 0.85); --shadow: 0 30px 70px rgba(40, 24, 80, 0.16);
    --aqua: #0b8379; --good: #0f7a4f; --sun-ink: #c2410c;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --sea: #f7f5fb; --sea-2: #eeebf6; --panel: #ffffff; --panel-2: #f4f1f9;
  --line: rgba(40, 24, 80, 0.12); --line-2: rgba(40, 24, 80, 0.22);
  --text: #160f2c; --text-2: #4a4462; --text-3: #6b6584;
  --chrome: rgba(247, 245, 251, 0.85); --shadow: 0 30px 70px rgba(40, 24, 80, 0.16);
  --aqua: #0b8379; --good: #0f7a4f; --sun-ink: #c2410c;
}
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sea);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
/* DM Serif Display has no italic here, so emphasis is colour, never a slanted fake. */
em { font-style: normal; }
h1, h2 { font-synthesis: none; }
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--panel); color: var(--text); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--sun-b); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
  font: 600 0.78rem/1.2 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun-ink);
}
h2 { font: 400 clamp(2rem, 4.4vw, 3.4rem)/1.05 var(--display); letter-spacing: -0.01em; }
h2 em { color: var(--sun-ink); }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.head p:not(.eyebrow) { color: var(--text-2); max-width: 60ch; }
.fine { font-size: 0.875rem; color: var(--text-3); }
.center { text-align: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-sun {
  background: linear-gradient(100deg, var(--sun-a), var(--sun-b) 55%, var(--sun-c));
  color: var(--on-sun);
  box-shadow: 0 10px 30px rgba(255, 106, 61, 0.35);
}
.btn-sun:hover { box-shadow: 0 14px 38px rgba(255, 106, 61, 0.5); }
.btn-glass { background: rgba(255, 255, 255, 0.12); color: var(--on-photo); border-color: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--sun-b); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: transparent; color: inherit; border: 1px solid var(--line-2); cursor: pointer;
}

/* header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-photo);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.top .icon-btn { border-color: rgba(255, 255, 255, 0.3); }
.top.is-solid { background: var(--chrome); color: var(--text); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.top.is-solid .icon-btn { border-color: var(--line-2); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; max-width: 1200px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.6rem/1 var(--display); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.86; }
.nav a:hover { opacity: 1; }
.top-act { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.i-sun { display: none; }
:root[data-theme="light"] .i-sun { display: inline-block; }
:root[data-theme="light"] .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .i-sun { display: inline-block; }
  :root:not([data-theme="dark"]) .i-moon { display: none; }
}

/* hero */
.hero { position: relative; isolation: isolate; color: var(--on-photo); overflow: hidden; padding: calc(68px + env(safe-area-inset-top, 0px) + 64px) 0 96px; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 6, 30, 0.78) 0%, rgba(10, 6, 30, 0.45) 45%, rgba(10, 6, 30, 0.05) 75%),
    linear-gradient(180deg, rgba(5, 13, 24, 0.35) 0%, transparent 30%, transparent 70%, var(--sea) 100%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero .eyebrow { color: var(--sun-a); }
.hero h1 { font: 400 clamp(3rem, 7.6vw, 6.2rem)/0.95 var(--display); letter-spacing: -0.02em; }
.hero h1 em { background: linear-gradient(100deg, var(--sun-a), var(--sun-b) 50%, var(--sun-c)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--on-photo-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { color: rgba(255, 255, 255, 0.7); }

.hero-device { position: relative; display: grid; place-items: center; min-height: 560px; }
.sun-disc {
  position: absolute; width: min(460px, 92%); aspect-ratio: 1; border-radius: 50%; top: 2%;
  background: linear-gradient(180deg, #fff3a8 0%, #ffc93c 45%, #ff8a3d 75%, #ff4f7b 100%);
  -webkit-mask: linear-gradient(#000 0 52%, transparent 52% 55%, #000 55% 62%, transparent 62% 66%, #000 66% 73%, transparent 73% 78%, #000 78% 85%, transparent 85% 91%, #000 91%);
  mask: linear-gradient(#000 0 52%, transparent 52% 55%, #000 55% 62%, transparent 62% 66%, #000 66% 73%, transparent 73% 78%, #000 78% 85%, transparent 85% 91%, #000 91%);
  filter: drop-shadow(0 0 60px rgba(255, 160, 80, 0.55));
  opacity: 0.92;
}
.phone {
  position: relative; margin: 0;
  width: min(300px, 78vw); border-radius: 48px; padding: 16px 10px 10px;
  background: linear-gradient(150deg, #2c3240, #0c0e14 60%);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}
.phone::before { content: ""; position: absolute; top: 6px; left: 50%; width: 54px; height: 4px; margin-left: -27px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.phone img { width: 100%; border-radius: 36px; }
.hero .phone { animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; white-space: nowrap;
  background: rgba(8, 14, 28, 0.72); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  animation: pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.float b { color: var(--sun-a); font-weight: 600; }
.float .i { color: var(--sun-a); }
.float-a { top: 16%; left: -4%; animation-delay: 0.5s; }
.float-b { top: 48%; right: -6%; animation-delay: 0.7s; }
.float-c { bottom: 10%; left: 2%; animation-delay: 0.9s; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-good { background: var(--good); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); }
@keyframes rise { from { transform: translateY(40px) rotate(-2deg); opacity: 0.2; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: translateY(12px) scale(0.96); opacity: 0.2; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero .phone, .float { animation: none; } }

/* numbers */
.numbers { border-block: 1px solid var(--line); background: var(--sea-2); }
.numbers-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 34px; gap: 20px; }
.numbers div { display: grid; gap: 4px; }
.numbers b { font: 400 clamp(2.2rem, 4vw, 3rem)/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.numbers span { color: var(--text-2); font-size: 0.92rem; }

/* how */
.how { padding-block: 110px 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step-n { font: 400 3.2rem/1 var(--display); background: linear-gradient(180deg, var(--sun-a), var(--sun-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font: 600 1.25rem/1.2 var(--body); }
.steps p { color: var(--text-2); font-size: 0.98rem; }

/* chapters */
.chapter { padding-block: 80px; }
.chapter-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.chapter-flip .chapter-copy { order: 2; }
.chapter-copy { display: grid; gap: 18px; min-width: 0; }
.chapter-copy > p:not(.eyebrow) { color: var(--text-2); }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.ticks .i { color: var(--aqua); margin-top: 0.2em; }
.frame { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0b1622; box-shadow: var(--shadow); min-width: 0; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #0f1d2c; border-bottom: 1px solid rgba(166, 200, 230, 0.12); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.frame-bar span { margin-left: 12px; font-size: 0.76rem; color: rgba(220, 232, 242, 0.6); letter-spacing: 0.02em; }

/* sports */
.sports { padding-block: 90px; background: var(--sea-2); border-block: 1px solid var(--line); }
.sport-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sport-list li { --c: var(--surf); display: grid; gap: 4px; padding: 20px 20px 20px 52px; position: relative; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); }
.sport-list li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.sport-list b { font-weight: 600; }
.sport-list span { color: var(--text-2); font-size: 0.92rem; }
.sport-list .s-bodyboard { --c: var(--bodyboard); } .sport-list .s-sup { --c: var(--sup); } .sport-list .s-kite { --c: var(--kite); }
.sport-list .s-wing { --c: var(--wing); } .sport-list .s-windsurf { --c: var(--windsurf); } .sport-list .s-surfski { --c: var(--surfski); }
.sport-list .s-kayak { --c: var(--kayak); } .sport-list .s-swim { --c: var(--swim); }

/* pricing */
.pricing { padding-block: 100px; background: var(--sea-2); border-block: 1px solid var(--line); }
.proposed { margin-left: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 138, 61, 0.16); color: var(--sun-ink); letter-spacing: 0.08em; }
.plans-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-bottom: 22px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.plan h3 { font: 400 1.9rem/1 var(--display); }
.price { color: var(--text-2); }
.price b { font: 400 2.8rem/1 var(--display); color: var(--text); margin-right: 4px; font-variant-numeric: tabular-nums; }
.price span { display: block; font-size: 0.9rem; color: var(--text-3); margin-top: 6px; }
.plan-for { color: var(--text-2); }
.plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { padding-left: 26px; position: relative; font-size: 0.96rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan-gold { border: 1px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(140deg, var(--sun-a), var(--sun-c), var(--dusk)) border-box; box-shadow: 0 24px 60px rgba(255, 106, 61, 0.16); }
.plan-tag { position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px; font: 600 0.75rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; background: linear-gradient(100deg, var(--sun-a), var(--sun-b)); color: var(--on-sun); }

/* install */
.install { padding-block: 110px; }
.install-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.install-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.install-copy > p:not(.eyebrow) { color: var(--text-2); }
.install-card { padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; min-width: 0; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--sea-2); border: 1px solid var(--line); justify-self: start; }
.tabs button { min-height: 40px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font: 600 0.95rem/1 var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: linear-gradient(100deg, var(--sun-a), var(--sun-b)); color: var(--on-sun); }
.pane { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.pane li { counter-increment: s; position: relative; padding-left: 46px; color: var(--text-2); min-height: 32px; }
.pane li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 0.9rem/1 var(--body); background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); }
.pane b { color: var(--text); font-weight: 600; }
.note { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--sea-2); color: var(--text-2); font-size: 0.92rem; }
.note .i { color: var(--sun-ink); margin-top: 0.15em; }

/* faq */
.faq { padding-block: 90px 110px; }
.faq-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; }
.qs { display: grid; gap: 10px; min-width: 0; }
details { border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--sun-b); border-bottom: 2px solid var(--sun-b); transform: rotate(45deg); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { padding: 0 22px 22px; color: var(--text-2); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--sea-2); padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding-block: 44px; align-items: start; }
.foot-brand { display: grid; gap: 10px; color: var(--text-2); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-nav a { text-decoration: none; color: var(--text-2); }
.foot-nav a:hover { color: var(--text); }
.foot-credit { grid-column: 1 / -1; font-size: 0.85rem; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 20px; }


/* shared pieces */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.head-center { margin-inline: auto; text-align: center; justify-items: center; }
.head-center p:not(.eyebrow) { margin-inline: auto; }
.phone-sm { width: min(260px, 44vw); border-radius: 42px; padding: 14px 8px 8px; }
.phone-sm img { border-radius: 33px; }
.phone-xs { width: min(210px, 48vw); border-radius: 34px; padding: 12px 7px 7px; }
.phone-xs img { border-radius: 27px; }
.phone-xs::before { top: 5px; width: 40px; margin-left: -20px; height: 3px; }
.phone-lift { transform: translateY(48px); }
.card-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #0b1622; }

/* the film */
.film-sec { padding-block: 100px 30px; }
.film { position: relative; margin: 0 auto; max-width: 1080px; border-radius: 24px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 10px color-mix(in srgb, var(--panel) 60%, transparent); aspect-ratio: 16 / 9; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; border: 0; padding: 0; cursor: pointer; color: #fff; background: radial-gradient(closest-side, rgba(5, 13, 24, 0.15), rgba(5, 13, 24, 0.55)); font: inherit; }
.film-btn { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(140deg, var(--sun-a), var(--sun-b) 55%, var(--sun-c)); color: var(--on-sun); box-shadow: 0 18px 50px rgba(255, 106, 61, 0.45); transition: transform 0.2s ease; }
.film-btn .i { width: 34px; height: 34px; margin-left: 5px; }
.film-play:hover .film-btn { transform: scale(1.06); }
.film-label { font: 600 1.05rem/1.3 var(--body); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); display: grid; gap: 2px; text-align: center; }
.film-label small { font-weight: 500; font-size: 0.85rem; opacity: 0.85; }
.film.is-playing .film-play { display: none; }

/* weather: the table with the model card laid over it */
.stack { position: relative; min-width: 0; padding-bottom: 90px; }
.stack-over { position: absolute; right: -18px; bottom: 0; width: 46%; }

/* map: the desktop frame with a phone beside it */
.pair { position: relative; min-width: 0; padding-bottom: 40px; }
.pair-phone { position: absolute; right: -14px; bottom: -10px; }

/* plans and people */
.plans { padding-block: 90px; background: radial-gradient(900px 520px at 85% 30%, rgba(123, 31, 143, 0.24), transparent 70%), radial-gradient(700px 500px at 5% 90%, rgba(255, 138, 61, 0.12), transparent 70%); }
.plan-grid, .comm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.feat { border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: grid; align-content: start; min-width: 0; }
.feat-copy { padding: 24px 24px 18px; display: grid; gap: 8px; }
.feat h3 { font: 600 1.12rem/1.25 var(--body); }
.feat p { color: var(--text-2); font-size: 0.96rem; }
.feat > img { width: calc(100% - 24px); margin-left: 24px; border-top-left-radius: 12px; border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.feat > img.crop { aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.feat-wide { grid-column: span 2; }
.feat-tall .phone { margin: 4px auto 26px; }
.feat-band { grid-column: 1 / -1; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.feat-band > img { width: auto; margin: 24px 0 24px; border-radius: 12px 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
.wa { margin: 0 24px 24px; padding: 12px 14px 8px; border-radius: 12px 12px 12px 4px; background: #075e54; color: #f1fff8; position: relative; font-size: 0.9rem; line-height: 1.45; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.feat .wa-msg { color: #f1fff8; font-size: 0.9rem; }
.wa-link { color: #9ee8ff; text-decoration: underline; }
.wa-time { display: block; text-align: right; font-size: 0.72rem; opacity: 0.7; margin-top: 2px; }

/* reminders: a lock screen */
.remind { padding-block: 100px; }
.remind-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.remind-copy { display: grid; gap: 18px; min-width: 0; }
.remind-copy > p:not(.eyebrow):not(.fine) { color: var(--text-2); }
.lock { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; padding: 44px 22px 30px; min-height: 460px; display: grid; align-content: start; gap: 12px; color: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #0b1622 url("../img/photos/midnight-ocean.webp?v=24f5e18c5a") center / cover no-repeat; }
.lock::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 10, 24, 0.25), rgba(5, 10, 24, 0.6)); }
.lock-time { font: 300 4.6rem/1 var(--body); text-align: center; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lock-date { text-align: center; font-weight: 500; opacity: 0.9; margin-bottom: 18px; }
.note-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 22px; background: rgba(245, 245, 250, 0.78); color: #111; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.note-card img { width: 34px; height: 34px; border-radius: 9px; }
.note-top { display: flex; justify-content: space-between; font-size: 0.78rem; color: #4a4a55; }
.note-top b { font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.note-title { font-weight: 600; font-size: 0.98rem; margin-top: 2px; }
.note-body { font-size: 0.9rem; line-height: 1.4; color: #262630; }
.note-old { opacity: 0.88; animation-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) { .note-card { animation: none; } }

/* in the water */
.water { padding-block: 100px 130px; background: var(--sea-2); border-block: 1px solid var(--line); }
.water-grid { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 28px; align-items: start; }
.water-copy { display: grid; gap: 14px; min-width: 0; }
.mini { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; }
.mini h3 { font: 600 1.1rem/1.25 var(--body); }
.mini p { color: var(--text-2); font-size: 0.96rem; }
.mini img { border-radius: 12px; margin-top: 6px; border: 1px solid var(--line); }

/* community */
.community { padding-block: 100px 80px; }
.caution { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--sea-2); color: var(--text-2); font-size: 0.92rem; border: 1px solid var(--line); }
.caution .i { color: var(--sun-ink); margin-top: 0.15em; }

/* light and dark */
.themes { padding-block: 80px 100px; }
.themes-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.themes-copy { display: grid; gap: 16px; min-width: 0; }
.themes-copy > p:not(.eyebrow) { color: var(--text-2); }
.compare { --x: 50%; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); min-width: 0; touch-action: pan-y; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.compare-top img { width: 100%; height: 100%; object-fit: cover; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 24px rgba(0, 0, 0, 0.4); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.compare-handle::before { content: ""; position: absolute; top: 50%; left: 50%; z-index: 1; width: 14px; height: 10px; margin: -5px 0 0 -7px; border-left: 2px solid #0a1726; border-right: 2px solid #0a1726; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + .compare-handle, .compare:focus-within .compare-handle { background: var(--sun-a); }

/* spots and the coast */
.spots { padding-block: 100px; }
.spots-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.spots-copy { display: grid; gap: 16px; min-width: 0; }
.spots-copy > p:not(.eyebrow):not(.soon) { color: var(--text-2); }
.regions { display: grid; gap: 12px; margin: 4px 0 0; }
.regions div { padding: 16px 18px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); }
.regions dt { font: 400 1.35rem/1.1 var(--display); display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.regions dt span { font: 600 0.95rem/1.4 var(--body); color: var(--sun-ink); }
.regions dd { margin: 0; color: var(--text-2); font-size: 0.92rem; }
.soon { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--aqua); }
.coast-map { min-width: 0; }
.coast { width: 100%; height: auto; display: block; border-radius: var(--r); background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--aqua) 18%, var(--sea)), var(--sea)); border: 1px solid var(--line); }
.coast-land { fill: color-mix(in srgb, var(--text) 9%, var(--sea-2)); }
.coast-line { fill: none; stroke: color-mix(in srgb, var(--aqua) 55%, transparent); stroke-width: 2; stroke-linejoin: round; }
.coast-ring { fill: color-mix(in srgb, var(--sun-b) 24%, transparent); }
.coast-dot { fill: var(--sun-b); stroke: var(--sea); stroke-width: 2.5; }
.coast-n { font: 700 13px/1 var(--body); fill: var(--on-sun); text-anchor: middle; }
.coast-label { font: 600 18px/1 var(--body); fill: var(--text); paint-order: stroke; stroke: var(--sea); stroke-width: 4px; stroke-linejoin: round; }

/* install extras */
.getin { margin-top: 8px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 6px; }
.getin h3 { font: 600 1.05rem/1.2 var(--body); }
.getin p { color: var(--text-2); font-size: 0.95rem; }

/* the last call */
.last { padding-block: 0 110px; }
.last-in { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 48px; border-radius: 30px; color: #fff; background: #12082a url("../img/photos/atlantic-swell.webp?v=d0752c450a") center 60% / cover no-repeat; }
.last-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18, 8, 42, 0.88), rgba(18, 8, 42, 0.45)); }
.last-in h2 { max-width: 15ch; }
.last-in h2 em { color: var(--sun-a); }

/* tablet and phone */
@media (max-width: 1020px) {
  .nav { display: none; position: absolute; top: calc(68px + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gut-r) 16px var(--gut); background: var(--chrome); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); color: var(--text); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-grid; }
  .top-act { margin-left: auto; }
  .numbers-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid, .comm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-wide { grid-column: span 2; }
  .water-grid { grid-template-columns: auto auto; justify-content: center; }
  .water-copy { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
}
@media (max-width: 860px) {
  .hero { padding-bottom: 64px; }
  .hero-in, .chapter-in, .install-in, .faq-in, .remind-in, .themes-in, .spots-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .chapter-flip .chapter-copy { order: 0; }
  .hero-device { min-height: 520px; }
  .plans-row { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .sport-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter, .plans, .spots, .pricing, .install, .sports, .remind, .community, .water { padding-block: 72px; }
  .how, .film-sec { padding-top: 80px; }
  .water-copy { grid-template-columns: minmax(0, 1fr); }
  .lock { max-width: 420px; width: 100%; justify-self: center; }
}
@media (max-width: 600px) {
  .top-act .btn-sm { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 6, 30, 0.55) 0%, rgba(10, 6, 30, 0.6) 55%, var(--sea) 100%); }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 3.6rem); }
  .numbers-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers-in div:last-child { grid-column: 1 / -1; }
  .steps, .sport-list, .plan-grid, .comm-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-wide { grid-column: auto; }
  .feat-band { grid-template-columns: minmax(0, 1fr); }
  .feat-band > img { margin: 0 0 0 24px; border-radius: 12px 0 0 0; border-bottom: 0; }
  .float-a { left: 0; } .float-b { right: 0; } .float-c { left: 4%; }
  .float { font-size: 0.82rem; padding: 8px 11px; }
  .phone-lift { transform: translateY(28px); }
  .water-grid { gap: 12px; }
  .stack { padding-bottom: 0; display: grid; gap: 14px; }
  .stack-over { position: static; width: 100%; }
  .pair { padding-bottom: 0; display: grid; gap: 16px; }
  .pair-phone { position: static; justify-self: center; }
  .film { border-radius: 16px; box-shadow: var(--shadow); }
  .film-btn { width: 72px; height: 72px; }
  .last-in { padding: 36px 24px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .lock-time { font-size: 3.8rem; }
}

/* the 404 page */
.lost { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(900px 500px at 70% 10%, rgba(123, 31, 143, 0.3), transparent 70%), var(--sea); }
.lost-in { display: grid; gap: 22px; justify-items: start; max-width: 720px; padding-block: 64px; }
.lost h1 { font: 400 clamp(2.6rem, 8vw, 4.6rem)/1 var(--display); }
.lost h1 em { color: var(--sun-ink); }
.lost p { color: var(--text-2); max-width: 46ch; }
