/* TestSlot - shared styles. No external fonts or assets.

   BRAND TOKENS: the final name's colours drop in here (and in app/src/brand.ts).
   Deliberately NOT green: never look like the RSA or gov.ie. Option A "Indigo" is active;
   option B "Tangerine" is in the comment below. See OWNER_QUESTIONS.md. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f9;
  --surface: #ffffff;
  --text: #111322;
  --muted: #5b5f73;
  --border: #e3e4ec;
  --brand: #4f46e5;          /* B: #e8590c */
  --brand-strong: #4338ca;   /* B: #c2410c */
  --brand-contrast: #ffffff;
  --accent-bg: #f0f0fe;      /* B: #fff1e8 */
  --shadow: 0 1px 2px rgba(17, 19, 34, .04), 0 6px 24px rgba(17, 19, 34, .06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --warn-bg: #fff4d6;
  --warn-border: #c99a00;
  --warn-text: #3d2e00;
  --draft-bg: #fde8e8;
  --draft-border: #b42318;
  --draft-text: #5c1010;
  --focus: #1a5fd0;
  --radius: 16px;
  --maxw: 60rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0d14;
    --bg-soft: #13141d;
    --surface: #171823;
    --text: #ecedf5;
    --muted: #a3a6bb;
    --border: #2a2c3b;
    --brand: #8b8cf8;          /* B: #fb8a4c */
    --brand-strong: #a5a6fb;   /* B: #fda26f */
    --brand-contrast: #0c0d14;
    --accent-bg: #1c1d36;      /* B: #2c1a10 */
    --shadow: none;
    --warn-bg: #3a3012;
    --warn-border: #d9b23c;
    --warn-text: #fbeec4;
    --draft-bg: #3d1717;
    --draft-border: #f07a6e;
    --draft-text: #ffdcd8;
    --focus: #8ab4ff;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-strong); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: .5rem 1rem;
  z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--brand);
  color: var(--brand-contrast);
  font-size: .95rem;
  font-weight: 800;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: .25rem 0;
  display: inline-block;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.draft-strip {
  background: var(--warn-bg);
  color: var(--warn-text);
  border-bottom: 1px solid var(--warn-border);
  font-size: .9rem;
  text-align: center;
  padding: .35rem 1rem;
}

/* Main */
main { padding: 2rem 0 4rem; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: 2rem; margin: .5rem 0 .75rem; font-weight: 700; }
h2 { font-size: 1.5rem; margin: 3rem 0 .9rem; font-weight: 700; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; font-weight: 600; letter-spacing: -0.01em; }

.lead { font-size: 1.25rem; color: var(--muted); max-width: 38rem; line-height: 1.5; }

.hero { padding: 3rem 0 1.5rem; }
.hero h1 { font-size: 2.4rem; max-width: 20ch; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: var(--brand-contrast);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn.secondary { background: transparent; color: var(--brand-strong); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; }
.steps > li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 3.75rem;
  position: relative;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-contrast);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .95rem;
}
.steps h3 { margin: 0 0 .25rem; }
.steps p { margin: .25rem 0; }

.cards { display: grid; gap: 1rem; margin: 1rem 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-top: 0; }
.price { font-size: 2.2rem; font-weight: 800; margin: .25rem 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }

.callout {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid transparent;
  background: var(--accent-bg);
}
.callout h2, .callout h3 { margin-top: 0; }
.callout.warn {
  background: var(--warn-bg);
  color: var(--warn-text);
  border-color: var(--warn-border);
  border-left-color: var(--warn-border);
}
.callout.warn a { color: inherit; }

.draft-banner {
  background: var(--draft-bg);
  color: var(--draft-text);
  border: 2px solid var(--draft-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  font-size: 1.15rem;
}
.draft-banner p { margin: .25rem 0 0; font-weight: 400; font-size: 1rem; }

.todo {
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px dashed var(--warn-border);
  border-radius: 4px;
  padding: 0 .3rem;
  font-size: .95em;
}

.note { color: var(--muted); font-size: .95rem; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .98rem; }
th, td { border: 1px solid var(--border); padding: .6rem .7rem; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); }
caption { text-align: left; padding-bottom: .4rem; }
.table-scroll { overflow-x: auto; }

/* FAQ */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin: .6rem 0;
  padding: 0 1rem;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: .85rem 0;
}
details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
details > *:last-child { margin-bottom: .9rem; }

