/* ============================================================
   Meridian Lawn Co. — demo design system
   Brand: deep forest green + vivid spring green + warm cream
   Type: Fraunces (display) / Outfit (body)
   Self-contained — no external CSS. Built by No404 (demo).
   ============================================================ */

/* ---------- Design tokens ---------- */

:root {
  /* Color */
  --forest-950: #102A20;
  --forest-900: #143528;
  --forest-800: #1B4332;          /* primary brand green */
  --forest-700: #2D6A4F;
  --forest-600: #40916C;
  --spring: #74C365;              /* vivid spring accent */
  --spring-bright: #8FD97F;
  --chartreuse: #C9E265;
  --cream: #FAF6EC;               /* page background */
  --cream-deep: #F2EBDB;
  --white: #FFFFFF;
  --ink: #1D2B24;
  --ink-soft: #54655C;
  --line: rgba(27, 67, 50, 0.14);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1.04rem;
  --text-lg: 1.22rem;
  --text-xl: clamp(1.35rem, 2.2vw, 1.6rem);
  --text-2xl: clamp(1.7rem, 3vw, 2.2rem);
  --text-3xl: clamp(2.2rem, 4.2vw, 3.1rem);
  --text-hero: clamp(2.6rem, 6vw, 4.4rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  /* Radii — rounded-organic */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-blob: 58% 42% 47% 53% / 52% 46% 54% 48%;
  --radius-leaf: 32px 32px 32px 6px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 53, 40, 0.08);
  --shadow-md: 0 10px 30px rgba(20, 53, 40, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 53, 40, 0.18);

  /* Layout */
  --container: 1160px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--forest-800);
  letter-spacing: -0.01em;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest-600);
}

::selection {
  background: var(--spring);
  color: var(--forest-950);
}

:focus-visible {
  outline: 3px solid var(--spring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */

.container {
  width: min(var(--container), 100% - 2.6rem);
  margin-inline: auto;
}

.section {
  padding: var(--space-9) 0;
  position: relative;
}

.section--tight {
  padding: var(--space-8) 0;
}

.section--cream-deep {
  background: var(--cream-deep);
}

.section--white {
  background: var(--white);
}

.section--forest {
  background: var(--forest-800);
}

.section--forest h2,
.section--forest h3 {
  color: var(--cream);
}

.section--forest p {
  color: rgba(250, 246, 236, 0.75);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: var(--text-3xl);
  margin: 0.4rem 0 0.8rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

.section--forest .section-head p {
  color: rgba(250, 246, 236, 0.72);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-600);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--spring);
}

.section--forest .kicker {
  color: var(--spring-bright);
}

/* Grids */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-5);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Wave divider — drop between sections; set fill to the NEXT section's bg */

.wave {
  display: block;
  width: 100%;
  height: clamp(40px, 7vw, 90px);
  margin-bottom: -1px;
}

.wave svg {
  width: 100%;
  height: 100%;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--spring);
  color: var(--forest-950);
  box-shadow: 0 6px 20px rgba(116, 195, 101, 0.42);
}

.btn--primary:hover {
  background: var(--spring-bright);
  box-shadow: 0 10px 26px rgba(116, 195, 101, 0.55);
}

.btn--dark {
  background: var(--forest-800);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.btn--dark:hover {
  background: var(--forest-700);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border-color: var(--forest-800);
  color: var(--forest-800);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--forest-800);
  color: var(--cream);
}

.btn--ghost-light {
  border-color: rgba(250, 246, 236, 0.55);
  color: var(--cream);
  background: transparent;
}

.btn--ghost-light:hover {
  background: var(--cream);
  color: var(--forest-800);
  border-color: var(--cream);
}

.btn--lg {
  padding: 1.05rem 2.2rem;
  font-size: var(--text-lg);
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: var(--text-sm);
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 246, 236, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(20, 53, 40, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1;
  color: var(--forest-800);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand__name small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-600);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: var(--spring);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--forest-800);
  font-weight: 600;
}

.header-cta {
  flex: none;
}

/* The nav also carries a Schedule Service button for the mobile menu;
   on desktop the standalone .header-cta is shown instead. */
.main-nav .btn {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 99px;
  background: var(--forest-800);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: var(--space-8) 0 0;
  overflow: hidden;
}

