/* The public site (ADR-092, ADR-097). System fonts only; nothing loaded from
   elsewhere; no image or rule is fetched from the style sheet. Colours meet WCAG 2.2 AA contrast in
   light and dark; targets are at least 44 px; motion only when allowed. */
:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eef0f4;
  --ink: #0b0c10;
  --text: #1d1f27;
  --muted: #545866;   /* 7.0:1 on white */
  --line: #e3e5eb;
  --red: #b00f24;     /* the mark's red, darkened for text: 6.9:1 on white */
  --brand: #d5122b;   /* the mark's red: white text on it is 5.3:1 */
  --brand-ink: #ffffff;
  --focus: #1749b8;
  --tint: rgba(213, 18, 43, 0.08);
  --shadow: 0 1px 2px rgba(11, 12, 16, 0.06), 0 8px 24px rgba(11, 12, 16, 0.06);
  --warn-bg: #fff4d6;
  --warn-text: #5a3f00;
  --radius: 1rem;
  --wrap: 72rem;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c10;
    --surface: #14161c;
    --surface-2: #1b1e26;
    --ink: #f4f5f8;
    --text: #e6e8ee;
    --muted: #a9adbb;  /* 8.1:1 on the dark ground */
    --line: #262a33;
    --red: #ff7384;    /* 7.2:1 on the dark ground */
    --focus: #8fb2ff;
    --tint: rgba(255, 115, 132, 0.10);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --warn-bg: #3a2e0a;
    --warn-text: #ffe39a;
  }
}

/* ---- base ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.375rem;
}
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.12; margin: 0 0 1rem; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); line-height: 1.2; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.125rem; line-height: 1.3; margin: 0 0 0.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; line-height: 1.4; }
:lang(hi) body, body:lang(hi) { line-height: 1.8; }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); color: var(--ink); padding: 0.75rem 1rem; z-index: 10; border-radius: 0.5rem; box-shadow: var(--shadow); }
[hidden] { display: none !important; }

/* ---- the notice before launch ---- */
.notice { background: var(--ink); color: var(--bg); font-size: 0.9rem; }
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.notice .badge { background: var(--brand); color: var(--brand-ink); margin: 0; }

/* ---- header ---- */
header.site {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand langs" "nav nav"; align-items: center; column-gap: 1.5rem; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-weight: 750; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; padding: 0.5rem 0; }
.brand img { width: 2rem; height: 2rem; }
nav ul, footer ul { list-style: none; margin: 0; padding: 0; }
nav.main { grid-area: nav; overflow-x: auto; scrollbar-width: none; margin: 0 -1.25rem; padding: 0 1.25rem; }
nav.main::-webkit-scrollbar { display: none; }
nav.main ul { display: flex; gap: 0.25rem; white-space: nowrap; padding-bottom: 0.4rem; }
nav.main a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.7rem; border-radius: 999px; color: var(--muted); font-size: 0.95rem; font-weight: 550; text-decoration: none; }
nav.main a:hover { color: var(--ink); background: var(--surface); }
nav.main a[aria-current=page] { color: var(--ink); background: var(--surface-2); }
.langs { grid-area: langs; }
.langs ul { display: flex; gap: 0.15rem; padding: 0.2rem; border: 1px solid var(--line); border-radius: 999px; }
.langs a { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; justify-content: center; padding: 0 0.7rem; border-radius: 999px; font-size: 0.875rem; color: var(--muted); text-decoration: none; }
.langs a[aria-current=true] { background: var(--ink); color: var(--bg); font-weight: 650; }
@media (min-width: 72rem) {
  .bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav langs"; }
  nav.main { margin: 0; padding: 0; overflow: visible; }
  nav.main ul { justify-content: flex-end; padding: 0; }
}

/* ---- buttons ---- */
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.cta, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.35rem; border-radius: 999px;
  border: 1.5px solid var(--brand); background: var(--brand); color: var(--brand-ink);
  font: inherit; font-size: 1rem; font-weight: 650; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(11, 12, 16, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.cta:hover, button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(213, 18, 43, 0.28); text-decoration: none; }
