/* =====================================================================
   ACA — Ascendancy Capital Architecture · Site styles
   Primary brand: Black · Gold · Bone/Ivory
   Secondary: charcoal, stone, muted lines and tints
   No web-font downloads: system font stacks only.
   ===================================================================== */

:root {
  /* Primary */
  --black: #0E0D0C;
  --gold: #B8955A;          /* decorative: rules, borders, marks */
  --bone: #EFE8DA;
  --ivory: #F8F4EC;

  /* Accessible gold for text */
  --gold-ink: #7A5C2E;      /* on ivory/bone: ≈5.9:1 */
  --gold-on-dark: #D2B47D;  /* on black: ≈9:1 */

  /* Secondary */
  --ink: #141312;
  --charcoal: #2B2926;
  --stone: #5E5850;         /* muted text on ivory: ≈6.5:1 */
  --stone-light: #A79F92;   /* muted text on black only */
  --line: #DCD3C3;
  --line-strong: #BFB4A1;
  --paper: #FCFAF5;
  --tint: #F3ECDD;
  --error: #9A2B26;
  --error-bg: #FBF0EE;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --radius: 3px;
  --gutter: 20px;
  --max: 1160px;
  --measure: 66ch;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold-on-dark); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; 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: 16px; top: -60px; z-index: 100;
  background: var(--black); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--ivory); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Type ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--black); }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.1rem); letter-spacing: -0.005em; margin: 0 0 20px; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 18px; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 0 0 10px; }
h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }
p { margin: 0 0 16px; max-width: var(--measure); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--charcoal); line-height: 1.55; }
.eyebrow {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; display: block;
}
.on-dark .eyebrow { color: var(--gold-on-dark); }
.muted { color: var(--stone); }
.small { font-size: 0.9rem; }
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font: inherit; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; text-align: center; line-height: 1.3;
  border-radius: var(--radius); border: 1px solid var(--black); cursor: pointer;
}
.btn-primary { background: var(--black); color: var(--ivory); }
.btn-primary:hover { background: var(--charcoal); color: var(--ivory); }
.btn-secondary { background: transparent; color: var(--black); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--black); color: var(--black); }
.btn-gold { background: var(--gold-on-dark); color: var(--black); border-color: var(--gold-on-dark); }
.btn-gold:hover { background: var(--bone); border-color: var(--bone); color: var(--black); }
.on-dark .btn-secondary { color: var(--ivory); border-color: rgba(239,232,218,.4); }
.on-dark .btn-secondary:hover { border-color: var(--ivory); color: var(--ivory); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); color: var(--black); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--black); }
.on-dark .text-link { color: var(--ivory); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,244,236,.97); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand-mark {
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.42em; padding: 4px 0 4px 0.42em;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); line-height: 1.2;
}
.brand-name { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); line-height: 1.3; max-width: 13em; }
@media (max-width: 400px) { .brand-name { display: none; } }
.brand img { height: 36px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  font: inherit; font-size: 0.9rem; background: transparent; color: var(--black);
  border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 10px; position: relative; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.nav-toggle-bars::before { top: 0; } .nav-toggle-bars::after { bottom: 0; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.site-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--black); font-size: 1.05rem; }
.site-nav li a[aria-current="page"] { color: var(--gold-ink); }
.site-nav .nav-cta { margin-top: 16px; }
.site-nav .nav-cta a { border: 0; }
.site-nav .nav-cta .btn { width: 100%; color: var(--ivory); }

@media (min-width: 1280px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; align-items: center; gap: 24px; padding: 0; }
  .site-nav li a { border: 0; padding: 8px 0; font-size: 0.92rem; white-space: nowrap; }
  .site-nav li a:not(.btn):hover { color: var(--gold-ink); }
  .site-nav li a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
  .site-nav .nav-cta { margin: 0 0 0 8px; }
  .site-nav .nav-cta .btn { width: auto; min-height: 44px; padding: 10px 18px; font-size: 0.88rem; }
}

