/* SeaSafe marketing site. Static, no build step.
   Cached for a year as immutable (see vercel.json): after ANY edit bump the
   ?v= query in every HTML file that links this sheet.

   One grammar, three palettes. The page walks through the product's own
   modes: Night (the moment the question comes), Sea (how the answer works),
   Dock (ashore, where you install it). Every component reads only the
   custom properties below, never a hex. Values are the locked tokens of
   seasafe-android/DESIGN.md. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 48px);

  /* Dock is the document default: legal pages and the closing chapters. */
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #edf1f5;
  --surface-sunken: #e4eaf0;
  --tint-action: #dce9f9;
  --tint-danger: #fbe0de;
  --tint-note: #f6e7b8;
  --ink: #14202e;
  --body: #3d4c5c;
  --muted: #7a8899;
  --hairline: #dde3ea;
  --accent: #1668d4;
  --accent-active: #0f52aa;
  --on-accent: #ffffff;
  --danger: #d8453b;
  --warn: #b4740f;
  --ok: #1e8e5a;
}

.mode-sea {
  --canvas: #0a1826;
  --surface: #122234;
  --surface-soft: #182c42;
  --surface-sunken: #071220;
  --tint-action: #14314d;
  --tint-danger: #3a1714;
  --tint-note: #3b3117;
  --ink: #e9eff5;
  --body: #c2ceda;
  --muted: #8598aa;
  --hairline: #22384f;
  --accent: #4fa3e3;
  --accent-active: #7cbdee;
  --on-accent: #06121f;
  --danger: #ff6a5c;
  --warn: #e8a33d;
  --ok: #4cc08a;
}