/* Forms */
form { margin: 1rem 0; }
.field { margin: 0 0 1rem; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  width: 100%;
  max-width: 28rem;
  padding: .65rem .75rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 8px;
}
.check { display: flex; gap: .6rem; align-items: flex-start; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; }
.check label { font-weight: 400; margin: 0; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.info {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.form-status.ok { background: var(--accent-bg); }
.form-status.info { background: var(--warn-bg); color: var(--warn-text); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 2rem 0;
  font-size: .95rem;
  color: var(--muted);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
}
.site-footer a { color: var(--text); }
.site-footer p { margin: .3rem 0; }

@media (min-width: 40rem) {
  .cards.two { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .steps.grid4 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.3rem; }
  .hero h1 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Landing page (index.html) + small site-wide tap-target fixes. Appended 24 Nov. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Tap targets of at least 44px for header and footer links */
.logo { min-height: 44px; }
.site-nav ul { row-gap: 0; }
.site-nav a, .site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer ul { row-gap: 0; }

.landing main { padding-top: 1rem; }
.landing h2 { scroll-margin-top: 12rem; } /* clear the sticky header when jumping to a section */
.hero-lp { padding: .5rem 0 1rem; }
.hero-lp h1 { font-size: 2rem; max-width: 18ch; margin: .25rem 0 .5rem; }
.hero-lp .lead { font-size: 1.125rem; margin: 0 0 .9rem; color: var(--text); }
.chips { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li, .ticks li { display: flex; gap: .45rem; align-items: baseline; }
.chips li {
  padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--accent-bg); font-weight: 600; font-size: .95rem;
}
.chips li::before, .ticks li::before {
  content: "\2713"; content: "\2713" / "";
  color: var(--brand-strong); font-weight: 800;
}
.affil { font-size: .9rem; color: var(--muted); margin: 0 0 .5rem; }
.hero-lp .btn-row { margin: .75rem 0 .5rem; }
.btn { min-height: 44px; }

.steps3 li h3 { font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 1rem 0; }
.ticks li { margin: .5rem 0; }

.compare { font-size: .95rem; margin: .5rem 0 0; }
.compare caption { padding-bottom: .5rem; }
.compare thead th:nth-child(2), .compare td:nth-child(2) { background: var(--accent-bg); font-weight: 600; }
.compare td:nth-child(3) { color: var(--muted); }
.compare th[scope="row"] { width: 28%; }

.promise { border: 2px solid var(--brand); }

.faq-teaser { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.faq-teaser a {
  display: flex; align-items: center; min-height: 44px; padding: .5rem 0;
  border-bottom: 1px solid var(--border); font-weight: 600;
}

.waitlist, .estimate { margin-top: 3rem; padding: .25rem 1.25rem 1.25rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); }
.waitlist .check { min-height: 44px; }
.waitlist .check input { width: 1.5rem; height: 1.5rem; margin-top: .1rem; }

@media (min-width: 40rem) {
  .steps.steps3 { grid-template-columns: repeat(3, 1fr); }
  .hero-lp { padding-top: 2rem; }
  .hero-lp h1 { font-size: 2.6rem; }
  .landing h2 { scroll-margin-top: 7rem; }
}

/* Whole consent row is tappable (box + text), at least 44px tall. */
.check-whole { display: flex; gap: .6rem; align-items: flex-start; min-height: 44px; cursor: pointer; font-weight: 400; margin: 0; }
.check-whole input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; }

/* =====================================================================================================
   APPLE LOOK (25 Nov 2026): the same design language as the app (app/src/components/ui.tsx).
   Apple's conventions, our own identity: our name, our indigo accent, never green, nothing gov-like.
   - Type: San Francisco on Apple devices through the system font, Inter (bundled, fonts/, SIL OFL 1.1)
     everywhere else; Apple's sizes with SF tracking.
   - Grouped look: white cells on a light grey page (black page, dark grey cells in dark mode),
     rounded, no borders or shadows; hairline separators; FAQ answers as one inset list.
   - One filled capsule button, tinted secondaries; a small press state; motion off with reduced motion.
   ===================================================================================================== */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

:root {
  --font: -apple-system, BlinkMacSystemFont, "Inter Variable", Inter, "Segoe UI", system-ui, sans-serif;
  --bg: #f2f2f7;            /* grouped page */
  --bg-soft: #e9e9ee;       /* footer, quiet bands */
  --surface: #ffffff;       /* grouped cell */
  --text: #000000;
  --muted: #636366;         /* secondary label */
  --border: #c6c6c8;        /* hairline separator */
  --control: #808086;       /* outlines that show where a control is (3:1) */
  --brand: #3b52d9;
  --brand-strong: #2f43b8;
  --brand-contrast: #ffffff;
  --accent-bg: #ebeefc;     /* tinted buttons, chips, promise */
  --warm-soft: #fff3c4;     /* warm accent (owner, 25 Nov): highlights only, never green */
  --warm-ink: #6b4a00;      /* text on --warm-soft (AA) */
  --shadow: none;
  --radius: 22px;
  --radius-field: 12px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #111113;
    --surface: #1c1c1e;
    --text: #ffffff;
    --muted: #98989f;
    --border: #38383a;
    --control: #7c7c82;
    --brand: #8a9cfa;
    --brand-strong: #a8b6fc;
    --brand-contrast: #000000;
    --accent-bg: #1f2650;
    --warm-soft: #3d3012;
    --warm-ink: #ffd27a;
  }
}

/* A little personality (owner, 25 Nov): the mark above the headline, one warm badge. */
.hero-mark { display: block; width: 52px; height: 52px; border-radius: 12px; background: #3b52d9; color: #fff; margin: 0 0 1rem; }
.hero-mark svg { display: block; width: 100%; height: 100%; }
.chips li.warm { background: var(--warm-soft); color: var(--warm-ink); font-weight: 700; }
.chips li.warm::before { color: var(--warm-ink); }

body { font-size: 17px; line-height: 1.47059; letter-spacing: -0.022em; background: var(--bg); }
h1, h2, h3 { letter-spacing: -0.022em; }
h1 { font-size: 34px; line-height: 1.20589; letter-spacing: 0.011em; font-weight: 700; }
h2 { font-size: 28px; line-height: 1.21429; letter-spacing: 0.007em; font-weight: 700; margin-top: 3.5rem; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: 21px; line-height: 1.381; letter-spacing: 0.011em; }
.note, .affil { font-size: 15px; line-height: 1.33; letter-spacing: -0.016em; }
@media (min-width: 40rem) {
  h1 { font-size: 48px; line-height: 1.08349; letter-spacing: -0.003em; }
  .hero-lp h1, .hero h1 { font-size: 56px; line-height: 1.07143; letter-spacing: -0.005em; }
  h2 { font-size: 40px; line-height: 1.1; letter-spacing: 0; }
}

/* Header: translucent bar with a hairline, as on iOS. */
.site-header { border-bottom: 0.5px solid var(--border); background: color-mix(in srgb, var(--bg) 78%, transparent); }
.site-nav a { font-weight: 400; font-size: 15px; letter-spacing: -0.016em; }
.site-nav a[aria-current="page"] { color: var(--brand-strong); text-decoration: none; font-weight: 600; }
.logo { letter-spacing: -0.02em; font-weight: 700; }
.logo-mark { border-radius: 9px; font-weight: 700; }

/* Grouped cells: no borders, no shadows. */
.card, .steps > li, details, .waitlist, .form-status.ok, .form-status.info { border: 0; box-shadow: none; }
.card, .steps > li { background: var(--surface); border-radius: var(--radius); }
.steps > li::before { background: var(--accent-bg); color: var(--brand-strong); }
.callout { border: 0; border-radius: var(--radius); }
.callout.warn { border: 0; }
.promise { border: 0; background: var(--accent-bg); }
.waitlist, .estimate { background: var(--surface); border-radius: var(--radius); padding: .5rem 1.5rem 1.5rem; }

/* Buttons: capsules, 50 px; a tinted secondary; a small press state. */
.btn { min-height: 50px; padding: .8rem 1.5rem; border: 0; font-weight: 600; letter-spacing: -0.022em;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 120ms var(--ease), opacity 120ms var(--ease), background-color 160ms var(--ease); }
.btn:hover { background: var(--brand-strong); }
.btn:active { transform: scale(0.98); opacity: .85; }
.btn.secondary { background: var(--accent-bg); color: var(--brand-strong); }
.btn.secondary:hover { background: var(--accent-bg); opacity: .85; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--surface); color: var(--muted); opacity: 1; transform: none; }

/* Chips: tinted capsules with a tick. */
.chips li { border: 0; font-weight: 500; font-size: 15px; padding: .4rem .9rem; }

/* FAQ: one inset grouped list. Rows touch, inset hairlines between them, a chevron that turns. */
details { background: var(--surface); border-radius: 0; margin: 0; padding: 0 1rem; }
:not(details) + details, details:first-child { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); margin-top: .75rem; }
details:last-child, details:has(+ :not(details)) { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); margin-bottom: .75rem; }
details + details > summary { border-top: 0.5px solid var(--border); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px; padding: .8rem 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: .5rem; height: .5rem; margin-right: .25rem;
  border-right: 2px solid var(--control); border-bottom: 2px solid var(--control);
  transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details[open] summary { border-bottom: 0; margin-bottom: 0; }
details > *:last-child { margin-bottom: 1rem; }
details p { color: var(--muted); margin-top: 0; }

/* Tables: grouped, hairlines between rows only. */
.table-scroll { border-radius: var(--radius); background: var(--surface); }
table { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
th, td { border: 0; border-top: 0.5px solid var(--border); padding: .75rem 1rem; }
thead th { border-top: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; }
th { background: transparent; }
.compare thead th:nth-child(2), .compare td:nth-child(2) { background: var(--accent-bg); }

/* Fields: 50 px, rounded, a clear outline that turns brand on focus. */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  min-height: 50px; border-radius: var(--radius-field); border: 1px solid var(--control); padding: .7rem .9rem;
  transition: border-color 160ms var(--ease); }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="date"]:focus, select:focus {
  border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 0; }
