/* TinyTeller website. The look of the app: cream, ink, coral, salie and soft
   blue; Fredoka for titles, Nunito for text; flat fills, no gradients; text
   and icons on an accent fill are always ink.
   Everything hangs under .site, so the same sheet works for a whole page
   (<body class="site">) and for a page set inside another one. */

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

/* The page behind the content. */
html {
  background-color: #FBF6EE;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

/* The footer always sits at the bottom of the window, also on a page that is
   shorter than the window: the content takes the room that is left. */
body.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body.site > main {
  flex: 1 0 auto;
  width: 100%;
}

body.site > .top,
body.site > .foot {
  flex-shrink: 0;
}

.site {
  --cream: #FBF6EE;
  --surface: #FFFDF9;
  --outline: #E6DDD3;
  --ink: #3A2E2A;
  --ink-soft: #5E514A;
  --coral: #E8846B;
  --sage: #8FB39A;
  --coral-soft: #FBE1D8;
  --sage-soft: #DCEBE0;
  --blue-soft: #DDE8F2;
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --card: 28px;
  /* Width of a screen in a step of the guide: 300 px, a little smaller in a
     low window, so the step and its buttons still fit in view. */
  --shot: clamp(230px, (100vh - 300px) * 390 / 844, 300px);
  /* Height of the bar at the top, which stays in view. */
  --top: 72px;
  /* One word of the listening moment: on screen, then a pause. */
  --word: 2.6s;

  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

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

.site h1,
.site h2,
.site h3 {
  font-family: var(--display);
  text-wrap: balance;
}

.site p {
  text-wrap: pretty;
}

.site a {
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.site a:focus-visible,
.site summary:focus-visible,
.site label:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 10px;
}

.site .wrap {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.site .skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 12px;
}

.site .skip:focus {
  top: 12px;
}

/* ── Top: name, menu, language. Stays in view while the page scrolls ─── */

.site .top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1.5px solid var(--outline);
}

/* Where the browser can follow the scroll position, the line under the bar
   only shows once the page has moved under it. */
@supports (animation-timeline: scroll()) {
  .site .top {
    animation: top-line linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 40px;
  }
}

@keyframes top-line {
  from {
    border-bottom-color: transparent;
  }
}

.site .top-in {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--top);
}

.site .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.site .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--coral);
  display: grid;
  place-items: center;
  flex: none;
}

.site .brand-mark svg {
  width: 88%;
  height: auto;
  display: block;
}

/* The menu in a row on a wide screen, behind the bars on a narrower one. Five
   links and the language: the row is set a little smaller so that it fits in
   every language (measured: French needs 942 px). */
.site .menu-wide {
  display: none;
  gap: 2px;
  margin-right: 2px;
  font-size: 1rem;
}