.mode-night {
  --canvas: #000000;
  --surface: #0a0201;
  --surface-soft: #150403;
  --surface-sunken: #000000;
  --tint-action: #1c0604;
  --tint-danger: #2a0805;
  --tint-note: #1c0604;
  --ink: #ff5a3c;
  --body: #c8402a;
  --muted: #7e2718;
  --hairline: #3d120a;
  --accent: #ff5a3c;
  --accent-active: #ff8467;
  --on-accent: #000000;
  --danger: #ffa38e;
  --warn: #d9603f;
  --ok: #7e2718;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--font-ui);
  font-feature-settings: "tnum" 1, "cv11" 1;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--canvas);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0 0 1.1em;
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
strong {
  color: var(--ink);
  font-weight: 600;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- sections ---------- */
section,
.chapter {
  background: var(--canvas);
  color: var(--body);
  padding: clamp(64px, 9vw, 128px) 0;
}
.chapter + .chapter.same {
  padding-top: 0;
}
.chapter h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.04;
  max-width: 22ch;
  margin-bottom: 28px;
}
.chapter h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.lede {
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 34em;
}
.prose {
  max-width: 62ch;
}
.prose p {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.two.rev > :first-child {
  order: 2;
}
@media (max-width: 860px) {
  .two,
  .two.rev {
    grid-template-columns: 1fr;
  }
  .two.rev > :first-child {
    order: 0;
  }
}

/* A "log line": where and when the scene happens. Monospace because the
   app itself sets coordinates and timestamps in mono (DESIGN.md). */
.logline {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin: 0 0 22px;
}

/* A planted sentence the reader will need later. */
.plant {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 20px;
  margin: 30px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  max-width: 30em;
}

/* ---------- top bar ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.bar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.bar nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bar nav a {
  color: var(--body);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: var(--r-pill);
}
.bar nav a:hover {
  background: var(--surface-soft);
  color: var(--ink);
}
.lang {
  display: inline-flex;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 2px;
}
.lang a,
.lang span {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--body);
  min-width: 44px;
  text-align: center;
}
.lang [aria-current] {
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
}
@media (max-width: 720px) {
  .bar nav .hide-m {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 96px);
  overflow: hidden;
}
.hero .two {
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: 26px;
}
.hero .lede {
  margin-bottom: 34px;
}
.hero .rose {
  position: absolute;
  right: -8vw;
  top: 50%;
  width: 70vmin;
  height: 70vmin;
  transform: translateY(-50%);
  color: var(--hairline);
  opacity: 0.55;
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero {
    min-height: 0;
  }
  .hero .rose {
    width: 90vw;
    height: 90vw;
    right: -40vw;
    top: 20%;
    transform: none;
    opacity: 0.4;
  }
}

/* Store badges. While the listings are not live the badges are rendered
   dimmed with a "soon" note; swap the hrefs and drop .soon at launch. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}
.stores a,
.stores .soon {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}
.stores img {
  height: 44px;
  width: auto;
}
.stores .soon {
  position: relative;
  opacity: 0.55;
  filter: grayscale(1);
  cursor: not-allowed;
}
.stores .soon::after {
  content: attr(data-note);
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  filter: none;
}
.stores + .micro {
  margin-top: 34px;
}
.micro {
  font-size: 14px;
  color: var(--muted);
  max-width: 40em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn.primary:hover {
  background: var(--accent-active);
}
.btn.ghost {
  border-color: var(--hairline);
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--surface-soft);
}

/* ---------- phone mock ---------- */
.phone {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 40px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 6px var(--surface-sunken);
  padding: 12px;
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  line-height: 1.4;
  overflow: hidden;
  position: relative;
}
.phone .sb {
  display: flex;
  justify-content: space-between;
  padding: 6px 14px 0;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}
.phone .sb span:last-child {
  color: var(--muted);
  font-weight: 500;
}
.phone .top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 8px;
}
.phone .top b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone .top small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}
.phone .top small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
.phone .ic {
  width: 32px;
  height: 32px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.phone .ic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone .scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 6px 8px;
  overflow: hidden;
}
.phone .me {
  align-self: flex-end;
  max-width: 86%;
  background: var(--tint-action);
  color: var(--ink);
  border-radius: 18px 18px 6px 18px;
  padding: 10px 13px;
}
.phone .ai {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 6px 18px 18px 18px;
  padding: 12px 13px;
  color: var(--ink);
}
.phone .src {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--body);
}
.phone .src b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.phone .src svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}
.phone .disc {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 6px;
}
.phone .cur {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone .cur {
    animation: none;
  }
}
.phone .quota {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 6px 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--tint-note);
  color: var(--ink);
  font-size: 11.5px;
}
.phone .quota b {
  color: var(--accent);
  font-weight: 600;
}
.phone .comp {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 6px 8px;
}
.phone .field {
  flex: 1;
  height: 42px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
}
.phone .send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.phone .send svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone .ebar {
  margin: 0 6px 6px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint-danger);
  color: var(--danger);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}
.phone .home {
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: var(--muted);
  margin: 2px auto 0;
  opacity: 0.6;
}
.phone .list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px;
}
.phone .list .card {
  min-height: 56px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.phone .list .card.red {
  background: var(--tint-danger);
  color: var(--danger);
  border-color: transparent;
}
.phone .step {
  padding: 10px 8px;
  color: var(--ink);
}
.phone .step h4 {
  font-size: 20px;
  margin: 10px 0 6px;
}
.phone .step p {
  font-size: 13px;
  color: var(--body);
}
.phone .bar-dl {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-soft);
  overflow: hidden;
  margin: 14px 0 6px;
}
.phone .bar-dl i {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--accent);
}
.phone .btn-mock {
  margin-top: auto;
  height: 46px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.phone .step .btn-mock {
  margin-top: 18px;
}
.phone .steps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}
.phone .steps-list li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
  padding: 8px 0;
  font-size: 13px;
}
.phone .steps-list li span:last-child {
  color: var(--muted);
}
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.shots figure {
  margin: 0;
}
.shots figcaption {
  margin-top: 16px;
  font-size: 15px;
  color: var(--body);
  text-align: center;
}
.shots figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 860px) {
  .shots {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ---------- stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: 40px;
}
.stats > div {
  padding: 22px 20px 22px 0;
}
.stats > div + div {
  border-left: 1px solid var(--hairline);
  padding-left: 20px;
}
.stats b {
  display: block;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stats small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--body);
}
@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stats > div + div {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
  }
}

