@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Rubik_400Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/Rubik_500Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/Rubik_700Bold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/PTSerif_400Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/PTSerif_700Bold.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f8efe3;
  --ink-strong: #fff8ed;
  --ink-soft: rgba(248, 239, 227, 0.78);
  --ink-muted: rgba(248, 239, 227, 0.58);
  --night: #061423;
  --night-2: #081a2b;
  --night-3: #0d231f;
  --paper: #f5ebdc;
  --paper-2: #fff8ed;
  --paper-ink: #201813;
  --paper-muted: rgba(32, 24, 19, 0.62);
  --amber: #ff863d;
  --amber-2: #ffc46a;
  --amber-3: #ffe2a4;
  --line: rgba(255, 196, 106, 0.28);
  --line-strong: rgba(255, 196, 106, 0.52);
  --shadow: rgba(0, 0, 0, 0.46);
  --container: 1180px;
  --gutter: 32px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #061321 0%, #071a2a 42%, #0d211d 100%);
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 196, 106, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  opacity: 0.45;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

select,
input {
  min-width: 0;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--paper-ink);
  padding: 10px 14px;
  font-weight: 500;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  height: var(--header-height);
  padding: 16px max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.brand,
.header-cta,
.nav-links a,
.button,
.store-button {
  -webkit-tap-highlight-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-width: 0;
  color: var(--amber-3);
  font-family: "PT Serif", Georgia, serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.brand img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: rgba(255, 248, 237, 0.84);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  padding: 8px 0;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--amber-3);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff944e 0%, #f06b22 100%);
  color: #fff8ed;
  padding: 0 20px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(255, 112, 43, 0.28);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80svh;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 34px) max(var(--gutter), calc((100vw - var(--container)) / 2)) 72px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 42%;
  filter: saturate(1.06) contrast(1.05);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 9, 17, 0.86) 0%, rgba(4, 11, 19, 0.68) 31%, rgba(4, 11, 19, 0.2) 62%, rgba(4, 11, 19, 0.3) 100%),
    linear-gradient(180deg, rgba(1, 7, 13, 0.28) 0%, rgba(1, 7, 13, 0.12) 54%, rgba(6, 20, 35, 1) 100%);
}

.hero-content {
  width: min(590px, 100%);
  padding-top: 8px;
}

.hero-brand {
  margin: 0 0 10px;
  color: var(--amber-3);
  font-family: "PT Serif", Georgia, serif;
  font-size: 80px;
  line-height: 0.95;
  font-weight: 700;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  color: var(--ink-strong);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.hero h1 span {
  display: block;
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 530px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.button-secondary svg {
  fill: currentColor;
  stroke: none;
}

.button:hover,
.button:focus-visible,
.store-button:hover,
.store-button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, #ff944e 0%, #f06b22 100%);
  color: #fff8ed;
  box-shadow: 0 18px 42px rgba(255, 112, 43, 0.33);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(2, 10, 18, 0.48);
  color: var(--ink-strong);
  backdrop-filter: blur(10px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  color: var(--amber-2);
  animation: cue 2.6s ease-in-out infinite;
}

.scroll-cue svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, -2px);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 5px);
  }
}

.section-band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7, 25, 40, 0.96), rgba(8, 28, 43, 0.92));
}

.section-band::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 196, 106, 0.08), transparent 28%, transparent 72%, rgba(255, 196, 106, 0.06)),
    linear-gradient(180deg, rgba(255, 196, 106, 0.12), transparent 28%, rgba(255, 196, 106, 0.08));
  opacity: 0.6;
}

.section-inner {
  position: relative;
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.section-label {
  margin: 0 0 12px;
  color: var(--amber-2);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.section-copy h2,
.section-heading h2,
.parents-copy h2,
.closing-copy h2 {
  margin: 0;
  color: var(--amber-3);
  font-family: "PT Serif", Georgia, serif;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}

.section-copy p,
.section-heading p,
.parents-copy > p,
.closing-copy > p {
  margin: 20px 0 0;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 18px;
}

.therapy-section {
  padding: 70px 0 94px;
}

.therapy-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.35fr);
  gap: 58px;
  align-items: center;
}

.therapy-board {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
}

.topic-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.topic-button {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 196, 106, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 248, 237, 0.05);
  color: var(--ink-soft);
  padding: 0 16px;
  text-align: left;
  font-weight: 500;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topic-button:hover,
