/* ===========================================================================
   MasLamPen — website styles
   Look & feel taken straight from the app's logo: a warm cream "paper"
   world, thick dark-ink outlines, rounded everything, and the app's real
   theme accent colours (coral / sunny / mint / sky / grape) as the play.
   Type is Fredoka — the app's own UI font.
   =========================================================================== */

@font-face {
  font-family: 'Fredoka';
  src: url('assets/fonts/Fredoka.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('assets/fonts/Caveat.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Brand palette — from assets/logo/logo.svg */
  --ink: #3A3548;         /* the outline dark */
  --ink-soft: #5b5470;
  --paper: #FFF6E9;       /* the badge cream */
  --paper-2: #FFEFD6;
  --cream-card: #FFFDF8;

  /* The app's real theme accents */
  --coral: #FF7C6B;       /* logo tip / peachy */
  --sunny: #FFD154;       /* logo band / sunshine */
  --mint: #5FD6A0;        /* logo swoosh / forest */
  --sky: #6C9EFF;         /* logo body / midnight accent */
  --grape: #9F7BFF;       /* galaxy */
  --berry: #E8508D;       /* berry / candy */
  --blush: #FFB3A6;

  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 26px;
  --radius-sm: 16px;

  --maxw: 1120px;
  --font: 'Fredoka', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Fredoka', cursive;

  color-scheme: light;
}

* { box-sizing: border-box; }

/* Fluid base size — every rem-based value scales gently with the viewport,
   so the whole page breathes down to a phone without per-element tweaks. */
html { scroll-behavior: smooth; font-size: clamp(15px, 0.7rem + 0.6vw, 17.5px); }

/* Anchored sections land just below the sticky nav, never hidden under it.
   (The JS in script.js does the same with an offset; this is the fallback.) */
:target { scroll-margin-top: 88px; }
section[id], main[id], [id^="get"], [id^="price"] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 15% -5%, #FFF0DA 0%, transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, #FDE8F2 0%, transparent 55%),
    var(--paper);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

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

/* --- reusable bits ------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 22px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px;
  background: var(--cream-card);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600; font-size: 1.05rem;
  text-decoration: none; cursor: pointer;
  background: var(--cream-card); color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--primary { background: var(--sunny); }
.btn--sky { background: var(--sky); color: #10233f; }

.section { padding: clamp(52px, 8vw, 78px) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 44px); }
.section__head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  margin: 12px 0 10px; line-height: 1.1;
}
.section__head p { font-size: 1.12rem; color: var(--ink-soft); margin: 0; }
.eyebrow {
  font-family: var(--font-hand);
  font-size: 1.7rem; color: var(--coral); font-weight: 700;
  transform: rotate(-3deg); display: inline-block;
}

/* thick-outline card */
.card {
  background: var(--cream-card);
  border: 3.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ========================================================================= */
/* Nav                                                                        */
/* ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(6px);
  background: rgba(255, 246, 233, 0.82);
  border-bottom: 3px solid var(--ink);
}
.nav__in { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2.5px solid var(--ink); }
.brand span { font-size: 1.28rem; letter-spacing: .2px; }
.brand b { color: var(--coral); }

/* the link row (also the dropdown panel on mobile) */
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 600; white-space: nowrap;
  padding: 9px 13px; border-radius: 999px; border: 2.5px solid transparent;
  transition: background .12s ease, border-color .12s ease;
}
.nav__links a:not(.nav__getapp):hover { border-color: var(--ink); background: var(--cream-card); }
.nav__getapp { margin-left: 8px; padding: 11px 20px; font-size: 1rem; white-space: nowrap; }

/* hamburger — hidden on desktop */
.nav__toggle {
  display: none; margin-left: auto;
  width: 46px; height: 42px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: var(--cream-card); border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.nav__toggle span { width: 22px; height: 3px; background: var(--ink); border-radius: 3px;
  transition: transform .2s ease, opacity .2s ease; }
.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    margin: 0; padding: 14px clamp(16px, 4vw, 22px) 18px;
    background: var(--paper); border-bottom: 3px solid var(--ink);
    box-shadow: 0 14px 24px rgba(58, 53, 72, .14);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: 12px; }
  .nav__links a:not(.nav__getapp):hover { border-color: var(--ink); }
  .nav__getapp { margin: 6px 0 0; justify-content: center; }
}
@media (max-width: 380px) { .brand span { font-size: 1.12rem; } }

