@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/rubik-latin-300-normal.woff2) 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:'Rubik';font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/rubik-hebrew-300-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/rubik-latin-400-normal.woff2) 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:'Rubik';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/rubik-hebrew-400-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/rubik-latin-500-normal.woff2) 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:'Rubik';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/rubik-hebrew-500-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/rubik-latin-600-normal.woff2) 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:'Rubik';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/rubik-hebrew-600-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/rubik-latin-700-normal.woff2) 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:'Rubik';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/rubik-hebrew-700-normal.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
/*
 * SeaWatch site. Two themes from one set of tokens: day at sea (the default) and night watch.
 * The palette: ocean blue = the product, red = man overboard only.
 * The pictures are real: the yacht photograph, the wristband's product photos, and screenshots of the app itself
 * (taken from the app running with simulated plugins - see site/README.md). The photographs dim in the night theme.
 */
:root {
  --paper: #f6f9fb;
  --sheet: #ffffff;
  --tile: #e8f0f5;
  --rule: #d5e1ea;
  --rule-strong: #a9bfcf;
  --ink: #0b2238;
  --ink-2: #3a5468;
  --ink-3: #647d92;
  --ocean: #0b5fa5;
  --ocean-2: #1a78c2;
  --ocean-soft: #dcecf8;
  --alarm: #d33a2c;
  --alarm-soft: #fde4e1;
  --sky-1: #a8d5f2;
  --sky-2: #eef7fc;
  --sea-2: #2378b8;
  --sea-3: #0d5a96;
  /* the drift animation's scene (the "every second counts" card) */
  --d-sky-1: #b9def6;
  --d-sky-2: #eef8fd;
  --d-sea-1: #2a88cc;
  --d-sea-2: #0d5a96;
  --d-sun: #ffd166;
  --d-cloud: 1; /* the clouds' opacity, on the group so overlapping circles don't show */
  --d-hull: #ffffff;
  --d-sail: #ffffff;
  --d-cabin: #e3eef7;
  --d-rig: #24394d;
  --d-stripe: #0b5fa5;
  --shadow: 0 1px 2px rgb(11 34 56 / 6%), 0 10px 28px -14px rgb(11 34 56 / 22%);
  --gutter: clamp(16px, 4vw, 56px);
  --block-pad: clamp(64px, 9vw, 120px);
  color-scheme: light;
}
:root[data-theme='dark'] {
  --paper: #06131f;
  --sheet: #0b1d2d;
  --tile: #10263a;
  --rule: #1a3349;
  --rule-strong: #2b4a66;
  --ink: #e6eef5;
  --ink-2: #b3c4d3;
  --ink-3: #8299ad;
  --ocean: #4aa3e8;
  --ocean-2: #7cbdf0;
  --ocean-soft: #0f2c45;
  --alarm: #f06a5c;
  --alarm-soft: #3b1a1a;
  --sky-1: #020a13;
  --sky-2: #0f273c;
  --sea-2: #0b2741;
  --sea-3: #071d33;
  --d-sky-1: #040e19;
  --d-sky-2: #173a59;
  --d-sea-1: #0f4470;
  --d-sea-2: #051a2c;
  --d-sun: #e9eff5;
  --d-cloud: 0.13;
  --d-hull: #dfe8f0;
  --d-sail: #e6eef5;
  --d-cabin: #c3d3e0;
  --d-rig: #8ea6bb;
  --d-stripe: #4aa3e8;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 30px -14px rgb(0 0 0 / 65%);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s, color 0.25s;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ocean-2);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-block-end: 16px;
  max-width: 22em;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
}
p {
  margin: 0;
}
.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 50;
  background: var(--ocean);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
/* a menu link lands on the section's heading just under the sticky header, not on its top padding:
   the margin is negative by the padding (scroll-margin may be negative) */
