/* ==========================================================================
   ALB Technology for Business — site styles
   Mobile-first. No framework. Brand idea: "stitched together in Walsall".
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* Brand */
  --navy: #0f2a44;
  --navy-900: #0a1e31;
  --navy-lift: #1b4369;
  --teal: #00b3a4;
  --teal-ink: #00776e;   /* AA text on light */
  --teal-50: #e4f6f3;
  --teal-100: #c6ede7;
  --green: #2e9e5b;
  --green-ink: #1d7442;  /* AA text on light */
  --green-50: #e7f4eb;
  --green-100: #cdead7;
  --amber: #f5a623;
  --amber-600: #d98b0b;
  --amber-50: #fef3de;

  /* Neutrals: warm paper, not cold grey */
  --cream: #fbf7f0;
  --sand: #f3ebdd;
  --paper: #ffffff;
  --line: #e6dccb;
  --ink: #0f2a44;
  --muted: #4a5b6c;
  --on-dark-muted: #b9c7d6;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgb(15 42 68 / 0.06), 0 2px 8px rgb(15 42 68 / 0.05);
  --shadow: 0 2px 4px rgb(15 42 68 / 0.04), 0 14px 34px -10px rgb(15 42 68 / 0.18);
  --shadow-lg: 0 34px 64px -24px rgb(15 42 68 / 0.35);

  --container: 1180px;
  --gutter: clamp(1.1rem, 4.5vw, 2rem);
  --section: clamp(3.75rem, 9vw, 7rem);
  --header-h: 68px;

  /* Saddle-stitch motif (matches the logo crossbar) */
  --stitch-amber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M3 6.5 7.5 1.5' stroke='%23F5A623' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 7vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.95rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.32rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--teal-ink); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--navy); }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible { outline-color: var(--amber); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: var(--on-dark-muted); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head p { font-size: 1.15rem; color: var(--muted); }
.section--navy .section-head p { color: var(--on-dark-muted); }
.section-head--center { margin-inline: auto; text-align: center; }

.lede { font-size: clamp(1.12rem, 2.3vw, 1.32rem); line-height: 1.55; color: var(--muted); max-width: 40ch; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 8px; flex: none;
  background: var(--stitch-amber) repeat-x left center / 14px 8px;
}
.eyebrow--teal { color: var(--teal-ink); }
.eyebrow--green { color: var(--green-ink); }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--amber); }

/* Saddle-stitch underline for key words */
.stitch-u {
  background: var(--stitch-amber) repeat-x left bottom / 0.42em 0.24em;
  padding-bottom: 0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(46 158 91 / 0.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.85rem 1.45rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 750 1.04rem/1.1 var(--font-body); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--amber); color: var(--navy); box-shadow: 0 3px 0 var(--amber-600); }
.btn--primary:hover { color: var(--navy); background: #ffb43a; transform: translateY(-1px); box-shadow: 0 4px 0 var(--amber-600); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--amber-600); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 559px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 247 240 / 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgb(15 42 68 / 0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 10px; }
.brand img { height: 42px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  font: 700 0.95rem var(--font-body); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.no-js .nav-toggle { display: none; }

.nav-menu { list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) {
  display: block; padding: 0.85rem 0.25rem;
  color: var(--navy); font-weight: 650; text-decoration: none;
}
.nav-menu a[aria-current="page"]:not(.btn) {
  background: var(--stitch-amber) repeat-x left bottom 0.5rem / 12px 7px;
}

@media (max-width: 939px) {
  .js .nav-menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -24px rgb(15 42 68 / 0.35);
  }
  .js .nav-menu.is-open { display: block; }
  .nav-menu li + li:not(.nav-cta) { border-top: 1px dashed var(--line); }
  .nav-menu .nav-cta { margin-top: 0.75rem; }
  .nav-menu .nav-cta .btn { width: 100%; }
  .no-js .header-inner { height: auto; flex-wrap: wrap; padding-block: 0.75rem; }
}
@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; align-items: center; gap: 1.6rem; }
  .nav-menu a:not(.btn) { padding: 0.5rem 0; }
  .nav-menu a:not(.btn):hover { color: var(--teal-ink); }
  .nav-menu .nav-cta { margin-left: 0.4rem; }
}

