:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --ink: #121212;
  --muted: #3a403f;
  --teal: #0a4f52;
  --teal-soft: #1f7a7d;
  --coral: #e24b3d;
  --coral-soft: #ff7a6e;
  --mist: #d7ebe9;
  --line: rgba(10, 79, 82, 0.12);
  --shadow: 0 18px 50px rgba(10, 79, 82, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
}

a {
  color: var(--teal-soft);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral);
}

button,
.btn,
a.btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-transform: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.2vw, 18px);
}

.menu a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.menu a:hover,
.menu a[aria-current="page"] {
  background: var(--mist);
  color: var(--teal);
}

.btn-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--teal), var(--teal-soft));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn-help:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(10, 79, 82, 0.28);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

main {
  flex: 1;
}

main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 560px;
}

.section {
  padding-block: clamp(44px, 6vw, 88px);
}

.section--compact {
  padding-block: clamp(32px, 4.5vw, 64px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin: 0 0 14px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero {
  position: relative;
  overflow: clip;
  background: radial-gradient(120% 80% at 10% 0%, var(--mist), transparent),
    radial-gradient(90% 60% at 90% 20%, rgba(226, 75, 61, 0.12), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: stretch;
  padding-block: clamp(48px, 9vw, 120px);
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  margin: 0 0 18px;
}

.hero-copy p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--teal-soft));
  color: #fff;
  box-shadow: 0 14px 30px rgba(10, 79, 82, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10, 79, 82, 0.34);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal-soft);
  color: var(--teal);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-card .img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--mist);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 420px;
}

.img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    var(--mist) 0%,
    #eef7f6 45%,
    var(--mist) 90%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.img-skeleton.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.hero-card figcaption {
  padding: 16px 18px 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-support {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  min-height: min(380px, 52vw);
  height: 100%;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 36px);
}

.hero-support-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: -1;
  background-color: #1a2e30;
}

.hero-support-bg picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-support-bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-support-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10, 79, 82, 0.88),
    rgba(18, 18, 18, 0.78)
  );
  pointer-events: none;
}

.hero-support-panel .btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero-support-panel .btn-ghost:hover {
  background: #f8f6f1;
  border-color: #fff;
  color: var(--teal);
}

.hero-support-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.hero-support-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
}

.hero-support-link:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

.hero-support-logo {
  width: 68px;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}

.hero-support-copy {
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-support-panel {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.hero-support-panel p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}

.split-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 10px 30px rgba(10, 79, 82, 0.06);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.panel:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--teal-soft) 35%, var(--line));
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

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

.demo-strip {
  background: linear-gradient(135deg, var(--teal), #063a3d);
  color: #e9f7f6;
}

.demo-strip .section-kicker {
  color: #f2faf9;
}

.demo-strip .section-title {
  color: #fff;
}

.demo-strip .section-lead {
  color: rgba(233, 247, 246, 0.82);
}

.demo-strip .disclaimer-foot {
  margin-top: 18px;
  margin-bottom: 0;
  max-width: 46rem;
  color: rgba(233, 247, 246, 0.85);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Reality check — editorial strip */
.reality {
  --reality-bg: #f9f8f3;
  position: relative;
  z-index: 0;
  background: var(--reality-bg);
  padding-block: clamp(52px, 7.5vw, 96px);
  border-top: 1px solid rgba(10, 79, 82, 0.06);
  border-bottom: 1px solid rgba(10, 79, 82, 0.06);
  isolation: isolate;
}

.reality__intro {
  margin-bottom: clamp(32px, 5vw, 52px);
}

.reality__eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.reality__title {
  margin: 0 0 clamp(16px, 2.5vw, 22px);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}

.reality__lead {
  margin: 0;
  max-width: min(36rem, 100%);
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: var(--muted);
}

.reality__body {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4.5vw, 52px);
  align-items: stretch;
}

.reality__body > * {
  min-width: 0;
}

.reality__media {
  position: relative;
  z-index: 0;
  margin: 0;
  min-height: 0;
  align-self: stretch;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: color-mix(in srgb, var(--mist) 65%, var(--surface));
  box-shadow: 0 20px 50px rgba(10, 79, 82, 0.08);
}

.reality__media .img-skeleton {
  z-index: 1;
}

.reality__media img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.reality__column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3.5vw, 32px);
  min-width: 0;
  padding-top: 4px;
}