section[id] {
  scroll-margin-top: 84px;
}
section[id].block {
  scroll-margin-top: calc(68px + 24px - var(--block-pad));
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-block-end: 1px solid var(--rule);
}
.topRow {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand b {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.brand.small b {
  font-size: 0.98rem;
}
.nav {
  display: flex;
  gap: 22px;
  font-size: 0.96rem;
  color: var(--ink-2);
}
.nav a {
  text-decoration: none;
  padding: 6px 0;
  border-block-end: 2px solid transparent;
}
.nav a:hover {
  color: var(--ink);
  border-color: var(--ocean-2);
}
.actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.iconBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  min-width: 40px;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
.iconBtn:hover {
  color: var(--ink);
  border-color: var(--rule-strong);
}
.iconBtn .sunIcon {
  display: none;
}
:root[data-theme='dark'] .iconBtn .sunIcon {
  display: block;
}
:root[data-theme='dark'] .iconBtn .moonIcon {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn.lg {
  height: 52px;
  padding: 0 28px;
  font-size: 1.04rem;
}
.btn.primary {
  background: var(--ocean);
  color: #fff;
}
:root[data-theme='dark'] .btn.primary {
  color: #04121f;
}
.btn.primary:hover {
  background: var(--ocean-2);
}
.btn.ghost {
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  color: var(--ink);
}
.btn.ghost:hover {
  border-color: var(--ink);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- hero: a real photograph, the app's real screens, the wristband ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 84vh, 820px);
  display: flex;
  align-items: center;
  padding-block: clamp(36px, 6vw, 72px);
  background: var(--sea-3);
}
.heroPhoto {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 50%;
}
/* the photo's open water is on its left: mirrored in Hebrew, so the text always sits over the water */
:root[dir='rtl'] .heroPhoto {
  transform: scaleX(-1);
}
.heroShade {
  position: absolute;
  inset: 0;
  z-index: -1;
  --shade: 246 249 251;
  background: linear-gradient(to right, rgb(var(--shade) / 95%), rgb(var(--shade) / 84%) 40%, rgb(var(--shade) / 25%) 68%, rgb(var(--shade) / 0%) 85%);
}
:root[dir='rtl'] .heroShade {
  background: linear-gradient(to left, rgb(var(--shade) / 95%), rgb(var(--shade) / 84%) 40%, rgb(var(--shade) / 25%) 68%, rgb(var(--shade) / 0%) 85%);
}
:root[data-theme='dark'] .heroShade {
  --shade: 6 19 31;
}
:root[data-theme='dark'] .heroPhoto {
  filter: brightness(0.6) saturate(0.85);
}
.heroGrid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 span {
  display: block;
}
.hero h1 .accent {
  color: var(--ocean);
  font-weight: 600;
  font-size: 0.72em;
  line-height: 1.2;
  margin-block-start: 12px;
}
.lead {
  margin-block-start: 22px;
  font-size: 1.16rem;
  color: var(--ink-2);
  max-width: 33em;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 32px;
}
.heroVisual {
  position: relative;
  justify-self: center;
}
/* the wristband rests against the phone, on the side facing the text */
.heroBand {
  position: absolute;
  width: 58%;
  height: auto;
  bottom: 2%;
  inset-inline-start: -36%;
  filter: drop-shadow(0 18px 22px rgb(4 20 38 / 35%));
}

/* ---------- a phone frame around a real screenshot ---------- */
.phone {
  margin: 0;
  width: min(290px, 74vw);
}
.phoneScreen {
  position: relative;
  aspect-ratio: 390 / 844;
  border: 10px solid #0d1823;
  border-radius: 42px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 60px -24px rgb(4 20 38 / 60%), 0 0 0 1.5px #2b3c4d;
}
.phoneScreen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.slide {
  opacity: 0;
  transition: opacity 0.6s;
}
.slide.on {
  opacity: 1;
}
.slideCaption {
  display: table;
  margin: 18px auto 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sheet) 90%, transparent);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.98rem;
  text-align: center;
}

/* ---------- the logbook: the figures, on the deep water the hero's sea ends in ---------- */
.logbook {
  background: var(--sea-3);
  color: #fff;
  margin-block-start: -1px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 0;
  padding-block: 30px 38px;
}
.facts > div {
  padding: 8px 22px;
  border-inline-start: 1px solid rgb(255 255 255 / 18%);
}
.facts > div:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.facts dt {
  font-size: 0.85rem;
  color: rgb(255 255 255 / 72%);
}
.facts dd {
  margin: 4px 0 0;
}
.facts strong {
  display: block;
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.25;
}
.facts span {
  font-size: 0.9rem;
  color: rgb(255 255 255 / 82%);
}

/* ---------- sections ---------- */
.block {
  padding-block: var(--block-pad);
}
.block + .block {
  border-block-start: 1px solid var(--rule);
}
.block.shade {
  background: color-mix(in srgb, var(--ocean-soft) 45%, var(--paper));
  border-color: transparent;
}
.block.shade + .block {
  border-color: transparent;
}
.intro {
  max-width: 38em;
  color: var(--ink-2);
  font-size: 1.1rem;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.points {
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}
.points > div {
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--ocean-2);
}
.points dt {
  font-weight: 600;
}
.points dd {
  margin: 2px 0 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.note {
  margin-block-start: 32px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--sheet);
  border: 1px solid var(--rule);
}
.note p {
  margin-block-start: 6px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* ---------- "every second counts": the boat sailing away, the seconds and metres counting ---------- */
.stat {
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: 26px;
  background: linear-gradient(160deg, var(--sea-2), var(--sea-3));
  color: #fff;
  box-shadow: var(--shadow);
}
.driftWindow {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%);
}
.driftScene {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.4s;
}
.driftScene.fading {
  opacity: 0;
}
/* the boat sails in the reading direction */
:root[dir='rtl'] .driftScene {
  transform: scaleX(-1);
}
.dSky1 {
  stop-color: var(--d-sky-1);
}
.dSky2 {
  stop-color: var(--d-sky-2);
}
.dSea1 {
  stop-color: var(--d-sea-1);
}
.dSea2 {
  stop-color: var(--d-sea-2);
}
.dSun {
  fill: var(--d-sun);
}
.dSunGlow {
  fill: var(--d-sun);
  opacity: 0.28;
}
.dCloud {
  fill: #fff;
  opacity: var(--d-cloud);
}
.dHull {
  fill: var(--d-hull);
}
.dSail {
  fill: var(--d-sail);
}
.dCabin {
  fill: var(--d-cabin);
}
.dWindows {
  fill: var(--d-rig);
  opacity: 0.7;
}
.dRig line {
  stroke: var(--d-rig);
}
.dStripe {
  fill: none;
  stroke: var(--d-stripe);
  stroke-width: 2.4;
}
.dWave,
.dFoam path {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
}
.dWave {
  stroke-width: 1.4;
  opacity: 0.3;
}
.dFoam path {
  stroke-width: 2;
  opacity: 0.75;
}
.dRing {
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
}
.dDrop {
  fill: #fff;
}
.dMeasure line {
  stroke: #fff;
  stroke-width: 1.6;
  opacity: 0.9;
}
.dPulse {
  fill: none;
  stroke: #ff5a4a;
  stroke-width: 2.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: dPulse 1.6s ease-out infinite;
}
.dPulse.late {
  animation-delay: 0.8s;
}
@keyframes dPulse {
  from {
    transform: scale(0.5);
    opacity: 1;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}
/* the sea moves: one wave length (20 + 20 units) per cycle, so the loop is seamless */
.dBand,
.dWave {
  animation: dWave 3s linear infinite;
}
.dWave.slow {
  animation-duration: 4.6s;
}
@keyframes dWave {
  to {
    transform: translateX(-40px);
  }
}
.driftCounters {
  margin-block-start: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.driftCounters p {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / 10%);
}
.driftCounters span {
  display: block;
  font-size: 0.88rem;
  color: rgb(255 255 255 / 78%);
}
.driftCounters strong {
  display: block;
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.driftCounters small {
  font-size: 1.05rem;
  font-weight: 500;
}
/* the minute is up */
.stat.done .driftCounters strong {
  color: #ffd166;
}
.statText {
  margin-block-start: 16px;
  font-size: 1.2rem;
  font-weight: 500;
}
.statSmall {
  margin-block-start: 8px;
  color: rgb(255 255 255 / 78%);
  font-size: 0.95rem;
}

/* ---------- the wristband: the real photos, one per colour ---------- */
.bandGallery {
  margin: 0;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 26px;
  border: 1px solid var(--rule);
  background: radial-gradient(circle at 50% 38%, var(--sheet), var(--tile) 78%);
}
.bandMain {
  width: 100%;
  height: auto;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgb(11 34 56 / 25%));
}
.bandGallery figcaption {
  margin-block-start: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.swatch {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--rule);
  background: var(--sheet);
  overflow: hidden;
  cursor: pointer;
}
.swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.1) translateX(8%);
}
.swatch.on {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px var(--ocean-soft);
}