.topic-button:focus-visible {
  transform: translateX(3px);
  border-color: var(--line-strong);
  color: var(--ink-strong);
}

.topic-button.is-active {
  border-color: var(--amber-2);
  background: rgba(255, 134, 61, 0.16);
  color: var(--amber-3);
}

.topic-detail {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 106, 0.24);
  border-radius: var(--radius-lg);
  background: #06111d;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.topic-detail::after {
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  content: "";
  background: linear-gradient(180deg, transparent 0%, rgba(4, 13, 21, 0.52) 34%, rgba(4, 13, 21, 0.94) 100%);
}

.topic-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  transition: opacity 220ms ease, transform 420ms ease;
}

.topic-detail.is-switching .topic-image {
  opacity: 0.55;
  transform: scale(1.025);
}

.topic-text {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.topic-text h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 28px;
  line-height: 1.14;
}

.topic-text p {
  margin: 10px 0 0;
  max-width: 520px;
  color: var(--ink-soft);
}

.process-section {
  padding: 88px 0 102px;
  background:
    linear-gradient(180deg, #061423 0%, #071c2f 58%, #081724 100%);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 46px;
}

.flow-step {
  position: relative;
  min-height: 146px;
  border-top: 1px solid var(--line);
  padding: 20px 16px 0;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  top: -8px;
  right: -14px;
  width: 28px;
  height: 15px;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 6px, var(--line-strong) 6px 20px, transparent 20px),
    linear-gradient(45deg, transparent 0 8px, var(--line-strong) 8px 10px, transparent 10px);
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border: 1px solid var(--amber-2);
  border-radius: 50%;
  color: var(--amber-2);
  font-weight: 700;
}

.flow-step strong {
  display: block;
  color: var(--ink-strong);
  font-size: 17px;
}

.flow-step p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.45;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.phone {
  position: relative;
  overflow: hidden;
  border: 8px solid #12181c;
  border-radius: 34px;
  background: #12181c;
  box-shadow:
    0 0 0 1px rgba(255, 196, 106, 0.25),
    0 30px 60px rgba(0, 0, 0, 0.34);
}

.phone-top {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 3;
  width: 74px;
  height: 19px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #101316;
}

.phone-screen {
  min-height: 456px;
  overflow: hidden;
  border-radius: 25px;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 34px 18px 18px;
}

.screen-nav {
  margin-bottom: 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.phone-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.phone-form label span {
  color: var(--paper-muted);
  font-size: 12px;
  font-weight: 500;
}

.phone-form select,
.phone-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(32, 24, 19, 0.16);
  border-radius: 10px;
  background: rgba(255, 248, 237, 0.78);
  color: var(--paper-ink);
  padding: 0 12px;
  outline: none;
}

.phone-form button,
.phone-library button {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--amber);
  color: #fff8ed;
  font-weight: 700;
}

.phone-story .phone-screen {
  padding: 28px 18px 18px;
}

.phone-story img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  object-position: 58% 47%;
}

.phone-story h3,
.phone-audio h3 {
  margin: 16px 0 8px;
  font-family: "PT Serif", Georgia, serif;
  font-size: 23px;
  line-height: 1.12;
}

.phone-story p,
.phone-audio p {
  margin: 0;
  color: var(--paper-muted);
  font-family: "PT Serif", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
}

.reader-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.reader-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(32, 24, 19, 0.18);
}

.phone-audio .phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(33, 25, 18, 0.22), rgba(33, 25, 18, 0.06)),
    #8c745d;
  color: #fff6ea;
  text-align: center;
}

.audio-cover {
  width: 170px;
  height: 170px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 237, 0.28);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.audio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
}

.phone-audio p {
  color: rgba(255, 248, 237, 0.76);
}

.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  margin: 26px 0;
}

.wave i {
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.62);
  animation: wave 1.4s ease-in-out infinite;
}

.wave i:nth-child(1) { height: 12px; animation-delay: 0ms; }
.wave i:nth-child(2) { height: 24px; animation-delay: 80ms; }
.wave i:nth-child(3) { height: 34px; animation-delay: 160ms; }
.wave i:nth-child(4) { height: 18px; animation-delay: 240ms; }
.wave i:nth-child(5) { height: 30px; animation-delay: 320ms; }
.wave i:nth-child(6) { height: 16px; animation-delay: 400ms; }
.wave i:nth-child(7) { height: 26px; animation-delay: 480ms; }
.wave i:nth-child(8) { height: 12px; animation-delay: 560ms; }

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.65);
    opacity: 0.55;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.play-button {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: #fff4de;
  color: #42301f;
}