/* ---------- comparison: what you had vs what you have now ---------- */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.versus > div {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
}
.versus h3 {
  font-size: 17px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.versus ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.versus li {
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 16px;
}
.versus li small {
  display: block;
  color: var(--body);
  font-size: 14px;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .versus {
    grid-template-columns: 1fr;
  }
}

/* ---------- three reasons / three steps ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: 40px;
}
.trio > div {
  border-top: 2px solid var(--accent);
  padding-top: 18px;
}
.trio .n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}
.trio p {
  font-size: 16px;
  margin: 0;
}
@media (max-width: 860px) {
  .trio {
    grid-template-columns: 1fr;
  }
}

/* ---------- emergency grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 32px;
}
.cards span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--tint-danger);
  color: var(--danger);
  font-weight: 600;
  font-size: 15px;
}
.cards span.more {
  background: transparent;
  border: 1px dashed var(--hairline);
  color: var(--muted);
  font-weight: 500;
}

/* ---------- limits ---------- */
.limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}
.limits li {
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
}
.limits li b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
@media (max-width: 720px) {
  .limits {
    grid-template-columns: 1fr;
  }
}
.notice {
  margin-top: 36px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--tint-note);
  color: var(--ink);
  font-size: 16px;
  max-width: 60em;
}

/* ---------- storyboard ---------- */
.frames {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.frames article {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 22px 22px 20px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
}
.frames .fn {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.frames h3 {
  font-size: 18px;
}
.frames p {
  margin: 0;
  font-size: 15px;
}
.frames article.turn {
  background: var(--tint-action);
  border-color: transparent;
}
@media (max-width: 860px) {
  .frames {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .frames {
    grid-template-columns: 1fr;
  }
}

/* ---------- pricing ---------- */
.price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.price > div {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
}
.price > div.full {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.price h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.price .amount {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin: 10px 0 18px;
}
.price .amount small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 6px;
}
.price ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.price li {
  padding: 9px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--ink);
}
@media (max-width: 720px) {
  .price {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 36px;
  border-top: 1px solid var(--hairline);
  max-width: 64em;
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq details > div {
  padding: 0 0 22px;
  max-width: 62ch;
}
.faq p {
  font-size: 16px;
}

/* ---------- closing CTA + footer ---------- */
.closing {
  text-align: left;
}
.closing h2 {
  margin-bottom: 18px;
}
footer {
  background: var(--surface-sunken);
  border-top: 1px solid var(--hairline);
  padding: 56px 0 36px;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-grid h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0;
}
.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-grid li {
  margin: 0 0 8px;
}
.foot-grid a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
}
.foot-grid a:hover {
  text-decoration: underline;
}
.foot-grid p {
  max-width: 36em;
  color: var(--body);
}
.foot-grid .stores {
  margin-top: 18px;
}
.foot-grid .stores img {
  height: 38px;
}
.fine {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- legal pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px var(--gutter) 96px;
}
.legal h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 10px;
}
.legal .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 22px;
  margin: 44px 0 12px;
  scroll-margin-top: 80px;
}
.legal h3 {
  font-size: 17px;
  margin: 22px 0 6px;
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.65;
}
.legal ul,
.legal ol {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.legal .box {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 0 0 28px;
}
.legal .box.warn {
  background: var(--tint-note);
  border-color: transparent;
}
.legal .box h2 {
  margin-top: 0;
  font-size: 18px;
}
.legal .toc ol {
  columns: 2;
  gap: 32px;
  font-size: 15px;
}
.legal .toc a {
  text-decoration: none;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 20px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.legal th {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 600px) {
  .legal .toc ol {
    columns: 1;
  }
}

/* phone step screen fills the device; CTA pinned to the bottom */
.phone .step {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* =============================================================
   2026-11-08: AJTBD landing (nine blocks). Light Dock palette for
   the page, Sea palette only inside phone mockups (the product's
   own look at sea). No mode-switching between sections.
   ============================================================= */
.block {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--hairline);
}
.block h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: 16px;
}
.block .sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--body);
  max-width: 44em;
  margin-bottom: 0;
}
.hero-a {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
}
.hero-a h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 22px;
}
.hero-a .lede {
  margin-bottom: 28px;
}
.hero-a .two {
  align-items: center;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.facts li {
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 7px 14px;
}

/* Core Jobs */
.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.jobs > div {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 24px;
}
.jobs h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.jobs p {
  font-size: 15.5px;
  margin: 0;
}
.jobs .eg {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--muted);
}
.bigjob {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--tint-action);
  color: var(--ink);
  font-size: 17px;
  max-width: 60em;
}
@media (max-width: 860px) {
  .jobs {
    grid-template-columns: 1fr;
  }
}

