/* Pawdwell marketing site.
 *
 * Design intent: warm, calm, trustworthy — the opposite of the neon "AI app"
 * look this category defaults to. A desktop pet lives next to your work, so the
 * site should feel like a room you would not mind spending eight hours in.
 *
 * Type: one family (system UI stack) with a real scale, not ad-hoc sizes.
 * Colour: a warm paper base, one accent (clay), and dark ink for text — three
 * values do all the work, so nothing competes with the product screenshots.
 * Layout: 8px spacing scale, single 1120px column, generous vertical rhythm.
 */

/* ---------- tokens ---------- */
:root {
  /* Warm neutrals. Paper is the page, Shell is a raised surface. */
  --paper: #faf7f2;
  --shell: #ffffff;
  --sand: #f2ece2;
  --line: #e6ddd0;

  /* Ink scale: three steps, all readable on paper. */
  --ink: #1f1a16;
  --ink-2: #5b544c;
  /* Was #8d8478 (3.45:1 on paper, 3.14:1 on sand). This token carries metadata
     at body size — dates, footnotes, form hints — so it needs the 4.5:1
     floor, not the 3:1 large-text one. Now 5.28:1 / 4.80:1. */
  --ink-3: #6f6659;

  /* One accent. Clay reads warm and human; a saturated purple/blue would read
     "SaaS dashboard".
     Deepened from #c5613a: as link text on paper it was 3.82:1, under the
     4.5:1 body floor, and white text *on* it was 4.08:1. #b4552e clears both
     (4.59:1 as text, 4.91:1 behind white), so one value serves buttons and
     links without a second "readable" variant. */
  --clay: #b4552e;
  --clay-deep: #a9491f;
  --clay-wash: #fdf0e9;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  /* 8px scale. */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 112px;

  --maxw: 1120px;

  /* One shadow recipe, used sparingly. */
  --shadow: 0 1px 2px rgba(31, 26, 22, 0.04), 0 8px 24px rgba(31, 26, 22, 0.06);
  --shadow-lift: 0 2px 4px rgba(31, 26, 22, 0.06), 0 16px 40px rgba(31, 26, 22, 0.09);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--clay); text-decoration: none; }
a:hover { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Keyboard focus. The page had no focus style at all, so tabbing through it
   left no visible indicator anywhere — a WCAG 2.4.7 failure and a plain
   usability problem for anyone not using a mouse. :focus-visible keeps the
   ring off mouse clicks, where the hover state already says "you are here". */
:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
}
/* On the dark CTA band the clay ring would disappear into the background. */
.cta-band :focus-visible { outline-color: var(--paper); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }

/* Skip link: off-screen until it takes focus, then a real, readable target.
   A visually-hidden element that stays hidden when focused is worse than no
   skip link at all, so this one becomes visible on :focus. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--paper); text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--clay);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1;
}

.nav { display: flex; align-items: center; gap: var(--s3); }
.nav a {
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- motion ---------- */
/* One duration set, same reasoning as the app: scattered timings read as an
   assembled page. Things the user did are fast; things the page did are slow
   enough to be perceived as motion rather than a jump. */
:root {
  --t-fast: 160ms;
  --t-base: 240ms;
  --t-slow: 380ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scroll reveal. Elements start slightly low and transparent, then settle.
   Only applied when JS is present to add .reveal-ready: without the script the
   content must never be stuck invisible, which is the classic way this pattern
   breaks for users with JS disabled or a slow connection. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Stagger children of a group (feature cards, pricing, steps). Set via
   --i in the markup or by the script; capped in the script at 6 so a long
   list does not take two seconds to appear. */
.reveal-ready .reveal[style*="--i"] {
  transition-delay: calc(var(--i) * 60ms);
}

/* The hero is above the fold, so it animates on load rather than on scroll. */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero .eyebrow { animation: riseIn var(--t-slow) var(--ease-out) both; }
.hero h1      { animation: riseIn var(--t-slow) var(--ease-out) 60ms both; }
.hero .lead   { animation: riseIn var(--t-slow) var(--ease-out) 120ms both; }
.hero .btn-row { animation: riseIn var(--t-slow) var(--ease-out) 180ms both; }
.hero .btn-note { animation: riseIn var(--t-slow) var(--ease-out) 220ms both; }
.hero .hero-media { animation: riseIn calc(var(--t-slow) + 120ms) var(--ease-out) 260ms both; }

/* Header hairline and the mobile panel already transition; align them with the
   same scale so the page feels like one system. */
.site-header { transition: border-color var(--t-base) ease; }

/* Note: the prefers-reduced-motion override lives at the end of this file, so
   it wins over the rules above without needing !important here as well. */

/* ---------- mobile menu ---------- */
.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--shell);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary:hover { border-color: #d6cabb; }
.bars { display: flex; flex-direction: column; gap: 4px; }
.bars i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile[open] summary { border-color: var(--clay); }
.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s2);
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  z-index: 30;
  /* <details> opens/closes with no transition of its own, so the panel
     animates itself on the open state. The close is still instant —
     animating that needs JS or the newer allow-discrete transitions, and an
     instant close never reads as broken. */
  animation: panelIn var(--t-base) var(--ease-out);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
