:root {
  --bg: #f4efe7;
  --bg-accent: #e5d8c5;
  --bg-start: #f7f0e4;
  --bg-mid: #f4efe7;
  --bg-end: #eadfce;
  --ink: #1e1b16;
  --muted: #5c5146;
  --card: #fffaf2;
  --accent: #5b3f2a;
  --accent-2: #c08a5a;
  --hero-bg: #e5d8c5;
  --brand-a: #2f6b5a;
  --brand-b: #c08a5a;
  --focus: #2f6b5a;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(30, 27, 22, 0.12);
  --grid-gap: 28px;
  --max: 1100px;
}

body[data-theme="light-amber"] {
  --bg-start: #f7f0e4;
  --bg-mid: #f4efe7;
  --bg-end: #eadfce;
  --ink: #1e1b16;
  --muted: #5c5146;
  --card: #fffaf2;
  --accent: #5b3f2a;
  --accent-2: #c08a5a;
  --hero-bg: #e5d8c5;
  --brand-a: #2f6b5a;
  --brand-b: #c08a5a;
}

body[data-theme="light-blue"] {
  --bg-start: #e9f3ff;
  --bg-mid: #e4eefb;
  --bg-end: #d7e2f5;
  --ink: #112238;
  --muted: #415468;
  --card: #f8fbff;
  --accent: #23588f;
  --accent-2: #6db3ff;
  --hero-bg: #d9e8fb;
  --brand-a: #2665a9;
  --brand-b: #5ea8ff;
}

body[data-theme="light-green"] {
  --bg-start: #edf8ef;
  --bg-mid: #e6f2e8;
  --bg-end: #d5e6d9;
  --ink: #153023;
  --muted: #3f5f4f;
  --card: #f8fdf8;
  --accent: #2f6b4e;
  --accent-2: #89c89b;
  --hero-bg: #dcecdf;
  --brand-a: #2f7a59;
  --brand-b: #7fbf8f;
}

body[data-theme="light-sand"] {
  --bg-start: #f8f3ea;
  --bg-mid: #f1ece3;
  --bg-end: #e6ddcf;
  --ink: #2b241c;
  --muted: #64574a;
  --card: #fffaf2;
  --accent: #7a5b3d;
  --accent-2: #d7b27a;
  --hero-bg: #eadfce;
  --brand-a: #6d5b47;
  --brand-b: #cba173;
}

body[data-theme="light-rose"] {
  --bg-start: #fff0f2;
  --bg-mid: #fbe7ea;
  --bg-end: #efd8dc;
  --ink: #3d1f29;
  --muted: #6f4a56;
  --card: #fff9fa;
  --accent: #8c3f56;
  --accent-2: #e0a0b5;
  --hero-bg: #f2d7dd;
  --brand-a: #a64f6c;
  --brand-b: #d992ab;
}

body[data-theme="dark-slate"] {
  --bg-start: #1f252c;
  --bg-mid: #1a2026;
  --bg-end: #14191f;
  --ink: #e7ebef;
  --muted: #b5bec8;
  --card: #252d36;
  --accent: #7ea2cc;
  --accent-2: #d4ab79;
  --hero-bg: #202832;
  --brand-a: #5f7ea0;
  --brand-b: #b88f5f;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark-ocean"] {
  --bg-start: #111f2f;
  --bg-mid: #0f1a28;
  --bg-end: #0b1520;
  --ink: #e3eefb;
  --muted: #9fb5cb;
  --card: #162638;
  --accent: #5ea7ff;
  --accent-2: #7ec8ff;
  --hero-bg: #122033;
  --brand-a: #3f79bc;
  --brand-b: #63b5ff;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark-forest"] {
  --bg-start: #16221b;
  --bg-mid: #121c17;
  --bg-end: #0e1611;
  --ink: #e8f2ec;
  --muted: #afc3b8;
  --card: #1a2a22;
  --accent: #6db58a;
  --accent-2: #a9d4b8;
  --hero-bg: #15231c;
  --brand-a: #4f946e;
  --brand-b: #8cc4a1;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark-charcoal"] {
  --bg-start: #252525;
  --bg-mid: #1f1f1f;
  --bg-end: #181818;
  --ink: #f0efed;
  --muted: #c0bcb8;
  --card: #2c2b2a;
  --accent: #c28f67;
  --accent-2: #e0b48f;
  --hero-bg: #272625;
  --brand-a: #7b6a5a;
  --brand-b: #c19a74;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark-copper"] {
  --bg-start: #2d1f1b;
  --bg-mid: #251a17;
  --bg-end: #1d1412;
  --ink: #f5ece8;
  --muted: #c7b2aa;
  --card: #342521;
  --accent: #cf8463;
  --accent-2: #e2ac92;
  --hero-bg: #2f221f;
  --brand-a: #9e5f48;
  --brand-b: #d79d7c;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Fraunces", "Georgia", serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, var(--bg-start) 0%, var(--bg-mid) 55%, var(--bg-end) 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

body[data-audience="autist"] .container [data-audience="family"],
body[data-audience="family"] .container [data-audience="autist"] {
  display: none !important;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  display: grid;
  place-items: center;
  color: #fffaf2;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text span {
  font-size: 0.9rem;
  color: var(--muted);
}

.switch {
  display: inline-flex;
  border-radius: 999px;
  background: var(--card);
  padding: 6px;
  box-shadow: var(--shadow);
  gap: 8px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.switch a {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
}

.switch button {
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  color: inherit;
}

.switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #fffaf2;
}

.switch .theme-mode-toggle {
  flex: 0 0 auto;
  min-width: 44px;
  padding: 10px 12px;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.switch .theme-mode-toggle .theme-mode-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.hero {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0 0 18px;
}

.hero p {
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--muted);
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #1e1b16;
  font-weight: 600;
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
}

.hero-image {
  height: auto;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--hero-bg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}

@media (min-width: 721px) {
  .hero {
    align-items: stretch;
  }

  .hero-image {
    height: 100%;
  }

  .hero-image img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

.section {
  margin-top: 56px;
}

.section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 18px;
}

.section p,
.section li {
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  color: var(--muted);
  line-height: 1.7;
}

.section-intro {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  color: var(--muted);
  line-height: 1.7;
}

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

.grid > .section-intro {
  grid-column: 1 / -1;
}

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

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
}

