:root {
  color-scheme: light dark;
  --bg: #f7f2e8;
  --surface: #fffdf8;
  --ink: #12262c;
  --muted: #4d6066;
  --line: #e2d9c8;
  --accent: #0f5f66;
  --accent-ink: #ffffff;
  --sun: #c8642a;
  --sea-1: #cfe6e3;
  --sea-2: #a9d3cf;
  --sea-3: #7fbcb7;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c181c;
    --surface: #12232a;
    --ink: #e7efee;
    --muted: #a3b6b8;
    --line: #23393f;
    --accent: #6cc9c0;
    --accent-ink: #0c181c;
    --sun: #f2a65a;
    --sea-1: #12313a;
    --sea-2: #163d47;
    --sea-3: #1b4a55;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, 960px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 12px; }

/* Header */
.bar { padding: 20px 0; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.pill {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sun); border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 10px;
  white-space: nowrap;
}

/* Hero */
.hero { position: relative; padding: 48px 0 120px; overflow: hidden; }
.eyebrow {
  margin: 0 0 12px; font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.hero h1 {
  margin: 0; max-width: 16ch;
  font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 850;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin: 20px 0 0; max-width: 56ch; font-size: 1.12rem; color: var(--muted); }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; display: block; }
.waves .w1 { fill: var(--sea-1); }
.waves .w2 { fill: var(--sea-2); }
.waves .w3 { fill: var(--sea-3); }

/* Sections */
main { flex: 1; }
.band { background: var(--sea-3); padding: 8px 0 64px; }
.section { padding: 48px 0 0; }
.band .section:first-child { padding-top: 24px; }
h2 { margin: 0 0 16px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; }
.section > .wrap > p { max-width: 62ch; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.card dt {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.card dd { margin: 6px 0 0; font-size: 1.2rem; font-weight: 750; line-height: 1.3; }
dl.grid { margin: 0; }

.status {
  display: inline-block; font-size: .95rem; font-weight: 700;
  color: var(--sun);
}

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.panel p { margin: 0; }
.panel p + p { margin-top: 10px; }

.offer { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.offer li { display: flex; gap: 14px; align-items: flex-start; }
.offer .icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--sea-1); color: var(--accent);
}
.offer .icon svg { width: 22px; height: 22px; }
.offer h3 { margin: 0; font-size: 1.05rem; }
.offer p { margin: 4px 0 0; color: var(--muted); font-size: .98rem; }

.small { font-size: .9rem; color: var(--muted); }

/* Article pages */
.article { padding: 24px 0 64px; }
.article h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 8px; }
.article h2 { margin-top: 32px; font-size: 1.25rem; }
.article .prose { max-width: 66ch; }
.btn {
  display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: .9rem; color: var(--muted); }
.foot p { margin: 0; max-width: 80ch; }
.foot p + p { margin-top: 10px; }
.foot a { color: inherit; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 28px 0 96px; }
  .waves { height: 80px; }
  .brand { font-size: .98rem; }
  .brand svg { width: 30px; height: 30px; }
  .panel { padding: 18px; }
}
