/* tack.coach /next — page shell. The sea (canvas#sea) is the design; everything here stays out of its way. */

@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-latin.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }

:root {
  --foam: #F4FBFC;
  --sky: #BFE9F5;
  --aqua: #19B8C4;
  --sea: #0A6C8F;
  --ink: #06263A;
  --sail: #FFD23F;
  --buoy: #FF5B2E;
  --ink-soft: rgb(6 38 58 / .72);
  --glass: rgb(244 251 252 / .58);
  --glass-edge: rgb(255 255 255 / .75);
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --gust: .47;          /* 0..1, set from the wind slider */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 1.0625rem/1.55 var(--body);
  /* what you see before (or without) WebGL: the same sky and water, flat */
  background: linear-gradient(180deg, #8FD6EE 0%, var(--sky) 34%, var(--foam) 52%, #5FD3D6 53%, var(--aqua) 70%, var(--sea) 100%) fixed;
  overflow-x: hidden;
}
h1, h2 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--foam); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- the sea ---------- */
#sea { position: fixed; inset: 0; width: 100vw; height: 100lvh; display: block; z-index: 0; opacity: 0; transition: opacity 1.2s ease; }
.sea-on #sea { opacity: 1; }
/* a soft wash behind the left-hand text column so ink stays readable over bright water */
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 30%, rgb(244 251 252 / .55) 0%, rgb(244 251 252 / .18) 38%, transparent 62%); }
main, .top, .course { position: relative; z-index: 2; }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter); transition: transform .35s ease; }
.top-away .top { transform: translateY(-110%); }
.top-away .top:focus-within { transform: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 700 1.25rem/1 var(--display); font-stretch: 88%; letter-spacing: -.01em; }
.top-nav { display: flex; gap: 4px; margin-left: auto; padding: 5px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); }
.top-nav a { text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 500; }
.top-nav a:hover { background: rgb(255 255 255 / .7); }
.top-cta { display: flex; align-items: center; gap: 16px; }
.quiet { font-size: .9375rem; font-weight: 500; text-underline-offset: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--foam); text-decoration: none; font-weight: 600; font-size: 1rem; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -12px rgb(6 38 58 / .6); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #0B3B58; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn.ghost { background: rgb(255 255 255 / .55); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgb(6 38 58 / .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgb(255 255 255 / .85); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- glass ---------- */
.glass { background: var(--glass); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 30px 80px -40px rgb(10 108 143 / .55), inset 0 1px 0 rgb(255 255 255 / .8); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgb(244 251 252 / .92); } }

/* ---------- legs (one per scene) ---------- */
.leg { min-height: 150lvh; padding: 0 var(--gutter); display: flex; align-items: center; }
.leg + .leg { margin-top: 10lvh; }
.panel { width: min(100%, 31rem); padding: clamp(22px, 2.6vw, 36px); border-radius: 30px; display: grid; gap: 18px; }
.panel h2, .sheet h2 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.02; font-weight: 750; font-stretch: 82%; letter-spacing: -.022em; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--ink-soft); }
.links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; font-size: .9375rem; }
.links a, .fine a { text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* ---------- hero ---------- */
.hero { min-height: 100lvh; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding-top: clamp(84px, 13vh, 170px); padding-bottom: clamp(20px, 5vh, 48px); }
.hero-copy { max-width: 40rem; display: grid; gap: clamp(18px, 2.4vw, 28px); }
h1 { font-size: clamp(3.4rem, min(10.4vw, 15.5vh), 9.5rem); line-height: .86; font-weight: 800; letter-spacing: -.035em;
  /* the headline leans and narrows with the wind slider */
  font-stretch: calc(100% - 25% * var(--gust));
  transform: skewX(calc(-13deg * var(--gust))); transform-origin: 0 100%;
  transition: transform .5s cubic-bezier(.2,.9,.3,1.2), font-stretch .5s ease;
  text-shadow: 0 2px 40px rgb(244 251 252 / .6); }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.45; max-width: 27rem; font-weight: 500; }

.dial { width: min(100%, 31rem); border-radius: 26px; padding: 16px 22px 14px; display: grid; gap: 8px; }
.dial label { font: 700 1.0625rem/1.2 var(--display); font-stretch: 88%; }
.dial dl { display: flex; gap: 26px; margin: 2px 0 0; }
.dial dt { font-size: .8125rem; color: var(--ink-soft); }
.dial dd { margin: 0; font-size: .9375rem; }
.dial dd b, .readout b, .plans b, .offer-price b { font-family: var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; }
.dial dd b { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; }