/* the alarm's sequence: a real order, so it is numbered */
.timeline {
  list-style: none;
  counter-reset: step;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.timeline li {
  counter-increment: step;
  position: relative;
  padding-block-start: 54px;
}
.timeline li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--sheet);
  border: 2px solid var(--ocean);
  color: var(--ocean);
}
.timeline li:first-child::before {
  border-color: var(--alarm);
  color: var(--alarm);
}
.timeline li::after {
  content: '';
  position: absolute;
  top: 17px;
  inset-inline-start: 48px;
  inset-inline-end: -16px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--rule-strong) 0 6px, transparent 6px 11px);
}
.timeline li:last-child::after {
  display: none;
}
.timeline p {
  margin-block-start: 6px;
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* the app: real screens, then what it does */
.shots {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.shots li {
  display: grid;
  justify-items: center;
}
.shots .phone {
  width: min(260px, 100%);
}
.shots figcaption {
  margin-block-start: 14px;
  text-align: center;
  font-weight: 600;
}
.spec {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 48px);
}
.spec > div {
  padding-block: 16px;
  border-block-start: 1px solid var(--rule);
}
.spec dt {
  font-weight: 600;
}
.spec dd {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* ---------- a photograph beside the promise ---------- */
.freedom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(360px, 40vw, 540px);
  background: linear-gradient(160deg, var(--sea-2), var(--sea-3));
  color: #fff;
}
.freedom img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
:root[data-theme='dark'] .freedom img {
  filter: brightness(0.75) saturate(0.9);
}
.freedomText {
  padding: clamp(32px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}
.freedomText h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}
.freedomText p {
  color: #dbe9f4;
  font-size: 1.2rem;
  max-width: 28em;
}
.btn.light {
  background: #fff;
  color: #0b2238;
}
.btn.light:hover {
  background: #e6f1fa;
}

/* who it is for */
.cards {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cards li {
  padding: 24px 24px 26px;
  border-radius: 16px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-block-start: 4px solid var(--ocean-2);
  box-shadow: var(--shadow);
}
.cards p {
  margin-block-start: 8px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* getting started */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ocean);
  margin-block-end: 12px;
}
.steps p {
  margin-block-start: 6px;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.download {
  margin-block-start: 40px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--rule);
  color: var(--ink-2);
}
.download a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ocean);
  font-weight: 600;
  text-decoration: none;
  border-block-end: 1.5px solid currentColor;
}

