/* Fish On landing page. The one loud thing is the sonar behind the hero watch; the rest stays calm. */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.sub { color: var(--mu); font-size: clamp(17px, 1.6vw, 20px); max-width: 44ch; margin: 16px 0 0; text-wrap: pretty; }
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.center { text-align: center; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(56px, 8vw, 96px); }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 550; }
.nav a { color: var(--mu); text-decoration: none; }
.nav a:hover { color: var(--fg); }
.lang { position: relative; margin-left: auto; z-index: 20; }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 650; cursor: pointer; color: var(--fg);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang .menu {
  position: absolute; right: 0; top: 46px; min-width: 180px; padding: 6px; border-radius: 16px;
  background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.lang .menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; font-size: 15px; }
.lang .menu a:hover { background: var(--chip); }
.lang .menu a[aria-current] { color: var(--ac); font-weight: 650; }

.herogrid { display: grid; gap: 28px; align-items: center; padding-top: 12px; }
.pitch { position: relative; z-index: 2; order: 2; }
.hero h1 { font-size: clamp(46px, 8.2vw, 112px); letter-spacing: -.05em; line-height: .94; max-width: 9.5em; }
.hero .lead { color: var(--mu); font-size: clamp(17px, 1.7vw, 21px); max-width: 36em; margin: 22px 0 0; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1.5px dashed color-mix(in srgb, var(--ac) 70%, transparent); color: var(--ac); font-weight: 700; font-size: 16px;
}
.soon i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac) 22%, transparent); }
.price { margin: 18px 0 0; color: var(--mu); font-size: 15px; }
.stage { position: relative; order: 1; display: grid; place-items: center; min-height: calc(var(--hw) * 1.32); --hw: min(78vw, 360px); }
.hero-watch { --s: var(--hw); }