.card p + p {
  margin-top: 12px;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact {
  display: grid;
  gap: 16px;
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
}

.contact strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact > div {
  padding: 4px 0;
}

.contact > div + div {
  border-top: 1px solid rgba(92, 81, 70, 0.2);
  padding-top: 12px;
}

.footer {
  margin-top: 70px;
  text-align: center;
  color: var(--muted);
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  font-size: 0.9rem;
}

.dev-theme-panel {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid rgba(92, 81, 70, 0.22);
  box-shadow: var(--shadow);
  padding: 10px 12px;
  display: none;
  gap: 6px;
  min-width: 210px;
}

.dev-theme-panel label {
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}

.dev-theme-panel select {
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid rgba(92, 81, 70, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
}

@media (max-width: 720px) {
  body {
    padding-top: 76px;
    padding-bottom: 92px;
  }

  .switch {
    width: 100%;
    justify-content: space-between;
    top: 0;
    right: 0;
    left: 0;
    border-radius: 0;
    padding: 10px 12px;
    box-shadow: 0 6px 20px rgba(30, 27, 22, 0.12);
  }

  .switch button {
    flex: 1;
    text-align: center;
  }

  .landing-page {
    padding-top: 0;
  }

  .landing-page .topbar {
    align-items: center;
    flex-wrap: nowrap;
  }

  .landing-page .switch {
    position: static;
    width: auto;
    top: auto;
    right: auto;
    left: auto;
    border-radius: 999px;
    padding: 6px;
    box-shadow: var(--shadow);
    justify-content: flex-end;
    margin-left: auto;
  }

  .landing-page .switch button {
    flex: 0 0 auto;
    text-align: center;
  }

  .dev-theme-panel {
    left: 12px;
    right: 12px;
    bottom: 10px;
    min-width: 0;
  }
}

.landing-container {
  min-height: calc(100dvh - 112px);
  display: grid;
  grid-template-rows: auto 1fr;
}

.landing-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
  margin-top: 36px;
}

.landing-choice {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(92, 81, 70, 0.14);
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: clamp(220px, 40vh, 420px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.landing-choice strong {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.15;
}

.landing-choice span {
  font-family: "IBM Plex Sans", "Helvetica", sans-serif;
  color: var(--muted);
  font-size: 1rem;
}

.landing-choice:hover,
.landing-choice:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(30, 27, 22, 0.18);
}

@media (max-width: 900px) {
  .landing-choices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .landing-page {
    padding-top: 0;
    padding-bottom: 0;
  }

  .landing-page .container {
    padding: 16px 16px 20px;
  }

  .landing-page .landing-container {
    min-height: calc(100dvh - 36px);
  }
}

@media (max-width: 430px) and (max-height: 700px) {
  .landing-page .landing-choices {
    margin-top: 20px;
    gap: 16px;
  }

  .landing-page .landing-choice {
    padding: 20px;
    min-height: 170px;
    gap: 10px;
  }

  .landing-page .landing-choice strong {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .landing-page .landing-choice span {
    font-size: 0.92rem;
  }
}
