/* Hadal Relay site. Direction C: depth is value, not hue. Amber belongs to the living diver and primary
   actions, cyan to relays, acid green to the Bloom's machines. */
@font-face { font-family: "Archivo Wide"; font-weight: 300; font-display: swap;
  src: url("fonts/archivo_wide_300.woff") format("woff"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap;
  src: url("fonts/archivo_400.woff") format("woff"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap;
  src: url("fonts/archivo_500.woff") format("woff"); }

:root {
  --rock: #03060A; --low: #091A24; --haze: #162F3B; --top: #1E3946; --rim: #344B57;
  --bone: #E3EDF1; --silt: #8FA2AB; --lamp: #FAAA49; --lamp-core: #FFF4E0; --brass: #966F3B;
  --relay: #A4EBFD; --bloom: #A4F257;
  --wide: "Archivo Wide", "Archivo", system-ui, -apple-system, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--bone); background-color: var(--rock);
  /* The page gets deeper as you scroll. */
  background-image: linear-gradient(180deg, var(--top) 0, var(--haze) 640px, var(--low) 1700px, var(--rock) 3400px);
  background-repeat: no-repeat;
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--relay); text-underline-offset: 3px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bone); color: var(--rock); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; }
.brand img.mark { width: 36px; height: 36px; border-radius: 9px; }
.brand img.word { width: 150px; height: auto; }
nav.top { display: flex; gap: 8px; font-size: 15px; font-weight: 500; }
/* 44 px tap targets; the current page is underlined, since amber belongs to the diver and the primary action. */
nav.top a { color: var(--bone); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
nav.top a:hover { color: var(--relay); }
nav.top a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 640px) { nav.top .opt { display: none; } nav.top { gap: 0; } nav.top a { padding: 0 7px; } .brand { gap: 10px; } .brand img.word { width: 108px; } }
@media (max-width: 370px) { .brand img.word { display: none; } }

/* Type */
h1, h2 { font-family: var(--wide); font-weight: 300; letter-spacing: 0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.6vw, 46px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; line-height: 1.3; }
p { margin: 0; }
.kicker { text-wrap: balance; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silt); margin-bottom: 14px; }
.sub { color: var(--silt); max-width: 62ch; margin-top: 12px; }
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }

/* Hero */
.hero { padding-top: 24px; }
.hero .grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero .grid { grid-template-columns: 1fr 1.25fr; gap: 48px; } }
.hero .wordmark { width: min(360px, 82%); margin-bottom: 26px; }
.hero h1 { max-width: 17ch; }
.lede { color: var(--silt); font-size: 18px; margin-top: 18px; max-width: 46ch; }
.lede strong { color: var(--bone); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 28px; }
/* Primary action: the one filled amber control on the page. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px;
  border-radius: 999px; background: var(--lamp); color: var(--rock); font-weight: 500; font-size: 17px; text-decoration: none;
}
.btn:hover { background: var(--lamp-core); color: var(--rock); }
/* Store status, not a button: a dashed placeholder with no fill and no hover. */
.soon {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 6px 20px;
  border: 1.5px dashed var(--silt); border-radius: 12px; color: var(--bone); cursor: default; line-height: 1.2;
}
.soon small { font-size: 12px; letter-spacing: 0.06em; color: var(--silt); }
.soon span { font-size: 17px; font-weight: 500; }
.price-line { margin-top: 18px; color: var(--silt); font-size: 15px; }
.price-line strong { color: var(--bone); font-weight: 500; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { font-size: 14px; padding: 4px 12px; border: 1px solid var(--rim); border-radius: 999px; color: var(--bone); }
.shot { border-radius: 14px; border: 1px solid var(--rim); box-shadow: 0 24px 60px rgba(3, 6, 10, 0.55); background: var(--low); }
figure { margin: 0; }
figcaption { color: var(--silt); font-size: 14px; margin-top: 10px; }
figcaption b { font-weight: 500; }
.c-lamp { color: var(--lamp); } .c-relay { color: var(--relay); } .c-bloom { color: var(--bloom); }

/* Relay Squad */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card { background: rgba(9, 26, 36, 0.72); border: 1px solid var(--rim); border-radius: 14px; padding: 22px; }
.card p { color: var(--silt); }
.steps .card { counter-increment: step; }
.steps .card h3::before { content: counter(step) "  "; color: var(--silt); font-weight: 400; }
.squad { display: flex; align-items: flex-end; gap: 2px; height: 56px; margin-bottom: 16px; }
.squad svg { width: 44px; height: 44px; }
.squad .you { color: var(--lamp); }
.squad .r { color: var(--relay); }
.squad .r1 { opacity: 0.9; } .squad .r2 { opacity: 0.65; } .squad .r3 { opacity: 0.45; }
.note { margin-top: 22px; color: var(--silt); max-width: 70ch; }
.note b { color: var(--bone); font-weight: 500; }

/* Features */
.features { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.tag { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silt); margin-bottom: 10px; }

/* Gallery */
.gallery { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.price { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--rim); }
.price li { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 18px 4px; border-bottom: 1px solid var(--rim); }
.price li p { color: var(--silt); font-size: 15px; max-width: 60ch; }
.price .amt { font-family: var(--wide); font-size: 24px; white-space: nowrap; color: var(--bone); }
.price .pick { background: rgba(250, 170, 73, 0.06); border-left: 3px solid var(--lamp); padding-left: 14px; }
.price .pick .amt { color: var(--lamp); }
.price .badge { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lamp); margin-left: 8px; }
.fine { color: var(--silt); font-size: 15px; margin-top: 16px; max-width: 70ch; }

/* FAQ */
details { border-bottom: 1px solid var(--rim); }
details:first-of-type { border-top: 1px solid var(--rim); margin-top: 28px; }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--silt); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--silt); padding: 0 0 18px; max-width: 70ch; }

/* Final */
.final { text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; }
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 24px; }
.final .sub { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--rim); padding: 28px 0 40px; color: var(--silt); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0 24px; justify-content: space-between; align-items: center; }
footer a { color: var(--bone); display: inline-block; padding: 12px 0; }
footer .wrap > span { line-height: 1.4; }

/* Policy pages */
main.doc { max-width: 680px; margin: 0 auto; padding: 24px 16px 72px; }
main.doc h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 10px; }
main.doc h2 { font-family: var(--body); font-weight: 500; letter-spacing: 0; font-size: 21px; margin: 36px 0 10px; }
main.doc p, main.doc li { color: var(--bone); }
main.doc p + p { margin-top: 12px; }
main.doc ul { padding-left: 22px; margin: 10px 0 0; }
main.doc li { margin: 6px 0; }
main.doc .muted { color: var(--silt); }
main.doc hr { border: 0; border-top: 1px solid var(--rim); margin: 36px 0 20px; }
main.doc dt { font-weight: 500; margin-top: 18px; }
main.doc dd { margin: 4px 0 0; color: var(--silt); }