.reality__copy {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.reality__copy p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--muted);
}

.reality__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
}

.reality-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: clamp(22px, 3.2vw, 28px);
  box-shadow: 0 2px 0 rgba(10, 79, 82, 0.04), 0 14px 40px rgba(10, 79, 82, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.reality-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 0 rgba(10, 79, 82, 0.05), 0 22px 48px rgba(10, 79, 82, 0.12);
}

.reality-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.reality-card p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.58;
  color: var(--muted);
}

.self-reflection .section-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.question-block.self-aside {
  margin-top: clamp(16px, 3vw, 22px);
}

.resource-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 140px;
  background: var(--mist);
  overflow: hidden;
}

.resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-age img {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 12px;
}

.split-below-head {
  margin-bottom: 28px;
}

.body-stack-muted p {
  margin: 0 0 14px;
  color: var(--muted);
}

.body-stack-muted p:last-child {
  margin-bottom: 0;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

.demo-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.demo-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

.demo-points svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-frame {
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 18px;
}

.demo-frame a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.demo-frame a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.question-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.question-list {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 16px;
  color: var(--ink);
}

.question-list li {
  padding-left: 4px;
  font-weight: 500;
  line-height: 1.55;
}

.self-aside {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.self-aside h3 {
  margin-top: 0;
}

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

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

.editorial-split .img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  max-height: 420px;
}

.editorial-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-split .body-stack-muted .section-title {
  margin-top: 0;
}

.about-figure-img {
  max-height: 420px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-play .play-stage iframe {
  min-height: min(42vh, 420px);
}

.resource-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  align-items: center;
}

.search-field {
  flex: 1 1 220px;
  position: relative;
}

.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.45;
  pointer-events: none;
}

.search-field input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
}

.search-field input:focus {
  outline: 2px solid color-mix(in srgb, var(--teal-soft) 45%, transparent);
  outline-offset: 2px;
}

select.filter-select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 600;
  padding: 12px 44px 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%230a4f52' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  color: var(--ink);
  cursor: pointer;
  min-width: 200px;
}

select.filter-select:focus {
  outline: 2px solid color-mix(in srgb, var(--teal-soft) 45%, transparent);
  outline-offset: 2px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}

.resource-card .resource-meta {
  padding: 14px 18px 0;
}

.resource-card h3 {
  margin: 0;
  padding: 6px 18px 0;
  font-size: 1.1rem;
}

.resource-card.is-hidden {
  display: none;
}

.resource-empty {
  margin-top: 24px;
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: color-mix(in srgb, var(--mist) 55%, transparent);
  text-align: center;
}

.resource-empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.resource-empty-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36rem;
  margin-inline: auto;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal);
}

