/* Waggo landing — "Seashell & Sapphire" (ADR-018): cream background, sapphire accent, Baloo 2 + Inter. */
:root {
  --primary: #3059a4;
  --primary-text: #ffffff;
  --secondary: #006e87;
  --text: #16212e;
  --muted: #3a4a5c;
  --surface: #ffffff;
  --surface2: #fbe2d3;
  --background: #fff0e9;
  --border: #e8d2c3;
  --success: #1f7a52;
  --shadow: 0 2px 8px rgba(22, 33, 46, 0.08);
  --radius: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #5b9bd5;
    --primary-text: #16212e;
    --secondary: #3fa3bd;
    --text: #fff0e9;
    --muted: #8fa5b8;
    --surface: #1c2733;
    --surface2: #22303e;
    --background: #16212e;
    --border: #2a3b4d;
    --success: #4cc38a;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

h1,
h2,
h3 {
  font-family: 'Baloo 2', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

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

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

/* Header */
.site-header {
  padding: 18px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }

  .btn {
    padding: 0 20px;
    white-space: nowrap;
  }
}

/* Buttons: pill shaped, 44px minimum touch target */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn:hover {
  filter: brightness(1.08);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

/* Hero */
.hero {
  padding: 24px 0 64px;
}

.hero .wrap {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 820px) {
  .hero .wrap {
    grid-template-columns: 1.15fr 1fr;
  }
}

.eyebrow {
  display: inline-block;
  background: var(--surface2);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(380px, 80%);
  height: auto;
  /* The logo has a white background: multiply lets the cream show through. */
  mix-blend-mode: multiply;
}

@media (prefers-color-scheme: dark) {
  .hero-art img {
    mix-blend-mode: normal;
    background: #fff;
    border-radius: 50%;
    padding: 12px;
  }
}

/* Sections */
section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title p {
  color: var(--muted);
  max-width: 36em;
  margin: 0 auto;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface2);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.steps {
  counter-reset: step;
}

.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-text);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}

.band {
  background: var(--surface2);
}

.band .wrap {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 820px) {
  .band .wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checks li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
}

.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  line-height: 22px;
}

.notice {
  background: var(--surface);
  border: 1px dashed var(--borderStrong, #8c7b70);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--muted);
}

/* CTA */
.cta {
  text-align: center;
}

.cta .box {
  background: var(--primary);
  color: var(--primary-text);
  border-radius: 28px;
  padding: 44px 24px;
}

.cta .box p {
  margin-bottom: 24px;
}

.cta .btn {
  background: var(--primary-text);
  color: var(--primary);
}

/* Footer */
footer {
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}

footer a {
  color: var(--muted);
}

/* Legal pages */
.legal {
  padding: 24px 0 64px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}

.legal ul {
  padding-left: 1.2em;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.95rem;
}
