/* Kid Doodle — kiddoodle.app
   Design language v3: "coloring book, grown up".
   Palette from the app itself: sunshine yellow, crayon quartet (red/blue/green/purple),
   deep ink for parent-grade contrast. Signature moves: scalloped page edges between
   sections, crayon-tip step markers, washi-taped hero artwork, crayon-coded sections.
   Fredoka display / Nunito body — locales override the two font tokens only. */

:root {
  --paper: #FFFDF6;
  --paper-deep: #FFF6DC;
  --ink: #2B2650;
  --ink-deep: #201C3E;
  --ink-soft: #645E8A;
  --sun: #FFC933;
  --sun-mid: #FFD45C;
  --sun-deep: #E9A100;
  --sun-soft: #FFF3C7;
  --red: #F2536B;
  --red-deep: #CE3B54;
  --red-soft: #FDEBEE;
  --blue: #3D8BD4;
  --blue-deep: #2E6DA9;
  --blue-soft: #EAF3FB;
  --green: #3F9E57;
  --green-deep: #2E7C44;
  --green-soft: #E9F5EA;
  --purple: #8C63D6;
  --purple-deep: #6E46B8;
  --purple-soft: #F1EAFD;
  --white: #FFFFFF;
  --radius: 24px;
  --shadow-card: 0 8px 26px rgba(43, 38, 80, 0.09);
  --shadow-pop: 0 16px 40px rgba(43, 38, 80, 0.16);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.4vw, 3.5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Crayon swatch — the signature mark. The key words in the headline are
   "colored in": a hand-cut, slightly tilted patch behind the text. The old
   inline underline SVGs are retired (they collided with the next line). */
/* The headline (not the span) carries the stacking context, so the pill
   paints above the section background but below every line of headline text —
   a wrapped line can never disappear behind it. */
.hero h1, .cta-band h2 { position: relative; z-index: 0; }
.crayon {
  position: relative;
  white-space: nowrap;
  color: var(--white);
  padding: 0.03em 0.3em 0.06em;
  margin-inline: 0.02em;
}
.crayon::before {
  content: "";
  position: absolute;
  inset: 0.07em 0 0.04em;
  background: var(--red);
  border-radius: 999px;
  z-index: -1;
}
.cta-band .crayon { color: var(--ink); }
.cta-band .crayon::before { background: var(--sun); }

/* Scalloped page edge — tinted sections tear away like a coloring-book page.
   Each section sets --sc to its own background color. */
.hero, .shots, .guides, .article-hero, .related, .cta-band { position: relative; }
.hero::after, .shots::after, .guides::after, .article-hero::after, .related::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -14px;
  height: 15px;
  background-image: radial-gradient(circle at 15px 0, var(--sc, var(--sun-mid)) 13.5px, rgba(255, 255, 255, 0) 14.5px);
  background-size: 30px 15px;
  background-repeat: repeat-x;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 38, 80, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  margin-right: auto;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover { color: var(--ink); background: var(--sun-soft); }
.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 10px 20px !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--red) !important; transform: translateY(-1px); }
@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
/* Sunshine field with the app's own faint flower doodles — the site opens
   inside Kid Doodle's art style. */
