/* UrusFamily site. Light only. Tokens mirror app/src/lib/theme.ts.
   Calm, hairline, one idea per screen. Radius is computed from one base (radius-system-standard).
   No literal radius below, no dark palette, no script. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/PlusJakartaSans/PlusJakartaSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/PlusJakartaSans/PlusJakartaSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/PlusJakartaSans/PlusJakartaSans-SemiBold.woff2") format("woff2"); }

:root {
  --bg: #ffffff; --surface: #fbfbfb; --surface2: #f5f5f5; --ground: #f7f6f4; --border: #e6e6e6; --hairline: #ededed;
  --text: #1f1f1f; --muted: #6b6b6b;
  --primary: #18181a; --primary-press: #2f2e31; --on-primary: #ffffff;
  --oren: #c84316; --biru: #0b6bc4; --nila: #4a4ad8; --ungu: #7b3fd4; --success: #1f7a4d;
  --oren-soft: #fef4ef; --biru-soft: #eaf3fc; --nila-soft: #efeffc; --ungu-soft: #f3ecfd; --success-soft: #e6f4ec;
  --link: #3a3ab0;

  /* radius: one base, everything computed from it */
  --radius-base: 12px;
  --radius-control: var(--radius-base);
  --radius-card: calc(var(--radius-base) * 2);
  --radius-shot: calc(var(--radius-base) * 2);
  --radius-nested: calc(var(--radius-card) - 16px);
  --radius-pill: 999px;

  /* space scale: 4 8 12 16 24 32 48 64 96 128 */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.25rem; --s6: 1.5rem;
  --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem; --s32: 8rem;
  /* section rhythm: 56px phone to 140px desktop */
  --sec: clamp(3.5rem, 1.6rem + 8vw, 8.75rem);
  --pad-card: var(--s5);

  /* type scale: 13 / 15 / 17-18 / 19-22 / 18-21 / 26-36 / 32-48 / 40-64 */
  --t-meta: .8125rem;
  --t-small: .9375rem;
  --t-body: clamp(1.0625rem, 1.03rem + .16vw, 1.125rem);
  --t-lead: clamp(1.1875rem, 1.07rem + .52vw, 1.375rem);
  --t-h3: clamp(1.125rem, 1.05rem + .32vw, 1.3125rem);
  --t-h2: clamp(1.625rem, 1.27rem + 1.55vw, 2.25rem);
  --t-h1: clamp(2rem, 1.45rem + 2.4vw, 3rem);
  --t-display: clamp(2.5rem, 1.55rem + 4.2vw, 4rem);

  --w-page: 1184px; --w-prose: 66ch;
  --wt-regular: 400; --wt-medium: 500; --wt-strong: 600;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --shadow-shot: 0 2px 6px rgba(24, 24, 26, .04), 0 22px 44px -24px rgba(24, 24, 26, .3);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: var(--wt-regular) var(--t-body)/1.5 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .15em; transition: color .15s var(--ease); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--nila); outline-offset: 3px; border-radius: var(--radius-base); }

h1, h2, h3, h4 { font-weight: var(--wt-strong); text-wrap: balance; margin: 0 0 var(--s5); }
h1 { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -.026em; }
h2 { font-size: var(--t-h2); line-height: 1.14; letter-spacing: -.022em; margin-top: 0; }
h3 { font-size: var(--t-h3); line-height: 1.32; letter-spacing: -.012em; margin-bottom: var(--s3); }
h4 { font-size: 1rem; line-height: 1.4; }
p, ul, ol, dl { margin: 0 0 var(--s5); max-width: var(--w-prose); }
ul, ol { padding-left: 1.2rem; }
li + li { margin-top: var(--s2); }
strong { font-weight: var(--wt-medium); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s4); top: var(--s4); z-index: 20; background: var(--bg); color: var(--text); padding: var(--s3) var(--s4); border: 1px solid var(--border); border-radius: var(--radius-control); }

/* shell ------------------------------------------------------------------ */
.wrap { max-width: var(--w-page); margin: 0 auto; padding: 0 var(--s5); }
@media (min-width: 52rem) { .wrap { padding: 0 var(--s8); } }
.prose > *, .faq > * { max-width: var(--w-prose); }
.prose h2 { margin-top: var(--s16); }
.prose > *:first-child { margin-top: 0; }