/* ========================================================================= */
/* Hero                                                                       */
/* ========================================================================= */
.hero { padding: 56px 0 40px; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem); line-height: 1.02; margin: 16px 0 6px;
  letter-spacing: -0.5px;
}
.hero h1 .pen { color: var(--coral); }
/* Hand-drawn underline that hugs just the word "artist" and scales with it,
   on every screen size — an inline SVG squiggle used as a background. */
.hero h1 .hl {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 34 3, 86 3, 117 8' fill='none' stroke='%23FF7C6B' stroke-width='5.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.30em;
  padding-bottom: 0.14em;
}
.hero__lead { font-size: 1.22rem; color: var(--ink-soft); margin: 12px 0 26px; max-width: 30ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* the acronym ribbon */
.acronym { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; }
.acronym__word { display: inline-flex; align-items: baseline; gap: 3px; font-weight: 600; }
.acronym__word b {
  font-size: 1.35rem; color: var(--ink);
  background: var(--sunny);
  border: 2.5px solid var(--ink); border-radius: 9px;
  padding: 0 7px; box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-2deg);
}
.acronym__word:nth-child(2n) b { background: var(--mint); transform: rotate(2deg); }
.acronym__word:nth-child(3n) b { background: var(--blush); }
.acronym__word:nth-child(5n) b { background: var(--sky); }

/* hero art: the logo in a spotlight with floating stickers */
.hero__art { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero__badge {
  width: min(360px, 78%); aspect-ratio: 1; border-radius: 30%;
  filter: drop-shadow(10px 12px 0 rgba(58,53,72,.18));
  animation: bob 5s ease-in-out infinite;
}
.sticker {
  position: absolute; font-size: 2.2rem;
  background: var(--cream-card); border: 3px solid var(--ink);
  width: 62px; height: 62px; border-radius: 18px;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  animation: bob 4s ease-in-out infinite;
}
.sticker.s1 { top: 4%; left: 4%; animation-delay: .2s; transform: rotate(-8deg); }
.sticker.s2 { top: 10%; right: 2%; animation-delay: .8s; transform: rotate(9deg); }
.sticker.s3 { bottom: 12%; left: -2%; animation-delay: 1.3s; transform: rotate(6deg); }
.sticker.s4 { bottom: 4%; right: 8%; animation-delay: .5s; transform: rotate(-6deg); }

@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .acronym { justify-content: center; }
  .hero__art { order: -1; min-height: 260px; }
}


/* ========================================================================= */
/* Modes                                                                      */
/* ========================================================================= */
.modes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mode { padding: 26px 22px; text-align: left; position: relative; overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease; }
.mode:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.mode__emoji {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 2rem; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 16px;
}
.mode h3 { margin: 0 0 6px; font-size: 1.4rem; }
.mode p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.mode.draw   .mode__emoji { background: var(--coral); }
.mode.color  .mode__emoji { background: var(--sunny); }
.mode.animate .mode__emoji { background: var(--mint); }
.mode.movie  .mode__emoji { background: var(--sky); }
@media (max-width: 900px) { .modes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .modes__grid { grid-template-columns: 1fr; } }

/* ========================================================================= */
/* Screenshots — CSS device frames with drop-in placeholders                  */
/* ========================================================================= */
.shots__hint { text-align: center; margin: 30px auto 0; color: var(--ink-soft); font-weight: 600; }
.shots__hint code {
  background: var(--cream-card); border: 2px solid var(--ink); border-radius: 7px;
  padding: 2px 7px; font-size: .86em;
}