/* questions */
.faqWrap {
  max-width: calc(52rem + 2 * var(--gutter));
}
.faq {
  margin-block-start: 24px;
}
.faq details {
  border-block-start: 1px solid var(--rule);
}
.faq details:last-child {
  border-block-end: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--rule-strong);
  color: var(--ocean);
  font-size: 1.2rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  padding-block-end: 20px;
  color: var(--ink-2);
  max-width: 44em;
}

/* ---------- contact ---------- */
.contactBlock {
  background: linear-gradient(180deg, var(--ocean-soft), color-mix(in srgb, var(--ocean-soft) 60%, var(--paper)));
}
.block.contactBlock {
  border-color: transparent;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.direct {
  margin-block-start: 26px;
  color: var(--ink-2);
}
.direct a {
  color: var(--ocean);
  font-weight: 600;
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 18px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  position: relative;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.field i {
  font-style: normal;
  color: var(--ink-3);
  font-size: 0.82rem;
}
.field.wide,
.formFoot {
  grid-column: 1 / -1;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  padding: 11px 12px;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
:root[dir='rtl'] .field input[dir='ltr'] {
  text-align: right;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--ocean-2);
  outline-offset: 0;
  border-color: transparent;
}
.field.bad input {
  border-color: var(--alarm);
}
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  inset-inline-start: -9999px;
}
.formFoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.formMsg {
  font-size: 0.95rem;
}
.formMsg.ok {
  color: var(--ocean);
  font-weight: 600;
}
.formMsg.err {
  color: var(--alarm);
}
.formNote {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--ink-3);
}
.formNote a {
  color: var(--ink-2);
}