.site .menu-wide a {
  padding: 10px 11px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site .menu-wide a:hover {
  background: var(--surface);
}

/* The page you are on (the guide): a fill and an ink line. */
.site .menu-wide a[aria-current] {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

/* A dropdown without script: <details>, with its list under the button. */
.site .drop {
  position: relative;
}

.site .drop summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  background: var(--surface);
  border: 1.5px solid var(--outline);
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.site .drop summary::-webkit-details-marker {
  display: none;
}

.site .drop summary svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.site .drop.lang summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: -4px 2px 0;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.site .drop.lang[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.site .drop.menu-narrow summary {
  justify-content: center;
  padding: 0;
}

/* Open: an ink border, not a tint alone. */
.site .drop[open] summary {
  border-color: var(--ink);
}

.site .drop ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgb(58 46 42 / 0.12);
  list-style: none;
}

.site .drop li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site .drop li a:hover {
  background: var(--cream);
}

/* The language of this page: a soft fill and a check mark. */
.site .drop li a[aria-current] {
  background: var(--sage-soft);
}

.site .drop li a[aria-current]::after {
  content: "";
  width: 7px;
  height: 13px;
  margin: -3px 4px 0;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
}

/* The name of the language where there is room, its code where there is not. */
.site .lang-name {
  display: none;
}

/* A link in the menu leads to a part of the home page. A part that spans the
   page starts right under the bar (it has its own room at the top); a card
   keeps some air above it. */
.site [id] {
  scroll-margin-top: calc(var(--top) + 20px);
}

.site .section[id],
.site main[id] {
  scroll-margin-top: var(--top);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.site .hero {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(20px, 4vw, 48px) clamp(48px, 8vw, 96px);
}

.site .hero h1 {
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  margin: 0 0 0.45em;
}

/* Above the headline: what TinyTeller is, in the words of the field. */
.site .hero .eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 16px 7px;
  border-radius: 999px;
  background: var(--coral-soft);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
}

.site .hero h1 .line {
  display: block;
}

/* The end of the headline, marked like a word in a book: a soft band of the
   brand's coral under the lower half of the letters. An underline, so it
   follows the words when the line wraps; painted under the text, which stays
   ink. Skipping ink would cut the band at every letter. */
.site .hero h1 .mark {
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, var(--coral) 42%, transparent);
  text-decoration-thickness: 0.34em;
  text-underline-offset: -0.4em;
  text-decoration-skip-ink: none;
}

.site .lead {
  font-size: clamp(1.07rem, 1.7vw, 1.2rem);
  max-width: 33em;
  margin: 0 0 1.5em;
}

.site .status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 11px 20px 11px 16px;
  background: var(--surface);
  border: 1.5px solid var(--outline);
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.3;
}

.site .status::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sage);
}

.site .hero .more {
  margin: 0;
  font-weight: 600;
}

/* The app in the stores: the badges of the App Store and Google Play, as
   Apple and Google draw them. While the app is not in a store, its badge is
   grey and no link. */
.site .stores {
  margin: 0 0 16px;
}

.site .store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site .store-badges a,
.site .store-badges img {
  display: block;
}

.site .store-badges img {
  width: auto;
  height: 46px;
}

.site .store-badges a {
  border-radius: 9px;
}

.site .store-badges .is-soon img {
  filter: grayscale(1);
  opacity: 0.45;
}

/* The listening moment: the mouse on its coral field and, on the slip
   under it, the word the child hears now. */
.site .listen {
  display: grid;
  justify-items: center;
}

.site .listen-disc {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
}

.site .listen-disc svg {
  width: 88%;
  height: auto;
  display: block;
}

.site .slip {
  display: grid;
  margin: -38px 0 0;
  padding: 10px 30px 12px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 0 rgb(58 46 42 / 0.1);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.2;
}

.site .slip span {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  /* Started "a full round ago", so every word is in step from the start. */
  animation: ptimot-word calc(var(--word) * 4) infinite;
  animation-delay: calc((var(--i) - 4) * var(--word));
}

@keyframes ptimot-word {
  0%, 21% { opacity: 1; transform: none; }
  25%, 96% { opacity: 0; transform: translateY(-0.3em); }
  96.01% { opacity: 0; transform: translateY(0.3em); }
  100% { opacity: 1; transform: none; }
}

.site .mouse-wave {
  opacity: var(--peak);
  animation: ptimot-wave var(--word) ease-out infinite;
  animation-delay: calc(var(--n) * 0.13s);
}

@keyframes ptimot-wave {
  0% { opacity: calc(var(--peak) * 0.3); }
  12%, 42% { opacity: var(--peak); }
  80%, 100% { opacity: calc(var(--peak) * 0.3); }
}

.site .caption {
  max-width: 24em;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .site .slip span,
  .site .mouse-wave {
    animation: none;
  }

  .site .slip span:first-child {
    opacity: 1;
  }
}

/* ── Sections ────────────────────────────────────────────────────────── */

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

.site .section > .wrap > h2,
.site .panel h2 {
  font-weight: 600;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.016em;
  margin: 0 0 clamp(22px, 3vw, 36px);
}

.site .band {
  background: var(--surface);
  border-block: 1.5px solid var(--outline);
}

/* A screen of the app in a drawn frame. */
.site .phone {
  width: 100%;
  max-width: 250px;
  margin: 0;
  aspect-ratio: 390 / 844;
  border: 3px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
  background: var(--cream);
}