.play-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.library-filter {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.library-filter span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: rgba(32, 24, 19, 0.08);
  color: var(--paper-muted);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 500;
}

.library-filter span:first-child {
  background: var(--paper-ink);
  color: var(--paper-2);
}

.story-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(255, 248, 237, 0.62);
  padding: 8px;
}

.story-row img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.story-row strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-row small {
  color: var(--paper-muted);
  font-size: 12px;
}

.parents-section {
  padding: 92px 0 102px;
}

.parents-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.94fr) minmax(360px, 1fr);
  gap: 70px;
  align-items: center;
}

.parents-media {
  position: relative;
}

.parents-media > img:first-child {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.36);
}

.book-float {
  position: absolute;
  right: -60px;
  bottom: -42px;
  width: 58%;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.34));
}

.benefit-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.benefit-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.benefit-row svg {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--amber-2);
  padding: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-row strong {
  display: block;
  color: var(--ink-strong);
  font-size: 18px;
}

.benefit-row span {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 27, 0.98) 0%, rgba(5, 16, 27, 0.84) 42%, rgba(6, 20, 35, 0.42) 100%),
    url("assets/images/hero.jpg") center / cover;
}

.closing-section::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(255, 196, 106, 0.08), rgba(0, 0, 0, 0.28));
}

.closing-layout {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1fr);
  gap: 60px;
  align-items: center;
}

.closing-copy {
  max-width: 650px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 68px;
  border: 1px solid rgba(255, 248, 237, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.74);
  color: #fff8ed;
  padding: 10px 16px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.store-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.store-button span {
  display: grid;
  line-height: 1.08;
  font-size: 22px;
  font-weight: 700;
}

.store-button small {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 248, 237, 0.72);
}

.offline-note {
  margin: 20px 0 0;
  color: var(--ink-muted);
}

.closing-art {
  position: relative;
  min-height: 390px;
}

.closing-cat {
  position: absolute;
  right: 0;
  bottom: -22px;
  width: min(400px, 70%);
  border-radius: 42px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.closing-book {
  position: absolute;
  left: 0;
  bottom: -24px;
  width: min(410px, 72%);
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.34));
}

.site-footer {
  border-top: 1px solid rgba(255, 196, 106, 0.18);
  background: #050f19;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.footer-inner span {
  color: var(--amber-3);
  font-family: "PT Serif", Georgia, serif;
  font-weight: 700;
}

.footer-inner nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--ink-strong);
}

.info-page .site-header {
  position: sticky;
  border-bottom: 1px solid rgba(255, 196, 106, 0.18);
  background: rgba(5, 15, 25, 0.92);
  backdrop-filter: blur(18px);
}

.info-page .brand {
  text-shadow: none;
}

.info-main {
  min-height: calc(100svh - 154px);
  padding: 86px 0 96px;
  background:
    linear-gradient(180deg, rgba(6, 20, 35, 0.92), rgba(8, 25, 36, 0.7)),
    url("assets/images/hero.jpg") center top / cover fixed;
}

.info-hero {
  max-width: 880px;
  margin-bottom: 48px;
}

.info-hero h1 {
  margin: 0;
  color: var(--ink-strong);
  font-family: "PT Serif", Georgia, serif;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
}

.info-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.info-date {
  display: inline-flex;
  margin-top: 24px;
  color: var(--amber-3);
  font-size: 14px;
  font-weight: 700;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.38fr);
  gap: 42px;
  align-items: start;
}

.info-content {
  border: 1px solid rgba(255, 196, 106, 0.22);
  border-radius: var(--radius-md);
  background: rgba(5, 15, 25, 0.78);
  padding: 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.info-content h2 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-family: "PT Serif", Georgia, serif;
  font-size: 30px;
  line-height: 1.12;
}

.info-content h2:not(:first-child) {
  margin-top: 34px;
}