/* Hamburger becomes an X while open: two bars rotate into a cross, the
   middle fades out. Pure CSS, driven by the [open] attribute. */
.bars i { transition: transform var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out); }
.nav-mobile[open] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile[open] .bars i:nth-child(2) { opacity: 0; }
.nav-mobile[open] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-panel a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 0.96rem;
  font-weight: 500;
}
.nav-mobile-panel a:hover { background: var(--clay-wash); color: var(--ink); text-decoration: none; }
.nav-mobile-panel a.cta {
  margin-top: 6px;
  background: var(--clay);
  color: #fff;
  text-align: center;
}
.nav-mobile-panel a.cta:hover { background: var(--clay-deep); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 6px 18px rgba(197, 97, 58, 0.26);
}
.btn-primary:hover { background: var(--clay-deep); color: #fff; }

.btn-ghost {
  background: var(--shell);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--ink); border-color: #d6cabb; }

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- hero ---------- */
.hero {
  padding: var(--s12) 0 var(--s10);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--clay-wash);
  color: var(--clay-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: var(--s3);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 auto var(--s3);
  max-width: 15ch;
}
.hero h1 .accent { color: var(--clay); }

/* CJK headings need their own measure.
   The rule above is tuned for Latin: 15ch is roughly eight words there, but a
   ch in Japanese/Korean is far narrower than a CJK glyph, so 15ch collapsed to
   two or three glyphs per line ("…で生き / る"). Negative tracking is also
   wrong for CJK — it squeezes glyphs that are designed to sit flush.
   Korean additionally must not break inside a word. */
:lang(ja) .hero h1,
:lang(ko) .hero h1 {
  max-width: 34ch;
  letter-spacing: -0.005em;
  line-height: 1.3;
  line-break: strict;
}
/* Japanese may break between any two kana, so "…で生 / きる" is legal but
   reads as a typo. Keeping the accent phrase as one inline-block moves the
   whole clause to the next line instead of splitting a word. */
:lang(ja) .hero h1 .accent,
:lang(ko) .hero h1 .accent { display: inline-block; }
:lang(ko) .hero h1 { word-break: keep-all; }
:lang(ja) .hero p.lead,
:lang(ko) .hero p.lead {
  line-height: 1.9;
  max-width: 46ch;
}
:lang(ko) .hero p.lead { word-break: keep-all; }
/* Long German compounds ("Rückerstattungsrichtlinie") overflow a 15ch block. */
:lang(de) .hero h1 { max-width: 17ch; letter-spacing: -0.02em; }

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto var(--s4);
}

.btn-row {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
}
.btn-note {
  font-size: 0.88rem;
  color: var(--ink-3);
  margin-top: var(--s2);
}

/* Screenshot frame: a browser-less "device" panel with a warm inner glow so the
   placeholder does not look like a broken image while it waits for artwork. */
.hero-media {
  margin: var(--s8) auto 0;
  max-width: 900px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fffdfa, var(--sand));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-media .placeholder {
  color: var(--ink-3);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: var(--s3);
}

/* ---------- sections ---------- */
.section { padding: var(--s12) 0; }
.section.tight { padding: var(--s10) 0; }
.section.wash { background: var(--shell); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 60ch;
  margin: 0 auto var(--s8);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 750;
  margin: 0 0 var(--s2);
}
.section-head p {
  color: var(--ink-2);
  font-size: 1.06rem;
  margin: 0;
}

/* ---------- feature cards ---------- */
.cards {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s3);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 {
  margin: 0 0 var(--s1);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  font-weight: 650;
}
.card p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--clay-wash);
  color: var(--clay-deep);
  font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s2);
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: var(--s4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}
.step { position: relative; padding-top: var(--s2); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--s2);
}
.step h3 { margin: 0 0 6px; font-size: 1.06rem; font-weight: 650; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.gallery-item {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  color: var(--ink-3);
  font-size: 0.88rem;
  padding: var(--s2);
  text-align: center;
}
.gallery-item .glyph { font-size: 2rem; opacity: 0.75; }

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}
.price-card {
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card.featured {
  border-color: var(--clay);
  box-shadow: 0 0 0 1px var(--clay) inset, var(--shadow);
  position: relative;
}
.price-card .tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.price-card.featured .tag { color: var(--clay); }
.price-card .amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: var(--s1) 0 2px;
}
.price-card .per {
  color: var(--ink-3);
  font-size: 0.86rem;
  margin-bottom: var(--s3);
}
.price-card ul {
  list-style: none;
  margin: 0 0 var(--s3);
  padding: 0;
  flex: 1;
}
.price-card li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: var(--ink-2);
  font-size: 0.94rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