.site .phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* What auditory bombardment is: three cards under a lead, then where it
   comes from and who decides. */
/* Straight under the hero, which already ends in air. */
.site .bombard {
  padding-top: clamp(8px, 2vw, 24px);
}

.site .section-lead {
  margin: -12px 0 clamp(24px, 3vw, 36px);
  max-width: 36em;
  font-weight: 600;
  font-size: 1.1rem;
}

.site .bombard-points {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.site .bombard-points li {
  padding: 24px 26px 26px;
  border-radius: var(--card);
  background: var(--surface);
  border: 1.5px solid var(--outline);
}

.site .bombard-points h3 {
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 6px;
}

.site .bombard-points p {
  margin: 0;
}

.site .bombard-note {
  margin: 0;
  max-width: 40em;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .site .bombard-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Steps: a real sequence, so they are numbered (in the app's round mark). */
.site .steps {
  display: grid;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site .step {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
}

.site .step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
}

.site .step h3 {
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 6px 0 0;
}

.site .step p {
  margin: 0;
  max-width: 30em;
}

.site .step .phone {
  margin-top: 18px;
  justify-self: center;
}

/* Parents and therapists: the app's own colours for "yours" (coral) and
   "from the therapist" (blue). */
.site .audiences {
  display: grid;
  gap: 24px;
}

.site .panel {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 44px) 0;
  border-radius: var(--card);
  overflow: hidden;
}

.site .panel.parents { background: var(--coral-soft); }
.site .panel.therapists { background: var(--blue-soft); }

.site .panel h2 {
  margin-bottom: 6px;
}

.site .panel-lead {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: 1.1rem;
}

.site .points {
  display: grid;
  gap: 18px;
  align-content: start;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.site .points h3 {
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 2px;
}

.site .points p {
  margin: 0;
}

/* The screen looks out over the lower edge of the panel. */
.site .phone.peek {
  aspect-ratio: 390 / 470;
  justify-self: center;
  align-self: end;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.site .calm {
  display: grid;
  gap: 28px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site .calm li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.site .icon-disc {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage-soft);
  display: grid;
  place-items: center;
}

.site .icon-disc svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site .calm h3 {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 2px 0 4px;
}

.site .calm p {
  margin: 0;
  max-width: 28em;
}

.site .method {
  display: grid;
  gap: 28px 56px;
  align-items: start;
}

.site .method p {
  margin: 0 0 1em;
  max-width: 36em;
}

.site .callout {
  padding: 24px 28px 26px;
  border-radius: var(--card);
  background: var(--blue-soft);
}

.site .callout h3 {
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.site .callout p {
  margin: 0;
}

/* Speech therapists: how to begin (home page), and a question by mail (home
   page, price, their guide). The mail is a plain button with the address
   beside it, to copy. */
.site .start-grid {
  display: grid;
  gap: 24px;
}

.site .start-card,
.site .contact-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--card);
}

.site .start-card {
  background: var(--blue-soft);
}

.site .contact-card {
  align-self: start;
  background: var(--surface);
  border: 1.5px solid var(--outline);
}

.site .start-card h2,
.site .contact-card h2 {
  margin: 0 0 8px;
}

.site .start-card > p,
.site .contact-card p {
  margin: 0 0 18px;
  max-width: 36em;
}

.site .start-card > p:last-child,
.site .contact-card p:last-child {
  margin-bottom: 0;
}

.site .start-card .stores {
  margin: 0 0 22px;
}

.site .contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.site .contact-address {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.site .pricing .contact-card,
.site .guide .contact-card {
  margin-top: 32px;
}

@media (min-width: 860px) {
  .site .start-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

/* The questions span the content column, so their lines and arrows end where
   every other block of the page ends; an answer stays at a readable width. */
.site .faq details {
  border-top: 1.5px solid var(--outline);
}

.site .faq details:last-child {
  border-bottom: 1.5px solid var(--outline);
}

.site .faq summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.site .faq summary::-webkit-details-marker {
  display: none;
}

.site .faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateY(-75%) rotate(45deg);
}

.site .faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.site .faq details p {
  margin: 0 0 20px;
  max-width: 40em;
}

.site .foot {
  border-top: 1.5px solid var(--outline);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* A band that ends the page already draws that line. */
.site main > .band:last-child {
  border-bottom: 0;
}

/* Name and language on the first row, the stores on the second, copyright
   and links on the third; one under the other on a narrow screen. */
.site .foot-in {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding-block: 32px 44px;
}

.site .foot p {
  margin: 0;
}

.site .foot-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site .foot .brand {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.site .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site .foot-links a,
.site .foot-links button {
  color: var(--ink);
  font-weight: 600;
}

.site .foot-links button {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* The stores in the footer: the line and the badges side by side. */
.site .foot .stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
}

.site .foot .store-badges img {
  height: 40px;
}

.site .stores-note {
  font-weight: 600;
}

/* The language choice of the footer: its list opens upward, because the
   page ends below it. */
.site .foot .drop summary {
  color: var(--ink);
}

.site .foot .drop ul {
  top: auto;
  bottom: calc(100% + 8px);
  left: 0;
  right: auto;
}

.site .foot .drop.lang summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.site .foot .drop.lang[open] summary::after {
  margin-top: -4px;
  transform: rotate(45deg);
}

.site .foot .lang-name {
  display: inline;
}

.site .foot .lang-code {
  display: none;
}

/* ── Pages of text: privacy policy, terms ────────────────────────────── */

.site .legal {
  padding-block: clamp(20px, 4vw, 48px) clamp(48px, 8vw, 96px);
}

.site .legal h1 {
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.site .legal-meta {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.site .notice {
  max-width: 44em;
  margin: 0 0 8px;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--blue-soft);
  font-weight: 600;
}

.site .prose {
  max-width: 44em;
}

.site .prose h2 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 1.9em 0 0.5em;
}

.site .prose p,
.site .prose ul {
  margin: 0 0 1em;
}

.site .prose ul {
  padding-left: 1.3em;
}

.site .prose li {
  margin-bottom: 0.45em;
}

.site .prose li::marker {
  color: var(--sage);
}

.site .prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

/* Still to be filled in. */
.site mark.todo {
  padding: 1px 6px;
  border-radius: 8px;
  background: var(--coral-soft);
  color: inherit;
  font-weight: 600;
}

/* ── The question for consent (only with Google Analytics) ───────────── */

.site .consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 10;
  width: min(calc(100% - 32px), 620px);
  transform: translateX(-50%);
  padding: 22px 24px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 0 12px 32px rgb(58 46 42 / 0.18);
}

.site .consent[hidden] {
  display: none;
}

.site .consent p {
  margin: 0 0 16px;
}

.site .consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Yes and no weigh the same. */
.site .consent button {
  flex: 1 1 180px;
  min-height: 50px;
  padding: 0 20px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site .consent button:hover {
  background: var(--cream);
}

.site button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* The page that only asks for a language. */
.site .chooser {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding-block: clamp(40px, 9vw, 96px);
  text-align: center;
}

.site .chooser .listen-disc {
  width: min(70%, 260px);
}

.site .chooser h1 {
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  margin: 0;
}

.site .chooser ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site .chooser .not-found {
  display: grid;
  gap: 20px;
  max-width: 30em;
}

.site .chooser .not-found li {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.site .chooser .not-found p {
  margin: 0;
}

.site .chooser a {
  display: inline-grid;
  place-items: center;
  min-width: 160px;
  min-height: 56px;
  padding: 0 28px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}

/* ── The price ───────────────────────────────────────────────────────── */

.site .pricing {
  padding-block: clamp(20px, 4vw, 48px) clamp(48px, 8vw, 96px);
}

.site .pricing h1 {
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.site .pricing .lead {
  margin: 0 0 28px;
}

.site .plans {
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
}

/* The app's own colours: coral for parents, blue for the therapist. */
.site .plan {
  padding: 26px 26px 24px;
  border-radius: var(--card);
}

.site .plan.parents { background: var(--coral-soft); }
.site .plan.therapists { background: var(--blue-soft); }

.site .plan h2 {
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.site .plan-price {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.1;
}

.site .plan-vat {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site .plan-trial {
  display: inline-block;
  margin: 14px 0 0;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  line-height: 1.3;
}

.site .plan-points {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.site .plan-points li {
  margin-bottom: 6px;
}

.site .plan-points li::marker {
  color: var(--ink);
}

.site .plan-how h2 {
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.site .plan-how .hint {
  margin: 18px 0 22px;
}

@media (min-width: 640px) {
  .site .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── The guide (handleiding) ─────────────────────────────────────────── */

.site .guide-head {
  padding-block: clamp(20px, 4vw, 48px) clamp(26px, 4vw, 40px);
}

.site .crumb {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-weight: 600;
}

.site .crumb a {
  color: inherit;
}

.site .guide-head h1 {
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.site .guide-head .lead {
  margin: 18px 0 0;
}

.site .guide.start .lead {
  margin-top: 0;
}

/* Who the guide is for: two links, the page you are on filled in. */
.site .roles {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  background: var(--surface);
  border: 1.5px solid var(--outline);
  border-radius: 999px;
}

.site .roles a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.97rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

/* The app's own colours: coral for "yours", blue for "from the therapist". */
.site .roles a[aria-current] {
  background: var(--coral-soft);
  border-color: var(--ink);
}

.site .guide.therapists .roles a[aria-current] {
  background: var(--blue-soft);
}

/* The start of the guide: who are you? */
.site .picks {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.site .pick {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 14px;
  gap: 16px;
  align-items: center;
  min-height: 108px;
  padding: 20px 22px;
  border-radius: var(--card);
  text-decoration: none;
}

.site .pick.parents { background: var(--coral-soft); }
.site .pick.therapists { background: var(--blue-soft); }

.site .pick .icon-disc {
  width: 56px;
  height: 56px;
  background: var(--surface);
}

.site .pick strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
}

.site .pick::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--ink);
  border-top: 2.5px solid var(--ink);
  transform: rotate(45deg);
}

/* ── The first time: one step at a time ──────────────────────────────── */

.site .guide .first {
  padding-block: 0 clamp(44px, 7vw, 88px);
}

.site .guide h2 {
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.008em;
  margin: 0 0 clamp(18px, 3vw, 28px);
}

.site .walk {
  display: grid;
  gap: 16px;
}

/* The one question that decides which steps you get. */
.site .fork {
  min-width: 0;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.site .fork legend {
  margin: 0 0 12px;
  padding: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.3;
}

.site .fork-options {
  display: grid;
  gap: 10px;
}

.site .fork label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1.5px solid var(--outline);
  border-radius: 18px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.site .fork input {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
}

.site .fork input:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

/* Chosen: lighter fill plus an ink border and the dot, never tint alone. */
.site .fork label:has(input:checked) {
  background: var(--sage-soft);
  border-color: var(--ink);
}

.site .fork label:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.site .fork input:focus-visible {
  outline: none;
}

/* The steps of the other answer are not on the page. Works without script. */
.site .walk:has(input[value="code"]:checked) [data-path="own"],
.site .walk:has(input[value="own"]:checked) [data-path="code"] {
  display: none;
}

.site .walk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site .walk-count {
  margin: 0;
  font-weight: 600;
}

.site .walk-dots {
  display: flex;
  gap: 6px;
}

.site .walk-dots i {
  width: 24px;
  height: 8px;
  border-radius: 999px;
  background: var(--outline);
}

.site .walk-dots .is-done { background: var(--sage); }
.site .walk-dots .is-now { background: var(--ink); }

.site .walk-stack {
  display: grid;
  gap: 16px;
}

.site .walk-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.site .walk-step {
  counter-increment: step;
  display: grid;
  gap: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1.5px solid var(--outline);
  border-radius: var(--card);
}

.site .walk-step h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
}

/* The number of the step, in the round mark of "Zo werkt het". */
.site .walk-step h3::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage);
  font-size: 1.15rem;
}

.site .walk-step p {
  margin: 0;
  max-width: 32em;
}

.site .walk-step b,
.site .answer b {
  font-weight: 600;
}

.site .hint {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site .walk-step .hint {
  margin-top: 10px;
}

/* A whole screen of the app in a drawn phone, with the thing to tap circled.
   --x --y --w --h are the place of the ring on the screen, as fractions.
   The picture sets the height (its own 390 x 844, never cropped), so the
   box inside the frame is exactly the screen and the ring lands on the
   pixel the app measured. */
.site .shot-screen {
  position: relative;
  width: min(100%, var(--shot));
  margin: 0 auto;
  border: 3px solid var(--ink);
  border-radius: 36px;
  overflow: hidden;
  background: var(--cream);
}

.site .shot-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* The thing to tap stands in the light: the rest of the screen is dimmed
   (the far shadow, cut off by the frame), a cream edge and a coral ring
   around it, the same on a light and on a dark screen. A soft ring
   breathes out of it; nothing scales, so the ring stays on its place. */
.site .ring {
  position: absolute;
  left: calc(var(--x) * 100% - 6px);
  top: calc(var(--y) * 100% - 6px);
  width: calc(var(--w) * 100% + 12px);
  height: calc(var(--h) * 100% + 12px);
  border: 4px solid var(--coral);
  border-radius: 18px;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 2000px rgb(58 46 42 / 0.34);
  outline: 3px solid transparent;
  pointer-events: none;
  animation: ptimot-ring 1.8s ease-out infinite;
}

.site .ring.round {
  border-radius: 999px;
}

@keyframes ptimot-ring {
  0% { outline-color: rgb(232 132 107 / 0.75); outline-offset: 0; }
  70%, 100% { outline-color: rgb(232 132 107 / 0); outline-offset: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .site .ring {
    animation: none;
  }
}

/* After the last step. */
.site .walk-done {
  padding: 22px 22px 24px;
  border-radius: var(--card);
  background: var(--sage-soft);
}

.site .walk-done h3 {
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 6px;
}

.site .walk-done p {
  margin: 0;
}

.site .walk-done .links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 14px;
  font-weight: 600;
}

.site .walk-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* The main button: the coral of the app, with ink on it. */
.site .btn.primary {
  background: var(--coral);
  border-color: var(--coral);
}

.site .btn[disabled] {
  visibility: hidden;
}

.site .walk-more {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 2px 0 0;
}

.site .text-btn {
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* One step at a time (set by the script): the steps and the end lie on top
   of each other and only the current one shows. So the frame is as high as
   the longest step, the buttons under it never move, and the other steps
   still count for the numbering. */
.site .walk.is-stepping .walk-stack,
.site .walk.is-stepping .walk-steps {
  display: grid;
  gap: 0;
}

.site .walk.is-stepping .walk-stack > *,
.site .walk.is-stepping .walk-step {
  grid-area: 1 / 1;
}

.site .walk.is-stepping .walk-step {
  align-content: start;
}

.site .walk.is-stepping .walk-step:not(.is-current),
.site .walk.is-stepping .walk-done:not(.is-current) {
  visibility: hidden;
}

.site .walk.is-stepping .walk-done {
  display: grid;
  align-content: center;
}

/* A finger may slide sideways to the next step (guide.js); the page still
   scrolls up and down and zooms. During a slide the step that leaves and
   the one that comes along beside the finger show too, like cards in a
   row, gone at the edge of the window. */
.site .walk.is-stepping .walk-stack {
  touch-action: pan-y pinch-zoom;
}

.site .first {
  overflow-x: clip;
}

.site .walk.is-stepping .walk-stack .is-leaving,
.site .walk.is-stepping .walk-stack .is-peeking {
  visibility: visible;
}

.site .walk:not(.is-stepping) .walk-top,
.site .walk:not(.is-stepping) .walk-nav {
  display: none;
}

/* ── How do I…? and when it does not work ────────────────────────────── */

.site .how summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 14px;
}

.site .how .icon-disc {
  flex: none;
  width: 44px;
  height: 44px;
}

.site .how .icon-disc svg {
  width: 22px;
  height: 22px;
}

.site .answer {
  padding: 2px 0 22px;
}

.site .faq .answer p {
  margin: 0;
  max-width: 38em;
}

.site .faq .answer .hint {
  margin-top: 12px;
}

.site ol.mini {
  display: grid;
  gap: 10px;
  max-width: 38em;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mini;
}

.site ol.mini li {
  counter-increment: mini;
  position: relative;
  min-height: 28px;
  padding-left: 40px;
}

.site ol.mini li::before {
  content: counter(mini);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage-soft);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
}

.site .ask {
  margin: 26px 0 0;
  font-weight: 600;
}

/* The way to the other guide. */
.site .guide-end {
  padding-top: 0;
}

.site .other {
  padding: 26px 24px 28px;
  border-radius: var(--card);
}

.site .guide.parents .other { background: var(--blue-soft); }
.site .guide.therapists .other { background: var(--coral-soft); }

.site .other h2 {
  font-size: 1.5rem;
  margin: 0 0 6px;
}

.site .other p {
  margin: 0 0 18px;
  max-width: 34em;
}

/* Side by side from a small tablet on, like the rest of the site. */
@media (min-width: 640px) {
  .site .picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  /* The screen beside the words. */
  .site .walk-step {
    grid-template-columns: var(--shot) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    padding: 24px 28px 24px 24px;
  }

  .site .walk.is-stepping .walk-step {
    align-content: center;
  }

  .site .walk-done {
    padding-inline: 34px;
  }

  .site .walk-nav {
    grid-template-columns: repeat(2, 200px);
    justify-content: space-between;
  }

  .site .answer {
    padding-left: 58px;
  }

  .site .faq:not(.how) .answer {
    padding-left: 0;
  }

  .site .other {
    padding: 32px 36px 34px;
  }
}

/* On paper: every step under the other, without the frame of the site. */
@media print {
  .site .top,
  .site .foot,
  .site .crumb,
  .site .roles,
  .site .fork,
  .site .walk-top,
  .site .walk-nav,
  .site .walk-more,
  .site .guide-end,
  .site .consent {
    display: none;
  }

  .site .walk.is-stepping .walk-stack,
  .site .walk.is-stepping .walk-steps {
    gap: 12px;
  }

  .site .walk.is-stepping .walk-stack > *,
  .site .walk.is-stepping .walk-step {
    grid-area: auto;
  }

  .site .walk.is-stepping .walk-step:not(.is-current),
  .site .walk.is-stepping .walk-done:not(.is-current) {
    visibility: visible;
  }

  .site .walk-step {
    break-inside: avoid;
  }

  .site .ring {
    animation: none;
  }
}

/* The menu in a row: from the width at which it fits in every language. */
@media (min-width: 1060px) {
  .site .menu-wide {
    display: flex;
  }

  .site .menu-narrow {
    display: none;
  }
}

/* The name of the language instead of its code. */
@media (min-width: 900px) {
  .site .lang-name {
    display: inline;
  }

  .site .lang-code {
    display: none;
  }
}

/* The site's main breakpoint: side by side from a small tablet on. */
@media (min-width: 640px) {
  .site .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  /* Number, title, text and screen line up across the three steps. */
  .site .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    gap: 10px clamp(20px, 3.4vw, 44px);
  }

  .site .step {
    grid-row: span 4;
    grid-template-rows: subgrid;
  }

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

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

  .site .method {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }

  .site .foot-in {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px 32px;
  }

  .site .foot .drop,
  .site .foot-links {
    justify-self: end;
  }

  /* Name and language, then the stores, then copyright and links. */
  .site .foot .stores {
    grid-column: 1 / -1;
  }

  .site .foot-links {
    grid-area: 3 / 2;
  }

  .site .foot-rights {
    grid-area: 3 / 1;
  }

  .site .foot .drop ul {
    left: auto;
    right: 0;
  }
}

/* A phone on its side: the bar would take too much of the little height. */
@media (max-height: 480px) {
  .site .top {
    position: static;
  }

  .site [id] {
    scroll-margin-top: 20px;
  }

  .site .section[id],
  .site main[id] {
    scroll-margin-top: 0;
  }
}
