/* ==========================================================================
   Avenix Group Ltd – single-page site
   No external fonts, scripts or requests. Everything is served from this file.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-950: #06152b;
  --navy-900: #0a1f3f;
  --navy-800: #0f2b55;
  --navy-700: #16396f;
  --navy-600: #1f4b8f;

  --ink: #14233b;
  --muted: #526078;
  --line: #e1e7f0;
  --bg: #f5f7fb;
  --white: #ffffff;

  --amber: #ffb81c;
  --amber-600: #f0a300;
  --amber-100: #fff3d4;

  --teal: #0b7a7c;
  --teal-100: #def3f2;
  --coral: #c43e29;
  --coral-100: #fde7e2;
  --indigo: #4a43d6;
  --indigo-100: #e8e7fc;

  --danger: #b3261e;
  --success: #12795a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 63, .06), 0 2px 10px rgba(10, 31, 63, .06);
  --shadow-md: 0 10px 32px rgba(10, 31, 63, .10);
  --shadow-lg: 0 28px 70px rgba(6, 21, 43, .30);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}
h4 { font-weight: 700; color: var(--navy-900); }

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

::selection { background: var(--amber); color: var(--navy-950); }

section[id], details[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Icons */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Utilities */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); }
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--amber); color: var(--navy-950); font-weight: 700;
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Highlights anything still to be filled in by the site owner */
.placeholder {
  background: #fff1b8;
  color: #5c4300;
  padding: 0 .35em;
  border-radius: 4px;
  font-weight: 600;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn .icon { transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--amber); color: var(--navy-950); box-shadow: 0 6px 18px rgba(255, 184, 28, .35); }
.btn--accent:hover { background: #ffc545; color: var(--navy-950); box-shadow: 0 10px 26px rgba(255, 184, 28, .45); }

.btn--primary { background: var(--navy-800); color: var(--white); }
.btn--primary:hover { background: var(--navy-600); color: var(--white); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }

.btn--lg { padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- 4. Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #c9d6ec; font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.topbar a:hover { color: var(--amber); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.55rem; letter-spacing: -0.02em; }
.brand-text span { font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; }
.nav ul a { position: relative; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; padding: .4rem 0; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: .7rem 1.35rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--bg); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(6.5rem, 10vw, 8.5rem);
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 78%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(255, 184, 28, .20), transparent 62%),
    radial-gradient(800px 520px at -8% 108%, rgba(74, 67, 214, .32), transparent 62%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero h1 { color: var(--white); font-size: clamp(2.35rem, 5.2vw, 3.9rem); margin-block: 1.1rem 1.4rem; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; color: #d3def2; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin-top: 2.25rem; font-weight: 600; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points .icon { color: var(--amber); stroke-width: 2.4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-600);
}
.eyebrow--light { color: #bcd0f2; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(255, 184, 28, .22); }

/* Hero entrance (CSS only so it never hides content if JS fails) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .pick-card { animation: rise .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Service picker card */
.pick-card {
  background: var(--white); color: var(--ink);
  border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}
.pick-card h2 { font-size: 1.55rem; }
.pick-sub { color: var(--muted); margin-top: .35rem; font-size: .98rem; }
.pick-list { display: grid; gap: .75rem; margin-block: 1.35rem; }

.pick {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); background: var(--white);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.pick:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--navy-600); color: var(--ink); }
.pick-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; font-size: 1.15rem; }
.pick-icon .icon { width: 1.6rem; height: 1.6rem; }
.pick--housing .pick-icon { background: var(--teal-100); color: var(--teal); }
.pick--rta .pick-icon { background: var(--coral-100); color: var(--coral); }
.pick--pcp .pick-icon { background: var(--indigo-100); color: var(--indigo); }
.pick-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.pick-text strong { font-size: 1.05rem; color: var(--navy-900); }
.pick-text small { color: var(--muted); font-size: .88rem; }
.pick-arrow { color: var(--navy-600); transition: transform .18s ease; }
.pick:hover .pick-arrow { transform: translateX(4px); }
.pick-note { display: flex; gap: .55rem; align-items: flex-start; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.pick-note .icon { margin-top: .12rem; color: var(--success); }

/* ---------- 6. Trust strip ---------- */
.trust { margin-top: -4rem; position: relative; z-index: 2; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.trust-grid li { display: flex; gap: .9rem; align-items: center; padding: 1.4rem 1.5rem; }
.trust-grid li + li { border-left: 1px solid var(--line); }
.trust-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--amber-100); color: #8a5a00; flex: none; }
.trust-icon .icon { width: 1.4rem; height: 1.4rem; }
.trust-grid strong { display: block; color: var(--navy-900); line-height: 1.25; }
.trust-grid span:not(.trust-icon) { display: block; font-size: .88rem; color: var(--muted); line-height: 1.4; margin-top: .15rem; }
.footnote { margin-top: 1.1rem; font-size: .82rem; line-height: 1.55; color: var(--muted); max-width: 62rem; }

/* ---------- 7. Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--white { background: var(--white); }
.section--dark {
  position: relative; isolation: isolate; color: #d3def2;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
  overflow: hidden;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(255, 184, 28, .14), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(74, 67, 214, .26), transparent 62%);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--legal { padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--bg); }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); }
.section-head--left { text-align: left; margin-inline: 0; margin-bottom: 1.5rem; }
.section-head h2 { font-size: clamp(1.95rem, 3.8vw, 2.9rem); margin-block: .75rem 1rem; }
.section-head--left h2 { font-size: 1.7rem; margin: 0; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

/* ---------- 8. Services ---------- */
.service {
  --tint: var(--teal);
  --tint-bg: var(--teal-100);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.service + .service { margin-top: 2rem; }
.service--rta { --tint: var(--coral); --tint-bg: var(--coral-100); }
.service--pcp { --tint: var(--indigo); --tint-bg: var(--indigo-100); }
.service--reverse { grid-template-columns: .75fr 1.25fr; }
.service--reverse .service-main { order: 2; }
.service--reverse .service-side { order: 1; }

.eyebrow--service { color: var(--tint); }
.service-main h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-block: .6rem 1rem; }
.service-main > p { color: var(--muted); }
.service-main h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); margin: 1.75rem 0 .8rem; }
.service-main .btn { margin-top: 2rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .35rem .85rem; font-size: .92rem; font-weight: 600; border-radius: 999px;
  background: var(--tint-bg); color: var(--navy-900);
}