input[type="checkbox"] { accent-color: var(--brand); }

/* Lists of links (FAQ teaser): an inset list with chevrons. */
.faq-teaser { background: var(--surface); border-radius: var(--radius); padding: 0 1rem; }
.faq-teaser li + li a { border-top: 0.5px solid var(--border); }
.faq-teaser a { border-bottom: 0; color: var(--text); font-weight: 400; justify-content: space-between; gap: 1rem; text-decoration: none; min-height: 50px; }
.faq-teaser a::after { content: ""; flex: none; width: .45rem; height: .45rem; border-right: 2px solid var(--control); border-top: 2px solid var(--control); transform: rotate(45deg); }

.site-footer { border-top: 0.5px solid var(--border); background: var(--bg-soft); font-size: 15px; }
.todo { border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
}

/* Phone header (25 Nov): logo + a round menu button; the links open as a grouped sheet.
   Markup added by backend/tools/phone_menu.py. A native <details>, so no script is needed. */
.menu { display: none; }
@media (max-width: 47.99rem) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: .35rem; padding-bottom: .35rem; }
  .site-header .site-nav, .site-header .lang-switch { display: none; }
  .menu, .menu[open] { display: block; background: none; padding: 0; margin: 0; border-radius: 0; }
  .menu > summary { list-style: none; width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0;
    display: grid; place-items: center; justify-content: center; gap: 0; border: 0; border-radius: 999px; cursor: pointer; background: var(--accent-bg); }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary::after { content: none; }
  .menu > summary:active { transform: scale(0.94); }
  /* Two lines that turn into a cross. */
  .menu-icon, .menu-icon::before { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--brand-strong);
    transition: transform 240ms var(--ease); }
  .menu-icon { position: relative; transform: translateY(-3px); }
  .menu-icon::before { content: ""; position: absolute; left: 0; top: 6px; }
  .menu[open] .menu-icon { transform: rotate(45deg); }
  .menu[open] .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }
  /* The sheet: fills the screen under the header, grouped list rows with chevrons. */
  .menu-sheet { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 100%); overflow-y: auto;
    background: var(--bg); padding: .75rem 1rem 2.5rem; border-top: 0.5px solid var(--border);
    animation: menu-in 260ms var(--ease); }
  .menu-sheet nav + nav { margin-top: 1.5rem; }
  .menu-sheet ul { list-style: none; margin: 0; padding: 0 1rem; background: var(--surface); border-radius: var(--radius); }
  .menu-sheet li + li a { border-top: 0.5px solid var(--border); }
  .menu-sheet a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px;
    color: var(--text); text-decoration: none; font-size: 17px; }
  .menu-sheet a::after { content: ""; flex: none; width: .45rem; height: .45rem; border-right: 2px solid var(--control);
    border-top: 2px solid var(--control); transform: rotate(45deg); }
  [dir="rtl"] .menu-sheet a::after { transform: rotate(-135deg); }
  .menu-sheet a[aria-current] { color: var(--brand-strong); font-weight: 600; }
  .menu-group { margin: 0 1rem .4rem; font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .menu-sheet { animation: none; }
  .menu-icon, .menu-icon::before { transition: none; }
}