/* ---------- sliders ---------- */
input[type=range] { --v: 50%; appearance: none; -webkit-appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: grab; touch-action: pan-y; }
input[type=range]:active { cursor: grabbing; }
input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, var(--aqua) 0, var(--sea) var(--v), rgb(6 38 58 / .16) var(--v)); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, var(--aqua) 0, var(--sea) var(--v), rgb(6 38 58 / .16) var(--v)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%;
  background: var(--sail); border: 3px solid var(--ink); box-shadow: 0 6px 16px -4px rgb(6 38 58 / .55); transition: transform .12s ease; }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--sail); border: 3px solid var(--ink);
  box-shadow: 0 6px 16px -4px rgb(6 38 58 / .55); }
input[type=range]:hover::-webkit-slider-thumb, input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
/* until someone touches a slider its thumb breathes, so it reads as "drag me" */
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 210 63 / .9), 0 6px 16px -4px rgb(6 38 58 / .55); } 50% { box-shadow: 0 0 0 12px rgb(255 210 63 / 0), 0 6px 16px -4px rgb(6 38 58 / .55); } }
input[type=range]:not(.touched)::-webkit-slider-thumb { animation: nudge 2.2s ease-in-out infinite; }

.slider { display: grid; gap: 2px; padding: 14px 16px 12px; border-radius: 20px; background: rgb(255 255 255 / .5); }
.slider-ends { display: flex; justify-content: space-between; font-weight: 600; font-size: .9375rem; }
.readout { font-size: .9375rem; color: var(--ink-soft); }
.readout b { color: var(--ink); font-size: 1.25rem; font-weight: 750; }

/* ---------- replay player ---------- */
.player { display: grid; gap: 8px; padding: 12px 14px; border-radius: 20px; background: rgb(255 255 255 / .5); }
.player-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.player-row #scrub { flex: 1 1 8rem; }
.round { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--foam); display: grid; place-items: center; cursor: pointer; }
.round svg { fill: currentColor; }
.round .i-play { display: none; }
.player[data-playing="false"] .i-play { display: block; }
.player[data-playing="false"] .i-pause { display: none; }
.player[data-state="loading"] { opacity: .6; pointer-events: none; }
#clock { font: 700 1.125rem/1 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; min-width: 4.2ch; text-align: right; }
.chips { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(6 38 58 / .08); }
.chips button { border: 0; background: none; font: 600 .875rem var(--body); color: var(--ink); min-width: 48px; min-height: 36px; border-radius: 999px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--foam); }
.boats { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .875rem; font-variant-numeric: tabular-nums; }
.boats li { display: inline-flex; align-items: center; gap: 6px; }
.boats i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgb(255 255 255 / .9); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1rem; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px; border-left: 2.5px solid var(--sea); border-bottom: 2.5px solid var(--sea); transform: rotate(-45deg); }

/* ---------- price tables ---------- */
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.prices th, .prices td, .plans th, .plans td { padding: 11px 0; border-top: 1px solid rgb(6 38 58 / .14); vertical-align: baseline; }
th { text-align: left; font-weight: 600; }
th small { display: block; font-weight: 400; font-size: .875rem; color: var(--ink-soft); }
td { text-align: right; white-space: nowrap; font: 750 1.375rem/1.1 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; }
td small { font: 400 .8125rem var(--body); color: var(--ink-soft); }

.offer { display: grid; gap: 10px; justify-items: start; padding: 18px; border-radius: 20px; background: var(--sail); }
.offer-price { font-size: 1.0625rem; font-weight: 600; }
.offer-price b { font-size: 2.75rem; font-weight: 800; letter-spacing: -.03em; margin-right: 6px; }
.offer-price span { display: block; font-weight: 400; font-size: .9375rem; }