.ticks { display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .icon { margin-top: .22rem; padding: 2px; border-radius: 50%; background: var(--tint-bg); color: var(--tint); stroke-width: 2.6; width: 1.3em; height: 1.3em; }

.service-side {
  align-self: stretch;
  background: var(--tint-bg);
  border-radius: 22px; padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.service-side::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .7), transparent 70%);
}
.service-icon {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px;
  background: var(--white); color: var(--tint); box-shadow: var(--shadow-md);
  margin-bottom: 1.4rem; position: relative; z-index: 1;
}
.service-icon .icon { width: 2.8rem; height: 2.8rem; stroke-width: 1.6; }
.service-side h4 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.facts { display: grid; gap: 1rem; position: relative; z-index: 1; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; line-height: 1.55; color: var(--ink); }
.facts .icon { margin-top: .2rem; color: var(--tint); stroke-width: 2.6; }

/* ---------- 9. How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 2rem 1.5rem 1.75rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.step-num {
  position: absolute; top: -1rem; left: 1.5rem;
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--navy-800); color: var(--white); font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 0 5px var(--white);
}
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--white); color: var(--navy-700); box-shadow: var(--shadow-sm); margin-bottom: 1.1rem; }
.step-icon .icon { width: 1.6rem; height: 1.6rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .98rem; line-height: 1.6; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 24px; color: #d3def2;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
}
.cta-band h3 { color: var(--white); font-size: 1.6rem; margin-bottom: .3rem; }

/* ---------- 10. Why Avenix ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfd8e8; }
.why-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--navy-800); color: var(--amber); margin-bottom: 1.2rem; }
.why-icon .icon { width: 1.5rem; height: 1.5rem; }
.why-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.why-card p { color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* ---------- 11. Your options ---------- */
.options { background: var(--amber-100); border: 1px solid #f6dd9b; border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); }
.options-head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 2rem; }
.options-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--navy-950); flex: none; }
.options-icon .icon { width: 1.6rem; height: 1.6rem; }
.options-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.options-head p { color: #4a4231; max-width: 48rem; }
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.options-grid li { background: var(--white); border-radius: var(--radius-sm); padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.options-grid h3 { font-size: 1.15rem; font-family: var(--font-sans); letter-spacing: 0; }
.options-grid p { color: var(--muted); font-size: .95rem; line-height: 1.6; flex: 1; }
.options-grid a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .95rem; }
.options-grid a .icon { width: 1em; height: 1em; }

/* ---------- 12. FAQs & legal accordions ---------- */
.faq, .legal-list { display: grid; gap: .75rem; }
.faq details, .legal-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open], .legal-item[open] { border-color: #c6d2e6; box-shadow: var(--shadow-sm); }
.faq summary, .legal-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--navy-900); line-height: 1.4;
}
.faq summary::-webkit-details-marker, .legal-item summary::-webkit-details-marker { display: none; }
.faq summary .icon, .legal-item summary .icon {
  width: 1.5rem; height: 1.5rem; padding: 4px; border-radius: 50%;
  background: var(--bg); color: var(--navy-700); transition: transform .25s ease, background-color .25s ease;
}
.faq details[open] summary .icon, .legal-item[open] summary .icon { transform: rotate(45deg); background: var(--amber); color: var(--navy-950); }
.faq summary:hover, .legal-item summary:hover { color: var(--navy-600); }
.faq-body { padding: 0 1.4rem 1.4rem; color: var(--muted); }
.faq-body p { max-width: 62ch; }