/* ---------- Home hero + doors ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.75rem) 0 var(--section);
  background:
    radial-gradient(55% 45% at 100% 0%, rgb(0 179 164 / 0.12), transparent 70%),
    radial-gradient(45% 40% at 0% 85%, rgb(46 158 91 / 0.09), transparent 70%),
    radial-gradient(35% 30% at 60% 100%, rgb(245 166 35 / 0.08), transparent 70%);
}
.hero-top { display: grid; gap: 1.5rem; align-items: end; }
.hero h1 { margin-bottom: 0.35em; max-width: 13ch; }
.hero .pill { margin-bottom: 1.4rem; }
@media (min-width: 900px) {
  .hero-top { grid-template-columns: 1.25fr 1fr; gap: 3rem; }
  .hero-top .lede { margin-bottom: 0.9rem; }
}

.doors { display: grid; gap: 1.1rem; margin-top: clamp(2rem, 5vw, 3rem); }
@media (min-width: 760px) { .doors { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.door {
  --accent: var(--teal); --accent-ink: var(--teal-ink); --tint: var(--teal-50); --tint-2: var(--teal-100);
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.door--tax { --accent: var(--green); --accent-ink: var(--green-ink); --tint: var(--green-50); --tint-2: var(--green-100); }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.door:focus-within { outline: 3px solid var(--navy); outline-offset: 4px; }
.door:focus-within a:focus-visible { outline: none; }
.door-visual {
  position: relative; display: grid; place-items: center;
  min-height: 210px; padding: 1.75rem 1.25rem;
  background:
    radial-gradient(circle at 1px 1px, rgb(15 42 68 / 0.09) 1px, transparent 0) 0 0 / 18px 18px,
    var(--tint);
  border-bottom: 2px dashed var(--tint-2);
}
.door-body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
@media (min-width: 1000px) { .door-body { padding: 1.9rem 2.1rem 2.1rem; } }
.door-kicker { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.door-title { font-size: clamp(2rem, 5vw, 2.7rem); margin: 0; }
.door-title a { color: var(--navy); text-decoration: none; }
.door-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.door p { color: var(--muted); margin: 0; }
.door-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.2rem; padding: 0; list-style: none; }
.door-tags li { font-size: 0.86rem; font-weight: 650; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--tint); color: var(--accent-ink); }
.door-cta {
  margin-top: auto; padding-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; color: var(--accent-ink);
}
a.door-cta { position: relative; z-index: 2; text-decoration: none; }
a.door-cta:hover { color: var(--navy); }
.door-cta .icon { transition: transform 0.2s; }
.door:hover .door-cta .icon { transform: translateX(4px); }

/* Mini UI vignettes (no clip-art: real interface fragments) */
.mini {
  width: min(100%, 330px);
  background: var(--paper); border-radius: var(--r); padding: 1rem 1.1rem;
  box-shadow: 0 18px 36px -18px rgb(15 42 68 / 0.45), 0 0 0 1px rgb(15 42 68 / 0.05);
  font-size: 0.9rem; line-height: 1.35;
}
.mini-search {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.8rem; margin-bottom: 0.85rem;
  border-radius: 999px; background: #f2f4f6; color: #3d4b59; font-size: 0.85rem;
}
.mini-search .icon { width: 1rem; height: 1rem; }
.mini-title { font-weight: 800; font-size: 1.02rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.mini-rank { font-size: 0.72rem; font-weight: 800; background: var(--amber); color: var(--navy); border-radius: 999px; padding: 0.15rem 0.5rem; white-space: nowrap; }
.stars { display: inline-flex; gap: 1px; color: var(--amber); vertical-align: -2px; }
.stars .icon { width: 0.95rem; height: 0.95rem; }
.mini-meta { color: var(--muted); margin: 0.3rem 0 0.75rem; font-size: 0.84rem; }
.mini-meta b { color: var(--green-ink); }
.mini-actions { display: flex; gap: 0.4rem; }
.mini-actions span {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
  padding: 0.4rem 0.3rem; border-radius: 999px; border: 1.5px solid var(--teal-100);
  color: var(--teal-ink); font-weight: 700; font-size: 0.78rem;
}
.mini-actions span:first-child { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.mini-actions .icon { width: 0.9rem; height: 0.9rem; }

.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 0.42rem 0; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.86rem; }
.mini-row:first-of-type { border-top: 0; }
.mini-row .tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50); color: var(--green-ink); }
.mini-row .tick .icon { width: 13px; height: 13px; stroke-width: 3; }
.chip-status { font-size: 0.74rem; font-weight: 800; padding: 0.18rem 0.55rem; border-radius: 999px; background: var(--green-ink); color: #fff; display: inline-flex; gap: 0.25rem; align-items: center; }
.chip-status .icon { width: 0.8rem; height: 0.8rem; stroke-width: 3; }
.mini-foot { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 2px solid var(--green-50); font-size: 0.8rem; color: var(--green-ink); font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.mini-foot .icon { width: 1rem; height: 1rem; }

/* ---------- Why local ---------- */
.local-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .local-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; } }
.local-intro p { color: var(--muted); font-size: 1.1rem; }
.reasons { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reason {
  background: var(--paper); border-radius: var(--r-lg); padding: 1.4rem 1.4rem 1.3rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.reason h3 { font-size: 1.18rem; margin: 0.85rem 0 0.35rem; }
.reason p { margin: 0; color: var(--muted); font-size: 1rem; }
.reason-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--navy); color: var(--amber);
}
.reason-icon .icon { width: 22px; height: 22px; }