/* top bar: hairline, quiet, one button. Sticky, never covering content. */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline);
}
.top .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 56px; }
.brand { font-weight: var(--wt-medium); font-size: 1rem; color: var(--text); text-decoration: none; letter-spacing: -.012em; margin-right: auto; display: inline-flex; align-items: center; gap: var(--s2); }
.brand img { border-radius: var(--radius-nested); }
.nav { display: none; gap: var(--s5); }
.nav a, .lang { color: var(--muted); text-decoration: none; font-size: var(--t-small); }
.nav a:hover, .lang:hover, .nav a[aria-current] { color: var(--text); }
.nav a[aria-current] { font-weight: var(--wt-medium); }
@media (min-width: 60rem) { .nav { display: flex; } }
/* narrow phones: the mark carries the brand so the one button stays in reach */
@media (max-width: 30rem) { .top .wrap { gap: var(--s3); } .top .brand span { display: none; } .lang { font-size: var(--t-meta); } }

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s8); border-radius: var(--radius-control);
  background: var(--primary); color: var(--on-primary); font-weight: var(--wt-medium); font-size: 1.0625rem;
  text-decoration: none; transition: background .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--primary-press); }
.btn:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: var(--text); border: 1px solid var(--border); min-height: 36px; padding: 0 var(--s4); font-size: var(--t-small); font-weight: var(--wt-medium); }
.btn-quiet:hover { background: var(--surface2); }
@media (max-width: 40rem) { .btn:not(.btn-quiet) { display: flex; width: 100%; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin: var(--s8) 0 var(--s3); }
.cta-row:first-child { margin-top: 0; }
.note { color: var(--muted); font-size: var(--t-small); margin: 0 0 var(--s2); max-width: 46ch; }
.muted { color: var(--muted); }

/* sections: long padding, hairline dividers instead of boxes --------------- */
section { padding: calc(var(--sec) * .5) 0; }
.band {
  position: relative; padding: calc(var(--sec) * .62) 0; margin: calc(var(--sec) * .5) 0;
  background: var(--ground); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); isolation: isolate;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background: url("/assets/img/texture-section.webp") center / cover no-repeat;
}
.eyebrow { font-size: var(--t-meta); font-weight: var(--wt-medium); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s4); }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--text); max-width: 34ch; }
.answer { font-size: var(--t-lead); line-height: 1.5; max-width: 62ch; border-left: 2px solid var(--nila); padding-left: var(--s6); margin: 0; }
.section-intro { max-width: 50ch; color: var(--muted); font-size: var(--t-lead); line-height: 1.5; margin-bottom: var(--s12); }
.section-head { margin-bottom: var(--s12); }
.section-head > *:last-child { margin-bottom: 0; }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* hero: first screen, display type, picture bleeding to the edges ---------- */
.hero { padding: var(--s12) 0 var(--sec); }
.hero h1 { margin-bottom: var(--s6); }
@media (min-width: 60rem) { .hero { padding: var(--s20) 0 var(--sec); } }

.hero-cover { position: relative; padding: 0; overflow: clip; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; padding-block: var(--s10) var(--s12); }
.hero-copy > * { max-width: 30ch; }
.hero-copy .cta-row { max-width: none; margin-top: var(--s8); }
.hero-cover h1 { font-size: var(--t-display); line-height: 1.05; letter-spacing: -.032em; margin-bottom: var(--s6); }
/* phones: warm brand wash behind the words, picture full bleed underneath */
.hero-copy { background: linear-gradient(160deg, var(--oren-soft) 0%, #fdf7f3 46%, var(--nila-soft) 100%); }
.hero-bg { display: block; }
.hero-bg img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 76% 50%; }
@media (min-width: 60rem) {
  .hero-cover { display: grid; align-items: center; min-height: min(82vh, 760px); }
  .hero-copy { grid-area: 1 / 1; justify-self: stretch; width: 100%; background: none; padding-block: var(--s20); }
  .hero-copy > * { max-width: 15ch; }
  .hero-copy .eyebrow { max-width: none; }
  .hero-copy .lead, .hero-copy .note { max-width: 28ch; }
  /* the picture runs past the right edge of the viewport, the way a hero object should */
  .hero-bg { grid-area: 1 / 1; justify-self: start; position: relative; height: 100%; width: 108%; }
  .hero-bg img { height: 100%; aspect-ratio: auto; object-position: 50% 50%; }
  /* warm brand scrim so display type keeps AA contrast over the empty left side */
  .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(95deg, rgba(254, 246, 240, .97) 0%, rgba(254, 246, 240, .92) 30%, rgba(252, 244, 238, .58) 46%, rgba(250, 243, 238, 0) 62%);
  }
}

