/* MAMI Immigration — site styles.
   Layout concept: white editorial pages on a 1200px grid, alternating with cool-grey bands;
   one red (Canadian flag red) carries every action; near-black panels mark the moments that matter. */
:root {
  --red: #d8141c;
  --red-ink: #b30f16;
  --red-tint: #fdeced;
  --red-line: #f6c9cc;
  --ink: #121316;
  --ink-2: #3a3d44;
  --muted: #676b74;
  --line: #e4e5e9;
  --line-2: #cfd1d6;
  --paper: #ffffff;
  --band: #f4f5f7;
  --night: #111214;
  --night-2: #1c1d21;
  --on-night: #f3f4f6;
  --on-night-2: #b9bcc4;
  --ok: #1f7a4d;
  --ok-tint: #e7f4ec;
  --warn: #8a5a00;
  --warn-tint: #fdf3dc;
  --focus: #1a5fd6;

  --font: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;

  --r-card: 14px;
  --r-btn: 7px;
  --shadow: 0 1px 2px rgba(18, 19, 22, .04), 0 8px 28px rgba(18, 19, 22, .07);
  --shadow-lg: 0 20px 50px rgba(18, 19, 22, .16);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font: 400 16px/1.6 var(--font);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -.022em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; font-weight: 700; }
h3 { font-size: 1.14rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: calc(1200px + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 560px) {
  .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Top bar & header ---------- */
.topbar { background: var(--band); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-block: .45rem; flex-wrap: wrap; }
.topbar a { color: var(--ink-2); }
.topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 760px) { .topbar-cred-long { display: none; } .topbar-links .wa { display: none; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand img { width: 128px; height: auto; }
.nav { margin-left: auto; margin-right: auto; }
.nav ul { list-style: none; padding: 0; display: flex; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-actions .pay-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.header-actions .pay-link:hover, .header-actions .pay-link[aria-current="page"] { color: var(--red); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-btn); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1140px) {
  .nav, .header-actions .pay-link { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 460px) { .header-actions .btn { display: none; } .brand img { width: 112px; } }

.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(18, 19, 22, .45); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none !important; }
.drawer-panel { width: min(380px, 100%); height: 100%; overflow-y: auto; background: var(--paper); padding: calc(1rem + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px)) 20px; display: flex; flex-direction: column; gap: 1.25rem; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer nav ul { list-style: none; padding: 0; display: grid; }
.drawer nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.08rem; }
.drawer .btn { width: 100%; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 500 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  padding: .82rem 1.25rem; border-radius: var(--r-btn); border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-ink); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .62rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow-link { color: var(--red); font-weight: 600; text-decoration: none; font-size: .93rem; display: inline-flex; align-items: center; gap: .3rem; }
.arrow-link::after { content: "→"; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(3px); }
.ext::after { content: " ↗"; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.band { background: var(--band); }
.rule-top { border-top: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.kicker { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.lead { font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); max-width: 36rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.fine { font-size: .78rem; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem 3rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-head p { max-width: 24rem; color: var(--muted); font-size: .95rem; }
.red { color: var(--red); }
.breadcrumbs { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 40rem; }
.hero .lead { margin-top: 1.4rem; }
.hero .btn-row { margin-top: 2rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.8rem; padding: 0; list-style: none; font-size: .84rem; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: .45rem; }
.checks li::before, .ticks li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.hero-media { position: relative; padding-bottom: 2.2rem; }
.hero-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 5.4; max-width: 100%; background: var(--band); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; left: -1.5rem; bottom: 0; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 1.05rem 1.2rem; max-width: 19rem; }
.float-card .kicker { display: block; margin-bottom: .35rem; font-size: .66rem; }
.float-card a { color: var(--ink); font-weight: 600; text-decoration: none; font-size: .93rem; line-height: 1.4; }
.float-card a:hover { color: var(--red); }
.stat-card { position: absolute; left: 1rem; right: 1rem; bottom: 0; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.stat-card span { display: block; font-size: .74rem; color: var(--muted); }
.stat-card strong { display: block; color: var(--ink); font-size: 1.12rem; letter-spacing: -.01em; }
.stat-card a { color: var(--red); text-decoration: none; }
.hero-media.has-stats .hero-photo { aspect-ratio: 5 / 4.4; }
.hero-media.has-stats { padding-bottom: 4.5rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .float-card { left: 1rem; }
}

.hero-dark { position: relative; color: var(--on-night); background: var(--night); overflow: hidden; }
.hero-dark .bg { position: absolute; inset: 0; }
.hero-dark .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-dark .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 18, 20, .92) 0%, rgba(17, 18, 20, .7) 45%, rgba(17, 18, 20, .15) 100%); }
.hero-dark .container { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero-dark h1 { color: #fff; max-width: 44rem; }
.hero-dark h1 .red { color: #ff4b52; }
.hero-dark .lead { color: var(--on-night-2); margin-top: 1.4rem; }
.hero-dark .btn-row { margin-top: 2rem; }
.hero-dark .breadcrumbs, .hero-dark .breadcrumbs a { color: var(--on-night-2); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.6rem; min-width: 0; }
.card h3 + p, .card h3 + .rule + p { margin-top: .6rem; }
.card p { font-size: .93rem; color: var(--ink-2); }
.card .arrow-link { margin-top: 1.1rem; }
.rule { width: 22px; height: 2px; background: var(--red); margin-top: .7rem; }
.icon-chip { width: 36px; height: 36px; border-radius: 9px; background: var(--red-tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.icon-chip svg { width: 19px; height: 19px; }
.service-card { display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.service-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card h3 { font-size: 1.3rem; }
.service-card p { flex: 1; margin-top: .7rem; }
.service-card .arrow-link { margin-top: 1.4rem; }
.tag { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--band); border-radius: 999px; padding: .3rem .65rem; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }

.action-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
@media (max-width: 860px) { .action-tiles { grid-template-columns: 1fr; } }
.tile { display: flex; align-items: center; gap: .9rem; padding: 1.05rem 1.2rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); min-width: 0; }
.tile strong { display: block; font-size: .95rem; }
.tile span.sub { display: block; font-size: .78rem; color: var(--muted); }
.tile .go { margin-left: auto; color: var(--red); font-size: 1.1rem; transition: transform .15s; }
.tile:hover .go { transform: translateX(3px); }
.tile:hover { border-color: var(--line-2); color: var(--ink); }
.tile svg { width: 20px; height: 20px; flex: none; }
.tile-dark { background: var(--night); border-color: var(--night); color: #fff; }
.tile-dark:hover { color: #fff; border-color: #000; background: #000; }
.tile-dark span.sub { color: var(--on-night-2); }
.tile-dark .go { color: #fff; }

/* steps: a real sequence */
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.5rem; list-style: none; padding: 0; counter-reset: step; }
.steps li { border-top: 2px solid var(--ink); padding-top: 1.1rem; counter-increment: step; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--red); font-weight: 700; font-size: .8rem; margin-bottom: .55rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.02rem; }
.steps p { font-size: .88rem; color: var(--muted); margin-top: .45rem; }
@media (max-width: 860px) { .steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* split rows */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem 1.5rem; }
.points > div { border-top: 1px solid var(--ink); padding-top: 1rem; min-width: 0; }
.points h3 { font-size: 1rem; }
.points p { font-size: .88rem; color: var(--muted); margin-top: .35rem; }
@media (max-width: 640px) { .points { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; display: grid; }
.ticks li { display: flex; gap: .85rem; align-items: center; padding-block: 1rem; border-top: 1px solid var(--line); font-size: .97rem; color: var(--ink); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }

/* callouts */
.note { background: var(--red-tint); border-radius: var(--r-card); padding: 1.5rem 1.75rem; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem 2rem; align-items: start; }
.note .kicker { padding-top: .2rem; }
.note ul { padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--ink); font-size: .95rem; }
.note p { color: var(--ink); font-size: .95rem; }
@media (max-width: 700px) { .note { grid-template-columns: 1fr; } }

.panel-dark { background: var(--night); color: var(--on-night); border-radius: var(--r-card); padding: clamp(1.6rem, 4vw, 2.4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark h3 { font-size: 1.2rem; }
.panel-dark p { color: var(--on-night-2); max-width: 40rem; margin-top: .5rem; font-size: .95rem; }
.panel-dark .kicker { color: #ff6a70; display: block; margin-bottom: .6rem; }
.panel-dark > div { min-width: 0; flex: 1 1 22rem; }

/* cost blocks */
.costs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.costs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .costs, .costs.three { grid-template-columns: 1fr; } }
.quote-card { border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 1.6rem; background: var(--paper); }
.quote-card h3 { font-size: 1.35rem; margin-top: .55rem; }
.quote-card p { margin-top: .7rem; font-size: .93rem; }
.quote-card .btn { margin-top: 1.4rem; }
.fee-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.4rem 1.6rem; }
.band .fee-card { border-color: var(--paper); }
.fee-card .kicker { color: var(--muted); }
.fee-card dl { margin: .75rem 0 0; }
.fee-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--line); font-size: .93rem; }
.fee-card dl div:last-child { border-bottom: 0; }
.fee-card dt { color: var(--ink-2); }
.fee-card dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.fee-card dd.soft { font-weight: 400; color: var(--muted); }

/* product strip */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--paper); }
.product .ph { min-height: 220px; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.product .body .btn-row { align-items: center; margin-top: .6rem; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-of-type { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; padding: 1.15rem 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; gap: .75rem; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸"; color: var(--ink); transition: transform .15s; display: inline-block; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq .ans { padding: 0 0 1.25rem 1.4rem; max-width: 46rem; font-size: .95rem; }
.faq .ans p + p { margin-top: .6rem; }

/* CTA band with photo */
.cta-band { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(.2); }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 18, 20, .85) 0%, rgba(17, 18, 20, .55) 55%, rgba(17, 18, 20, .2) 100%); }
.cta-band .container { position: relative; padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.cta-band h2 { color: #fff; max-width: 34rem; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.cta-band p { color: var(--on-night); margin-top: 1rem; max-width: 34rem; }
.cta-band .btn-row { margin-top: 1.8rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.portrait { border-radius: 16px; background: linear-gradient(180deg, #e9eaee 0%, #dfe1e6 100%); overflow: hidden; aspect-ratio: 4 / 4.4; display: flex; align-items: flex-end; justify-content: center; max-width: 100%; }
.portrait img { width: 100%; object-fit: contain; }
.about-grid h2 { margin-top: .2rem; }
.about-grid p { margin-top: 1rem; max-width: 44rem; }
.about-grid .btn-row { margin-top: 1.4rem; gap: 1.5rem; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 300px; } }

/* Guides */
.guide-card { display: flex; flex-direction: column; gap: .8rem; text-decoration: none; min-height: 100%; }
.guide-card h3 { font-size: 1.12rem; color: var(--ink); }
.guide-card p { color: var(--muted); font-size: .9rem; }
a.guide-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
a.guide-card:hover h3 { color: var(--red); }

.status-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.status-row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; gap: .5rem 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.status-row h3 { font-size: 1rem; }
.status-row p { font-size: .9rem; color: var(--ink-2); }
.status-row .src { font-size: .82rem; white-space: nowrap; }
@media (max-width: 760px) { .status-row { grid-template-columns: 1fr; } }
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .25rem .6rem; margin-bottom: .4rem; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-open { background: var(--ok-tint); color: var(--ok); }
.pill-limited { background: var(--warn-tint); color: var(--warn); }
.pill-closed { background: var(--red-tint); color: var(--red-ink); }

/* Article */
.article { max-width: 44rem; }
.article h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article p, .article ul, .article ol { margin-top: 1rem; }
.article ul, .article ol { padding-left: 1.25rem; display: grid; gap: .45rem; }
.article .placeholder-note { background: var(--warn-tint); color: var(--ink); border-radius: 10px; padding: 1rem 1.2rem; margin-top: 1.2rem; font-size: .92rem; }
.article-meta { display: flex; gap: .4rem 1.4rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 1.2rem; }
.article-aside { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 1rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* ---------- App pages (book, assessment, pay) ---------- */
.app-page { background: var(--band); padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3.5rem, 6vw, 5rem); }
.app-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.app-page .lead { margin-top: .7rem; }
.app-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 1.25rem; margin-top: 2.2rem; align-items: start; }
@media (max-width: 960px) { .app-layout { grid-template-columns: 1fr; } }
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
.side { display: grid; gap: 1rem; min-width: 0; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.4rem; }
.side-card::before { content: ""; display: block; width: 22px; height: 2px; background: var(--red); margin-bottom: 1rem; }
.side-card.plain::before { display: none; }
.side-card h3 { font-size: 1rem; }
.side-card p { font-size: .88rem; color: var(--ink-2); margin-top: .5rem; }
.side-card .arrow-link { margin-top: .8rem; }
.sticky-side { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
@media (max-width: 960px) { .sticky-side { position: static; } }

.step-block + .step-block { margin-top: 2rem; }
.step-title { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; display: flex; gap: .4rem; align-items: baseline; }
.step-title .n { color: var(--red); font-variant-numeric: tabular-nums; }
.step-title .hint { font-weight: 400; font-size: .85rem; color: var(--muted); }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 420px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .box { display: block; height: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: .9rem 1rem; transition: border-color .12s, background-color .12s; }
.choice .box strong { display: block; color: var(--ink); font-size: .97rem; }
.choice .box span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: .2rem; }
.choice .box em { display: block; font-style: normal; color: var(--red-ink); font-size: .76rem; font-weight: 700; margin-top: .45rem; }
.choice:hover .box { border-color: var(--ink-2); }
.choice input:checked + .box { border: 1.5px solid var(--red); background: var(--red-tint); }
.choice input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill-opt span { display: inline-block; padding: .62rem 1.05rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: var(--ink); background: var(--paper); cursor: pointer; transition: all .12s; }
.pill-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pill-opt:hover span { border-color: var(--ink-2); }

.agree { background: var(--band); border-radius: 10px; padding: 1.1rem 1.2rem; font-size: .9rem; }
.agree p { color: var(--ink-2); }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-top: .8rem; color: var(--ink); font-size: .9rem; cursor: pointer; }
.check input { width: 19px; height: 19px; margin: .1rem 0 0; accent-color: var(--red); flex: none; }

.days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.day { flex: none; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); padding: .55rem .8rem; min-width: 74px; text-align: center; cursor: pointer; font: inherit; color: var(--ink); }
.day small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.day b { display: block; font-size: 1.05rem; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-pressed="true"] small { color: var(--on-night-2); }
.day:disabled { opacity: .35; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin-top: 1rem; }
@media (max-width: 640px) { .times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 400px) { .times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.slot { border: 1px solid var(--line-2); border-radius: 9px; background: var(--paper); padding: .7rem .5rem; font: 500 .92rem var(--font); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot small { display: block; font-weight: 400; font-size: .7rem; color: var(--muted); }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.slot[aria-pressed="true"] small { color: #ffe1e3; }
.slots-status { font-size: .88rem; color: var(--muted); margin-top: .9rem; }

.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .fields, .fields.two { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field label { font-size: .86rem; font-weight: 500; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 .97rem/1.4 var(--font); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 8px; padding: .72rem .8rem; min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field .err { color: var(--red-ink); font-size: .8rem; }
.field [aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }

.summary h2 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.summary dl { margin: .8rem 0 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .75rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.summary .btn { margin-top: 1.1rem; }
.summary h3 { font-size: .95rem; margin-top: 1.5rem; }
.summary ul { padding-left: 1.1rem; font-size: .86rem; color: var(--ink-2); margin-top: .6rem; display: grid; gap: .3rem; }

.form-error { background: var(--red-tint); color: var(--red-ink); border-radius: 8px; padding: .8rem 1rem; font-size: .9rem; margin-top: 1rem; }
.form-ok { text-align: left; }
.form-ok h2 { font-size: 1.6rem; }
.form-ok p { margin-top: .8rem; }
.preview-flag { display: inline-flex; gap: .5rem; align-items: center; background: var(--warn-tint); color: var(--warn); font-size: .8rem; border-radius: 8px; padding: .5rem .8rem; margin-top: 1rem; }

.progress { display: flex; gap: 1.4rem; margin-top: 1.6rem; list-style: none; padding: 0; font-size: .86rem; color: var(--muted); flex-wrap: wrap; }
.progress li { display: flex; align-items: center; gap: .5rem; }
.progress li span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; background: var(--paper); }
.progress li.done span, .progress li.on span { background: var(--ink); color: #fff; border-color: var(--ink); }
.progress li.on { color: var(--ink); font-weight: 600; }

.inv-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin: -.2rem 0 0; }
.inv-head strong { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.inv-rows div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .95rem; border-bottom: 1px solid var(--line); font-size: .93rem; }
.inv-rows dt { color: var(--muted); }
.inv-rows dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.3rem; }
.inv-total b { font-size: 2rem; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.inv-total b small { font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.pay-box { background: var(--band); border-radius: 10px; padding: 1.2rem; margin-top: 1rem; font-size: .9rem; }
.pay-box p + p, .pay-box p + .btn, .pay-box ol { margin-top: .7rem; }
.pay-box ol { padding-left: 1.2rem; display: grid; gap: .35rem; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: .7rem 1rem; font: 500 .95rem var(--font); color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); font-size: .88rem; }
.site-footer .container { padding-block: 3.5rem 2rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .7fr)); gap: 2rem; }
.foot-grid img { width: 130px; }
.foot-grid p { margin-top: 1rem; max-width: 26rem; line-height: 1.6; }
.foot-grid h2 { color: #fff; font-size: .88rem; letter-spacing: 0; margin-bottom: .9rem; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid #2a2b30; margin-top: 2.5rem; padding-top: 1.4rem; font-size: .8rem; }
.foot-base nav { display: flex; gap: 1.2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.reveal { animation: rise .6s ease both; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }

/* ---------- Full-screen photo hero (home) ---------- */
.hero-full { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); min-height: max(600px, calc(100svh - 108px)); display: flex; align-items: center; }
.hero-full .bg { position: absolute; inset: 0; }
.hero-full .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-full .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(12, 13, 15, .86) 0%, rgba(12, 13, 15, .62) 48%, rgba(12, 13, 15, .25) 100%); }
.hero-full-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 8vh, 6rem); }
.hero-full h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: 42rem; }
.hero-full h1 .red { color: #ff4b52; }
.hero-full .eyebrow { color: var(--on-night); }
.hero-full .eyebrow::before { display: none; }
.hero-full .lead { color: #dcdfe5; margin-top: 1.4rem; }
.hero-full .btn-row { margin-top: 2rem; }
.hero-full .checks { color: #e8eaee; }
.hero-full .checks li::before { background: #ff4b52; }
.flag-sm { width: 24px; height: 12px; border-radius: 2px; flex: none; }
.glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 18px; padding: 1.6rem; display: grid; gap: 1.1rem; justify-items: start; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.flag-big { width: 168px; height: 84px; border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.glass-person { display: flex; gap: .85rem; align-items: center; }
.glass-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); }
.glass-person strong { display: block; color: #fff; font-size: 1rem; }
.glass-person span { display: block; color: var(--on-night-2); font-size: .85rem; }
.glass-link { color: #fff; font-size: .88rem; font-weight: 500; }
.glass-link:hover { color: #fff; }
.glass-note { display: block; width: 100%; background: var(--paper); color: var(--ink); border-radius: 12px; padding: .95rem 1.1rem; text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.4; }
.glass-note .kicker { display: block; font-size: .64rem; margin-bottom: .3rem; }
.glass-note:hover { color: var(--red); }
.photo-credit { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: .8rem; margin: 0; font-size: .72rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) {
  .hero-full { min-height: 0; }
  .hero-full-inner { grid-template-columns: 1fr; }
  .glass { max-width: 420px; }
}
@media (max-width: 900px) { .flag-big { display: none; } }