/* ---------- Phase bar ---------- */
.phase-bar { background: var(--black); color: var(--bone); font-size: 0.8rem; letter-spacing: 0.06em; }
.phase-bar .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.phase-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-on-dark); display: inline-block; }
.phase-bar strong { color: var(--gold-on-dark); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section + .section { border-top: 1px solid var(--line); }
.section-bone { background: var(--bone); }
.section-dark, .on-dark { background: var(--black); color: var(--bone); }
.section-dark h1, .section-dark h2, .section-dark h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivory); }
.section-dark p, .on-dark p { color: var(--bone); }
.section-dark .muted, .on-dark .muted { color: var(--stone-light); }
.section-dark a:not(.btn), .on-dark a:not(.btn) { color: var(--gold-on-dark); }
.section + .section-dark, .section-dark + .section { border-top: 0; }
.section-head { margin-bottom: 44px; max-width: 760px; }

.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .page-hero { padding: 112px 0 80px; } }
.page-hero h1 { max-width: 15em; }

.hero { padding: 80px 0 72px; }
@media (min-width: 768px) { .hero { padding: 136px 0 112px; } }
.hero h1 { max-width: 12em; }
.hero .lede { max-width: 36em; margin-bottom: 32px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* ---------- Declaration ---------- */
.declaration { position: relative; }
.declaration blockquote { margin: 0; padding: 0; border: 0; }
.declaration-text {
  font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2.05rem); line-height: 1.42; color: var(--ivory);
  max-width: 34em; margin: 0 0 22px;
}
.declaration-text:first-of-type::first-letter { color: var(--gold-on-dark); }
.declaration .rule { background: var(--gold-on-dark); }
.declaration-note { font-size: 0.85rem; color: var(--stone-light); max-width: 46em; border-top: 1px solid rgba(239,232,218,.18); padding-top: 18px; margin-top: 36px; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.card-top { border-top: 2px solid var(--gold); }
.card h3 { margin-bottom: 8px; }
.card .price { font-family: var(--serif); font-size: 1.9rem; color: var(--black); margin: 4px 0 2px; line-height: 1.1; }
.card .price small { font-family: var(--sans); font-size: 0.8rem; color: var(--stone); letter-spacing: 0.04em; }
.card .meta { font-size: 0.86rem; color: var(--stone); margin-bottom: 14px; }
.card p { font-size: 0.97rem; }
.card .card-foot { margin-top: auto; padding-top: 16px; }
.card-feature { background: var(--black); border-color: var(--black); color: var(--bone); }
.card-feature h3, .card-feature .price { color: var(--ivory); }
.card-feature p, .card-feature .meta { color: var(--bone); }
.card-feature .meta, .card-feature .price small { color: var(--stone-light); }
.card-feature a:not(.btn) { color: var(--gold-on-dark); }

.ticks { list-style: none; margin: 0 0 16px; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 1px; background: var(--gold); }

/* ---------- Standards ---------- */
.standards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.standards li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
@media (min-width: 768px) { .standards li { grid-template-columns: 220px 1fr; gap: 32px; } }
.standards li:last-child { border-bottom: 1px solid var(--line); }
.standards strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--black); }
.standards p { margin: 0; }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
@media (min-width: 768px) { .process.compact { grid-template-columns: repeat(3, 1fr); gap: 0 28px; } }
@media (min-width: 1024px) { .process.compact { grid-template-columns: repeat(6, 1fr); } }
.process li { counter-increment: step; padding: 18px 0; border-top: 1px solid var(--line); }
.process li::before {
  content: counter(step, decimal-leading-zero); display: block;
  font-size: 0.75rem; letter-spacing: 0.14em; color: var(--gold-ink); margin-bottom: 6px;
}
.process.compact li { border-top: 2px solid var(--line); }
.process.compact li:first-child { border-top-color: var(--gold); }
.process strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--black); line-height: 1.3; }
.process.full li { display: grid; gap: 6px; padding: 28px 0; }
@media (min-width: 768px) { .process.full li { grid-template-columns: 80px 1fr; } .process.full li::before { grid-row: span 2; } }
.process.full strong { font-size: 1.5rem; }
.process.full p { margin: 0; }

/* ---------- Calendar ---------- */
.calendar { list-style: none; padding: 0; margin: 0; }
.calendar li { border-top: 2px solid var(--line); padding-top: 18px; }
.calendar li:first-child { border-top-color: var(--gold); }
.calendar .q { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); display: block; }
.calendar strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--black); margin: 6px 0 8px; }
.calendar p { font-size: 0.95rem; margin: 0; }

