@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }

/* Colours come from the footage: cave water, the lit spring, the drysuit. Violet is the app's Pro gradient. */
:root {
  --water: #06202e;
  --deep: #03131c;
  --spring: #41d9cf;
  --suit: #ff5a1f;
  --foam: #eaf6f4;
  --mist: #a9c6c9;
  --violet: #6a5bff;
  --blue: #2f8bff;
  --gutter: clamp(16px, 5vw, 72px);
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--deep); scroll-behavior: smooth; }
body { margin: 0; color: var(--foam); background: var(--water); font: 18px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--spring); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 26px; line-height: 1.15; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }

.button { display: inline-block; padding: 15px 26px; background: var(--suit); color: #1b0a02; font-weight: 600; text-decoration: none; border-radius: 10px; transition: background .15s; }
.button:hover { background: #ff7440; }

/* Hero: the video and the timeline that made it */
.hero {
  min-height: 100svh;
  padding: clamp(28px, 5vh, 56px) var(--gutter) 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 5vw, 80px); row-gap: 28px;
  align-items: center;
  background: radial-gradient(90% 60% at 72% 0%, #12607a 0%, transparent 70%), var(--water);
}
.brand { display: flex; align-items: center; gap: 12px; font: 650 24px var(--f-display); margin-bottom: clamp(28px, 6vh, 64px); }
.hero h1 { font-size: clamp(52px, 9vw, 128px); line-height: .93; font-weight: 750; letter-spacing: -.035em; max-width: 9em; }
.lede { font-size: clamp(19px, 1.7vw, 23px); max-width: 32em; margin: 26px 0 30px; color: #d5e8e8; }
.note { margin-top: 14px; font-size: 15px; color: var(--mist); }
.phone { margin: 0; width: clamp(220px, 23vw, 330px); border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 7px #0a0f12, 0 0 0 8px #33474f, 0 40px 90px -20px #000c; }
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

.strip { grid-column: 1 / -1; position: relative; }
.shots { display: flex; height: clamp(58px, 9vh, 84px); gap: 3px; }
.shot { all: unset; box-sizing: border-box; cursor: pointer; position: relative; background-size: cover; background-position: center; border-radius: 7px; opacity: .55; transition: opacity .15s; }
.shot span { position: absolute; left: 7px; top: 5px; font: 600 13px var(--f-body); background: #000a; padding: 0 6px; border-radius: 4px; }
.shot.on, .shot:hover { opacity: 1; }
.shot:focus-visible { outline: 2px solid var(--spring); outline-offset: 1px; opacity: 1; }
.wave { display: block; width: 100%; height: clamp(34px, 6vh, 56px); margin-top: 6px; fill: #4e8fa3; }
.playhead { position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px; margin-left: -1px; background: var(--suit); box-shadow: 0 0 10px var(--suit); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: -3px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--suit); }
.strip-note { grid-column: 1 / -1; font-size: 15px; color: var(--mist); max-width: 70ch; }

/* The problem, over the sunlit frame */
.basin { position: relative; }
.basin > img { width: 100%; min-height: 560px; max-height: 92vh; object-fit: cover; }
.basin > div { position: absolute; inset: auto 0 0 0; padding: 140px var(--gutter) clamp(28px, 5vw, 64px); background: linear-gradient(transparent, #03131ce8 55%); }
.basin h2 { max-width: 19em; }
.basin p { max-width: 38em; margin-top: 18px; color: #dcecec; }

.editor, .steps { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.editor h2 { max-width: 14em; }
.sub { margin: 18px 0 clamp(32px, 5vw, 56px); max-width: 34em; color: var(--mist); font-size: 21px; }
.window { width: 100%; filter: drop-shadow(0 30px 60px #0009); }
.facts { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px clamp(24px, 3vw, 48px); }
.facts b { display: block; font: 650 20px var(--f-display); margin-bottom: 4px; }
.facts li { color: var(--mist); }
.facts b { color: var(--foam); }

.steps { background: var(--deep); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps h2 { grid-column: 1 / -1; max-width: 15em; }
.steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 34px 68px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -8px; font: 750 52px/1 var(--f-display); color: var(--spring); }
.steps li p { color: var(--mist); margin-top: 6px; }
.sheet { width: 100%; max-width: 620px; border-radius: 18px; justify-self: end; }

.private { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--water); }
.private img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.private > div { padding: clamp(40px, 6vw, 96px) var(--gutter); align-self: center; }
.private p { margin-top: 18px; max-width: 30em; color: #cfe2e2; }

/* Pro */
.pro { padding: clamp(72px, 10vw, 140px) var(--gutter); background: radial-gradient(70% 500px at 50% 0, #6a5bff66, transparent 100%), #0c0f2b; }
.pro-head { text-align: center; margin-bottom: clamp(48px, 7vw, 88px); }
.pro-head h2 { font-size: clamp(52px, 9vw, 120px); letter-spacing: -.035em; background: linear-gradient(100deg, #b5adff, #7fbaff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pro-head p { max-width: 30em; margin: 18px auto 0; font-size: 21px; color: #cfd2f3; }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1200px; margin: 0 auto clamp(56px, 7vw, 96px); }
.feature:nth-of-type(even) .media { order: 2; }
.feature p { margin-top: 10px; color: #c3c6e6; }
.feature h3 { font-size: clamp(28px, 3vw, 40px); }
.media { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16 / 10; background: #05060f; }
.fourk { display: flex; align-items: center; justify-content: center; gap: 5%; }
.fourk .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.fourk figure { position: relative; margin: 0; width: 42%; }
.fourk figure img { border-radius: 50%; width: 100%; box-shadow: 0 0 0 3px #fff, 0 12px 30px #000a; }
figcaption { text-align: center; font-weight: 600; margin-top: 10px; text-shadow: 0 1px 6px #000; }
.anim { display: flex; justify-content: center; }
.anim video { height: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.lanes { aspect-ratio: auto; }
.lanes img { width: 100%; }
.mark { display: flex; gap: 16px; justify-content: center; align-items: center; padding: 20px; }
.mark figure { margin: 0; position: relative; height: 100%; }
.mark img { height: calc(100% - 34px); width: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; }
.wm { position: absolute; right: 7px; bottom: 42px; display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; color: #fff; opacity: .92; text-shadow: 0 1px 2px #000; }
.wm svg { width: 15px; fill: none; stroke: var(--spring); stroke-width: 2; stroke-linecap: round; }
.compare { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: collapse; font-size: 17px; }
.compare th, .compare td { padding: 13px 12px; text-align: left; border-bottom: 1px solid #ffffff24; font-weight: 400; }
.compare thead th { font: 650 21px var(--f-display); }
.compare tbody th { color: #c3c6e6; }
.compare td:last-child, .compare thead th:last-child { color: #c9c4ff; }

.cta { padding: clamp(80px, 11vw, 150px) var(--gutter); text-align: center; background: linear-gradient(#0c0f2b, var(--water) 30%); }
.cta h2 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -.03em; }
.cta p { margin: 18px auto 30px; max-width: 30em; color: var(--mist); font-size: 21px; }

.foot { padding: 36px var(--gutter); background: var(--deep); display: grid; grid-template-columns: auto 1fr auto; gap: 8px 28px; align-items: center; font-size: 15px; color: var(--mist); }
.foot-brand { display: flex; align-items: center; gap: 9px; font: 650 18px var(--f-display); color: var(--foam); text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot small { grid-column: 1 / -1; font-size: 13px; }
.lost { min-height: 70vh; padding: 20vh var(--gutter); }
.lost h1 { font-size: clamp(44px, 8vw, 96px); margin-bottom: 18px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .phone { justify-self: center; width: min(66vw, 300px); }
  .steps, .private, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) .media { order: 0; }
  .sheet { justify-self: start; }
  .basin > img { min-height: 620px; object-position: 45% center; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .shot span { display: none; }
  .compare { font-size: 15px; }
  .compare th, .compare td { padding: 10px 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .shot { transition: none; } }