/* the sonar: rings, a rotating sweep and echoes that light up when the beam passes over them */
.sonar {
  position: absolute; z-index: -1; pointer-events: none; width: var(--sz); height: var(--sz); --sz: 1500px; --T: 6s;
  left: calc(50% - var(--sz) / 2); top: calc(var(--cy, 320px) - var(--sz) / 2);
  -webkit-mask-image: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .55) 42%, transparent 66%);
  mask-image: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .55) 42%, transparent 66%);
}
.sonar .rings {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 89px, rgba(46, 242, 180, .11) 89px 90.5px),
    radial-gradient(circle, var(--glow), transparent 60%);
}
.sonar .sweep {
  position: absolute; inset: 0; border-radius: 50%; will-change: transform;
  background: conic-gradient(from 0deg, transparent 0 250deg, rgba(46, 242, 180, .015) 270deg, rgba(46, 242, 180, .13) 340deg, rgba(46, 242, 180, .34) 359deg, rgba(124, 231, 255, .7) 360deg);
  animation: sweep var(--T) linear infinite;
}
.sonar .echo {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 16px; margin: -8px 0 0 -20px; opacity: 0;
  fill: none; stroke: var(--echo); stroke-width: 3.2; stroke-linecap: round; overflow: visible;
  transform: rotate(calc(var(--p) * 360deg)) translateY(calc(var(--r) * -1)) rotate(calc(var(--p) * -360deg)) scale(var(--k, 1));
  animation: echo var(--T) linear infinite; animation-delay: calc(var(--p) * var(--T) - var(--T));
  filter: drop-shadow(0 0 6px rgba(46, 242, 180, .8));
}
.sonar .echo:nth-of-type(1) { --p: .08; --r: 250px; }
.sonar .echo:nth-of-type(2) { --p: .14; --r: 330px; --k: .8; }
.sonar .echo:nth-of-type(3) { --p: .31; --r: 285px; --k: 1.2; }
.sonar .echo:nth-of-type(4) { --p: .43; --r: 420px; --k: .7; }
.sonar .echo:nth-of-type(5) { --p: .58; --r: 270px; }
.sonar .echo:nth-of-type(6) { --p: .66; --r: 360px; --k: .9; }
.sonar .echo:nth-of-type(7) { --p: .81; --r: 300px; --k: 1.3; }
.sonar .echo:nth-of-type(8) { --p: .9; --r: 455px; --k: .75; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes echo { 0% { opacity: 1; } 8% { opacity: .9; } 55% { opacity: .08; } 100% { opacity: 0; } }
.paused .sonar .sweep, .paused .sonar .echo { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .sonar .sweep { animation: none; transform: rotate(300deg); }
  .sonar .echo { animation: none; opacity: .55; }
  .watch .screen > * { transition: none; }
}

/* ------------------------------------------------------------ live bite times (an instrument) */
.live { border-top: 1px solid rgba(46, 242, 180, .1); }
.live .wrap { position: relative; }
.instrument { display: grid; gap: 36px; margin-top: 44px; align-items: center; }
.dial { position: relative; width: min(100%, 460px); margin: 0 auto; }
.dial svg { display: block; width: 100%; height: auto; }
.dialc { position: absolute; inset: 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.dday { color: var(--mu); font-size: clamp(12px, 2.6vw, 14px); font-weight: 650; }
.dscore { font-size: clamp(64px, 19vw, 112px); font-weight: 800; letter-spacing: -.06em; line-height: .95; margin-top: 4px; }
.dlabel { color: var(--ac); font-weight: 750; font-size: clamp(14px, 3.4vw, 18px); margin-top: 6px; }
.dnext {
  margin-top: 12px; padding: 7px 13px; border-radius: 999px; background: var(--chip); font-weight: 650;
  font-size: clamp(12px, 2.9vw, 14px); line-height: 1.25; max-width: 100%;
}
.readout { display: grid; gap: 22px; align-content: start; }
.loc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.loc p { margin: 0; color: var(--mu); font-size: 15px; flex: 1 1 220px; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.small svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wins li {
  display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 12px 2px;
  border-bottom: 1px solid var(--line); font-size: 16px;
}
.wins li i { width: 12px; height: 12px; border-radius: 50%; background: var(--ac); }
.wins li.minor i { background: color-mix(in srgb, var(--ac) 45%, var(--chip)); }
.wins li.past { color: var(--mu); }
.wins li.past i { opacity: .4; }
.wins li.now { color: var(--ac); font-weight: 650; }
.wins b { font-weight: 650; }
.wins .t { font-variant-numeric: tabular-nums; font-weight: 650; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; }
.facts div { display: flex; gap: 10px; align-items: center; min-width: 0; }
.facts dt { color: var(--mu); font-size: 13px; }
.facts dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.facts svg { width: 30px; height: 30px; flex: none; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days button {
  display: grid; gap: 3px; justify-items: center; padding: 10px 2px 9px; border-radius: 14px; border: 1px solid var(--line);
  background: transparent; color: var(--fg); font: 600 12px/1.1 var(--font); cursor: pointer; min-width: 0;
}
.days button b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.days button s { display: block; width: 70%; height: 4px; border-radius: 2px; background: var(--chip); text-decoration: none; overflow: hidden; position: relative; }
.days button s::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); background: var(--ac); border-radius: 2px; }
.days button[aria-pressed="true"] { background: var(--chip); border-color: color-mix(in srgb, var(--ac) 55%, transparent); }
.fine { color: var(--mu); font-size: 14px; max-width: 70ch; margin: 36px 0 0; }

/* ------------------------------------------------------------ story */
.storygrid { display: grid; gap: 0; margin-top: 48px; }
.pin { display: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 52px; }
.step { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; }
.step .mini { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px #1d2629, 0 0 0 6px #4a555a, 0 14px 30px rgba(0, 0, 0, .4); background: #000; }
.clock { display: block; color: var(--ac); font-size: 15px; font-weight: 750; margin-bottom: 6px; }
.step p { color: var(--mu); margin: 10px 0 0; max-width: 46ch; }

/* ------------------------------------------------------------ export */
.export { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg2) 60%, transparent) 30%, transparent); }
.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 48px; }
.flow h3 { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.flow .n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--ac); color: var(--ac); font-size: 14px; font-weight: 800; letter-spacing: 0; transform: translateY(-3px);
}
.flow p { color: var(--mu); margin: 10px 0 0; }
.vis { height: 300px; display: grid; place-items: center; }
.disc { width: 240px; height: 240px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 9px #1d2629, 0 0 0 11px #59656a, 0 24px 50px rgba(0, 0, 0, .35); }
.phone {
  width: 182px; height: 300px; border-radius: 30px; padding: 7px; background: #11181b; overflow: hidden;
  box-shadow: 0 0 0 1.5px #59656a, 0 24px 50px rgba(0, 0, 0, .35);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }
.csv {
  width: 100%; max-width: 330px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); padding: 10px 0;
  font-size: 12.5px; font-variant-numeric: tabular-nums; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
}
.csv .r { display: grid; grid-template-columns: 44px 1.6fr .8fr .8fr 22px; gap: 8px; padding: 6px 14px; white-space: nowrap; }
.csv .r span { overflow: hidden; text-overflow: ellipsis; }
.csv .r + .r { border-top: 1px solid var(--line); }
.csv .h { color: var(--mu); font-weight: 650; }
.export .center { margin-top: 48px; }

/* ------------------------------------------------------------ devices */
.devgrid { display: grid; gap: 44px; align-items: center; }
.pair { display: flex; justify-content: center; align-items: flex-end; gap: clamp(28px, 6vw, 64px); }
.pair figure { margin: 0; display: grid; justify-items: center; gap: 22px; }
.pair figcaption { font-weight: 700; text-align: center; }
.pair figcaption span { display: block; color: var(--mu); font-weight: 500; font-size: 14px; }
.watch.big { --s: min(44vw, 250px); }
.watch.small { --s: min(33vw, 190px); }
.watch.mip .case { background: conic-gradient(from 200deg, #1b1f22, #3a4044, #202528, #4b5257, #1b1f22); }
.devall { margin-top: 64px; font-size: 18px; }
.families { list-style: none; padding: 0; margin: 18px 0 0; columns: 1; column-gap: 40px; color: var(--mu); font-size: 15px; }
.families li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); }
.families b { color: var(--fg); font-weight: 700; margin-right: 6px; }

/* ------------------------------------------------------------ buy */
.buy { overflow: hidden; }
.buy::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 79px, rgba(46, 242, 180, .08) 79px 80.5px);
  -webkit-mask-image: radial-gradient(circle, #000, transparent 62%); mask-image: radial-gradient(circle, #000, transparent 62%);
}
.buygrid { position: relative; display: grid; gap: 28px; justify-items: start; }
.buy .logo { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.mail { color: var(--mu); margin: 22px 0 0; font-size: 15px; }

/* ------------------------------------------------------------ faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: 28px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 18px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--ac); border-bottom: 2px solid var(--ac); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--mu); max-width: 64ch; }

/* ------------------------------------------------------------ footer */
.footrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footrow p a { margin-left: 18px; }
.footrow p a:first-child { margin-left: 0; }
.foot p { margin: 14px 0 0; }
.foot .langs a { margin-right: 12px; display: inline-block; }
.foot .langs a[aria-current] { color: var(--fg); }

/* ------------------------------------------------------------ wider screens */
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .families { columns: 2; }
  .buygrid { grid-template-columns: auto 1fr; align-items: center; gap: 44px; }
  .buy .logo { width: 132px; height: 132px; border-radius: 30px; }
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .lang { margin-left: 18px; }
  .herogrid { grid-template-columns: 1.05fr .95fr; min-height: min(800px, calc(100vh - 64px)); padding-top: 0; }
  .pitch { order: 1; }
  .stage { order: 2; --hw: min(34vw, 420px); }
  .sonar { --sz: 1900px; left: calc(76% - var(--sz) / 2); top: calc(50% + 32px - var(--sz) / 2); }
  .instrument { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 72px; }
  .storygrid { grid-template-columns: 440px 1fr; gap: 72px; }
  .pin { display: block; position: sticky; top: calc(50vh - 190px); height: 380px; align-self: start; padding-top: 30px; }
  .pin .watch { --s: 340px; margin: 0 auto; }
  .steps { gap: 0; }
  .step { grid-template-columns: 1fr; min-height: 62vh; align-content: center; opacity: .38; transition: opacity .35s; }
  .step.on { opacity: 1; }
  .step .mini { display: none; }
  .step h3 { font-size: 34px; letter-spacing: -.03em; }
  .step p { font-size: 19px; }
  .clock { font-size: 17px; }
  .devgrid { grid-template-columns: 1fr 1fr; }
  .families { columns: 3; }
}
@media (prefers-reduced-motion: reduce) { .step { transition: none; } }

/* ring reveal: window arcs draw in once (pathLength = 1) */
#ring .warc { stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .7, .2, 1); }
#ring.pre .warc { stroke-dashoffset: 1; }
#ring .nowdot { transition: opacity .4s .9s; }
#ring.pre .nowdot { opacity: 0; }
@media (prefers-reduced-motion: reduce) { #ring .warc, #ring .nowdot { transition: none; } }

/* bite-time ring and icons follow the theme (CSS beats the SVG presentation attributes) */
#ring .rg-track { stroke: var(--chip); }
#ring .rg-night { stroke: var(--nightband); stroke-opacity: 1; }
#ring .rg-tick { stroke: var(--mu); }
#ring .rg-lab { fill: var(--mu); }
#ring .warc { stroke: var(--ac); }
#ring .nowdot { fill: var(--fg); stroke: var(--bg); }
#ring circle[fill="#FFB547"] { fill: var(--warn); }
#ring circle[stroke="#FFB547"] { stroke: var(--warn); }
.facts .mn-d { fill: var(--chip); }
.facts .mn-l { fill: var(--moonlit); }
@media (prefers-color-scheme: light) { .facts .mn-l { stroke: var(--mu); stroke-width: .8; } }
.facts .sn-h { stroke: var(--mu); }