.owner-card {
  position: relative; margin-top: 2rem; padding: 1.5rem 1.5rem 1.4rem;
  background: var(--paper); border-radius: var(--r-lg);
  outline: 2px dashed var(--line); outline-offset: -10px;
  box-shadow: var(--shadow-sm);
}
.owner-card blockquote { margin: 0 0 1rem; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.owner-sig { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); font-size: 0.95rem; }
.owner-sig img { width: 44px; height: 44px; }
.owner-sig strong { color: var(--navy); display: block; }

.areas { margin-top: 2rem; }
.areas h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; margin-bottom: 0.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 0.35rem 0.8rem; border-radius: 999px; border: 1.5px dashed #cdbfa7; font-size: 0.92rem; font-weight: 600; color: var(--navy); background: rgb(255 255 255 / 0.5); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.75rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem; border-radius: var(--r);
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12);
  color: #fff; text-decoration: none;
}
a.contact-item:hover { background: rgb(255 255 255 / 0.12); color: #fff; }
.contact-item .ci-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amber); color: var(--navy); flex: none; }
.contact-item .ci-icon .icon { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--on-dark-muted); font-size: 0.85rem; font-weight: 600; }
.contact-item span { font-weight: 700; font-size: 1.08rem; }
.placeholder-note { font-size: 0.8rem; color: var(--on-dark-muted); margin-top: 1rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-xl); padding: clamp(1.35rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-card h3 { font-size: 1.55rem; margin-bottom: 0.3rem; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 700; font-size: 0.98rem; color: var(--navy); padding: 0; }
.field .hint { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.field .opt { font-weight: 500; color: var(--muted); font-size: 0.88rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font: 500 1.05rem/1.3 var(--font-body); color: var(--ink);
  background: var(--cream); border: 1.5px solid #cfc3ae; border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  appearance: none;
}
textarea.input { min-height: 120px; resize: vertical; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%230F2A44' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.input:hover { border-color: #a99a80; }
.input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgb(245 166 35 / 0.45); }
.input[aria-invalid="true"] { border-color: #b42318; background: #fff6f5; }
.error-msg { color: #b42318; font-size: 0.9rem; font-weight: 700; display: none; }
.error-msg.is-visible { display: flex; align-items: center; gap: 0.35rem; }

.choices { display: grid; gap: 0.55rem; }
.choices--2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .choices--3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 0.6rem; min-height: 52px; height: 100%;
  padding: 0.65rem 0.9rem; border-radius: 12px; border: 1.5px solid #cfc3ae; background: var(--cream);
  font-weight: 650; font-size: 0.98rem; line-height: 1.25; color: var(--navy);
  transition: border-color 0.15s, background-color 0.15s;
}
.choice span::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid #a99a80; background: #fff center / 13px no-repeat;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--navy); background: var(--amber-50); }
.choice input:checked + span::before {
  border-color: var(--navy); background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgb(245 166 35 / 0.55); border-color: var(--navy); }
.choices[aria-invalid="true"] .choice span { border-color: #b42318; }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--navy); flex: none; }
.form-actions { display: grid; gap: 0.75rem; margin-top: 0.4rem; }
.form-actions .btn { width: 100%; }
.form-small { font-size: 0.88rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; }
.form-small .icon { width: 1.1rem; height: 1.1rem; color: var(--green-ink); margin-top: 0.15rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: none; text-align: center; padding: 1.5rem 0.5rem; }
.form-success .tick-big {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-50); color: var(--green-ink);
  outline: 2px dashed var(--green-100); outline-offset: 5px;
}
.form-success .tick-big .icon { width: 36px; height: 36px; stroke-width: 3; }
.form-success h3 { margin-bottom: 0.4rem; }
.form-success p { color: var(--muted); }
form.is-sent .form-body { display: none; }
form.is-sent .form-success { display: block; }
.form-status { font-weight: 700; color: #b42318; }

/* ---------- Page hero (service pages) ---------- */
.page-hero {
  --tint: var(--teal-50); --accent: var(--teal);
  position: relative; overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(60% 60% at 90% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    linear-gradient(180deg, var(--tint), var(--cream));
}
.page-hero--tax { --tint: var(--green-50); --accent: var(--green); }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.page-hero h1 { font-size: clamp(2.3rem, 6.2vw, 4rem); max-width: 16ch; }
.page-hero .lede { margin-bottom: 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; font-size: 0.97rem; }
.hero-points .icon { color: var(--green-ink); stroke-width: 3; width: 1.05rem; height: 1.05rem; }
.subbrand { height: 46px; width: auto; margin-bottom: 1.25rem; }

/* Phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; padding: 1rem 0 1.5rem; }
.phone {
  position: relative; width: min(280px, 78vw); aspect-ratio: 9 / 18.6;
  padding: 10px; border-radius: 44px; background: var(--navy);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px var(--navy-lift);
  transform: rotate(-2.5deg);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; translate: -50% 0; border-radius: 999px; background: var(--navy); z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-size: 0.78rem; }
.ps-bar { display: flex; justify-content: space-between; align-items: center; padding: 3rem 1rem 0.6rem; font-weight: 800; color: #3a1d10; }
.ps-logo { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.02em; }
.ps-burger { width: 18px; height: 12px; border-block: 2px solid #3a1d10; position: relative; }
.ps-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #3a1d10; }
.ps-hero {
  margin: 0 0.7rem; padding: 1rem; border-radius: 18px; color: #fff; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(circle at 78% 28%, #ffcf6b 0 14%, transparent 15%),
    radial-gradient(circle at 70% 40%, #e2572b 0 22%, transparent 23%),
    radial-gradient(circle at 86% 52%, #7cae3a 0 10%, transparent 11%),
    linear-gradient(135deg, #7a2e14, #c2491f 55%, #e88a2e);
}
.ps-hero strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; letter-spacing: -0.02em; max-width: 11ch; }
.ps-hero small { opacity: 0.9; margin-top: 0.25rem; }
.ps-cta { margin: 0.7rem; padding: 0.7rem; border-radius: 999px; background: #3a1d10; color: #fff; font-weight: 800; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.35rem; }
.ps-cta .icon { width: 0.9rem; height: 0.9rem; }
.ps-info { margin: 0 0.7rem; display: grid; gap: 0.35rem; }
.ps-info div { display: flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.65rem; border-radius: 12px; background: #f7f1ea; color: #3a1d10; font-weight: 650; }
.ps-info .icon { width: 0.95rem; height: 0.95rem; color: #c2491f; }
.ps-tiles { margin: 0.6rem 0.7rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.ps-tiles span { aspect-ratio: 1.4; border-radius: 12px; background: linear-gradient(135deg, #f2c48d, #d9822b); }
.ps-tiles span:nth-child(2) { background: linear-gradient(135deg, #b7d48a, #5f8f2e); }

.float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 0.6rem;
  max-width: 230px; padding: 0.7rem 0.9rem; border-radius: 16px;
  background: var(--paper); box-shadow: var(--shadow); font-size: 0.85rem; line-height: 1.3; color: var(--navy);
}
.float-chip b { display: block; font-size: 0.92rem; }
.float-chip .fc-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; background: var(--teal-50); color: var(--teal-ink); }
.float-chip .fc-icon .icon { width: 18px; height: 18px; }
.float-chip--a { top: 14%; left: 0; }
.float-chip--b { bottom: 12%; right: 0; }
.float-chip--b .fc-icon { background: var(--amber-50); color: #9a5b00; }
@media (max-width: 520px) {
  .float-chip { max-width: 190px; font-size: 0.78rem; padding: 0.55rem 0.7rem; }
  .float-chip--a { left: -0.25rem; top: 8%; }
  .float-chip--b { right: -0.25rem; }
}

/* ---------- Cards / services ---------- */
.cards { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .cards--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 1.9rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card h3 { margin: 1rem 0 0.4rem; }
.card > p { color: var(--muted); }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--teal-50); color: var(--teal-ink);
  outline: 1.5px dashed var(--teal-100); outline-offset: 4px;
}
.card-icon .icon { width: 26px; height: 26px; }
.card--green .card-icon { background: var(--green-50); color: var(--green-ink); outline-color: var(--green-100); }
.ticks { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.5rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 0.12rem; border-radius: 50%;
  background: var(--teal-50) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300776E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ticks--green li::before {
  background-color: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D7442' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ticks--light li::before {
  background-color: rgb(245 166 35 / 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.card .good-for { margin-top: auto; padding-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.card .good-for strong { color: var(--navy); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 760px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.4rem; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.steps > li::before {
  content: counter(step); position: absolute; left: 1.15rem; top: 1.15rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.05rem var(--font-display); color: var(--navy); background: var(--amber);
}
.steps h3 { font-size: 1.08rem; margin: 0.25rem 0 0.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (min-width: 760px) {
  .steps--4 > li { padding: 4.2rem 1.25rem 1.35rem; }
}
.steps--plain > li { background: transparent; border: 0; padding: 0 0 0 3.6rem; }
.steps--plain > li::before { left: 0; top: 0; }

/* Founding offer */
.offer {
  position: relative; border-radius: var(--r-xl); background: var(--navy); color: #fff;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  display: grid; gap: 2rem; overflow: hidden;
}
.offer::before {
  content: ""; position: absolute; inset: 12px; border-radius: calc(var(--r-xl) - 8px);
  border: 2px dashed rgb(245 166 35 / 0.55); pointer-events: none;
}
.offer::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgb(0 179 164 / 0.35), transparent 65%); pointer-events: none;
}
.offer > * { position: relative; z-index: 1; }
@media (min-width: 900px) { .offer { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; } }
.offer h2 { color: #fff; }
.offer p { color: var(--on-dark-muted); }
.offer .ticks li { color: #fff; font-weight: 600; }
.offer-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
  background: var(--amber); color: var(--navy); font-weight: 800; font-size: 0.85rem;
  padding: 0.35rem 0.85rem; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}
.offer-small { font-size: 0.92rem; margin-top: 1.25rem; }

/* Competitor check scorecard */
.check-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .check-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; } }
.scorecard {
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line);
}
.scorecard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.scorecard-head b { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.scorecard-head small { color: var(--muted); font-size: 0.86rem; }
.sample-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1.5px dashed var(--line); padding: 0.2rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -0.25rem; }
.score { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 330px; }
.score caption { text-align: left; }
.score th, .score td { padding: 0.6rem 0.4rem; text-align: center; border-bottom: 1px dashed var(--line); }
.score thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 800; }
.score thead th.you { color: var(--navy); }
.score tbody th { text-align: left; font-weight: 650; color: var(--navy); }
.score td.you { background: var(--amber-50); font-weight: 800; }
.score thead th.you { background: var(--amber-50); border-radius: 10px 10px 0 0; }
.score .bad { color: #b42318; }
.score .ok { color: var(--green-ink); font-weight: 700; }
.fixes { margin-top: 1.1rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--teal-50); }
.fixes b { display: block; margin-bottom: 0.35rem; color: var(--teal-ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.fixes ol { margin: 0; padding-left: 1.2rem; font-weight: 600; font-size: 0.95rem; display: grid; gap: 0.2rem; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; font-weight: 750; font-size: 1.07rem; color: var(--navy); border-radius: var(--r);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 1.4rem; height: 1.4rem; padding: 0.15rem; border-radius: 50%; background: var(--amber-50); transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Tax page ---------- */
.hero-stack { display: grid; gap: 1rem; }
@media (min-width: 600px) and (max-width: 959px) { .hero-stack { grid-template-columns: 1fr 1fr; } }
.price-card {
  position: relative; background: var(--paper); border-radius: var(--r-xl); padding: 1.6rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.price-tag { display: inline-block; background: var(--amber); color: var(--navy); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.75rem; border-radius: 999px; }
.price-main { display: flex; align-items: baseline; gap: 0.35rem; margin: 0.75rem 0 0; font-family: var(--font-display); color: var(--navy); }
.price-main .amount { font-size: clamp(3.4rem, 9vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-main .per { font-size: 1.15rem; font-weight: 650; color: var(--muted); }
.price-for { font-weight: 700; color: var(--green-ink); margin: 0.2rem 0 0.9rem; }
.price-then { padding-top: 0.9rem; border-top: 2px dashed var(--line); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-weight: 650; }
.price-then b { font-family: var(--font-display); font-size: 1.5rem; }
.price-note { font-size: 0.88rem; color: var(--muted); margin: 0.6rem 0 0; }

.deadline-card {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.deadline-card::after {
  content: ""; position: absolute; inset: 9px; border-radius: calc(var(--r-xl) - 6px);
  border: 1.5px dashed rgb(245 166 35 / 0.45); pointer-events: none;
}
.deadline-card small { display: block; color: var(--on-dark-muted); font-weight: 600; }
.deadline-date { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0.15rem 0 0.75rem; }
.deadline-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.countdown { display: inline-flex; align-items: baseline; gap: 0.35rem; background: var(--amber); color: var(--navy); padding: 0.35rem 0.85rem; border-radius: 999px; font-weight: 800; }
.countdown b { font-family: var(--font-display); font-size: 1.35rem; }
.deadline-card .fine { font-size: 0.88rem; color: var(--on-dark-muted); margin: 0.85rem 0 0; }

.notice {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: var(--r); background: var(--paper);
  border: 2px dashed var(--green-100); margin-bottom: 1.5rem; max-width: 36rem;
}
.notice .icon { color: var(--green-ink); width: 1.6rem; height: 1.6rem; flex: none; margin-top: 0.1rem; }
.notice p { margin: 0; font-size: 1rem; }
.notice strong { color: var(--green-ink); }

.who-grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem 1.25rem;
}
.who .who-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-ink); flex: none; }
.who .who-icon .icon { width: 24px; height: 24px; }
.who h3 { font-size: 1.12rem; margin: 0.15rem 0 0.2rem; }
.who p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.who--main { border-color: var(--green-100); background: linear-gradient(180deg, #fff, var(--green-50)); }
.not-for { margin-top: 1.25rem; color: var(--muted); font-size: 0.97rem; }

.price-split { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .price-split { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; } }
.price-panel {
  background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden;
}
.price-panel .pp-top { padding: 1.6rem 1.6rem 1.4rem; background: var(--green-50); border-bottom: 2px dashed var(--green-100); }
.price-panel .pp-body { padding: 1.5rem 1.6rem 1.6rem; }
.price-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.price-timeline div { background: var(--paper); border-radius: var(--r); padding: 0.85rem 1rem; border: 1px solid var(--green-100); }
.price-timeline small { display: block; color: var(--muted); font-weight: 650; font-size: 0.85rem; }
.price-timeline b { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.02em; color: var(--navy); }
.price-timeline b span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }

.need-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .need-grid { grid-template-columns: repeat(3, 1fr); } }
.checklist {
  background: var(--paper); border-radius: var(--r-lg); padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); position: relative;
}
.checklist::before {
  content: ""; position: absolute; top: -9px; left: 50%; translate: -50% 0;
  width: 64px; height: 18px; border-radius: 6px; background: var(--navy);
}
.checklist h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; margin: 0.4rem 0 0.9rem; }
.checklist h3 .icon { color: var(--green-ink); }
.checklist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.checklist li { display: flex; gap: 0.65rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--line); font-size: 0.98rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 0.2rem; border-radius: 5px; border: 2px solid var(--green); }
.checklist li small { display: block; color: var(--muted); font-size: 0.86rem; }

.callout {
  display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.5rem;
  padding: 1.15rem 1.3rem; border-radius: var(--r); background: var(--amber-50); border: 1.5px solid #f6d79f;
}
.callout .icon { color: #9a5b00; width: 1.6rem; height: 1.6rem; flex: none; }
.callout p { margin: 0; }

.waitlist-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .waitlist-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; } }
.reassure { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.9rem; }
.reassure li { display: flex; gap: 0.8rem; align-items: flex-start; }
.reassure .r-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgb(255 255 255 / 0.1); color: var(--amber); flex: none; }
.reassure .r-icon .icon { width: 20px; height: 20px; }
.reassure b { display: block; color: #fff; }
.reassure span { color: var(--on-dark-muted); font-size: 0.97rem; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-top: 2.25rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose p, .prose li { color: #2b3d50; }
.prose li { margin-bottom: 0.35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--sand); }
.prose .table-wrap { margin: 0; }
.updated { color: var(--muted); font-weight: 600; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.4rem; margin: 1.5rem 0 1rem; }
.toc ol { margin: 0.4rem 0 0; columns: 2 14rem; }
.toc a { font-weight: 600; }

.simple-hero { padding: clamp(2.25rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; } }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 30ch; font-size: 0.97rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; display: inline-block; padding: 0.2rem 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px dashed rgb(255 255 255 / 0.18);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.88rem;
}
.footer-stitch { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-stitch::before { content: ""; width: 28px; height: 8px; background: var(--stitch-amber) repeat-x left center / 14px 8px; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgb(10 30 49 / 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px -10px rgb(10 30 49 / 0.5);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 0.95rem; color: #fff; border: 1.5px solid rgb(255 255 255 / 0.25);
}
.action-bar a .icon { width: 1.1rem; height: 1.1rem; }
.action-bar a.ab-primary { background: var(--amber); color: var(--navy); border-color: var(--amber); }
@media (max-width: 939px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (min-width: 940px) { .action-bar { display: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 1.5rem; }
.notfound .btn-row { justify-content: center; }

/* ===== Legal / privacy page ===== */
.legal { max-width: 72ch; }
.legal-section { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.legal h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); line-height: 1.65; }
.legal ul { padding-left: 1.25rem; margin: 0.75rem 0 1rem; }
.legal li { margin-bottom: 0.4rem; }
.legal .placeholder { background: var(--amber-50, #fff4dd); padding: 0 0.3em; border-radius: 4px; }
.legal-updated { font-size: 0.95rem; color: var(--muted, #4a5b6c); }

/* ---------- Tax estimate calculator ---------- */
.calc { display: grid; gap: 1.5rem; max-width: 52rem; }
.calc-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .calc-grid .span-2 { grid-column: 1 / -1; }
}
.calc .field[hidden] { display: none; }
.calc-results {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 1.75rem);
}
.calc-results .notice { max-width: none; margin-bottom: 1.15rem; }
.calc-figures { display: grid; gap: 0.15rem; margin: 0; }
.calc-figures div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}
.calc-figures dt { margin: 0; font-weight: 650; }
.calc-figures dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc-aside {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--green-ink);
}
.calc-note { margin: 0; color: var(--muted); font-size: 0.95rem; }
