/* Seafarer Docs - the app's own colours: night navy and teal. No outside fonts
   or scripts, so the page sends nothing anywhere (it is a privacy-first app). */
:root {
  --bg: #0F1820;
  --bg-2: #142029;
  --card: #1A2631;
  --line: #26343F;
  --ink: #E6ECF0;
  --muted: #9AABB7;
  --teal: #5BC8DB;
  --teal-deep: #1F7A86;
  --blue: #4A90E2;
  --red: #E05252;
  --amber: #F2A93B;
  --green: #4CC38A;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F3F6F8; --bg-2: #E8EEF2; --card: #FFFFFF; --line: #D6DFE5;
    --ink: #12202B; --muted: #546572; --teal: #1C8FA3; --teal-deep: #1F7A86;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { flex: none; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--card); }

/* Hero */
.hero { padding: 56px 0 40px; background: radial-gradient(900px 420px at 80% 0%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--teal); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; margin: 10px 0 16px; letter-spacing: -.01em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.btn.primary { background: var(--teal); color: #0B1620; border-color: var(--teal); }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--amber) 20%, transparent); color: var(--amber); margin-left: 6px; vertical-align: 2px; }

/* Phone frame around a screenshot */
.phone { width: min(300px, 78vw); margin: 0 auto; border-radius: 38px; padding: 10px; background: #05090D; border: 1px solid #2B3A46; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #111A22; }
.phone img { border-radius: 29px; width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; }

/* Promise strip */
.promise { padding: 18px 0 8px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.promise li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.promise b { display: block; color: var(--teal); margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: .95rem; }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 8px; line-height: 1.2; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 28px; }

/* Feature rows: the phone beside the words, as in the video tours to come */
.feature { display: grid; grid-template-columns: 460px 1fr; gap: 48px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) { grid-template-columns: 1fr 460px; }
.feature:nth-of-type(even) .duo { order: 2; }
/* Two phones per section: the first in the Dark theme, the second, a little lower, in the Light one */
.duo { display: flex; gap: 16px; align-items: flex-start; }
.duo .phone { width: 50%; margin: 0; border-radius: 30px; padding: 8px; }
.duo .phone img { border-radius: 23px; }
.duo .phone:nth-child(2) { margin-top: 48px; }
.feature h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.feature .tag { color: var(--teal); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.feature ul { padding-left: 1.1em; color: var(--muted); }
.feature li { margin: 4px 0; }
.feature li b { color: var(--ink); font-weight: 600; }

/* Smaller cards for the rest */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid > * { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .ico { font-size: 1.5rem; margin-bottom: 6px; }

/* Four themes side by side */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.themes figure { margin: 0; text-align: center; }
.phone.small { width: 100%; max-width: 220px; border-radius: 28px; padding: 7px; }
.phone.small img { border-radius: 22px; }
.themes figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.themes figcaption b { display: block; color: var(--ink); font-size: 1.05rem; }

/* Videos */
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); background: linear-gradient(135deg, var(--bg-2), var(--card)); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 16px; }
.video b { display: block; color: var(--ink); }
.video:has(.play), .video:has(iframe) { padding: 0; border-style: solid; overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }
.play { width: 100%; height: 100%; border: 0; cursor: pointer; color: #fff; background: #0B1620 center / cover no-repeat; display: grid; place-content: center; gap: 8px; font: inherit; }
.play span { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #0B1620; display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
/* The title well under the button, larger, with a black outline so it reads on any picture. */
/* The button stays in the middle; the title sits a third of the way from the
   bottom edge up to the middle (asked 17 Oct 2026). */
.play { position: relative; }
.play b { position: absolute; left: 8px; right: 8px; top: 83.3%; transform: translateY(-50%); text-align: center;
  font-size: 1.25rem; font-weight: 800; letter-spacing: .01em;
  -webkit-text-stroke: 5px #000; paint-order: stroke fill;
  text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.featured-video .play b { font-size: 1.7rem; }
.play:hover span, .play:focus-visible span { transform: scale(1.08); }
.featured-video { max-width: 820px; margin: 0 auto 28px; }
.featured-video .play span { width: 84px; height: 84px; font-size: 2.1rem; }
.yt-link { display: inline-block; margin-top: 8px; font-size: .9rem; }
.note { color: var(--muted); font-size: .9rem; margin-top: 16px; }

.soon { color: var(--muted); font-size: .95rem; margin: 14px 0 0; }
.fine { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }

/* Where the data is kept: three numbered boxes */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.flow li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; color: var(--muted); font-size: .97rem; counter-increment: step; }
.flow li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #0B1620; display: grid; place-items: center; font-weight: 800; }
.flow li b { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 4px; }

/* Beta steps */
.steps { margin: 0 0 22px; padding-left: 1.2em; color: var(--muted); max-width: 44em; }
.steps li { margin: 6px 0; }
.steps b { color: var(--ink); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li.done::before { background: var(--green); }
.timeline li.now::before { background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 30%, transparent); }
.timeline time { color: var(--teal); font-weight: 700; font-size: .9rem; }
.timeline p { margin: 2px 0 0; color: var(--muted); }

/* Legal pages */
.doc { max-width: 760px; padding: 40px 20px 60px; margin: 0 auto; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-size: 1.25rem; margin: 28px 0 6px; color: var(--teal); }
.doc p { color: var(--ink); }
.doc .meta { color: var(--muted); font-size: .95rem; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; }
  .feature:nth-of-type(even) .duo { order: 0; }
  .duo { max-width: 480px; margin: 0 auto; }
  .promise ul { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .themes { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .promise ul, .grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .hero { padding-top: 32px; }
}