.info-content p,
.info-content li {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.info-content p {
  margin: 0;
}

.info-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.info-content a,
.info-aside a:not(.button) {
  color: var(--amber-3);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.info-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 248, 237, 0.1);
  padding: 26px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.info-aside strong {
  color: var(--ink-strong);
  font-family: "PT Serif", Georgia, serif;
  font-size: 26px;
  line-height: 1.05;
}

.info-aside p {
  margin: 0;
  color: var(--ink-soft);
}

.info-aside .button {
  width: 100%;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.support-hero h1 {
  max-width: 960px;
}

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

.support-panel {
  min-height: 260px;
  border-top: 1px solid var(--line);
  padding: 22px 18px 0;
}

.support-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid var(--amber-2);
  border-radius: 50%;
  color: var(--amber-2);
  font-weight: 700;
}

.support-panel h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: "PT Serif", Georgia, serif;
  font-size: 30px;
  line-height: 1.08;
}

.support-panel p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.support-detail {
  margin-top: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  :root {
    --gutter: 24px;
  }

  .section-inner {
    width: min(var(--container), calc(100% - 48px));
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    font-size: 22px;
  }

  .nav-links {
    display: none;
  }

  .hero-brand {
    font-size: 64px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .therapy-layout,
  .parents-layout,
  .closing-layout,
  .info-layout {
    grid-template-columns: 1fr;
  }

  .info-aside {
    position: static;
  }

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

  .support-panel {
    min-height: auto;
    padding-bottom: 18px;
  }

  .therapy-layout {
    gap: 36px;
  }

  .therapy-board {
    grid-template-columns: 1fr;
  }

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

  .topic-button {
    min-height: 50px;
    padding: 0 12px;
    text-align: center;
  }

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

  .flow-step:nth-child(3)::after {
    display: none;
  }

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

  .parents-media {
    width: min(620px, 100%);
  }

  .book-float {
    right: -28px;
  }

  .closing-art {
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
    --header-height: 68px;
  }

  .section-inner {
    width: calc(100% - 36px);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    gap: 10px;
    font-size: 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    align-items: flex-end;
    min-height: 78svh;
    padding-top: 92px;
    padding-bottom: 62px;
  }

  .hero-media img {
    object-position: 60% 36%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 9, 17, 0.18) 0%, rgba(2, 9, 17, 0.3) 36%, rgba(2, 9, 17, 0.88) 72%, #061423 100%),
      linear-gradient(90deg, rgba(2, 9, 17, 0.42), rgba(2, 9, 17, 0.12));
  }

  .hero-brand {
    font-size: 48px;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.12;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    width: auto;
    min-height: 54px;
    padding: 0 18px;
  }

  .therapy-section,
  .process-section,
  .parents-section,
  .closing-section,
  .info-main {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .section-copy h2,
  .section-heading h2,
  .parents-copy h2,
  .closing-copy h2 {
    font-size: 30px;
    text-wrap: wrap;
  }

  .section-copy p,
  .section-heading p,
  .parents-copy > p,
  .closing-copy > p,
  .info-hero p {
    font-size: 16px;
  }

  .info-hero {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin-bottom: 34px;
    overflow: hidden;
  }

  .info-hero h1 {
    width: 100%;
    max-width: calc(100vw - 36px);
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: wrap;
  }

  .support-hero h1 {
    max-width: calc(100vw - 36px);
  }

  .info-content {
    max-width: 100%;
    padding: 24px;
    overflow: hidden;
  }

  .info-content h2 {
    font-size: 25px;
  }

  .info-content p,
  .info-content li {
    font-size: 15px;
    line-height: 1.65;
  }

  .info-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .info-page .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 16px;
    padding-left: 16px;
    white-space: normal;
    text-align: center;
  }

  .info-page .button span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .info-page .button svg {
    flex: 0 0 auto;
  }

  .support-grid {
    gap: 12px;
  }

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

  .topic-detail {
    min-height: 360px;
  }

  .topic-image {
    height: 360px;
  }

  .topic-text {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .topic-text h3 {
    font-size: 24px;
  }

  .process-flow,
  .phone-gallery {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: auto;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 24px 18px;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .phone {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .phone-screen {
    min-height: 430px;
  }

  .parents-layout,
  .closing-layout {
    gap: 38px;
  }

  .parents-media > img:first-child {
    aspect-ratio: 4 / 4.7;
  }

  .book-float {
    right: -12px;
    bottom: -34px;
    width: 60%;
  }

  .benefit-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }

  .benefit-row svg {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .store-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .store-button {
    min-width: 0;
  }

  .closing-art {
    min-height: 280px;
  }

  .closing-cat {
    width: 64%;
    border-radius: 28px;
  }

  .closing-book {
    width: 68%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 116px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .footer-inner nav {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

@media (max-width: 380px) {
  .hero-brand {
    font-size: 42px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }
}