.hero {
  --sc: var(--sun-mid);
  background-color: var(--sun-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.28'%3E%3Cg transform='translate(30 34)'%3E%3Ccircle cx='0' cy='-10' r='6.5'/%3E%3Ccircle cx='10' cy='0' r='6.5'/%3E%3Ccircle cx='0' cy='10' r='6.5'/%3E%3Ccircle cx='-10' cy='0' r='6.5'/%3E%3C/g%3E%3Ccircle cx='30' cy='34' r='4' fill='%23FFD45C'/%3E%3Cg transform='translate(122 116)'%3E%3Ccircle cx='0' cy='-10' r='6.5'/%3E%3Ccircle cx='10' cy='0' r='6.5'/%3E%3Ccircle cx='0' cy='10' r='6.5'/%3E%3Ccircle cx='-10' cy='0' r='6.5'/%3E%3C/g%3E%3Ccircle cx='122' cy='116' r='4' fill='%23FFD45C'/%3E%3Cpath d='M132 30l3.2 8.8 8.8 3.2-8.8 3.2-3.2 8.8-3.2-8.8-8.8-3.2 8.8-3.2z'/%3E%3Cpath d='M52 128l2.4 6.6 6.6 2.4-6.6 2.4-2.4 6.6-2.4-6.6-6.6-2.4 6.6-2.4z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 170px 170px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 52px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; padding-bottom: 72px; }
}
.hero h1 { margin-bottom: 18px; animation: rise 0.55s cubic-bezier(0.22, 0.9, 0.35, 1) both; }
.hero .lede {
  font-size: 1.18rem;
  font-weight: 600;
  color: #453F70;
  max-width: 46ch;
  margin-bottom: 28px;
  animation: rise 0.55s cubic-bezier(0.22, 0.9, 0.35, 1) 0.08s both;
}
.hero-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  animation: rise 0.55s cubic-bezier(0.22, 0.9, 0.35, 1) 0.16s both;
}
/* App Store rating lockup — big stars anchor the left, a soft rule, then the
   facts wrap into two short lines. Sized to sit beside the store badge. */
.rating-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  background: var(--white);
  border-radius: 15px;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(43, 38, 80, 0.10);
}
.rating-note .stars {
  color: #F09A00;
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: 1px;
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline-end: 12px;
  border-inline-end: 2px solid var(--sun-soft);
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  animation: rise 0.55s cubic-bezier(0.22, 0.9, 0.35, 1) 0.22s both;
}
.trust-chips li {
  background: var(--white);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(43, 38, 80, 0.10);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-chips .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* Fridge-art framing: white mat, a gentle lean, two strips of washi tape. */
.hero-art { position: relative; animation: rise 0.6s cubic-bezier(0.22, 0.9, 0.35, 1) 0.12s both; }
.hero-art img {
  border-radius: 18px;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-pop);
  transform: rotate(-1.2deg);
}
.hero-art::before, .hero-art::after {
  content: "";
  position: absolute;
  width: 108px;
  height: 32px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 6px rgba(43, 38, 80, 0.14);
  z-index: 1;
}
.hero-art::before { top: -15px; left: 9%; transform: rotate(-5deg); }
.hero-art::after { bottom: -13px; right: 7%; transform: rotate(4deg); }

/* App Store badge — real box model: controllable padding, gap and optical spacing */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 11px;
  background: #111;
  color: #fff;
  border-radius: 15px;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 26px rgba(17, 17, 17, 0.28); }
.store-badge:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero .store-badge:focus-visible, .cta-band .store-badge:focus-visible { outline-color: var(--ink); }
.store-badge__logo { height: 27px; width: auto; flex: none; display: block; }
.store-badge__text { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.store-badge__eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; opacity: 0.9; }
.store-badge__label { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head .eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--eb-c, #A07500);
  background: var(--eb-bg, var(--sun-soft));
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.section-head p { color: var(--ink-soft); font-weight: 600; margin-top: 10px; }

/* ---------- Download strip ---------- */
.download-strip { padding: 52px 0 20px; }
.download-card {
  background: var(--white);
  border: 3px dashed var(--sun-deep);
  border-radius: var(--radius);
  padding: 32px 38px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}
.download-card img.icon { width: 84px; height: 84px; border-radius: 20px; flex: none; }
.download-card .facts { flex: 1 1 320px; }
.download-card .facts strong { font-family: var(--font-display); font-size: 1.3rem; display: block; margin-bottom: 4px; }
.download-card .facts span { color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; }

/* ---------- Screenshots ---------- */
.shots { --sc: var(--purple-soft); --eb-bg: var(--white); --eb-c: var(--purple-deep); background: var(--purple-soft); }
.shots-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 540px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
}
.shot {
  scroll-snap-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 10px 10px 15px;
  box-shadow: var(--shadow-card);
}
.shot img { border-radius: 13px; }
.shot figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  padding-top: 12px;
  font-size: 1.02rem;
}
.shots-hint { text-align: center; color: var(--ink-soft); font-weight: 700; font-size: 0.9rem; }

/* ---------- How it works ---------- */
#how-it-works { --eb-bg: var(--blue-soft); --eb-c: var(--blue-deep); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 46px 22px;
  counter-reset: step;
  list-style: none;
  padding-top: 16px;
}
.steps li {
  background: var(--white);
  border-radius: 20px;
  padding: 34px 24px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}
