:root {
  --ink: #0F2A3D;
  --deep: #0A2F45;
  --fjord: #0E4A66;
  --teal: #1F9E8F;
  --teal-bright: #2EC4B0;
  --amber: #F4A63A;
  --bg: #F7FAFB;
  --card: #FFFFFF;
  --text: #1B2B36;
  --muted: #5A6B76;
  --line: #E1E9ED;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071C29;
    --card: #0D2738;
    --text: #E6F0F4;
    --muted: #9FB3BE;
    --line: #18394D;
    --teal: #2EC4B0;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 620px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--fjord), var(--deep));
  padding-bottom: 96px;
  overflow: hidden;
}
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 12px; }
.logo { height: 44px; width: auto; }
.hero-body { max-width: 720px; padding: 48px 0 8px; }
.eyebrow { color: var(--amber); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.02em; }
h1 span { color: var(--teal-bright); }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: #CFE6EE; margin: 0 0 32px; }
.route { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 80px; }

.btn {
  display: inline-block;
  background: var(--amber);
  color: #1A1206;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 16px;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); padding: 9px 18px; font-size: 14px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -48px;
  position: relative;
}
.features article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(10, 47, 69, .06);
}
.features h2 { font-size: 19px; margin: 12px 0 6px; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }
.ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(46, 196, 176, .14); color: var(--teal);
  font-weight: 800;
}

.join { padding: 88px 0 72px; text-align: center; }
.join h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; }
.join p { color: var(--muted); }
form { display: flex; gap: 10px; margin: 28px auto 8px; max-width: 480px; }
input[type=email] {
  flex: 1; min-width: 0;
  font: inherit;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--text);
}
input[type=email]:focus { outline: 2px solid var(--teal-bright); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }
.msg { min-height: 1.6em; font-weight: 600; }
.msg.ok { color: var(--teal); }
.msg.err { color: #D4572B; }
.fine { font-size: 14px; }

.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px; padding-bottom: 40px;
  color: var(--muted); font-size: 14px;
}

@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  form { flex-direction: column; }
  .btn.ghost { display: none; }
  .hero-body { padding-top: 24px; }
}

/* plain content pages (privacy, 404) */
.page { padding: 48px 16px 64px; max-width: 760px; margin: 0 auto; }
.page h1 { font-size: 34px; color: var(--text); }
.page h2 { font-size: 20px; margin-top: 28px; }
.bar { background: var(--deep); padding: 16px 0; }
.bar img { height: 36px; width: auto; display: block; }