.price-card .btn { width: 100%; }

.price-foot {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.88rem;
  margin-top: var(--s3);
}

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--s3) 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.03rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--clay);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--ink-2); margin: var(--s2) 0 0; font-size: 0.97rem; }

/* ---------- final CTA ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--s10) var(--s4);
  text-align: center;
  margin: 0 var(--s3);
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s2);
}
.cta-band p { color: #b9b0a4; margin: 0 0 var(--s4); font-size: 1.04rem; }
.cta-band .btn-primary { box-shadow: none; }
.cta-band .btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 247, 242, 0.28);
}
.cta-band .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s6) 0;
  margin-top: var(--s10);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s3); }
.footer-links a { color: var(--ink-2); font-size: 0.9rem; }
.site-footer .fine { color: var(--ink-3); font-size: 0.84rem; margin: 0; }

/* ---------- legal pages ---------- */
.legal { padding: var(--s8) 0 var(--s10); }
.legal-head {
  max-width: 720px;
  margin: 0 auto var(--s8);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}
.legal h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: 0 0 6px;
}
.legal .updated { color: var(--ink-3); font-size: 0.88rem; margin: 0; }
.legal .body-text { max-width: 720px; margin: 0 auto; }
.legal h2 {
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  margin: var(--s6) 0 var(--s2);
  font-weight: 650;
}
.legal p, .legal li { color: var(--ink-2); font-size: 0.98rem; }
.legal ul { padding-left: 20px; }
.legal li { padding: 4px 0; }
.legal strong { color: var(--ink); font-weight: 650; }
.legal table { border-collapse: collapse; width: 100%; margin: var(--s2) 0; }
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  color: var(--ink-2);
  font-size: 0.92rem;
  vertical-align: top;
}
.legal th { background: var(--sand); color: var(--ink); font-weight: 650; }
.legal .callout {
  background: var(--sand);
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--s2) var(--s3);
  margin: var(--s3) 0;
}
.legal .callout p { margin: 0; }

/* ---------- language switcher ---------- */
/* Same <details> dropdown pattern as the mobile menu, so it needs no JS and
   works with scripting disabled. Sits between the nav and the hamburger; on
   narrow screens it collapses to the globe glyph only. */
.lang-switch { position: relative; margin-left: var(--s3); }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--line); color: var(--ink); }
.lang-switch[open] summary { border-color: var(--clay); color: var(--ink); }
.lang-globe { font-size: 0.95em; line-height: 1; }
.lang-switch-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s2);
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  z-index: 30;
  animation: panelIn var(--t-base) var(--ease-out);
}
.lang-switch-panel a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
}
.lang-switch-panel a:hover { background: var(--clay-wash); color: var(--ink); text-decoration: none; }
.lang-switch-panel a[aria-current="true"] { color: var(--clay); font-weight: 600; }

/* Non-English legal pages carry an "English is authoritative" note. */
.legal .notice {
  margin: var(--s2) 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--ink-2);
  font-size: 0.88rem;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  :root { --s12: 72px; --s10: 56px; --s8: 44px; }
  body { font-size: 16px; }
  /* Header collapses to brand + menu button below 720px. Everything the
     desktop row carried (including the Download CTA) moves into the <details>
     panel, because a phone user needs Pricing and FAQ more than a duplicate
     download button squeezed next to a hamburger. */
  .nav a:not(.cta) { display: none; }
  .nav .cta { display: none; }
  .nav-mobile { display: block; }
  /* The switcher stays reachable: language is the one control a visitor may be
     unable to read their way to, so it must not hide behind the hamburger. */
  .lang-switch { margin-left: 0; }
  .lang-switch summary { padding: 7px 4px; }
  .hero-media { border-radius: var(--radius); }
  .cta-band { margin: 0 var(--s2); padding: var(--s8) var(--s3); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover { transform: none; }
  /* The reveal animation is the one place where "no animation" would leave
     content stuck at opacity 0 instead of simply appearing. Reset it
     explicitly rather than relying on the universal rule above. */
  .reveal-ready .reveal { opacity: 1; transform: none; }
}