.cta.second, button.second { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.cta.second:hover, button.second:hover { border-color: var(--ink); box-shadow: none; }
.badge { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 0.75rem; border-radius: 999px; background: var(--tint); color: var(--red); font-size: 0.85rem; font-weight: 650; margin: 0 0 1.25rem; }

/* ---- the hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% 10%, var(--tint), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, var(--surface), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.25rem + 3vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; }
:lang(hi) .hero h1 { line-height: 1.35; letter-spacing: 0; }
.hero .lead { max-width: 38rem; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; padding-top: 5.5rem; padding-bottom: 6rem; }
}
figure.mark { margin: 0; display: grid; justify-items: center; gap: 1rem; text-align: center; }
figure.mark img { width: min(18rem, 64vw); height: auto; filter: drop-shadow(0 24px 48px rgba(213, 18, 43, 0.28)); }
figure.mark figcaption { color: var(--muted); font-size: 0.875rem; max-width: 22rem; }
figure.mark .printed { display: block; margin-top: 0.4rem; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink); overflow-wrap: anywhere; }

/* ---- bands across the page ---- */
.band { padding: 4rem 0; }
.band + .band { border-top: 1px solid var(--line); }
.band > .wrap > h2:first-child { margin-top: 0; }
@media (min-width: 48rem) { .band { padding: 5.5rem 0; } }
h2.display { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 22ch; }
:lang(hi) h2.display { line-height: 1.35; letter-spacing: 0; }
.pitch .lead { max-width: 40rem; }
.card-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 0.8rem; background: var(--tint); color: var(--red); }
.card-icon .i { width: 1.4rem; height: 1.4rem; }
.card-icon.lg { width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-bottom: 1.25rem; }
.card-icon.lg .i { width: 1.8rem; height: 1.8rem; }
.i.sm { display: inline-block; width: 1rem; height: 1rem; vertical-align: -0.15em; }
ul.proofs { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
ul.proofs li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-weight: 550; color: var(--ink); }
@media (min-width: 48rem) { ul.proofs { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* steps, numbered by the style sheet */
.steps { background: var(--surface); }
ol.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; background: none; }
ol.steps li { counter-increment: step; position: relative; padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
ol.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
ol.steps p { margin: 0; color: var(--muted); }
@media (min-width: 48rem) { ol.steps { grid-template-columns: repeat(3, 1fr); } }

/* the first offer */
.offer-grid { display: grid; gap: 2rem; align-items: start; }
.offer-grid h2 { margin-top: 0; }
@media (min-width: 56rem) { .offer-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.panel { padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
ul.ticks { list-style: none; padding-left: 0; }
ul.ticks li { position: relative; padding-left: 2rem; margin: 0.6rem 0; }
ul.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.5rem; height: 0.85rem; border: solid var(--red); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
p.more { margin: 2rem 0 0; font-weight: 650; }
p.more a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; text-decoration: none; }
p.more a:hover { text-decoration: underline; }

/* cards: the roles */
ul.cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
a.card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 1rem; row-gap: 0.25rem; height: 100%; min-height: 2.75rem; padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); color: var(--text); text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
a.card .card-icon { grid-row: 1 / span 2; }
a.card:hover { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-title { font-weight: 700; color: var(--ink); line-height: 1.3; }
.card-text { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* the trust band */
.trust { background: var(--ink); color: #c9ccd6; }
.trust h2, .trust h3 { color: #ffffff; }
.trust .card-icon { background: rgba(255, 255, 255, 0.08); color: #ff7384; }
ul.trust-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
ul.trust-grid li { padding: 1.5rem; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); }
ul.trust-grid .card-icon { margin-bottom: 1rem; }
ul.trust-grid p { margin: 0; font-size: 0.95rem; }
@media (min-width: 40rem) { ul.trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { ul.trust-grid { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-color-scheme: dark) { .trust { background: var(--surface); border-top: 1px solid var(--line); } }

/* the closing band */
.closing { text-align: center; background: radial-gradient(40rem 18rem at 50% 0%, var(--tint), transparent 70%); }
.closing .wrap { display: grid; justify-items: center; }
.closing .lead { max-width: 36rem; }
.closing .ctas { justify-content: center; margin-top: 0.5rem; }

/* ---- inner pages ---- */
.pagehead { padding: 3rem 0 1.5rem; background: radial-gradient(50rem 20rem at 100% 0%, var(--tint), transparent 60%); }
@media (min-width: 48rem) { .pagehead { padding: 4.5rem 0 2rem; } }
.pagehead h1, .pagehead .lead { max-width: 46rem; }
.pagehead .lead { margin-bottom: 0; }
p.back { margin: 0 0 1.5rem; font-size: 0.95rem; font-weight: 600; }
p.back a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); text-decoration: none; }
p.back a::before { content: ""; width: 0.5rem; height: 0.5rem; margin-right: 0.6rem; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
p.back a:hover { color: var(--ink); }
.prose { padding-top: 1rem; padding-bottom: 4rem; }
.prose > * { max-width: 46rem; }
.prose > .cards, .prose > .contacts { max-width: none; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { padding-top: 2rem; border-top: 1px solid var(--line); margin-top: 2.5rem; }
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 1rem; }
.prose > p:last-child .cta { margin-top: 1rem; }
.prose ul:not(.cards):not(.ticks):not(.contacts) { padding-left: 1.25rem; }
.prose li { margin: 0.35rem 0; }
.prose .cards { margin-top: 1rem; }
.solo { padding-top: 4rem; }
.solo section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }

/* contact cards and fields */
ul.contacts { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
ul.contacts li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
ul.contacts .card-icon { grid-row: 1 / span 2; }
ul.contacts .card-text a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; font-size: 1.05rem; overflow-wrap: anywhere; }
dl.fields { display: grid; grid-template-columns: 1fr; gap: 0.2rem 1.25rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
dl.fields dt { font-weight: 700; color: var(--ink); }
dl.fields dd { margin: 0 0 0.75rem; overflow-wrap: anywhere; }
@media (min-width: 40rem) { dl.fields { grid-template-columns: max-content 1fr; } dl.fields dd { margin: 0; } }
mark.unfilled { background: var(--warn-bg); color: var(--warn-text); padding: 0 0.3rem; border: 1px dashed currentColor; border-radius: 0.25rem; }

/* ---- checking an X ---- */
form.verify { margin-top: 1rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
form.verify label { display: block; font-weight: 700; color: var(--ink); }
form.verify .hint { margin: 0.25rem 0 0.75rem; color: var(--muted); }
form.verify input {
  width: 100%; min-height: 3rem; font: inherit; font-family: var(--mono); letter-spacing: 0.04em;
  padding: 0.6rem 0.9rem; border: 1.5px solid var(--muted); border-radius: 0.75rem; background: var(--bg); color: var(--ink);
}
.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
video.scan { width: 100%; max-width: 24rem; margin-top: 1rem; border-radius: var(--radius); }
.result { margin-top: 1.25rem; }
.result:not(:empty) { border-left: 4px solid var(--line); padding: 0.5rem 1.25rem; background: var(--surface); border-radius: 0 0.75rem 0.75rem 0; }
.result[data-kind=found] { border-color: var(--ink); }
.result[data-kind=problem], .result[data-kind=down] { border-color: var(--red); }

/* ---- footer ---- */
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 3.5rem 0 2.5rem; color: var(--muted); font-size: 0.95rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.foot-brand p { max-width: 22rem; margin: 0.5rem 0 0; }
.foot-h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin: 0 0 0.75rem; }
:lang(hi) .foot-h { text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
footer.site li a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); text-decoration: none; }
footer.site li a:hover { color: var(--ink); text-decoration: underline; }
footer.site .foot-brand a:not(.brand) { display: inline-flex; align-items: center; min-height: 2.75rem; }
footer.site p.legal { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .cta:hover, button:hover, a.card:hover { transform: none; }
}