/* ---------- Service detail ---------- */
.service { padding: 56px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service-head { display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 768px) { .service-head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; } }
.service-head .price { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--black); }
.service-head .price small { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--stone); margin-top: 6px; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--black); }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .facts > div { grid-template-columns: 220px 1fr; gap: 32px; } }
.facts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); padding-top: 4px; }
.facts dd { margin: 0; }
.facts dd ul { margin: 0; padding-left: 18px; }
.facts dd li { margin-bottom: 4px; }

/* ---------- Notices ---------- */
.notice {
  background: var(--tint); border: 1px solid var(--line-strong); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; font-size: 0.95rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice-strong { background: var(--black); color: var(--bone); border-color: var(--black); border-left-color: var(--gold-on-dark); }
.notice-strong strong { color: var(--gold-on-dark); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--black); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 1.3rem; color: var(--gold-ink); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Prose (origin, policies) ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 64px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 36px; }
.prose ul { padding-left: 20px; max-width: var(--measure); }
.prose li { margin-bottom: 8px; }
.prose .pull {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.4; color: var(--black);
  border-left: 2px solid var(--gold); padding-left: 22px; margin: 28px 0;
}
.toc { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; }

.draft-flag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--gold-ink); color: var(--gold-ink); padding: 2px 8px; border-radius: var(--radius);
}
.todo { background: var(--tint); border-bottom: 1px dotted var(--gold-ink); padding: 0 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--bone); padding: 64px 0 32px; font-size: 0.92rem; }
.site-footer a { color: var(--bone); text-decoration: none; }
.site-footer a:hover { color: var(--gold-on-dark); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .brand-mark { color: var(--ivory); border-color: var(--gold-on-dark); display: inline-block; margin-bottom: 14px; }
.brand-emblem { display: block; height: 40px; width: auto; flex: none; }
.brand { flex: none; }
@media (min-width: 1280px) { .site-header .header-inner { max-width: 1360px; } }
@media (min-width: 1280px) and (max-width: 1439px) { .site-nav ul { gap: 18px; } .site-nav .nav-cta { margin-left: 2px; } }
.footer-brand .brand-emblem { height: 56px; margin-bottom: 18px; }
.footer-brand p { color: var(--stone-light); max-width: 30em; }
.site-footer h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-on-dark); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-base { border-top: 1px solid rgba(239,232,218,.16); margin-top: 48px; padding-top: 22px; color: var(--stone-light); font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-base p { margin: 0; max-width: none; }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-shell { max-width: 720px; }
.form-intro { font-size: 0.92rem; color: var(--stone); margin: 0 0 8px; }
.form-section { border-top: 1px solid var(--line); padding: 32px 0 8px; margin-top: 24px; }
.form-section-title { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 22px; display: flex; align-items: baseline; gap: 12px; }
.form-section-title .num { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gold-ink); }
.form-section-title:focus { outline: none; }
.form-section-title:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 4px; }
.subsection-title { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin: 28px 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

.field { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 500; margin-bottom: 8px; padding: 0; }
.tag { font-weight: 400; font-size: 0.8rem; color: var(--stone); font-style: italic; margin-left: 4px; }
.hint { font-size: 0.875rem; color: var(--stone); margin: -4px 0 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius); -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--stone); }
[aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) { border-color: var(--error) !important; box-shadow: inset 3px 0 0 var(--error); }
input[readonly], textarea[readonly] { background: var(--bone) !important; color: var(--stone); }

.choices { display: grid; gap: 8px; }
@media (min-width: 520px) { .choices { grid-template-columns: 1fr 1fr; } }
.choices-row { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; margin: 0;
  font-weight: 400; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.choice:hover { border-color: var(--line-strong); }
.choice:has(input:checked) { border-color: var(--gold-ink); background: #FFFDF8; }
.choice input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--black); cursor: pointer; }
.choice-inline { display: inline-flex; margin-top: 8px; border-color: transparent; background: transparent; padding-left: 2px; }
.choice-ack { align-items: flex-start; line-height: 1.5; padding: 14px; }
.choice-ack input { margin-top: 2px; }
.acks .ack { margin-bottom: 10px; }
.field.has-error .choice { border-color: var(--error); }
.error { color: var(--error); font-size: 0.875rem; margin: 6px 0 0; }
.error::before { content: "— "; }

.error-summary { background: var(--error-bg); border: 1px solid var(--error); border-left-width: 3px; border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; }
.error-summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.error-summary h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 8px; color: var(--error); }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); }

.security { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px; background: var(--paper); font-size: 0.93rem; }
.security p { margin: 0; }
.security .label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; display: block; }

