:root {
  --forest-950: #102b25;
  --forest-900: #173c33;
  --forest-800: #245247;
  --sage-200: #d7e6dc;
  --sage-100: #eaf2ec;
  --cream: #fff9f1;
  --sand: #f4eadb;
  --amber: #e99a4c;
  --amber-dark: #a95618;
  --ink: #1f2e2a;
  --muted: #5c6c67;
  --white: #ffffff;
  --line: rgba(23, 60, 51, 0.16);
  --shadow: 0 22px 60px rgba(16, 43, 37, 0.12);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 40px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest-950);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 36px), 780px); margin-inline: auto; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  color: var(--forest-950);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
p { margin: 0 0 1em; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 249, 241, 0.92);
  backdrop-filter: blur(16px);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { width: 48px; height: 48px; flex: 0 0 auto; }
.brand-name { display: grid; color: var(--forest-950); font-weight: 850; line-height: 1.05; }
.brand-name small { color: var(--muted); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--forest-900);
  background: transparent;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}
.nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.nav a { color: var(--forest-950); font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--amber-dark); }
.nav a.button { color: var(--white); }
.nav a.button:hover, .nav a.button:focus-visible { color: var(--white); }
.language-switcher {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--forest-900);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 750;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 2px solid var(--forest-900);
  border-radius: 999px;
  color: var(--white);
  background: var(--forest-900);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--forest-800); }
.button.secondary { color: var(--forest-900); background: transparent; }
.button.secondary:hover { background: var(--sage-100); }
.button.light { border-color: var(--cream); color: var(--forest-950); background: var(--cream); }
.button.small { min-height: 42px; padding: 9px 16px; font-size: 0.86rem; }

.hero { overflow: clip; padding: 78px 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr); align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 620px; margin: 24px 0 30px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-art { position: relative; }
.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: -24px 34% 24% -24px;
  border-radius: 50%;
  background: var(--sage-200);
  content: "";
}
.hero-art img { width: 100%; min-height: 470px; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; object-position: 55% center; }
.hero-note {
  position: absolute;
  right: 20px;
  bottom: -24px;
  width: min(320px, 80%);
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  color: var(--forest-950);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 36px rgba(16,43,37,.16);
  backdrop-filter: blur(10px);
}
.hero-note strong { display: block; }
.hero-note span { color: var(--muted); font-size: .88rem; }

.proof-strip { padding: 25px 0; border-block: 1px solid var(--line); background: var(--white); }
.proof-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.proof-list li { display: flex; gap: 10px; align-items: center; color: var(--forest-900); font-weight: 750; }
.proof-list li::before { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--forest-900); background: var(--sage-100); content: "✓"; }