/* Four steps, four crayons from the box — the number rides on the crayon tip. */
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -30px;
  left: 22px;
  width: 40px;
  height: 58px;
  clip-path: polygon(50% 0%, 73% 11%, 90% 30%, 90% 100%, 10% 100%, 10% 30%, 27% 11%);
  background-color: var(--chip, var(--sun));
  background-image: linear-gradient(rgba(255, 255, 255, 0) 0 40%, rgba(255, 255, 255, 0.3) 40% 52%, rgba(255, 255, 255, 0) 52%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}
.steps h3 { margin: 8px 0 8px; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }
.steps li:nth-child(1) { --chip: var(--red); }
.steps li:nth-child(2) { --chip: var(--blue); }
.steps li:nth-child(3) { --chip: var(--green); }
.steps li:nth-child(4) { --chip: var(--purple); }

/* ---------- Guides ---------- */
.guides { --sc: var(--green-soft); --eb-bg: var(--white); --eb-c: var(--green-deep); background: var(--green-soft); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}
.guide-card {
  background: var(--white);
  border-radius: 18px;
  padding: 24px 22px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 6px solid var(--edge, var(--sun));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.guide-card .g-emoji { font-size: 1.7rem; }
.guide-card h3 { font-size: 1.12rem; }
.guide-card p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }
.guide-card .g-more { font-weight: 800; font-size: 0.9rem; color: var(--blue-deep); }
.guide-card:nth-child(4n+1) { --edge: var(--red); }
.guide-card:nth-child(4n+2) { --edge: var(--blue); }
.guide-card:nth-child(4n+3) { --edge: var(--green); }
.guide-card:nth-child(4n+4) { --edge: var(--purple); }

/* ---------- FAQ ---------- */
/* Center the entire FAQ section: eyebrow, heading and list as one block */
#faq { --eb-bg: var(--red-soft); --eb-c: var(--red-deep); }
#faq .section-head { max-width: 780px; margin-inline: auto; text-align: center; }
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-list details {
  background: var(--white);
  border-radius: 16px;
  border: 1.5px solid rgba(43, 38, 80, 0.08);
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 18px 60px 18px 22px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sun-soft);
  color: #A07500;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-list details[open] summary::after { content: "–"; background: var(--sun); color: var(--ink); }
.faq-list .faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-weight: 600; }
.faq-list .faq-a a { font-weight: 800; }

/* ---------- CTA band ---------- */
/* The dark bookend: one high-contrast closing moment, white badge on ink. */
.cta-band { background: var(--ink); color: var(--white); text-align: center; }
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 15px;
  background-image: radial-gradient(circle at 15px 0, var(--paper) 13.5px, rgba(255, 255, 255, 0) 14.5px);
  background-size: 30px 15px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.cta-band .wrap { padding-top: 96px; padding-bottom: 84px; }