.hero::before {
  /* soft chartreuse blob glow, upper-right */
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: var(--radius-blob);
  background: radial-gradient(
    circle at 40% 40%,
    rgba(201, 226, 101, 0.4),
    rgba(116, 195, 101, 0.12) 60%,
    transparent 75%
  );
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: var(--text-hero);
  margin: 0.9rem 0 1.1rem;
}

.hero .lede {
  font-size: var(--text-xl);
  color: var(--ink-soft);
  max-width: 32ch;
  margin-bottom: var(--space-6);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__art {
  position: relative;
}

.hero__scene {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__scene svg {
  width: 100%;
  height: auto;
}

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest-800);
  box-shadow: var(--shadow-md);
  animation: chip-float 5s ease-in-out infinite;
}

.hero__chip--tl {
  top: 8%;
  left: -22px;
}

.hero__chip--br {
  bottom: 12%;
  right: -16px;
  animation-delay: -2.5s;
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Trust strip */

.trust-strip {
  margin-top: var(--space-8);
  background: var(--forest-800);
  color: var(--cream);
  padding: var(--space-4) 0;
}

.trust-strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 2.6rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.trust-strip__row li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.trust-strip__row svg {
  color: var(--spring);
  flex: none;
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius-leaf);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(116, 195, 101, 0.5);
}

.card h3 {
  font-size: var(--text-xl);
  margin: var(--space-4) 0 var(--space-2);
}

.card p {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  line-height: 1.65;
}

a.card {
  text-decoration: none;
  display: block;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-blob);
  background: linear-gradient(135deg, rgba(116, 195, 101, 0.22), rgba(201, 226, 101, 0.3));
  color: var(--forest-700);
  transition: background 0.22s ease, color 0.22s ease, border-radius 0.4s ease;
}

.card:hover .card__icon {
  background: var(--forest-800);
  color: var(--spring-bright);
  border-radius: 42% 58% 53% 47% / 46% 52% 48% 54%;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-4);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--forest-600);
}

.card:hover .card__link {
  color: var(--forest-800);
}

/* ---------- Steps ---------- */

.step {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
}

.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 4.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--forest-600);
  display: block;
  margin-bottom: var(--space-3);
}

.step h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.step p {
  color: var(--ink-soft);
}

.section--forest .step__num {
  -webkit-text-stroke-color: var(--spring);
}

.section--forest .step p {
  color: rgba(250, 246, 236, 0.72);
}

/* ---------- Plans teaser ---------- */

.plan-tease {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.plan-tease:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(116, 195, 101, 0.6);
}

.plan-tease--featured {
  background: var(--forest-800);
  border-color: var(--forest-800);
}

.plan-tease--featured h3,
.plan-tease--featured .plan-tease__price {
  color: var(--cream);
}

.plan-tease.plan-tease--featured p {
  color: rgba(250, 246, 236, 0.72);
}

.plan-tease__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-950);
  background: var(--chartreuse);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: var(--space-3);
}

.plan-tease h3 {
  font-size: var(--text-xl);
}

.plan-tease__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--forest-800);
  margin: var(--space-2) 0;
}

.plan-tease__price small {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  font-weight: 500;
}

.plan-tease--featured .plan-tease__price small {
  color: rgba(250, 246, 236, 0.6);
}

.plan-tease p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

/* ---------- Reviews ---------- */

.review-card {
  background: var(--white);
  border-radius: var(--radius-leaf);
  border: 1px solid var(--line);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--spring);
  letter-spacing: 0.18em;
  font-size: 1.05rem;
}

.review-card blockquote {
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-card figcaption > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.review-card figcaption span span {
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.review-avatar {
  flex: none;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-blob);
  background: var(--forest-800);
  color: var(--spring-bright);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
}

/* ---------- Area band ---------- */

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--forest-800);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.area-pill:hover {
  border-color: var(--spring);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.area-pill svg {
  color: var(--spring);
  flex: none;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--forest-800);
  overflow: hidden;
  padding: var(--space-9) 0;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-blob);
  pointer-events: none;
}

.cta-band::before {
  width: 420px;
  height: 420px;
  left: -150px;
  bottom: -190px;
  background: rgba(116, 195, 101, 0.16);
}