/* product shots ----------------------------------------------------------- */
.shot {
  display: block; width: 100%; height: auto; background: var(--bg);
  border: 1px solid var(--hairline); border-radius: var(--radius-shot); box-shadow: var(--shadow-shot);
}
/* trio of phones, mid page */
.trio { display: grid; gap: var(--s8); grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 46rem) { .trio { grid-template-columns: repeat(3, 1fr); gap: var(--s6); align-items: start; } .hero-bg img { aspect-ratio: 16 / 10; } }
.trio figure { margin: 0; max-width: 300px; }
.trio figcaption { margin-top: var(--s5); color: var(--muted); font-size: var(--t-small); text-align: center; }
@media (min-width: 46rem) { .trio figcaption { text-align: left; } }

/* numbered feature list beside one large phone ---------------------------- */
.numbered { display: grid; gap: var(--s12); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 60rem) { .numbered { grid-template-columns: 1fr 1fr; gap: var(--s24); } }
.numbered-figure { margin: 0; justify-self: center; max-width: 340px; width: 100%; }
@media (min-width: 60rem) { .numbered-figure { order: 2; max-width: 380px; } }
.numbers { list-style: none; padding: 0; margin: 0; counter-reset: n; max-width: none; }
.numbers li { counter-increment: n; margin: 0; padding: var(--s6) 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s2) var(--s4); }
.numbers li:last-child { border-bottom: 1px solid var(--hairline); }
.numbers li::before { content: counter(n, decimal-leading-zero); grid-row: 1 / span 2; font-size: var(--t-small); font-weight: var(--wt-medium); color: var(--nila); padding-top: .3em; }
.numbers h3 { margin: 0; }
.numbers p { margin: 0; color: var(--muted); font-size: var(--t-small); max-width: 42ch; }