.cta-band img.icon {
  width: 96px; height: 96px; border-radius: 24px;
  margin: 0 auto 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  transform: rotate(-3deg);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { font-weight: 700; color: #CFCAEA; max-width: 52ch; margin: 0 auto 30px; }
.cta-band .store-badge { background: var(--white); color: #111; padding: 12px 26px 13px; gap: 13px; }
.cta-band .store-badge:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.cta-band .store-badge__logo { height: 31px; }
.cta-band .store-badge__label { font-size: 1.5rem; }
.cta-band .store-badge__eyebrow { font-size: 0.78rem; }
.cta-small { display: block; margin-top: 18px; font-size: 0.88rem; font-weight: 700; color: #B9B3DC; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #C6C0E4; padding: 52px 0 40px; font-size: 0.95rem; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 34px;
}
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #C6C0E4; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; font-size: 0.85rem; color: #948DC0; text-align: center; }

/* ---------- Guide article pages ---------- */
.article-hero {
  --sc: var(--sun-mid);
  background-color: var(--sun-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.28'%3E%3Cg transform='translate(30 34)'%3E%3Ccircle cx='0' cy='-10' r='6.5'/%3E%3Ccircle cx='10' cy='0' r='6.5'/%3E%3Ccircle cx='0' cy='10' r='6.5'/%3E%3Ccircle cx='-10' cy='0' r='6.5'/%3E%3C/g%3E%3Ccircle cx='30' cy='34' r='4' fill='%23FFD45C'/%3E%3Cg transform='translate(122 116)'%3E%3Ccircle cx='0' cy='-10' r='6.5'/%3E%3Ccircle cx='10' cy='0' r='6.5'/%3E%3Ccircle cx='0' cy='10' r='6.5'/%3E%3Ccircle cx='-10' cy='0' r='6.5'/%3E%3C/g%3E%3Ccircle cx='122' cy='116' r='4' fill='%23FFD45C'/%3E%3Cpath d='M132 30l3.2 8.8 8.8 3.2-8.8 3.2-3.2 8.8-3.2-8.8-8.8-3.2 8.8-3.2z'/%3E%3Cpath d='M52 128l2.4 6.6 6.6 2.4-6.6 2.4-2.4 6.6-2.4-6.6-6.6-2.4 6.6-2.4z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 170px 170px;
}
.article-hero .wrap { padding-top: 44px; padding-bottom: 64px; max-width: 860px; }
.breadcrumbs { font-size: 0.88rem; font-weight: 800; margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink); }
.breadcrumbs span { color: rgba(43, 38, 80, 0.65); }
.article-hero h1 { max-width: 22ch; }
.article-hero .meta { margin-top: 14px; font-weight: 800; font-size: 0.9rem; color: rgba(43, 38, 80, 0.72); }

.article { max-width: 760px; margin: 0 auto; padding: 60px 24px 72px; }
.article > p, .article li { color: #47416E; }
.article .lead { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.article h2 { margin: 44px 0 14px; }
.article h3 { margin: 30px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article img { border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow-card); margin: 26px 0; }
.article .answer-box {
  background: var(--sun-soft);
  border-left: 6px solid var(--sun-deep);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 22px 0 28px;
  font-weight: 700;
  color: var(--ink);
}
.article .steps-inline {
  background: var(--purple-soft);
  border-radius: var(--radius);
  padding: 26px 28px 22px;
  margin: 24px 0;
}
.article .steps-inline h3 { margin-top: 0; }
.article .steps-inline ol { margin-left: 20px; }

.cta-card {
  background: var(--white);
  border: 3px dashed var(--sun-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 30px;
  margin: 40px 0;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.cta-card img { width: 72px; height: 72px; border-radius: 18px; border: none; box-shadow: none; margin: 0; flex: none; }
.cta-card .cta-copy { flex: 1 1 280px; }
.cta-card .cta-copy strong { font-family: var(--font-display); font-size: 1.15rem; display: block; margin-bottom: 4px; }
.cta-card .cta-copy span { color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; }

.related { --sc: var(--green-soft); background: var(--green-soft); padding: 56px 0 64px; }
.related h2 { margin-bottom: 24px; }
.related::after { display: none; } /* footer follows immediately — keep that edge straight */

/* ---------- Footer language switcher ---------- */
.footer-langs {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 4px;
  margin-top: 4px;
  font-size: 0.85rem;
}
.footer-langs strong { color: var(--white); margin-right: 8px; }
.footer-langs ul { list-style: none; display: inline; padding: 0; }
.footer-langs li { display: inline-block; margin: 0 10px 8px 0; }
[dir="rtl"] .footer-langs strong { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .footer-langs li { margin: 0 0 8px 10px; }

/* ---------- RTL (Hebrew, Arabic) ---------- */
[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .steps li::before { left: auto; right: 22px; }
[dir="rtl"] .guide-card { border-left: none; border-right: 6px solid var(--edge, var(--sun)); }
[dir="rtl"] .faq-list summary { padding: 18px 22px 18px 60px; }
[dir="rtl"] .faq-list summary::after { right: auto; left: 18px; }
[dir="rtl"] .article ul, [dir="rtl"] .article ol { margin: 0 24px 18px 0; }
[dir="rtl"] .article .steps-inline ol { margin-left: 0; margin-right: 20px; }
[dir="rtl"] .article .answer-box { border-left: none; border-right: 6px solid var(--sun-deep); }
