:root {
  color-scheme: light dark;

  --cobalt: #126BFF;
  --cobalt-dark: #0F55CC;
  --aqua: #12D5C4;
  --coral: #FF6B57;
  --neutral: #F5F2ED;
  --charcoal: #1F2933;
  --charcoal-soft: #3A4750;
  --white: #FFFFFF;
  --border: #E4DFD5;
  --shadow: 0 10px 30px rgba(31, 41, 51, 0.08);

  /* Semantic tokens (light theme = current design). */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-alt: #F5F2ED;
  --text: #1F2933;
  --text-muted: #3A4750;
  --link: #126BFF;
  --header-bg: rgba(255, 255, 255, 0.92);
  --focus-ring: rgba(18, 107, 255, 0.18);
  --ghost-hover: rgba(18, 107, 255, 0.08);
  --success: #0B7A5B;

  /* Inverted band (signup + footer). */
  --band-bg: #1F2933;
  --band-surface: #FFFFFF;
  --band-surface-text: #1F2933;
  --band-text: #F5F2ED;
  --band-muted: #C9D1D6;
  --band-copy: #97A3AB;

  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1120px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cobalt); color: var(--white); }
.btn--primary:hover { background: var(--cobalt-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.btn--ghost:hover { background: var(--ghost-hover); color: var(--cobalt); }
.btn--small { padding: 8px 14px; font-size: 0.9rem; background: var(--cobalt); color: var(--white); }
.btn--small:hover { background: var(--cobalt-dark); color: var(--white); }
.btn--large { padding: 15px 26px; font-size: 1.05rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cobalt);
  margin: 0 0 0.75em;
}
.eyebrow--center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.brand__name-accent { color: var(--cobalt); margin-left: 4px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-muted); font-weight: 500; }
.site-nav a.btn { color: var(--white); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(18, 213, 196, 0.18), transparent 60%),
    linear-gradient(180deg, var(--surface-alt), var(--bg));
  padding: 72px 0 64px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero__title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
.hero__title-accent { color: var(--cobalt); }
.hero__lede { font-size: 1.15rem; color: var(--text-muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot--cobalt { background: var(--cobalt); }
.dot--aqua { background: var(--aqua); }
.dot--coral { background: var(--coral); }
.hero__art { display: flex; justify-content: center; }
.hero__logo {
  width: min(340px, 80%);
  filter: drop-shadow(0 20px 40px rgba(18, 107, 255, 0.18));
}

/* Promise */
.promise { padding: 64px 0; background: var(--bg); }
.promise__title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); max-width: 20em; }
.promise__body { font-size: 1.1rem; color: var(--text-muted); max-width: 46em; }

/* Sections */
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; }
.section-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 40em;
  margin: 0 auto 2.5em;
}

/* Manual grid */
.manual { padding: 72px 0; background: var(--surface-alt); }
.manual__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.card { border-top: 4px solid var(--cobalt); }
.card:nth-child(3n+2) { border-top-color: var(--aqua); }
.card:nth-child(3n) { border-top-color: var(--coral); }

/* How it works */
.how { padding: 72px 0; background: var(--bg); }
.how__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.step {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--text-muted); }

/* Signup */
.signup {
  padding: 72px 0;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(18, 107, 255, 0.12), transparent 60%),
    var(--band-bg);
  color: var(--band-text);
}
.signup__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.signup .section-title,
.signup .section-intro { text-align: left; color: var(--band-text); margin-left: 0; margin-right: 0; }
.signup .section-intro { color: var(--band-muted); }
.signup__form {
  background: var(--band-surface);
  color: var(--band-surface-text);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--band-surface-text);
  background: var(--band-surface);
}
.field input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.field--hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.signup__submit { width: 100%; margin-top: 6px; }
.form-status { margin: 14px 0 0; font-size: 0.95rem; min-height: 1.2em; }
.form-status--ok { color: var(--success); }
.form-status--error { color: var(--coral); }

/* Footer */
.site-footer { background: var(--band-bg); color: var(--band-muted); padding: 48px 0; }
.site-footer__inner { display: grid; gap: 16px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__brand .brand__name { color: var(--band-text); }
.site-footer__disclaimer { font-size: 0.9rem; max-width: 60em; margin: 0; }
.site-footer__copy { font-size: 0.85rem; color: var(--band-copy); margin: 0; }

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

/* Dark theme (device preference only; light is the default). */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12181F;
    --surface: #1F2933;
    --surface-alt: #182028;
    --text: #F5F2ED;
    --text-muted: #C9D1D6;
    --link: #5A9BFF;
    --border: #33404A;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --header-bg: rgba(18, 24, 31, 0.9);
    --focus-ring: rgba(90, 155, 255, 0.28);
    --ghost-hover: rgba(90, 155, 255, 0.12);
    --success: #35C79A;

    --band-bg: #182028;
    --band-surface: #1F2933;
    --band-surface-text: #F5F2ED;
    --band-text: #F5F2ED;
    --band-muted: #C9D1D6;
    --band-copy: #97A3AB;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__logo { width: min(220px, 60%); }
  .signup__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-nav { gap: 12px; }
  .site-nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero__actions .btn { width: 100%; }
}