.section { padding: 100px 0; }
.section.tint { background: var(--sage-100); }
.section.dark { color: var(--cream); background: var(--forest-950); }
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section-head { display: flex; margin-bottom: 38px; align-items: end; justify-content: space-between; gap: 28px; }
.section-head > p { max-width: 560px; margin: 0; color: var(--muted); }
.section.dark .section-head > p { color: #c8d5d1; }

.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.program-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(16,43,37,.07);
}
.program-card::after { position: absolute; right: -35px; top: -35px; width: 135px; height: 135px; border-radius: 50%; background: var(--sage-100); content: ""; }
.program-card.dog::after { background: #f9e5cf; }
.program-icon { display: grid; position: relative; z-index: 1; width: 58px; height: 58px; margin-bottom: 36px; place-items: center; border-radius: 18px; color: var(--forest-900); background: var(--sage-100); font-size: 1.75rem; }
.dog .program-icon { background: #f9e5cf; }
.program-card h3 { margin-bottom: 13px; }
.program-card p { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.meta li { padding: 6px 11px; border-radius: 999px; color: var(--forest-900); background: var(--sage-100); font-size: .8rem; font-weight: 750; }
.dog .meta li { background: #fff0e1; }
.text-link { color: var(--forest-900); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; }
.step::before { display: grid; width: 42px; height: 42px; margin-bottom: 20px; place-items: center; border-radius: 50%; color: var(--white); background: var(--amber-dark); font-weight: 850; content: counter(step); }
.step p { color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; }
.checklist { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checklist li::before { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--forest-900); background: var(--sage-200); font-size: .78rem; font-weight: 900; content: "✓"; }
.safety-card { padding: 34px; border-radius: var(--radius); color: var(--cream); background: var(--forest-900); box-shadow: var(--shadow); }
.safety-card h3 { margin-bottom: 14px; color: var(--cream); }
.safety-card p { color: #d7e4df; }

.founders { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; padding: 46px; border-radius: var(--radius-lg); background: var(--sand); }
.founders-price { padding: 28px; border-radius: var(--radius); background: var(--white); }
.price { color: var(--forest-950); font-family: Georgia, serif; font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.price-note { color: var(--muted); font-size: .88rem; }

.faq { display: grid; gap: 12px; }
.faq details { padding: 0 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq summary { padding: 20px 0; color: var(--forest-950); cursor: pointer; font-weight: 800; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

.cta-band { padding: 76px 0; text-align: center; color: var(--cream); background: var(--forest-900); }
.cta-band h2 { max-width: 820px; margin: 0 auto 18px; color: var(--cream); }
.cta-band p { max-width: 700px; margin: 0 auto 28px; color: #d2ded9; }
.cta-band .button-row { justify-content: center; }

.product-hero { padding: 78px 0; background: linear-gradient(135deg, var(--sage-100), var(--cream)); }
.product-hero.dog { background: linear-gradient(135deg, #f9e5cf, var(--cream)); }
.product-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.product-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.product-hero .lead { margin: 22px 0; color: var(--muted); font-size: 1.2rem; }
.product-panel { padding: 34px; border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius); background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.product-panel .spec { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.spec div { padding-top: 12px; border-top: 1px solid var(--line); }
.spec strong { display: block; color: var(--forest-950); }
.spec span { color: var(--muted); font-size: .86rem; }
.curriculum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.module b { display: inline-grid; width: 34px; height: 34px; margin-bottom: 16px; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest-900); }
.module p { margin: 8px 0 0; color: var(--muted); font-size: .94rem; }

.legal { padding: 80px 0; }
.legal h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 5vw, 4.3rem); }
.legal h2 { margin: 42px 0 14px; font-size: 1.7rem; }
.notice { padding: 18px 20px; border-left: 5px solid var(--amber); border-radius: 8px; background: #fff0df; }

.language-gateway { min-height: 100vh; display: grid; place-items: center; padding: 56px 0; background: radial-gradient(circle at top left, var(--sage-200), transparent 44%), var(--cream); }
.gateway-card { width: min(920px, calc(100% - 36px)); padding: 54px; border-radius: var(--radius-lg); background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.gateway-card h1 { font-size: clamp(2.5rem, 6vw, 4.9rem); }
.language-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.language-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--forest-950); background: var(--cream); text-decoration: none; }
.language-card:hover { border-color: var(--forest-800); background: var(--sage-100); }
.language-card strong { display: block; }
.language-card span { color: var(--muted); font-size: .85rem; }

.site-footer { padding: 54px 0 26px; color: #d4e0dc; background: var(--forest-950); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.site-footer .brand-name, .site-footer h3, .site-footer a { color: var(--cream); }
.site-footer p { color: #b9cbc5; }
.site-footer ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); justify-content: space-between; gap: 20px; color: #aebfba; font-size: .82rem; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--cream);
    box-shadow: var(--shadow);
  }
  .nav[data-open] { display: flex; }
  .nav a { padding: 12px; }
  .language-switcher { margin-top: 8px; }
  .hero-grid, .product-hero-grid, .two-col, .founders { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { min-height: 370px; }
  .proof-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .section, .hero { padding: 70px 0; }
  .program-grid, .steps, .curriculum, .language-grid { grid-template-columns: 1fr; }
  .proof-list { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .program-card, .founders, .gateway-card { padding: 26px; }
  .product-panel .spec { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .hero-art img { min-height: 300px; }
  .hero-note { position: static; width: calc(100% - 24px); margin: -35px auto 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