/* "Is this you" checklist */
.fit {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
.fit li {
  position: relative;
  padding: 16px 0 16px 38px;
  border-top: 1px solid var(--hairline);
  font-size: 16.5px;
  color: var(--ink);
}
.fit li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--accent);
}
.fit li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.fit li small {
  display: block;
  color: var(--body);
  font-size: 14.5px;
  margin-top: 2px;
}
.trigger {
  margin-top: 26px;
  font-size: 17px;
  color: var(--ink);
  max-width: 52em;
}
@media (max-width: 720px) {
  .fit {
    grid-template-columns: 1fr;
  }
}

/* Comparison tables */
.tbl-wrap {
  margin-top: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.tbl {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15.5px;
}
.tbl th,
.tbl td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline);
}
.tbl tr:last-child td {
  border-bottom: 0;
}
.tbl thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-soft);
}
.tbl td:first-child {
  color: var(--ink);
  font-weight: 600;
  width: 28%;
}
.tbl td.us {
  color: var(--ink);
  background: color-mix(in srgb, var(--tint-action) 55%, transparent);
}
.tbl small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

/* Fears */
.fears {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.fears > div {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.fears h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.fears p {
  font-size: 15.5px;
  margin: 0;
}
@media (max-width: 720px) {
  .fears {
    grid-template-columns: 1fr;
  }
}
.not {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--tint-note);
  color: var(--ink);
}
.not h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.not ul {
  margin: 0;
  padding-left: 20px;
}
.not li {
  font-size: 15.5px;
  margin: 4px 0;
}

/* State B */
.stateb {
  background: var(--surface);
}
.stateb .lede {
  max-width: 40em;
}

/* CTA */
.cta {
  background: #0a1826;
  border-top: 0;
}
.cta h2,
.cta .sub {
  color: #e9eff5;
}
.cta .sub {
  color: #c2ceda;
}
.cta .micro,
.cta .micro a {
  color: #8598aa;
}
.cta .micro a {
  color: #4fa3e3;
}
.cta .stores .soon::after {
  color: #8598aa;
}
.cta .price {
  margin-top: 32px;
}
.cta .price > div {
  background: #122234;
  border-color: #22384f;
}
.cta .price > div.full {
  border-color: #4fa3e3;
  box-shadow: 0 0 0 1px #4fa3e3 inset;
}
.cta .price h3,
.cta .price .amount,
.cta .price li {
  color: #e9eff5;
}
.cta .price .amount small {
  color: #8598aa;
}
.cta .price li {
  border-color: #22384f;
}
.cta .first {
  margin-top: 32px;
}

/* Phones: comparison tables become one card per row, so the SeaSafe
   column is never hidden behind a horizontal scroll. Labels come from
   data-label, generated from the table header. */
@media (max-width: 720px) {
  .tbl-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .tbl,
  .tbl tbody,
  .tbl tr,
  .tbl td {
    display: block;
    min-width: 0;
    width: auto;
  }
  .tbl thead {
    display: none;
  }
  .tbl tr {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .tbl td {
    border-bottom: 1px solid var(--hairline);
    padding: 12px 18px;
  }
  .tbl td:first-child {
    width: auto;
    font-size: 17px;
    padding-top: 16px;
  }
  .tbl tr td:last-child {
    border-bottom: 0;
  }
  .tbl td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2px;
  }
}