/* ---------- pricing sheet + close ---------- */
.last { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 40px; min-height: 0; padding-top: 55lvh; padding-bottom: 24px; }
.sheet { width: min(100%, 60rem); margin: 0 auto; padding: clamp(24px, 4vw, 56px); border-radius: 36px; display: grid; gap: 22px; }
.sheet-lede { max-width: 44rem; }
.plans td b { font-size: 1.75rem; font-weight: 750; display: block; }
.plans td small { display: block; margin-top: 2px; }
.close { margin-top: 12px; padding-top: 28px; border-top: 1px solid rgb(6 38 58 / .14); display: grid; gap: 20px; }
.close-line { font: 800 clamp(2.2rem, 5.4vw, 4.5rem)/.95 var(--display); font-stretch: 78%; letter-spacing: -.03em; text-wrap: balance; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: min(100%, 60rem); margin: 0 auto; font-size: .875rem; color: var(--foam); text-shadow: 0 1px 8px rgb(6 38 58 / .5); }
.foot a { margin-left: 18px; text-underline-offset: 4px; }
.foot span:last-child a:first-child { margin-left: 0; }

/* ---------- course rail (the scroll is a course with six marks) ---------- */
.course { position: fixed; z-index: 9; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 4px; }
.course::before { content: ""; position: absolute; right: 21px; top: 22px; bottom: 22px; border-right: 2px dotted rgb(6 38 58 / .35); }
.course a { position: relative; width: 44px; height: 44px; display: grid; place-items: center; text-decoration: none; }
.course a::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--foam); border: 2px solid var(--ink); transition: transform .25s ease, background .25s ease; position: relative; }
.course a[aria-current="true"]::after { background: var(--buoy); transform: scale(1.7); }
.course span { position: absolute; right: 44px; white-space: nowrap; font-size: .8125rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--foam); opacity: 0; transform: translateX(6px); transition: opacity .15s, transform .15s; pointer-events: none; }
.course a:hover span, .course a:focus-visible span { opacity: 1; transform: none; }