.submit-area { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px; }
.submit-area .btn { width: 100%; }
@media (min-width: 520px) { .submit-area .btn { width: auto; min-width: 280px; } }
.form-status { margin: 14px 0 0; font-size: 0.95rem; min-height: 1.5em; }
.form-status.is-error { color: var(--error); }
.form-status.is-warn { background: var(--tint); border-left: 3px solid var(--gold); padding: 10px 12px; border-radius: var(--radius); }

.form-success { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 36px 24px; }
.form-success h2 { font-size: 1.8rem; margin: 0 0 12px; }
.form-success p:last-child { margin-bottom: 0; }

/* Steps */
.progress { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress li { font-size: 0.8rem; line-height: 1.35; color: var(--stone); padding-top: 10px; border-top: 2px solid var(--line); }
.progress .pnum { display: block; font-size: 0.7rem; letter-spacing: 0.14em; }
.progress li.is-done { border-top-color: var(--gold); }
.progress li[aria-current="step"] { border-top-color: var(--black); color: var(--black); font-weight: 500; }
.progress li[aria-current="step"] .pnum { color: var(--gold-ink); }
.js-steps .step.is-inactive { display: none; }
.step-nav { display: flex; flex-direction: column-reverse; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }
.step-nav .btn { width: 100%; }
@media (min-width: 520px) { .step-nav { flex-direction: row; justify-content: space-between; align-items: center; } .step-nav .btn { width: auto; min-width: 150px; } .step-nav .btn-primary { margin-left: auto; } }
.review { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.review h3 { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; }
.review dl { margin: 0; }
.review-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: 0; padding-bottom: 0; }
.review-row dt { font-size: 0.85rem; color: var(--stone); grid-column: 1; }
.review-row dd { margin: 0; grid-column: 1; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-row dd.is-empty { color: var(--stone); font-style: italic; }
.review-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 44px; min-width: 44px; padding: 8px 12px; font: inherit; font-size: 0.875rem; color: var(--gold-ink); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }

/* Payment page */
.pay-steps { counter-reset: p; list-style: none; padding: 0; margin: 0 0 28px; }
.pay-steps li { counter-increment: p; position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line); }
.pay-steps li::before { content: counter(p); position: absolute; left: 0; top: 16px; width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); color: var(--gold-ink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .phase-bar, .skip-link { display: none; } body { background: #fff; } }

/* Long slash-joined terms must wrap on narrow screens */
.grid > *, .split > *, .facts > div, .facts dd, .service-head > * { min-width: 0; }
.facts dd, .card p, .ticks li, .prose p, .prose li { overflow-wrap: anywhere; }
@supports (overflow-wrap: anywhere) { .facts dd, .card p, .ticks li, .prose p, .prose li { overflow-wrap: break-word; word-break: normal; } .facts dd { overflow-wrap: anywhere; } }

/* Policy tables */
.table-wrap { overflow-x: auto; max-width: 100%; margin: 0 0 20px; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.policy-table th { text-align: left; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); border-bottom: 1px solid var(--black); padding: 8px 12px 8px 0; }
.policy-table td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }

/* Gold labels on the black feature card need the light gold for contrast */
.card-feature .eyebrow { color: var(--gold-on-dark); }

/* ---------- Founder page ---------- */
.btn-ghost-dark { background: transparent; color: var(--ivory); border-color: var(--gold-on-dark); }
.btn-ghost-dark:hover { background: var(--gold-on-dark); color: var(--black); }
.founder-hero { padding: 96px 0 88px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .founder-hero { padding: 136px 0 120px; } }
.founder-hero::after { content: ""; position: absolute; top: 0; bottom: 0; right: -8vw; width: 34vw; border-left: 1px solid rgba(210,180,125,.22); transform: skewX(-16deg); pointer-events: none; }
.founder-hero h1 { font-size: clamp(3.2rem, 9vw, 6.8rem); line-height: 1.02; letter-spacing: -0.03em; margin: 8px 0 18px; max-width: none; }
.founder-deck { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-on-dark) !important; margin: 0 0 22px; }
.founder-hero .lede { max-width: 34em; }
.founder-toc { border-bottom: 1px solid var(--line); padding: 20px 0; background: var(--ivory); }
.founder-sec h2 { max-width: 14em; }
.founder-motto { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.3; color: var(--gold-on-dark) !important; margin: 0; }
.founder-sig { font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; }