/* The header mark matches the app icon: always brand blue with a white mark, in light and dark mode. */
.logo-mark, :root .logo-mark { background: #3B52D9; color: #fff; }

/* UX review (25 Nov): on phones the big mark pushed the main button below the fold; the header already shows it. */
@media (max-width: 600px) { .hero-mark { display: none; } }

/* Typography pass (owner, 25 Nov: heavy bold everywhere reads as AI-made). Body regular; no bold inside sentences;
   headings semibold at most (the page title is set apart by size); hierarchy by size, colour and spacing.
   Letter-spacing no tighter than Apple's own; nothing in all caps. The logo keeps its approved weight. */
h1, .hero h1, .hero-lp h1 { font-weight: 600; }
h2, h3 { font-weight: 600; }
h3 { letter-spacing: 0.012em; }
.menu-group { text-transform: none; font-weight: 400; }
main p strong, main li strong, main td strong, main dd strong, .callout strong, .lead strong { font-weight: inherit; }
.price { font-weight: 600; }
.chips li, .chips li.warm { font-weight: 500; }
.chips li::before, .ticks li::before { font-weight: 600; }
summary { font-weight: 500; }
label, .form-status { font-weight: 500; }
.draft-banner { font-weight: 600; }
.steps > li::before { font-weight: 600; }