/* the screenshot slot itself: an <img> over a styled "empty screen" placeholder */
.shot { position: relative; overflow: hidden; background: var(--cream-card); border-radius: 6px; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.shot__ph {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-content: center; align-content: center; text-align: center; gap: 5px;
  padding: 18px;
  color: var(--ink);
  background:
    repeating-linear-gradient(45deg, #FFFDF8 0 14px, var(--paper-2) 14px 28px);
  border: 3px dashed var(--ink); border-radius: 6px;
}
.shot__cam { font-size: 2.1rem; }
.shot__ph b { font-size: 1.02rem; }
.shot__ph small { color: var(--ink-soft); font-size: .82rem; max-width: 30ch; margin: 0 auto; }
.shot__ph code {
  font-size: .7rem; margin-top: 6px; word-break: break-all;
  background: var(--cream-card); border: 2px solid var(--ink); border-radius: 6px; padding: 3px 7px;
}

/* aspect ratios per device */
.shot--wide  { aspect-ratio: 16 / 10; }
.shot--tab   { aspect-ratio: 4 / 3; }
.shot--phone { aspect-ratio: 9 / 19; border-radius: 22px; }

/* dark "bezel" screens, in the brand ink */
.laptop { max-width: 720px; margin: 0 auto 34px; }
.laptop__screen {
  background: var(--ink); border: 4px solid var(--ink); border-radius: 18px; padding: 12px;
  box-shadow: var(--shadow);
}
.laptop__hinge {
  width: 15%; height: 9px; margin: 0 auto; background: var(--ink);
  border-radius: 0 0 8px 8px;
}
.laptop__base {
  /* a touch wider than the lid, but capped so it never pushes past the
     viewport on a narrow screen */
  width: min(110%, 100vw - 24px); height: 15px; margin: 0 auto;
  position: relative; left: 50%; transform: translateX(-50%);
  background: var(--cream-card); border: 4px solid var(--ink); border-top: none;
  border-radius: 0 0 16px 16px; box-shadow: var(--shadow-sm);
}

.devices-row { display: flex; gap: 34px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }

.tablet { flex: 1 1 360px; max-width: 430px; }
.tablet__screen {
  background: var(--ink); border: 4px solid var(--ink); border-radius: 26px; padding: 14px;
  box-shadow: var(--shadow);
}

.phone { flex: 0 1 214px; max-width: 214px; }
.phone__screen {
  position: relative; background: var(--ink); border: 4px solid var(--ink);
  border-radius: 34px; padding: 10px; box-shadow: var(--shadow);
}
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 15px; background: var(--ink); border-radius: 0 0 12px 12px; z-index: 4;
}

@media (max-width: 480px) {
  .phone { flex-basis: 190px; }
  .shot__ph code { display: none; }
}

/* ========================================================================= */
/* Features                                                                   */
/* ========================================================================= */
.features { background:
  linear-gradient(0deg, rgba(255,209,84,.10), rgba(255,209,84,.10)); }
.feat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 24px; }
.feat .ic { font-size: 1.9rem; margin-bottom: 10px; }
.feat h3 { margin: 0 0 6px; font-size: 1.18rem; }
.feat p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 820px) { .feat__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feat__grid { grid-template-columns: 1fr; } }

/* ========================================================================= */
/* Themes + languages                                                         */
/* ========================================================================= */
.themes__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.swatch {
  width: 92px; text-align: center; cursor: default;
}
.swatch__dot {
  width: 74px; height: 74px; border-radius: 22px; margin: 0 auto 8px;
  border: 3.5px solid var(--ink); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; font-size: 1.4rem;
  transition: transform .12s ease;
}
.swatch:hover .swatch__dot { transform: translateY(-5px) rotate(-4deg); }
.swatch small { font-weight: 600; color: var(--ink-soft); }

.langs { margin-top: 40px; text-align: center; }
.langs__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.lang { padding: 8px 15px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--cream-card); font-weight: 600; box-shadow: 2px 2px 0 var(--ink); }

/* ========================================================================= */
/* Formats strip                                                              */
/* ========================================================================= */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formats .card { padding: 24px 26px; }
.formats h3 { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border: 2.5px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: .86rem; background: var(--paper-2); }
@media (max-width: 720px) { .formats { grid-template-columns: 1fr; } }

/* ========================================================================= */
/* Trust / safe-for-kids                                                      */
/* ========================================================================= */
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust .card { padding: 22px; text-align: center; }
.trust .big { font-size: 2rem; margin-bottom: 6px; }
.trust h3 { margin: 0 0 4px; font-size: 1.05rem; }
.trust p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 820px) { .trust__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .trust__grid { grid-template-columns: 1fr; } }

/* ========================================================================= */
/* Price                                                                      */
/* ========================================================================= */
.price__card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 8px 40px;
  padding: 36px; max-width: 940px; margin: 0 auto; align-items: center;
}
.price__left { text-align: center; padding: 6px 10px; }
.price__tag { display: inline-flex; align-items: flex-start; justify-content: center;
  line-height: .9; color: var(--ink); }
