/* Stilltide holding page.
   Palette and type are the app's BRAND-GUIDE (assets/brand_identity/BRAND-GUIDE.md
   in the stilltide repo); keep them in step if that guide changes.
   Fonts are latin subsets of the same families the app loads, self-hosted so the
   page has no third-party requests and the CSP can stay font-src 'self'. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-700.woff2') format('woff2');
}

:root {
  --navy: #12344a;
  --bg: #f7f9fa;
  --surface: #ffffff;
  --text: #18313f;
  --muted: #5c6f7a;
  --accent: #4d9c91;   /* controls only — fails AA as link text on light */
  --seafoam: #63b8ae;  /* artwork only */
  --line: rgba(18, 52, 74, 0.12);
  --shadow: 0 1px 2px rgba(18, 52, 74, 0.06), 0 12px 32px rgba(18, 52, 74, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1b24;
    --surface: #12242f;
    --text: #f7f9fa;
    --muted: #a8bac4;   /* lighter than the guide's muted so it clears AA on dark */
    --navy: #cfe3ea;    /* headings and links invert to a light navy tint */
    --line: rgba(247, 249, 250, 0.14);
    --shadow: none;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 16px 48px;
}

/* The tide bands, echoed as a quiet horizon behind the top of the page. */
.horizon {
  position: fixed;
  inset: 0 0 auto 0;
  height: 340px;
  background:
    radial-gradient(1100px 340px at 50% -120px, rgba(99, 184, 174, 0.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

header { margin-bottom: 40px; }

.mark {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin-bottom: 24px;
}

h1 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 9vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--navy);
}

.tagline {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 4.4vw, 23px);
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--text);
}

.status {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(77, 156, 145, 0.18);
  border: 1px solid rgba(77, 156, 145, 0.5);
  padding: 5px 12px;
  border-radius: 999px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
}

h2 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 12px;
  color: var(--navy);
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
li:last-child { margin-bottom: 0; }

/* A small tide band instead of a bullet. */
li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: var(--seafoam);
}

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

.cta {
  display: inline-block;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: #0d1b24;
  background: var(--accent);
  padding: 13px 22px;
  border-radius: 10px;
}
.cta:hover { filter: brightness(1.06); }
.cta:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer a { color: inherit; }

a { color: var(--navy); }