/* ---------- narrow screens: the boat keeps the top of the screen, words take the bottom ---------- */
@media (max-width: 860px) {
  .top-nav, .quiet, .course { display: none; }
  .top { justify-content: space-between; }
  .veil { background: linear-gradient(180deg, rgb(244 251 252 / .78) 0, rgb(244 251 252 / .62) 30%, transparent 50%); }
  .leg { align-items: flex-end; min-height: 0; padding-top: 85lvh; }
  .leg + .leg { margin-top: 0; }
  .panel { width: 100%; border-radius: 26px; }
  .hero { min-height: 100lvh; padding-top: 84px; padding-bottom: 0; align-items: stretch; }
  h1 { font-size: clamp(3.3rem, 17vw, 5.4rem); }
  .lede { font-size: 1rem; line-height: 1.4; }
  .hero-copy { gap: 14px; }
  .hero-copy .actions .ghost { display: none; }
  .dial { width: 100%; margin-bottom: max(16px, env(safe-area-inset-bottom)); }
  .dial dl { gap: 18px; }
  .boats { margin-left: 0; }
  .last { padding-top: 85lvh; }
  .plans td b { font-size: 1.375rem; }
  .foot a { margin: 0 18px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1 { transition: none; transform: none; }
  input[type=range]:not(.touched)::-webkit-slider-thumb { animation: none; }
  #sea { transition: none; }
}

.sea-off .player { display: none; }

/* ---------- real footage: a plain, level frame with the caption on the picture ---------- */
.film { position: relative; z-index: 2; margin: 12lvh auto; width: min(calc(100% - 2 * var(--gutter)), 64rem); aspect-ratio: 16 / 9;
  border-radius: 28px; overflow: hidden; background: var(--ink); cursor: pointer;
  box-shadow: 0 40px 90px -40px rgb(6 38 58 / .7), 0 0 0 1px rgb(255 255 255 / .6); }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film figcaption { position: absolute; inset: auto 0 0 0; padding: 70px clamp(18px, 3vw, 32px) clamp(16px, 2.4vw, 26px) 78px;
  color: var(--foam); font-size: 1rem; line-height: 1.45; background: linear-gradient(180deg, transparent, rgb(6 38 58 / .78)); }
.film figcaption b { display: block; font: 750 clamp(1.3rem, 2.2vw, 1.9rem)/1.1 var(--display); font-stretch: 84%; letter-spacing: -.015em; margin-bottom: 4px; }
.film-play { position: absolute; left: clamp(14px, 2vw, 22px); bottom: clamp(16px, 2.4vw, 26px); background: var(--foam); color: var(--ink); }
.film[data-playing="true"] .i-play, .film:not([data-playing="true"]) .i-pause { display: none; }
.film[data-playing="true"] .i-pause, .film:not([data-playing="true"]) .i-play { display: block; }

/* ---------- still mode: one picture per scene instead of the live sea ---------- */
.posters { position: fixed; inset: 0; z-index: 0; display: none; }
.still .posters { display: block; }
.still #sea { display: none; }
/* the opening picture until the live sea is on (home page only: .posters.first) */
.posters.first { display: block; background: #BFE9F5 center / cover no-repeat url(/next/posters/s0-wide.webp?v=1); transition: opacity 1.2s ease .4s; }
@media (max-aspect-ratio: 9/10) { .posters.first { background-image: url(/next/posters/s0-tall.webp?v=1); } }
.sea-on .posters.first { opacity: 0; pointer-events: none; }
.posters img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.posters img.on { opacity: 1; }
.still .player { display: none; }

/* ---------- motion switch ---------- */
.motion { position: fixed; z-index: 9; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: .8125rem; color: var(--ink); text-shadow: none; }
.motion span { font-weight: 600; margin-right: 6px; }
.motion button { border: 0; background: none; font: 600 .8125rem var(--body); color: var(--ink); min-height: 30px; padding: 0 11px; border-radius: 999px; cursor: pointer; }
.motion button[aria-pressed="true"] { background: var(--ink); color: var(--foam); }

@media (max-width: 860px) {
  .film { margin: 8lvh auto; border-radius: 22px; aspect-ratio: 4 / 3; }
  .film figcaption { font-size: .9375rem; padding-left: 70px; }
  .motion { position: static; }
  .motion button { min-height: 40px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .posters img { transition: none; } }

.foot a.osm { margin: 0; }

/* ---------- live sea: no blur behind the big panels ----------
 * Measured 2026-11-11 on a real GPU: the 3D holds the frame cap, but re-blurring the moving canvas behind each large
 * glass panel every frame cost 15–50 ms and pushed the page to the low tier. So while the sea is live the big
 * surfaces are milky and unblurred; only the small ones (top nav, wind dial, motion switch) keep a light blur.
 * Still mode has nothing moving behind the glass and keeps the full effect. */
.sea-on .panel, .sea-on .sheet { backdrop-filter: none; -webkit-backdrop-filter: none;
  background: linear-gradient(180deg, rgb(244 251 252 / .9), rgb(232 247 250 / .82)); }
.sea-on .dial, .sea-on .top-nav, .sea-on .motion { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgb(244 251 252 / .72); }
.sea-on .btn.ghost { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(255 255 255 / .8); }

/* ---------- language menu (markup generated by scripts/i18n_sync.py) ---------- */
.lang-dd { position: relative; flex: none; }
.lang-dd summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .875rem; min-height: 40px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px; background: rgb(244 251 252 / .72); border: 1px solid var(--glass-edge); }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-dd .lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; min-width: 180px; padding: 6px; border-radius: 18px;
  background: var(--foam); border: 1px solid rgb(6 38 58 / .12); box-shadow: 0 24px 60px -24px rgb(6 38 58 / .55); }
.lang-dd .lang-menu a { display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-size: .9375rem; }
.lang-dd .lang-menu a b { min-width: 26px; font-size: .8125rem; color: var(--ink-soft); }
.lang-dd .lang-menu a:hover, .lang-dd .lang-menu a[aria-current] { background: rgb(25 184 196 / .16); }
@media (max-width: 860px) { .top-cta { gap: 8px; } }

/* longer translations: nothing in the top bar wraps or collides */
.top-cta > *, .top-nav a { white-space: nowrap; }
@media (max-width: 1560px) { .quiet { display: none; } }
@media (max-width: 860px) { .btn.small { font-size: .875rem; padding: 0 13px; } .logo span { font-size: 1.125rem; } }
@media (max-width: 400px) { .lang-dd summary { padding: 0 9px; } }

.offer-price small { font: 600 1rem var(--body); }
.offer-terms { font-size: .9375rem; font-weight: 600; text-underline-offset: 4px; }
.prices td small { display: inline; }
.prices th { padding-right: 14px; }

/* ---------- short claims ---------- */
.claim { font: 700 1.25rem/1.25 var(--display); font-stretch: 86%; letter-spacing: -.01em; text-wrap: balance; }
.fine.terms { font-style: italic; }
.close-sub { font-size: 1.125rem; max-width: 36rem; }

/* ---------- the one form (request access / preorder / marks) ---------- */
.ask { width: min(calc(100% - 32px), 28rem); padding: 26px; border-radius: 28px; color: var(--ink); border: 1px solid var(--glass-edge);
  background: rgb(244 251 252 / .97); }
.ask::backdrop { background: rgb(6 38 58 / .35); }
.ask h2 { font: 750 1.75rem/1.05 var(--display); font-stretch: 84%; letter-spacing: -.02em; margin-bottom: 8px; }
.ask form, .ask-done { display: grid; gap: 14px; }
.ask [hidden] { display: none; }
.ask label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
.ask label small { font-weight: 400; color: var(--ink-soft); }
.ask input { font: 400 1rem var(--body); color: var(--ink); min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1.5px solid rgb(6 38 58 / .2); background: #fff; }
.ask input:focus-visible { outline: 3px solid var(--aqua); outline-offset: 1px; border-color: transparent; }
.ask .hp { position: absolute; left: -9999px; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ask-err { color: #B4321A; font-weight: 600; font-size: .9375rem; }

/* ---------- on board: the phone in its case, a tall real clip beside a few plain words ---------- */
.onboard { position: relative; z-index: 2; margin: 14lvh auto; width: min(calc(100% - 2 * var(--gutter)), 58rem);
  display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: end; gap: 0; }
.onboard .film { margin: 0; width: 100%; aspect-ratio: 9 / 16; max-height: 82lvh; justify-self: start; }
.onboard .film video { object-position: 50% 62%; }
.onboard .film-play { left: 16px; bottom: 16px; }
.onboard .panel { width: auto; margin: 0 0 clamp(28px, 6lvh, 64px) -28px; padding-left: calc(clamp(22px, 2.6vw, 36px) + 28px);
  border-radius: 0 30px 30px 0; border-left: 0; }
.onboard .kicker, .more .kicker { font: 700 .8125rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sea);
  display: flex; align-items: center; gap: 10px; }
.onboard .kicker::before, .more .kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #B6F22E; box-shadow: 0 0 0 1.5px var(--ink); }
.onboard .kit { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-weight: 600; font-size: .9375rem; }
.onboard .kit li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgb(6 38 58 / .16); }
.onboard .kit li span { font-weight: 400; color: var(--ink-soft); text-align: right; }
@media (max-width: 860px) {
  .onboard { grid-template-columns: 1fr; margin: 8lvh auto; }
  .onboard .film { aspect-ratio: 4 / 5; max-height: none; border-radius: 22px 22px 0 0; }
  .onboard .panel { margin: 0; padding-left: clamp(22px, 2.6vw, 36px); border-radius: 0 0 22px 22px; border-left: 1px solid var(--glass-edge); border-top: 0; }
}

/* ---------- more: plain panels between the scenes (big screen, game, in development) ---------- */
.more { position: relative; z-index: 2; margin: 14lvh auto; width: min(calc(100% - 2 * var(--gutter)), 72rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 20px; align-items: start; }
.more .panel { width: auto; align-content: start; }
.more .panel h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
@media (max-width: 860px) { .more { margin: 8lvh auto; } }
.more .kicker.dev { color: #B4321A; }
.more .kicker.dev::before { background: var(--buoy); }
/* long translations of the plan notes ("no card, no time limit") pushed the price table past 390 px */
@media (max-width: 520px) { .plans td small { white-space: normal; max-width: 9.5rem; margin-left: auto; } }

/* the rudder-marker picture (sea-rudder.js): a small window on the same sea */
.rudder3d { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 20px; background: #BFE9F5; contain: paint; isolation: isolate; }
.rudder3d canvas, .rudder3d img { display: block; width: 100%; height: 100%; border-radius: 20px; }
.rudder-out { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgb(6 38 58 / .82);
  color: var(--foam); font: 600 .875rem/1.2 var(--body); font-variant-numeric: tabular-nums; }
.rudder-out:empty { display: none; }
.rudder3d.shot { aspect-ratio: 16 / 10; }
.rudder3d.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* long words in some languages (lv footer, el slider labels) must not widen the page at 390 px */
.foot span, .panel, .sheet { overflow-wrap: anywhere; }
.panel { grid-template-columns: minmax(0, 1fr); }
.slider-ends { gap: 12px; }
.slider-ends span:last-child { text-align: right; }