/* bento: title, one line, a picture that fills the cell -------------------- */
.bento { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
/* two columns: let each cell hug its own content, so a short cell never stretches into a void */
@media (min-width: 40rem) and (max-width: 63.99rem) { .bento { grid-template-columns: repeat(2, 1fr); align-items: start; } }
@media (min-width: 64rem) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: var(--s5); }
  .cell { grid-column: span 2; }
  .cell-wide { grid-column: span 3; }
  .cell-feature { grid-column: span 3; grid-row: span 2; }
  .cell-tall { grid-column: span 2; grid-row: span 2; }
}
/* a grid that mixes tall and short cells lets each hug its content */
.bento-ragged { align-items: start; }
.cell {
  background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius-card);
  padding: var(--s6) var(--pad-card) var(--s6); display: flex; flex-direction: column; gap: var(--s2); overflow: hidden;
}
.cell h3 { margin: 0; }
.cell p { margin: 0; color: var(--muted); font-size: var(--t-small); max-width: 34ch; }
.cell a { font-size: var(--t-small); }
.cell .clay { display: block; width: 64px; height: 64px; margin-bottom: var(--s2); }
/* soft ground behind the grid, so white cells read as cards without shadow */
.bento-ground { background: var(--ground); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: calc(var(--sec) * .55) 0; }
.cell-tint-oren { background: var(--oren-soft); border-color: transparent; }
.cell-tint-biru { background: var(--biru-soft); border-color: transparent; }
.cell-tint-nila { background: var(--nila-soft); border-color: transparent; }
.cell-tint-ungu { background: var(--ungu-soft); border-color: transparent; }
/* feature cell: the picture takes most of the cell and is the only thing with a shadow */
.cell-feature, .cell-tall { padding-inline: var(--s6); padding-bottom: 0; }
.cell-feature picture, .cell-tall picture { display: block; margin-top: auto; padding-top: var(--s8); }
.cell-shot { margin: 0 auto; width: 100%; max-width: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* voices, story, facts --------------------------------------------------- */
.voices { display: grid; gap: var(--s4); grid-template-columns: 1fr; margin-bottom: var(--s10); }
@media (min-width: 46rem) { .voices { grid-template-columns: repeat(2, 1fr); } }
.voice { margin: 0; padding: var(--s6); background: var(--surface2); border-radius: var(--radius-card); font-size: 1.0625rem; line-height: 1.5; }
.voice p { margin: 0; max-width: none; }
.voice footer { margin-top: var(--s3); font-size: .875rem; color: var(--muted); }
.story { border-top: 1px solid var(--border); padding-top: var(--s8); }
.story ol { margin: 0; max-width: 62ch; }
.story li { padding-bottom: var(--s3); }
.tag { display: inline-block; font-size: var(--t-meta); font-weight: var(--wt-medium); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px var(--s3); margin-bottom: var(--s5); }
.facts { list-style: none; padding: 0; display: grid; gap: var(--s6) var(--s8); grid-template-columns: 1fr; max-width: none; }
@media (min-width: 46rem) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { margin: 0; padding-top: var(--s4); border-top: 1px solid var(--border); }
.facts b { display: block; font-weight: var(--wt-strong); margin-bottom: var(--s1); }
.facts span { color: var(--muted); font-size: var(--t-small); }

/* steps (inner pages) ----------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s10); grid-template-columns: 1fr; counter-reset: step; max-width: none; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s8); } }
.steps li { margin: 0; counter-increment: step; }
.steps h3 { display: flex; align-items: baseline; gap: var(--s3); }
.steps h3::before { content: counter(step, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--nila); font-size: var(--t-small); font-weight: var(--wt-medium); }
.steps p { color: var(--muted); margin-bottom: var(--s5); }

/* pricing ---------------------------------------------------------------- */
.plans + p { margin-top: var(--s10); }
.plans { display: grid; gap: var(--s5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) { .plans { grid-template-columns: repeat(2, 1fr); gap: var(--s8); } }
.plan { border-top: 1px solid var(--border); padding: var(--s6) 0 0; }
.plan-now { border-top-color: var(--nila); border-top-width: 2px; }
.price { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: var(--wt-strong); letter-spacing: -.028em; line-height: 1.1; margin: 0 0 var(--s2); }
.price small { display: block; font-size: var(--t-small); font-weight: var(--wt-regular); color: var(--muted); letter-spacing: 0; line-height: 1.5; margin-top: var(--s2); }
.ticks { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.ticks li { padding-left: var(--s6); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }

/* tables ----------------------------------------------------------------- */
.table { overflow-x: auto; margin: 0 0 var(--s8); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
th, td { text-align: left; vertical-align: top; padding: var(--s4) var(--s5) var(--s4) 0; border-bottom: 1px solid var(--hairline); }
thead th { font-size: var(--t-meta); color: var(--muted); font-weight: var(--wt-strong); letter-spacing: .04em; text-transform: uppercase; }
tbody th { font-weight: var(--wt-medium); width: 24%; }

/* faq: a quiet accordion, answers always in the DOM ----------------------- */
.faq details { border-top: 1px solid var(--hairline); max-width: var(--w-prose); }
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: var(--s5);
  padding: var(--s6) 0; font-size: var(--t-h3); font-weight: var(--wt-medium); line-height: 1.32;
  letter-spacing: -.012em; color: var(--text); transition: color .15s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--nila); }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; width: 9px; height: 9px; margin-top: .45em;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transform-origin: 70% 70%; transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > p { color: var(--muted); margin: 0 0 var(--s6); padding-right: var(--s8); }
.faq details > p:first-of-type { margin-top: calc(var(--s2) * -1); }
.faq .cta-row { margin-top: var(--s12); }

/* legal pages (markup comes from scripts/build-legal.mjs) ------------------ */
main { display: block; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--s3) var(--s8); margin: var(--s8) 0 var(--s10); padding: var(--s5) 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); max-width: none; }
.meta dt { font-size: var(--t-meta); color: var(--muted); }
.meta dd { margin: 0; overflow-wrap: anywhere; }
.toc { margin: var(--s5) 0 var(--s10); padding: var(--s6) 0 0; border-top: 1px solid var(--hairline); }
.toc ol { margin: 0; }
.notice h3 { scroll-margin-top: 72px; }
.links { list-style: none; padding: 0; margin-top: var(--s10); }
/* the legal generator writes a bare <main> with no .wrap; give that one the site measure */
body > main:not(:has(.wrap)) { max-width: var(--w-page); margin-left: auto; margin-right: auto; padding: 0 var(--s5) var(--sec); }
body > main:not(:has(.wrap)) > * { max-width: var(--w-prose); }
body > main:not(:has(.wrap)) > h1 { margin-top: var(--s12); }
body > main:not(:has(.wrap)) section { padding: 0; margin-bottom: var(--s12); }

