:root {
  --yellow: #ffc928;
  --yellow-soft: #ffe895;
  --blue: #064b8e;
  --blue-deep: #06325f;
  --cyan: #39a7f5;
  --green: #8bcf4f;
  --ink: #08243d;
  --paper: #fff8e5;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(57, 167, 245, 0.20), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(139, 207, 79, 0.24), transparent 22rem),
    radial-gradient(circle at 52% 18%, rgba(255, 201, 40, 0.28), transparent 30rem),
    linear-gradient(135deg, #fff6d8 0%, #ffe58b 48%, #ffc928 100%);
  min-height: 100vh;
}

.display-font {
  font-family: "Fraunces", Georgia, serif;
}

.nav-link {
  border-radius: 999px;
  color: rgba(8, 36, 61, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--blue);
  color: white;
  transform: translateY(-1px);
}

.mobile-link {
  border-radius: 1rem;
  color: var(--ink);
  display: block;
  font-weight: 800;
  padding: 0.85rem 1rem;
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--blue);
  color: white;
}

.brand-card {
  background: rgba(255, 248, 229, 0.78);
  border: 2px solid rgba(6, 75, 142, 0.14);
  border-radius: 2rem;
  box-shadow: 0 24px 80px rgba(8, 36, 61, 0.12);
}

.blue-card {
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 2rem;
  box-shadow: 0 24px 80px rgba(6, 50, 95, 0.24);
  color: white;
}

.button-primary,
.button-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  gap: 0.55rem;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(6, 75, 142, 0.26);
  color: white;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(6, 75, 142, 0.18);
  color: var(--blue);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px) rotate(-0.5deg);
}

.pill {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(6, 75, 142, 0.18);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.48rem 0.78rem;
  text-transform: uppercase;
}

.blue-card .pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--yellow-soft);
}

.section-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doodle-line {
  background: var(--blue);
  border-radius: 999px;
  height: 0.25rem;
  transform: rotate(-1.4deg);
}

.threshold-card {
  background: rgba(255, 255, 255, 0.58);
  border: 2px solid rgba(6, 75, 142, 0.14);
  border-radius: 1.6rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.threshold-card:hover {
  box-shadow: 0 18px 40px rgba(8, 36, 61, 0.12);
  transform: translateY(-4px);
}

.quote-card {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(6, 75, 142, 0.14);
  border-left: 0.55rem solid var(--blue);
  border-radius: 1.45rem;
  box-shadow: 0 18px 46px rgba(8, 36, 61, 0.10);
}

.form-card {
  background: rgba(255, 255, 255, 0.70);
  border: 2px solid rgba(6, 75, 142, 0.14);
  border-radius: 1.6rem;
}

.field-like {
  background: rgba(255, 248, 229, 0.92);
  border: 2px solid rgba(6, 75, 142, 0.14);
  border-radius: 1rem;
}

::selection {
  background: var(--blue);
  color: var(--yellow);
}