/* ---------- footer, 404 ---------- */
.foot {
  border-block-start: 1px solid var(--rule);
  padding-block: 28px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.footRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.foot a {
  color: var(--ink-2);
}
.footLinks {
  display: flex;
  gap: 18px;
}
.spacer {
  margin-inline-start: auto;
}
.lost {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2));
}
.lostBox {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.lostBox h1 {
  font-size: 2rem;
}
.lostBox a:not(.brand) {
  color: var(--ocean);
}

/* ---------- legal pages (terms, privacy): a document, numbered clauses ---------- */
.legalHead {
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2));
  padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px);
  border-block-end: 1px solid var(--rule);
}
.legal {
  padding-block-end: clamp(64px, 8vw, 110px);
}
.legalDoc {
  max-width: calc(46rem + 2 * var(--gutter));
}
.legalDoc h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1;
  font-weight: 700;
}
.updated {
  margin-block-start: 10px;
  color: var(--ink-3);
  font-size: 0.92rem;
}
.legalIntro {
  margin-block-start: 36px;
  font-size: 1.1rem;
  color: var(--ink-2);
}
.clauses {
  list-style: none;
  counter-reset: clause;
  margin: 32px 0 0;
  padding: 0;
}
.clauses > li {
  counter-increment: clause;
  padding-block: 22px;
  border-block-start: 1px solid var(--rule);
}
.clauses h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.clauses h2::before {
  content: counter(clause) '.';
  color: var(--ocean);
  font-weight: 600;
  min-width: 1.4em;
}
.clauses p,
.clauses ul {
  color: var(--ink-2);
  padding-inline-start: calc(1.4em + 12px);
}
.clauses ul {
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}
.clauses ul li::marker {
  color: var(--ocean);
}
.legalDoc a {
  color: var(--ocean);
  font-weight: 600;
}
.backHome {
  margin-block-start: 28px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--rule);
}

/* ---------- small screens ---------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .heroGrid,
  .split,
  .contact,
  .freedom {
    grid-template-columns: minmax(0, 1fr);
  }
  .heroShade,
  :root[dir='rtl'] .heroShade {
    background: rgb(var(--shade) / 86%);
  }
  .heroVisual {
    margin-inline-start: 18%;
  }
  #bracelet .split > .bandGallery {
    order: 2;
  }
  .freedom img {
    height: 300px;
  }
  .spec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }
  .facts > div:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline li::after {
    display: none;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .shots {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-block-end: 12px;
  }
  .shots li {
    scroll-snap-align: center;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .topRow {
    gap: 12px;
  }
  .langBtn span {
    display: none;
  }
  .actions .btn {
    padding: 0 14px;
  }
  .timeline,
  .steps,
  .spec,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts > div {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
  .spacer {
    margin-inline-start: 0;
  }
}
@media (max-width: 400px) {
  .brand b {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