/* footer: a quiet closing band, hairline off the page, never a dark slab ---- */
.foot {
  background: var(--ground); border-top: 1px solid var(--hairline);
  padding: clamp(3rem, 1.8rem + 3.6vw, 6rem) 0; color: var(--muted); font-size: var(--t-small);
}
.foot .wrap { display: grid; gap: var(--s10) var(--s8); }
@media (min-width: 46rem) { .foot .wrap { grid-template-columns: repeat(4, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .foot .wrap { grid-template-columns: 2.1fr 1fr 1.15fr 1fr 1.15fr; } .foot-brand { grid-column: 1; } }
.foot-brand { display: grid; gap: var(--s4); justify-items: start; }
.foot-brand .brand { margin: 0; font-size: 1rem; color: var(--text); }
.foot-brand p { margin: 0; max-width: 40ch; }
.foot-brand .note { margin: 0; }
.foot h2 { font-size: var(--t-meta); font-weight: var(--wt-medium); letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin: 0 0 var(--s2); }
.foot-col ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.foot-col li { margin: 0; }
/* 44px touch targets on phones, tighter once there is a pointer */
.foot-col a { display: block; padding: var(--s3) 0; }
@media (min-width: 46rem) { .foot-col a { padding: var(--s1) 0; } }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot .btn, .foot .btn:hover { color: var(--on-primary); text-decoration: none; }
.foot-end { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: var(--s6); display: grid; gap: var(--s4); }
.foot-end p { margin: 0; max-width: none; }
.foot-lang { display: flex; flex-wrap: wrap; gap: var(--s6); }
.foot-lang a { padding: var(--s2) 0; }
.foot-lang a[aria-current] { color: var(--text); font-weight: var(--wt-medium); }
@media (min-width: 46rem) {
  .foot-end { grid-template-columns: auto 1fr; align-items: baseline; gap: var(--s8); }
  .foot-end .foot-legal { text-align: right; }
  .foot-lang a { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* tester application: a plain HTML form, no script anywhere ----------------- */
/* secondary action beside Google Play. Play stays the only filled button on the page. */
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface2); }
.form { max-width: 34rem; margin: 0; display: grid; gap: var(--s6); }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s6); }
.field { display: grid; gap: var(--s2); }
.field > .label { font-size: var(--t-small); font-weight: var(--wt-medium); }
.field > .hint { font-size: var(--t-meta); color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; font-weight: var(--wt-regular); line-height: 1.5;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-control); padding: var(--s3) var(--s4); width: 100%;
}
.field input, .field select { min-height: 48px; }
.field textarea { resize: vertical; min-height: 5.5rem; }
.field select { appearance: none; padding-right: var(--s10); background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%), linear-gradient(-45deg, transparent 49%, var(--muted) 50%); background-size: 6px 6px; background-position: right var(--s5) center, right calc(var(--s5) + 6px) center; background-repeat: no-repeat; }
.field :is(input, select, textarea):focus-visible { outline: 3px solid var(--nila); outline-offset: 2px; border-color: var(--nila); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; font-size: var(--t-small); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--nila); }
.consent span { max-width: 52ch; }
/* the honeypot: off screen rather than display none, so a bot that reads the DOM still fills it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { border: 0; cursor: pointer; font-family: inherit; }
/* one message per refusal code, shown only when the function sent the family back to its anchor */
.ralat { display: none; }
.ralat:target {
  display: block; scroll-margin-top: 80px; margin: 0 0 var(--s6); padding: var(--s4) var(--s5);
  background: var(--oren-soft); border-left: 2px solid var(--oren); border-radius: var(--radius-nested);
  color: var(--text); font-size: var(--t-small); max-width: 52ch;
}