.legal-item summary { font-size: 1.02rem; }
.prose { padding: 0 1.4rem 1.5rem; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.prose > * + * { margin-top: .85rem; }
.prose h4 { color: var(--navy-900); font-size: 1rem; margin-top: 1.4rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .45rem; }
.prose strong { color: var(--ink); }

/* ---------- 13. Claim form ---------- */
.claim-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.claim-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-block: .9rem 1.1rem; }

.next-steps { display: grid; gap: .9rem; margin-top: 2rem; }
.next-steps li { display: flex; align-items: center; gap: .9rem; color: var(--white); font-weight: 600; }
.next-steps span {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; flex: none;
  background: var(--amber); color: var(--navy-950); font-weight: 800; font-size: .9rem;
}

.contact-list { display: grid; gap: 1.1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--amber); flex: none; }
.contact-list small { display: block; color: #9fb4d8; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.contact-list a { color: var(--white); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--amber); }
.contact-list span:not(.contact-icon) { color: var(--white); font-weight: 600; }

.form-card { background: var(--white); border-radius: 26px; padding: clamp(1.4rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-head { margin-bottom: 1.6rem; }
.form-card h3 { color: var(--navy-900); }
.form-head h3 { font-size: 1.7rem; margin-bottom: .3rem; }
.form-head p { color: var(--muted); font-size: .95rem; }
.req { color: var(--danger); font-weight: 700; }
.opt { color: var(--muted); font-weight: 500; font-size: .88em; }

.field { margin-bottom: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.field label, .details legend { display: block; font-weight: 700; font-size: .95rem; color: var(--navy-900); margin-bottom: .4rem; }

.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"],
.field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .95rem;
  background: var(--white); border: 1.5px solid #c9d3e3; border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314233b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 1.15rem;
}
.field input::placeholder, .field textarea::placeholder { color: #8493ab; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fb0cc; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(31, 75, 143, .16);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fff8f7; }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .16); }
.field-error { display: none; margin-top: .4rem; font-size: .87rem; font-weight: 600; color: var(--danger); }
.field.has-error .field-error { display: block; }
.char-count { text-align: right; font-size: .8rem; color: var(--muted); margin-top: .3rem; }

.details {
  margin: 0 0 1.25rem; padding: 1.25rem 1.25rem .35rem;
  border: 1.5px dashed #c9d3e3; border-radius: 16px; background: #f9fbfe; min-width: 0;
}
.details legend { padding: 0 .5rem; margin-left: -.5rem; margin-bottom: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  .details:not([hidden]) { animation: rise .35s ease both; }
}

.field--check { display: grid; grid-template-columns: auto 1fr; gap: 0 .8rem; align-items: start; margin-block: 1.4rem 1.5rem; }
.field--check input { grid-row: 1; width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--navy-800); cursor: pointer; }
.field--check label { grid-column: 2; font-weight: 500; font-size: .92rem; line-height: 1.55; color: var(--ink); margin: 0; cursor: pointer; }
.field--check .field-error { grid-column: 2; }

/* Honeypot: off-screen, not display:none, so simple bots still fill it */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1rem; font-size: .95rem; font-weight: 600; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { padding: .85rem 1rem; border-radius: 12px; background: #fdeceb; color: var(--danger); border: 1px solid #f4c7c3; }
.fineprint { display: flex; gap: .55rem; align-items: flex-start; margin-top: 1.1rem; font-size: .84rem; line-height: 1.55; color: var(--muted); }
.fineprint .icon { margin-top: .12rem; color: var(--success); }

.btn.is-loading .btn-label::after { content: "…"; }
.btn.is-loading .icon { animation: nudge .9s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

/* Success panel */
.success { text-align: center; padding: 1.5rem .5rem; }
.success-mark {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1.4rem;
  border-radius: 50%; background: #dff5ec; color: var(--success);
}
.success-mark .icon { width: 2.4rem; height: 2.4rem; stroke-width: 2.4; }
.success h3 { font-size: 1.9rem; margin-bottom: .75rem; }
.success p { color: var(--muted); max-width: 30rem; margin-inline: auto; }
.success p + p { margin-top: .75rem; }
.success .ref {
  display: inline-block; margin: 1.25rem 0 .25rem; padding: .55rem 1.1rem; border-radius: 10px;
  background: var(--bg); border: 1px dashed #b9c6dc; color: var(--navy-900); font-weight: 800; letter-spacing: .06em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.success .btn { margin-top: 1.5rem; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9b9d6; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.brand--light { color: var(--white); }
.brand--light .brand-text span { color: #8ea3c7; }
.brand--light .brand-mark rect { fill: var(--navy-700); }
.footer-brand p { margin-top: 1.1rem; max-width: 24rem; font-size: .96rem; line-height: 1.65; }
.footer-col h2 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: #a9b9d6; text-decoration: none; font-size: .96rem; }
.footer-col a:hover { color: var(--amber); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 2rem 2.5rem; display: grid; gap: 1rem; font-size: .82rem; line-height: 1.7; color: #8397ba; }
.footer-legal .placeholder { background: #fff1b8; color: #5c4300; }
.footer-legal .copyright { color: #a9b9d6; margin-top: .5rem; }

/* Notice page used by the PHP handler when JavaScript is off */
.notice-page { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: var(--bg); }
.notice-card { width: min(100%, 560px); background: var(--white); border-radius: 24px; padding: clamp(1.5rem, 5vw, 2.75rem); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.notice-card h1 { font-size: 1.9rem; margin-bottom: 1rem; }
.notice-card ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; margin-bottom: 1.5rem; color: var(--muted); }
.notice-card .btn { margin-top: .5rem; }

/* ---------- 15. Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .why-grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3), .js .why-grid .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps .reveal:nth-child(4), .js .why-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pick-card { max-width: 560px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid li:nth-child(3) { border-left: 0; }
  .trust-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .options-grid { grid-template-columns: 1fr; }
  .claim-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .service, .service--reverse { grid-template-columns: 1fr; }
  .service--reverse .service-main { order: 1; }
  .service--reverse .service-side { order: 2; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--white); padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--line); box-shadow: var(--shadow-md);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-cta { width: 100%; padding: 1rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .topbar p { display: none; }
  .topbar-inner { justify-content: center; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1.4rem; }

  .hero-actions .btn { width: 100%; }
  .trust { margin-top: -3rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid li:nth-child(3) { border-top: 1px solid var(--line); }
  .steps, .why-grid { grid-template-columns: 1fr; }
  .options-head { flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 17. Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .eyebrow-dot { background: Highlight; }
}

@media print {
  .topbar, .site-header, .hero-bg, .pick-card, .form-card, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
