/* ===========================================================================
   openreel.fish landing page.

   Single dark theme — this is the brand look, matching the app: dark navy
   base #000917, teal accent #00A3AE (glyph-teal canon), near-white text.
   System font stack only; no webfonts, no external requests of any kind.

   Contrast floor: every text color below is >= 4.5:1 on the navy base
   (--muted #7E8A8C measures 5.6:1, --text #B8C3C6 measures 9.9:1).
   =========================================================================== */

:root {
  --navy: #000917;
  --navy-lift: #0a141f; /* card fill: barely lifted off the page */
  --teal: #00a3ae;
  --teal-dim: #047884;
  --button-bar: #003332;
  --button-bar-hover: #04413f;
  --off-white: #f3f3f2;
  --text: #b8c3c6;
  --muted: #7e8a8c;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;

  --wrap: 960px;
  --pad-x: 20px;
  --radius-card: 14px;
  --radius-btn: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  /* Belt-and-braces against horizontal scroll on narrow phones. */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-color: rgba(0, 163, 174, 0.45);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
  padding-right: max(var(--pad-x), env(safe-area-inset-right));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 5;
  background: var(--button-bar);
  color: var(--off-white);
  padding: 10px 14px;
  border-radius: var(--radius-btn);
}

/* --- Hero ---------------------------------------------------------------
   The photo (assets/hero-bg.jpg, 720x320) is the same dark-water art the app
   uses on its summary card. It is deliberately dimmed and scrimmed down to
   the page navy: it is texture behind the wordmark, not a subject, so the
   upscale on wide desktops never reads as soft.
   ------------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 12vw, 112px) 0 clamp(44px, 9vw, 84px);
  border-bottom: 1px solid var(--hairline);
}

.hero-art,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-art {
  background-image: url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.hero-scrim {
  background: linear-gradient(
    180deg,
    rgba(0, 9, 23, 0.6) 0%,
    rgba(0, 9, 23, 0.72) 48%,
    rgba(0, 9, 23, 0.94) 82%,
    var(--navy) 100%
  );
}

.hero-title {
  margin: 0;
  font-size: 0; /* the lockup is the heading; no stray text baseline */
  line-height: 0;
}

.wordmark {
  width: min(100%, 420px);
  display: block;
}

.tagline {
  margin: 24px 0 0;
  color: var(--off-white);
  font-size: clamp(19px, 3.4vw, 25px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 22em;
}

.hero-sub {
  margin: 14px 0 0;
  max-width: 40em;
  color: var(--text);
}

/* --- Sections ----------------------------------------------------------- */

.section {
  padding-top: clamp(40px, 7vw, 64px);
}

h2 {
  margin: 0 0 14px;
  color: var(--off-white);
  font-size: clamp(21px, 3vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 10px;
  background: var(--teal);
  border-radius: 2px;
}

p {
  margin: 0 0 14px;
  max-width: 68ch;
}

.lede {
  color: var(--off-white);
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

/* --- Feature grid ------------------------------------------------------- */

.grid {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}

.card {
  background: var(--navy-lift);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 18px;
}

.card h3 {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
}

/* --- Coverage roadmap ----------------------------------------------------
   Vertical timeline. Node states: live = solid teal, active = teal ring,
   next/later = muted ring. The connecting rail sits behind the nodes.
   ------------------------------------------------------------------------ */

.roadmap {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.roadmap li {
  position: relative;
  padding: 0 0 26px 36px;
}

.roadmap li:last-child {
  padding-bottom: 0;
}

/* rail */
.roadmap li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 24px;
  bottom: 2px;
  width: 2px;
  background: var(--hairline-strong);
}

/* node */
.roadmap li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--muted);
}

.roadmap li.rm-live::before {
  background: var(--teal);
  border-color: var(--teal);
}

.roadmap li.rm-active::before {
  border-color: var(--teal);
}

.rm-badge {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.rm-live .rm-badge,
.rm-active .rm-badge {
  color: var(--teal);
}

.roadmap h3 {
  margin: 0 0 4px;
  color: var(--off-white);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.roadmap p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
}

.rm-next p,
.rm-later p {
  color: var(--muted);
}

/* --- Availability band -------------------------------------------------- */

.status {
  background: var(--navy-lift);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 28px);
}

.status h2 {
  margin-top: 0;
}

.status p:last-child {
  margin-bottom: 0;
}

.cta-row {
  margin-top: 20px;
}

.cta {
  display: inline-block;
  background: var(--button-bar);
  border: 1px solid var(--teal-dim);
  border-radius: var(--radius-btn);
  color: var(--off-white);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.cta:hover {
  background: var(--button-bar-hover);
  border-color: var(--teal);
}

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: 24px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline);
}

.site-footer p {
  max-width: 68ch;
}

.disclaimer {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.legal {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

/* --- 404 ---------------------------------------------------------------- */

.notfound {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(56px, 12vw, 96px);
  padding-bottom: 48px;
}

.notfound h1 {
  margin: 0 0 10px;
  color: var(--off-white);
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.2;
}

.notfound .wordmark {
  width: min(100%, 280px);
  margin-bottom: 28px;
}
