/* streeetch site — palette from the app icon */
:root {
  --navy: #0B2E55;
  --navy-deep: #061D3A;
  --sky: #2F7FD1;
  --sunrise: #F08A3C;
  --ember: #E25B2F;
  --teal: #3FD2BC;
  --cream: #FAF3EC;

  --bg: #F3F7FC;
  --card: #FFFFFF;
  --ink: #0F2540;
  --muted: #4A5F7A;
  --line: #C7D3E2;
  /* Text-safe ember: 5.2:1 on the page background, 5.5:1 with white. */
  --ember-deep: #B5431B;
  --accent: var(--ember-deep);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07192E;
    --card: #0B2240;
    --ink: #E6EEF8;
    --muted: #A7B9CF;
    --line: #2B4566;
    --accent: #FF9B63;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
.doc a, .card a { text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand:hover { text-decoration: none; }
nav a { color: var(--muted); margin-left: 18px; font-weight: 600; font-size: 14.5px; }
nav a:hover { color: var(--ink); text-decoration: none; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, #2468B4 100%);
  color: var(--cream);
  border-radius: 28px;
  padding: 56px 40px;
  margin-top: 8px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--sunrise) 0%, var(--ember) 55%, transparent 72%);
  opacity: .85; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: #7FE8D6; }
.hero p.lead { font-size: 18px; color: rgba(250,243,236,.86); margin: 0 0 24px; max-width: 46ch; }
.hero .icon { width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 18px 50px rgba(0,0,0,.35); margin-bottom: 22px; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ember-deep); color: #fff; font-weight: 800; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgba(226,91,47,.4); }
.cta:hover { background: #9C3815; text-decoration: none; }
.cta.soon { cursor: default; }
.cta.soon:hover { background: var(--ember-deep); }
.cta.ghost { background: transparent; box-shadow: none; border: 1.5px solid rgba(250,243,236,.5); margin-left: 10px; }
.cta.ghost:hover { background: rgba(255,255,255,.08); }
.hero-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-art img { border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); aspect-ratio: 2/3; object-fit: cover; }
.hero-art img:nth-child(2) { transform: translateY(18px); }

/* sections */
section { padding: 56px 0 8px; }
h2 { font-size: 28px; letter-spacing: -0.015em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; font-size: 17px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.card .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; font-size: 18px;
  background: color-mix(in srgb, var(--teal) 22%, transparent); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.strip img { border-radius: 14px; aspect-ratio: 2/3; object-fit: cover; border: 1px solid var(--line); }
.strip figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; text-align: center; }

.privacy-band {
  margin-top: 40px; border-radius: 22px; padding: 30px 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.privacy-band h3 { margin: 0 0 6px; font-size: 20px; }
.privacy-band p { margin: 0; color: rgba(250,243,236,.82); max-width: 60ch; }
.privacy-band a { color: var(--teal); font-weight: 700; white-space: nowrap; }

/* document pages */
.doc { padding-top: 24px; }
.doc h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 4px; }
.doc .date { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 19px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--ink); }
.note {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 14px 16px; margin: 0 0 24px; color: var(--muted);
}
.note strong { color: var(--ink); }

/* footer */
footer { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); margin-right: 14px; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 40px 24px; }
  .hero-art { max-width: 360px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .privacy-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  nav a { margin-left: 12px; font-size: 13.5px; }
  .grid { grid-template-columns: 1fr; }
  .cta.ghost { margin-left: 0; margin-top: 10px; }
}

/* On one column the sunrise disc sits behind the headline: dim it so the
   cream text keeps its contrast. */
@media (max-width: 760px) {
  .hero::after { opacity: .3; }
}