.cta-band::after {
  width: 300px;
  height: 300px;
  right: -90px;
  top: -120px;
  background: rgba(201, 226, 101, 0.12);
}

.cta-band__inner {
  position: relative;
  text-align: center;
  max-width: 680px;
}

.cta-band h2 {
  color: var(--cream);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.cta-band p {
  color: rgba(250, 246, 236, 0.75);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-950);
  color: rgba(250, 246, 236, 0.72);
  padding: var(--space-8) 0 var(--space-6);
  font-size: var(--text-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(250, 246, 236, 0.12);
}

.footer-brand .brand__name {
  color: var(--cream);
}

.footer-brand .brand__name small {
  color: var(--spring);
}

.footer-brand p {
  margin-top: var(--space-4);
  max-width: 34ch;
}

.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.site-footer ul li {
  margin-bottom: 0.6rem;
}

.site-footer ul a {
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer ul a:hover {
  color: var(--spring-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-5);
  font-size: var(--text-xs);
  color: rgba(250, 246, 236, 0.5);
}

.footer-bottom strong {
  color: rgba(250, 246, 236, 0.85);
}

/* ---------- No404 badge ---------- */

.n404-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 42, 32, 0.93);
  color: rgba(250, 246, 236, 0.85);
  border: 1px solid rgba(116, 195, 101, 0.55);
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  font-size: 0.74rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16, 42, 32, 0.35);
  backdrop-filter: blur(4px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.n404-badge:hover {
  transform: translateY(-2px);
  border-color: var(--spring);
  color: var(--white);
}

.n404-badge strong {
  color: var(--spring-bright);
}

.n404-badge__dot {
  background: var(--spring);
  color: var(--forest-950);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

/* ---------- Reveal animation utility ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__chip {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Forms (shared by schedule/contact flows) ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-5);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--forest-800);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--spring);
  box-shadow: 0 0 0 3px rgba(116, 195, 101, 0.25);
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.radio-pill:hover {
  border-color: var(--spring);
}

.radio-pill input {
  accent-color: var(--forest-700);
}

.radio-pill:has(input:checked) {
  background: rgba(116, 195, 101, 0.16);
  border-color: var(--spring);
  color: var(--forest-800);
  font-weight: 600;
}

.confirm-card {
  background: var(--white);
  border: 1.5px solid rgba(116, 195, 101, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.confirm-card h2 {
  font-size: var(--text-2xl);
  margin: var(--space-4) 0 var(--space-2);
}

.confirm-code {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.08em;
  color: var(--forest-800);
  background: rgba(116, 195, 101, 0.16);
  border: 1px dashed var(--forest-600);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.2rem;
  margin: var(--space-4) 0;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  padding: var(--space-8) 0 var(--space-7);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -180px;
  width: 480px;
  height: 480px;
  border-radius: var(--radius-blob);
  background: radial-gradient(
    circle at 40% 40%,
    rgba(201, 226, 101, 0.35),
    rgba(116, 195, 101, 0.1) 60%,
    transparent 75%
  );
  pointer-events: none;
}

.page-hero h1 {
  font-size: var(--text-3xl);
  margin: 0.5rem 0 0.8rem;
  position: relative;
}

.page-hero p {
  color: var(--ink-soft);
  font-size: var(--text-lg);
  max-width: 56ch;
  position: relative;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .hero .lede {
    max-width: 48ch;
  }

  .hero__art {
    max-width: 620px;
  }

  .hero__chip--tl { left: 6px; }
  .hero__chip--br { right: 6px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 66px;
  }

  .section { padding: var(--space-8) 0; }
  .section--tight { padding: var(--space-7) 0; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-5) var(--space-5);
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-lg);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .btn {
    display: inline-flex;
    margin-top: var(--space-4);
    border-bottom: 0;
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }

  .hero {
    padding-top: var(--space-7);
  }

  .hero__cta .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 4.2rem;
  }

  .n404-badge {
    right: 10px;
    bottom: 10px;
    font-size: 0.66rem;
    padding: 0.32rem 0.7rem 0.32rem 0.38rem;
  }

  .n404-badge__dot {
    font-size: 0.56rem;
    padding: 0.24rem 0.45rem;
  }

  .form-card,
  .confirm-card {
    padding: var(--space-5);
  }
}