.price__cur { font-size: 2.4rem; font-weight: 600; margin-top: 8px; }
.price__num { font-size: 5.4rem; font-weight: 700; letter-spacing: -2px; }
.price__dec { font-size: 2.8rem; }
.price__once {
  display: inline-block; margin: 6px 0 0;
  background: var(--sunny); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 5px 15px; font-weight: 700; box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-2deg);
}
.price__sub { color: var(--ink-soft); font-size: 1.02rem; margin: 16px auto 22px; max-width: 34ch; }
/* the store buttons, stacked in the price card's left column */
.price__stores { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.price__stores .btn { width: 100%; justify-content: center; }
.price__fine { margin: 12px 0 0; font-size: .86rem; color: var(--ink-soft); }
.price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price__list li {
  padding: 12px 16px; border: 3px solid var(--ink); border-radius: var(--radius-sm);
  background: var(--paper-2); box-shadow: 2px 2px 0 var(--ink);
  font-size: .98rem;
}
.price__list li b { font-weight: 700; }
.price__pitch {
  text-align: center; max-width: 660px; margin: 34px auto 0;
  font-size: 1.18rem; color: var(--ink-soft);
}
.price__pitch b { color: var(--ink); }
.price { background:
  linear-gradient(0deg, rgba(95,214,160,.10), rgba(95,214,160,.10)); }
@media (max-width: 760px) {
  .price__card { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
}

/* ========================================================================= */
/* Footer                                                                     */
/* ========================================================================= */
.footer { border-top: 3px solid var(--ink); background: var(--paper-2); padding: 34px 0; }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer .brand span { font-size: 1.1rem; }
.footer small { color: var(--ink-soft); }
.footer__mean { font-family: var(--font-hand); font-size: 1.25rem; color: var(--coral); }
@media (max-width: 640px) {
  .footer__in { justify-content: center; text-align: center; }
}

/* ========================================================================= */
/* Small-phone polish                                                         */
/* ========================================================================= */
@media (max-width: 400px) {
  /* stack the hero buttons full-width; align-items:stretch does the
     widening, so the nav button is untouched */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .price__num { font-size: 4.4rem; }
  .swatch { width: 78px; }
  .swatch__dot { width: 64px; height: 64px; }
}

/* ========================================================================= */
/* Generated-site additions (website/_build/build.py)                         */
/* ========================================================================= */

/* keyboard users: a visible way past the nav, and a visible focus ring */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--sunny); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.footer .brand b { color: var(--coral); }

/* official store badges, unmodified */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.badge { display: inline-flex; line-height: 0; border-radius: 10px; }
.badge img { height: 48px; width: auto; }
.badge--soon { opacity: .55; }
.badges__soon { margin: 10px 0 0; font-weight: 600; color: var(--ink); }

/* a row of real phone screens under the device frames */
.strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 46px;
}
.strip__item { margin: 0; text-align: center; }
.strip__item img {
  display: block; width: 100%; height: auto;
  border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm); background: #fff;
}
.strip__item figcaption { margin-top: 10px; font-size: .86rem; color: var(--ink-soft); line-height: 1.3; }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .strip { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.langs__h { font-size: 1.6rem; margin: 8px 0; }
.langs__p { color: var(--ink-soft); margin: 0; }
.trust__more { text-align: center; margin: 26px 0 0; font-weight: 600; }
.trust__more a { color: var(--ink); }

/* questions parents ask */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.qa {
  padding: 18px 22px; border: 3px solid var(--ink); border-radius: var(--radius-sm);
  background: var(--cream-card); box-shadow: var(--shadow-sm);
}
.qa dt { font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.qa dd { margin: 0; color: var(--ink-soft); line-height: 1.5; }

/* footer links and fine print */
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__fine { display: grid; gap: 6px; margin-top: 18px; }
.footer__fine small { font-size: .8rem; }

/* privacy, support, legal and accessibility pages */
.doc { padding: 46px 0 70px; }
.doc__in { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); margin: 0 0 10px; line-height: 1.1; }
.doc h2 { font-size: 1.35rem; margin: 34px 0 8px; }
.doc h3 { font-size: 1.08rem; margin: 22px 0 4px; }
.doc p, .doc li { line-height: 1.6; color: var(--ink); }
.doc ul { padding-left: 1.2rem; }
.doc a { color: var(--ink); font-weight: 600; }
.doc__lead { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 6px; }
.doc__meta { font-size: .9rem; color: var(--ink-soft); }
.desk { margin: 26px 0 10px; padding: 22px 24px; }
.desk h2 { margin-top: 0; }
.desk__mail { font-size: 1.25rem; }
.desk__addr { color: var(--ink-soft); }
.notfound { text-align: center; }
.notfound .doc__in { display: grid; justify-items: center; gap: 8px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