.resource-card p {
  margin: 0;
  padding: 8px 18px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.faq-item button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.faq-item.is-open button svg {
  transform: rotate(180deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body > div {
  overflow: hidden;
}

.faq-body p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: var(--bg);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .field {
  margin-bottom: 14px;
}

.contact-form button[type="submit"] {
  margin-top: 4px;
}

.contact-aside {
  margin-top: 16px;
  color: var(--muted);
}

.contact-aside a {
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

.contact-extra-btn {
  margin-top: 14px;
}

.contact-title-tight {
  margin-top: 0;
}

.contact-lead-tight {
  margin-bottom: 0;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-top: 0;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.contact-page-card {
  margin-top: 32px;
}

.play-stage {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.play-stage iframe {
  width: 100%;
  min-height: min(48vh, 480px);
  border: 0;
  display: block;
  background: #0a0f0f;
}

.max-prose {
  max-width: 46rem;
}

.stack-after-lead {
  margin-bottom: 22px;
}

.muted-block {
  margin-top: 18px;
  color: var(--muted);
  max-width: 46rem;
}

.recovery-banner {
  padding-block: clamp(28px, 4vw, 48px);
  background: var(--bg);
}

.recovery-banner-panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid color-mix(in srgb, var(--line) 55%, rgba(10, 79, 82, 0.35));
  box-shadow: 0 20px 50px rgba(10, 79, 82, 0.18);
  background: linear-gradient(
      118deg,
      rgba(10, 79, 82, 0.94) 0%,
      rgba(11, 31, 32, 0.96) 48%,
      rgba(6, 58, 61, 0.92) 100%
    ),
    radial-gradient(
      70% 120% at 92% 18%,
      rgba(226, 75, 61, 0.22),
      transparent 55%
    ),
    radial-gradient(
      120% 80% at 12% 100%,
      rgba(244, 241, 234, 0.08),
      transparent 45%
    ),
    #061a1c;
  color: #f4f1ea;
}

.recovery-banner-copy {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 4vw, 42px) clamp(22px, 4vw, 44px);
}

.recovery-banner-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.recovery-banner-lead {
  margin: 0 0 clamp(20px, 3vw, 26px);
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.88);
}

.recovery-banner-action {
  display: inline-flex;
  align-self: flex-start;
}

.site-footer {
  margin-top: auto;
  background: #0b1f20;
  color: #d5e8e6;
  padding-block: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.55fr) minmax(0, 0.65fr) minmax(
      0,
      1.17fr
    );
  gap: clamp(22px, 3vw, 36px);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-row svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.92rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-partners {
  margin-top: 8px;
}

.footer-partners > p {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.partner-logo img {
  max-width: 170px;
  max-height: 48px;
  object-fit: contain;
}

.footer-meta {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

.footer-meta a:hover {
  color: #fff;
  text-decoration-thickness: 0.12em;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out), opacity 0.45s;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--teal-soft);
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

.cookie-banner a:hover {
  color: var(--coral);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.cookie-actions button {
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg);
}

.cookie-actions button.primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 20, 0.55);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
}

.modal-panel {
  width: min(520px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
  pointer-events: none;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.modal.is-open {
  pointer-events: auto;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal-intro {
  color: var(--muted);
  margin-top: 0;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

[data-consult-backdrop] {
  z-index: 138;
}

.modal--consult {
  z-index: 139;
}

.modal-consult-cta {
  display: flex;
  width: 100%;
  margin-top: 8px;
  box-sizing: border-box;
  text-align: center;
}

.chat-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(140deg, var(--coral), var(--coral-soft));
  color: #fff;
  box-shadow: 0 16px 36px rgba(226, 75, 61, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease-out);
}

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

.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 90;
  width: min(360px, calc(100% - 36px));
  height: min(440px, 58vh);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.is-open {
  display: flex;
}

.chat-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.chat-head strong {
  font-family: var(--font-display);
}

.chat-log {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.bubble.support {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
}

.bubble.user {
  align-self: flex-end;
  background: var(--teal);
  color: #fff;
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.chat-input input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font: inherit;
}

.chat-input button {
  border-radius: 12px;
  border: none;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

@media (max-width: 1220px) {
  .burger {
    display: inline-flex;
  }

  .header-actions {
    position: fixed;
    inset: 0 0 auto 0;
    top: 81px;
    z-index: 35;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.35s;
    box-shadow: 0 20px 40px rgba(10, 79, 82, 0.12);
    gap: 12px;
  }

  .header-actions.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .menu a {
    border-radius: 12px;
  }

  .btn-help {
    width: 100%;
    margin-top: 4px;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .footer-grid .footer-partners {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hero-grid,
  .demo-layout,
  .editorial-split,
  .split-panels,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .reality__title {
    max-width: none;
  }

  .reality__media {
    align-self: start;
    width: 100%;
    aspect-ratio: 16 / 11;
    min-height: 220px;
    max-height: min(52vh, 380px);
  }

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

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

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

  .play-stage iframe {
    min-height: min(52vh, 440px);
  }

  .home-play .play-stage iframe {
    min-height: min(48vh, 400px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .panel,
  .step,
  .faq-item,
  .reality__inner,
  .self-reflection,
  .editorial-split,
  .recovery-banner {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .resource-grid .resource-card {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .panel.motion-visible,
  .step.motion-visible,
  .faq-item.motion-visible,
  .reality__inner.motion-visible,
  .self-reflection.motion-visible,
  .editorial-split.motion-visible,
  .recovery-banner.motion-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .resource-grid .resource-card.motion-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.menu-open {
  overflow: hidden;
}

html.modal-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}
