/* ==========================================================================
   Proof. — Restaurant Insurance + Advisory (V2.2)
   Layout system reproduced from the approved Magic Patterns comps
   (Vision 1 header + Vision 2 density and dark breaks), content per the
   2026-08-20 Brand Package. Palette locked: Paper 50% · Charcoal 35% ·
   Slate 10% · Amber 5%. Amber never fills, never buttons, never body text.
   ========================================================================== */

:root {
  --charcoal:   #22262B;
  --charcoal-2: #1B1F23;   /* button hover only — bands use the brand charcoal */
  --amber:      #C6741A;
  --amber-deep: #A05B10;
  --slate:      #4A5158;
  --paper:      #F6F4EF;
  --hairline:   #E2DDD3;

  --paper-2:    #FFFFFF;
  --amber-tint: #F7EDE0;
  --green-tint: #EEF2EF;
  --green:      #3F6F52;
  --danger:     #A3352A;

  --ink-on-dark:   #F4F1EB;
  --slate-on-dark: #ABA69E;
  --hairline-dark: rgba(244, 241, 235, 0.13);
  --amber-on-dark: #E29A4D;

  --sans: "Inter Display", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --prose: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

img { max-width: 100%; display: block; }
a { color: var(--amber-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
::selection { background: var(--amber-tint); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 3px; }

/* the dot — terminal punctuation, the brand's own device */
.dot {
  display: inline-block;
  width: .13em; height: .13em;
  margin-left: .08em;
  border-radius: 50%;
  background: var(--amber);
  transform: translateY(-.02em);
}

/* ---------- layout ------------------------------------------------------ */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.prose { max-width: var(--prose); }
section { padding-block: clamp(42px, 5.5vw, 72px); }

.skip {
  position: absolute; left: -9999px;
  background: var(--charcoal); color: var(--paper);
  padding: 10px 16px; z-index: 100; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.band-white { background: var(--paper-2); }

.band-dark { background: var(--charcoal); color: var(--ink-on-dark); }
.band-dark .muted, .band-dark .lede { color: var(--slate-on-dark); }
.band-dark .eyebrow { color: var(--amber-on-dark); }
.band-dark .eyebrow::before { background: var(--amber); }
.band-dark a { color: var(--ink-on-dark); }

/* boxed content panels — the transitional element between sections */
.panel-card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(34,38,43,.04), 0 10px 28px -18px rgba(34,38,43,.12);
}
.band-slim { padding-block: clamp(36px, 4.5vw, 56px); }

/* comp-style side grid: narrow heading column left, content right */
.side-grid {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .side-grid { grid-template-columns: 1fr; gap: 28px; } }
.side-grid > .side h2 { margin-bottom: .55em; }
.side-grid > .side .btn { margin-top: 6px; }

/* scroll reveal — gated on .js so no-JS never blanks content */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* ---------- type -------------------------------------------------------- */

h1, h2, h3 { margin: 0 0 .5em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.peak-line, .network-turn p, .sec-head .small, .cards-close { text-wrap: balance; }

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.033em;
}
h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.028em;
}
.h-pull {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700; line-height: 1.07; letter-spacing: -0.03em;
  margin: 0 0 .55em;
}
h3 { font-size: clamp(1.02rem, 1.7vw, 1.16rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* section label chips: one device, mirrored per ground */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin: 0 0 18px;
  background: var(--charcoal);
  padding: 9px 17px; border-radius: 999px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); flex: none;
}
.band-dark .eyebrow {
  background: var(--paper);
  color: var(--charcoal);
}

.lede { font-size: clamp(1.04rem, 1.7vw, 1.2rem); color: var(--slate); line-height: 1.5; letter-spacing: -0.006em; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.fine  { font-size: .8rem; color: var(--slate); line-height: 1.55; }
.band-dark .fine { color: var(--slate-on-dark); }

/* ---------- header (Vision 1 treatment) --------------------------------- */

.mark { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.mark img { height: 24px; width: auto; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper-2);
  border-bottom: 1px solid var(--hairline);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 118px; padding-block: 15px;
}

.lockup-nav { display: inline-block; line-height: 0; text-decoration: none; }
.lockup-nav .lockup-full { height: 88px; width: auto; display: block; }
.lockup-nav .lockup-word { display: none; }
/* brand rule: below the lockup minimum, wordmark only */
@media (max-width: 700px) {
  .lockup-nav .lockup-full { display: none; }
  .lockup-nav .lockup-word { display: block; height: 26px; width: auto; }
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--charcoal); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a.btn-primary { color: var(--paper); }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a:hover { color: var(--amber-deep); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* ---------- buttons (comp pills) ---------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans);
  font-size: .94rem; font-weight: 600; letter-spacing: -0.005em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .08s ease;
}
.btn:not(.btn-primary):active { transform: translateY(1px); }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Solid display amber on primary CTAs - brand amendment, Andy 2026-08-21.
   White text passes contrast only as large-bold (>=18.66px/700), so every
   amber button carries that size. Amber-as-fill stays banned everywhere else. */
.btn-primary {
  background: var(--amber); color: #fff;
  font-size: 1.17rem; font-weight: 700;
  padding: 15px 30px;
}
.btn-primary:hover { background: #B2680F; color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-sm.btn-primary { font-size: 1.17rem; padding: 12px 24px; }

.btn-paper { background: var(--paper-2); color: var(--charcoal); }
.btn-paper:hover { background: #fff; }

.btn-ghost { background: transparent; color: var(--charcoal); border-color: #C9C4BA; }
.btn-ghost:hover { border-color: var(--charcoal); }

.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-sm { padding: 11px 20px; font-size: .88rem; min-height: 44px; }
.btn-block { width: 100%; border-radius: 999px; }

/* ---------- hero — split, photo bleeds to the screen edge ----------------- */

.hero-split { padding-block: clamp(22px, 3vw, 40px) 0; overflow: hidden; }
.hero-split-grid {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .hero-split-grid { grid-template-columns: 1fr; } }

.hero-copy { padding-block: clamp(28px, 3.5vw, 52px); }
.hero-copy h1 { margin-bottom: .42em; max-width: 14ch; }
.hero-sub {
  margin: 0 0 26px; max-width: 46ch;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem); line-height: 1.55;
  color: var(--slate);
}
.hero-copy .credential { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hairline); }

.link-quiet {
  font-size: .93rem; font-weight: 500; color: var(--charcoal);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #C9C4BA;
}
.link-quiet:hover { text-decoration-color: var(--charcoal); color: var(--charcoal); }

/* the photo runs off the right edge of the screen */
.hero-photo {
  position: relative; margin: 0;
  /* bleed to the screen edge, but capped so ultra-wide screens don't
     balloon the photo away from the text - the hero scales as one unit */
  margin-right: max(calc((min(1160px, 100vw - 56px) - 100vw) / 2), -150px);
}
.hero-photo img {
  aspect-ratio: 4 / 3.4; width: 100%; height: auto;
  object-fit: cover; object-position: 50% 46%;
  border-radius: 8px 0 0 8px;
  display: block;
}
.hero-photo .photo-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; max-width: none;
  padding: 44px 28px 16px 22px;
  font-size: .8rem; line-height: 1.5; color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, rgba(34,38,43,0) 0%, rgba(34,38,43,.72) 100%);
  border-radius: 0 0 0 8px;
}
@media (max-width: 900px) {
  .hero-photo { margin-inline: -28px; }
  .hero-photo img { border-radius: 0; aspect-ratio: 4 / 3; }
  .hero-photo .photo-cap { border-radius: 0; }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes land { 0% { opacity: 0; transform: scale(0) translateY(-.02em); } 70% { opacity: 1; transform: scale(1.35) translateY(-.02em); } 100% { opacity: 1; transform: scale(1) translateY(-.02em); } }
.hero-copy .eyebrow, .hero-copy h1 { animation: rise .55s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy .hero-sub, .hero-copy .btn-row { animation: rise .55s cubic-bezier(.2,.7,.2,1) .1s both; }
.hero-copy .credential, .hero-photo { animation: rise .6s cubic-bezier(.2,.7,.2,1) .18s both; }
.hero-copy h1 .dot { animation: land .45s cubic-bezier(.3,1.4,.4,1) .5s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow, .hero-copy h1, .hero-copy .hero-sub, .hero-copy .btn-row, .hero-copy .credential, .hero-photo, .hero-copy h1 .dot { animation: none; }
}

.photo-cap {
  margin-top: 12px; font-size: .82rem; color: var(--slate); line-height: 1.5;
  max-width: 44ch;
}
.band-dark .photo-cap { color: var(--slate-on-dark); }

.credential {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate);
}
.credential span { display: inline-flex; align-items: center; gap: 8px; }
.credential span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--amber); flex: none;
}

/* ---------- statement band (Vision 2 density) ---------------------------- */

.state-grid {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 900px) {
  .state-grid { grid-template-columns: 1fr; }
  .state-grid .state-photo { order: -1; max-width: 420px; }
}

.state-photo { margin: 0; }
.state-photo img {
  aspect-ratio: 4 / 4.6; width: 100%; height: auto; object-fit: cover;
  border-radius: 4px;
  filter: brightness(.9) saturate(.95);
}

.war-stories { margin: 0 0 1.2em; padding: 0; list-style: none; }
.war-stories li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline-dark);
  color: var(--ink-on-dark);
  font-size: .99rem; letter-spacing: -0.006em;
}
.war-stories li:first-child { border-top: 1px solid var(--hairline-dark); }

/* Beat 2 network turn - bright and unmissable, distinct from the I-story */
.network-turn {
  max-width: 780px; margin-inline: auto;
  text-align: center;
  padding-top: clamp(40px, 5.5vw, 68px);
}
.network-turn p {
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-on-dark);
  margin: 0 0 1.1em;
}

/* Beat 2 peak line - the number-one value line on the page */
.peak {
  text-align: center;
  padding: clamp(10px, 1.5vw, 20px) 0 clamp(8px, 1vw, 16px);
  max-width: 820px; margin-inline: auto;
}
.peak-line {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.03em;
  color: var(--ink-on-dark);
  margin: 0 0 26px;
}

/* Beat 3 - the partnership, institutional treatment */
.partner-panel {
  margin-top: clamp(44px, 6vw, 72px);
  background: rgba(244, 241, 235, .08);
  border: 1px solid var(--hairline-dark);
  border-top: 3px solid var(--amber);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 52px);
}
.partner-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
@media (max-width: 860px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.12; margin-bottom: .5em;
}
.band-dark .partner-panel p, .partner-panel p { color: var(--ink-on-dark); font-size: 1.04rem; line-height: 1.6; }
.partner-panel .provides-label {
  color: var(--ink-on-dark); font-size: .72rem; letter-spacing: .22em;
}
.partner-panel .provides li {
  font-size: 1.02rem; color: var(--ink-on-dark);
  padding: 15px 0 15px 26px;
}
.partner-panel .provides li::before {
  width: 7px; height: 7px; top: 1.6em;
}

/* wrapped pill groups for the two qualifying questions */
.pills-wrap { max-width: 100%; }

/* even pill grids: every option the same width, no ragged wrapping */
.pills.pills-grid { display: grid; gap: 7px; }
.pills-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.pills-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.pills-grid .pill span {
  width: 100%; min-width: 0; padding: 8px 6px;
  font-size: .84rem; min-height: 42px; text-align: center;
}
.pill-span { grid-column: 1 / -1; }
.pills-grid.cols-5 .pill span { white-space: nowrap; }
@media (max-width: 480px) {
  .pills-grid.cols-5 .pill span { font-size: .78rem; padding: 8px 2px; }
}
.pills-wrap .pill span { font-size: .84rem; min-width: 0; padding: 8px 13px; min-height: 42px; }

.cards-close {
  max-width: 62ch; margin: clamp(24px, 3vw, 36px) auto 0;
  text-align: center; color: var(--slate); font-size: 1.02rem;
}

.closing-cta {
  text-align: center;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
}
.closing-cta .h-pull { color: var(--charcoal); }

/* ---------- ledger line-items ------------------------------------------- */

.ledger { border-top: 1px solid var(--hairline); }
.ledger-row { border-bottom: 1px solid var(--hairline); }

.ledger details summary {
  display: grid; grid-template-columns: 50px 1fr 36px;
  align-items: baseline; gap: 8px;
  padding: 19px 0; cursor: pointer; list-style: none;
}
.ledger details summary::-webkit-details-marker { display: none; }

.lg-n {
  /* display amber needs large-bold numerals (>=19px) to pass contrast */
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber); color: #fff;
  font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.lg-t { font-size: clamp(1.02rem, 1.7vw, 1.18rem); font-weight: 600; letter-spacing: -0.014em; transition: color .12s ease; }
.lg-t em { display: block; font-style: normal; font-size: .87rem; font-weight: 400; letter-spacing: 0; color: var(--slate); margin-top: 4px; max-width: 60ch; }
.lg-m {
  justify-self: end; align-self: center;
  font-size: 1.2rem; font-weight: 300; color: var(--slate);
  transition: transform .18s ease; line-height: 1;
}
.ledger details[open] .lg-m { transform: rotate(45deg); }
.ledger summary:hover .lg-t { color: var(--amber-deep); }

.lg-body { padding: 0 0 24px; max-width: 62ch; }
@media (min-width: 720px) { .lg-body { padding-left: 50px; } }
.lg-body p { color: var(--slate); font-size: .95rem; }
.lg-body .ask {
  background: var(--amber-tint); color: var(--amber-deep);
  border-radius: 4px;
  padding: 12px 15px; font-size: .86rem; line-height: 1.5;
}

/* receive list — same document rhythm */
.receive { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.receive li {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 10px; padding: 16px 0;
  align-items: start;
  border-bottom: 1px solid var(--hairline);
}
.receive .lg-n { margin-top: 2px; }
.receive h3 { margin-bottom: .18em; font-size: 1.02rem; }
.receive p { color: var(--slate); font-size: .91rem; margin: 0; max-width: 54ch; }

/* ---------- offer + capture --------------------------------------------- */

.offer-grid {
  display: grid; grid-template-columns: 1fr 396px;
  gap: clamp(32px, 4.5vw, 64px); align-items: start;
}
@media (max-width: 940px) { .offer-grid { grid-template-columns: 1fr; } }

.capture {
  background: var(--paper-2);
  border-radius: 6px;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--amber);
  padding: clamp(24px, 3vw, 32px);
  position: sticky; top: 108px;
}
.band-white .capture { background: var(--paper); }
@media (max-width: 940px) { .capture { position: static; } }

.capture h3 { letter-spacing: -0.02em; }

.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label, .field .label-line {
  display: block; font-size: .84rem; font-weight: 600;
  margin-bottom: 6px; color: var(--charcoal);
}
.field .hint { font-weight: 400; color: var(--slate); font-size: .8rem; }

.field input {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--charcoal);
  font: inherit; font-size: .95rem;
  padding: 11px 13px; min-height: 45px;
  transition: border-color .15s ease, background-color .15s ease;
}
.band-white .capture .field input, .capture-dark .field input { background: var(--paper-2); }
.field input:focus { border-color: var(--charcoal); background: #fff; outline: none; }
.field input::placeholder { color: #9AA0A6; }

.field.bad input { border-color: var(--danger); }
.err { color: var(--danger); font-size: .82rem; margin-top: 5px; display: none; }
.field.bad .err { display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 48px; padding: 8px 14px;
  border: 1px solid var(--hairline); border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--slate);
  background: var(--paper); cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: border-color .12s ease, color .12s ease, background-color .12s ease;
}
.band-white .capture .pill span, .capture-dark .pill span { background: var(--paper-2); }
.pill input:checked + span {
  border-color: var(--charcoal); background: var(--charcoal); color: var(--paper);
}
.pill input:focus-visible + span { outline: 2px solid var(--amber-deep); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; }

.form-error {
  display: none;
  background: #FBEDEB; border: 1px solid #E4BDB7; color: var(--danger);
  border-radius: 4px; padding: 11px 14px; font-size: .88rem; margin-bottom: 14px;
}
.form-error.on { display: block; }

.capture-done { text-align: center; padding: 26px 8px; }
.capture-done .tick {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.35rem;
}
.capture-done h3, .capture-dark .capture-done h3 { color: var(--charcoal); }
.capture-dark { position: static; background: var(--paper-2); color: var(--charcoal); }
.capture-dark .capture-done .muted, .capture-dark .muted { color: var(--slate); }

/* ---------- process steps ----------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--hairline); }
.steps li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 50px 1fr; gap: 8px;
  padding: 20px 0; border-bottom: 1px solid var(--hairline);
}
.steps li::before {
  content: "0" counter(step);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--amber-deep); font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.steps h3 { margin-bottom: .22em; }
.steps p { color: var(--slate); font-size: .95rem; margin-bottom: 0; max-width: 58ch; }
.step-when {
  font-size: .74rem; font-weight: 600; color: var(--slate);
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  margin-left: 10px;
}

/* ---------- backing ------------------------------------------------------ */

.provides-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--slate); margin: 0 0 14px;
}
.provides { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.provides li {
  padding: 12px 0 12px 22px; position: relative;
  border-bottom: 1px solid var(--hairline);
  font-size: .93rem;
}
.provides li::before {
  content: ""; position: absolute; left: 2px; top: 1.45em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--amber);
}

.backing-quote {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 500; line-height: 1.42; letter-spacing: -0.016em;
  margin: 0 0 .9em;
}

.compliance-note {
  margin-top: 26px; padding: 13px 16px;
  background: var(--green-tint); border-radius: 4px;
  font-size: .82rem; color: var(--slate); line-height: 1.55;
}

/* ---------- guides ------------------------------------------------------- */

.guide-rows { border-top: 1px solid var(--hairline); }
.guide-rows a {
  display: grid; grid-template-columns: 140px 1fr 36px;
  gap: 18px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--hairline);
  text-decoration: none; color: inherit;
}
@media (max-width: 720px) { .guide-rows a { grid-template-columns: 1fr 30px; } .guide-rows .g-tag { display: none; } }
.g-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber-deep);
}
.g-main h3 { margin-bottom: .2em; font-size: clamp(1rem, 1.7vw, 1.16rem); transition: color .12s ease; }
.g-main p { color: var(--slate); font-size: .9rem; margin: 0; max-width: 62ch; }
.g-arr { justify-self: end; color: var(--slate); font-size: 1.05rem; transition: transform .15s ease, color .15s ease; }
.guide-rows a:hover .g-main h3 { color: var(--amber-deep); }
.guide-rows a:hover .g-arr { transform: translateX(4px); color: var(--charcoal); }

/* ---------- FAQ ---------------------------------------------------------- */

.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: .99rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.2rem; font-weight: 300; color: var(--slate);
  transition: transform .18s ease; line-height: 1; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--amber-deep); }
.faq .faq-body { padding: 0 0 20px; max-width: 60ch; }
.faq .faq-body p { color: var(--slate); font-size: .95rem; }

/* ---------- photo-backed dark band --------------------------------------- */

.band-photo { position: relative; overflow: hidden; }
.band-photo .band-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
}
.band-photo .band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(34,38,43,.93) 0%, rgba(34,38,43,.8) 48%, rgba(34,38,43,.5) 100%);
}
.band-photo > .wrap { position: relative; }

/* ---------- closing band ------------------------------------------------- */

.closing-grid { display: grid; grid-template-columns: 1fr 520px; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 940px) { .closing-grid { grid-template-columns: 1fr; } }
.closing-grid .h-pull { max-width: 15ch; }

/* ---------- centered section header -------------------------------------- */

.sec-head { max-width: 680px; margin: 0 auto clamp(36px, 4.5vw, 58px); text-align: center; }
.sec-head .eyebrow { justify-content: center; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head h2 { margin-bottom: .55em; }
.sec-head .small { max-width: 58ch; margin-inline: auto; font-size: 1.02rem; line-height: 1.65; }
.sec-cta { text-align: center; margin-top: clamp(22px, 3vw, 32px); }

/* ---------- topic cards (expandable, 2-col grid) -------------------------- */

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 820px) { .topic-grid { grid-template-columns: 1fr; } }

.topic-card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 4px 22px;
  box-shadow: 0 1px 2px rgba(34,38,43,.04), 0 8px 22px -16px rgba(34,38,43,.1);
  transition: border-color .15s ease;
}
.topic-card:hover { border-color: #CFC9BE; }
.topic-card.topic-wide { grid-column: 1 / -1; }
@media (max-width: 820px) { .topic-card.topic-wide { grid-column: auto; } }

.topic-card summary {
  display: grid; grid-template-columns: 42px 1fr 28px;
  align-items: start; gap: 8px;
  padding: 18px 0; cursor: pointer; list-style: none;
}
.topic-card summary::-webkit-details-marker { display: none; }
.topic-card .tc-t { font-size: 1.04rem; font-weight: 600; letter-spacing: -0.014em; }
.topic-card .tc-t em {
  display: block; font-style: normal; font-size: .86rem; font-weight: 400;
  color: var(--slate); margin-top: 3px;
}
.topic-card .tc-m {
  justify-self: end; align-self: start; margin-top: 6px;
  font-size: 1.15rem; font-weight: 300; color: var(--slate);
  transition: transform .18s ease; line-height: 1;
}
.topic-card[open] .tc-m { transform: rotate(45deg); }
.topic-card summary:hover .tc-t { color: var(--amber-deep); }
.topic-card .tc-body { padding: 0 0 20px; }
@media (min-width: 821px) { .topic-card .tc-body { padding-left: 40px; } }
.topic-card .tc-body p { color: var(--slate); font-size: .93rem; }
.topic-card .tc-body .ask {
  background: var(--amber-tint); color: var(--amber-deep);
  border-radius: 6px; padding: 11px 14px; font-size: .85rem; line-height: 1.5;
}

/* topic cards keep quiet numbers: charcoal with the small amber period */
.topic-card .lg-n {
  width: auto; height: auto; border-radius: 0; background: transparent;
  color: var(--charcoal); font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; display: inline-flex; align-items: center;
}
.topic-card .lg-n::after {
  content: ""; display: inline-block;
  width: .36em; height: .36em; margin-left: .18em;
  border-radius: 50%; background: var(--amber);
}

/* ---------- horizontal step strip ----------------------------------------- */

.steps-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 980px) { .steps-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-strip { grid-template-columns: 1fr; } }

.steps-strip li {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 22px 22px 24px;
  box-shadow: 0 1px 2px rgba(34,38,43,.04), 0 8px 22px -16px rgba(34,38,43,.1);
  display: flex; flex-direction: column;
}
.ss-n {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber); color: #fff;
  font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.ss-when {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: 6px;
}
.steps-strip h3 { margin-bottom: .3em; font-size: 1.05rem; }
.steps-strip p { color: var(--slate); font-size: .9rem; margin: 0; }

/* ---------- backing on dark photo ----------------------------------------- */

.backing-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
@media (max-width: 860px) { .backing-grid { grid-template-columns: 1fr; } }

.band-dark .provides-label { color: var(--slate-on-dark); }
.band-dark .provides { border-top-color: var(--hairline-dark); }
.band-dark .provides li { border-bottom-color: var(--hairline-dark); color: var(--ink-on-dark); }
.band-dark .backing-quote { color: var(--ink-on-dark); }
.band-dark .compliance-note {
  background: rgba(244, 241, 235, .1);
  color: var(--slate-on-dark);
}

/* ---------- guides card grid ----------------------------------------------- */

.guides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .guides-grid { grid-template-columns: 1fr; } }
.guides-grid a {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 24px 26px;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(34,38,43,.04), 0 8px 22px -16px rgba(34,38,43,.1);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.guides-grid a:hover {
  transform: translateY(-3px);
  border-color: #CFC9BE;
  box-shadow: 0 2px 4px rgba(34,38,43,.05), 0 16px 34px -16px rgba(34,38,43,.18);
}
.guides-grid .g-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber-deep); margin-bottom: 10px;
}
.guides-grid h3 { font-size: 1.08rem; margin-bottom: .35em; transition: color .12s ease; }
.guides-grid a:hover h3 { color: var(--amber-deep); }
.guides-grid p { color: var(--slate); font-size: .92rem; margin: 0 0 16px; }
.guides-grid .g-arr {
  margin-top: auto;
  font-size: .86rem; font-weight: 600; color: var(--charcoal);
}

/* the wordmark as a watermark - sanctioned by the brand book, used once */
.band-marked { position: relative; overflow: hidden; }
.band-marked .band-watermark {
  position: absolute; right: -70px; bottom: 25.5%;
  height: 210px; width: auto; opacity: .035;
  pointer-events: none;
}
.band-marked > .wrap { position: relative; }

/* chapter break: the letterspaced tagline over hairlines, per the brand book */
.chapter-rule {
  display: flex; align-items: center; gap: 22px;
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(26px, 3vw, 38px) 28px;
}
.chapter-rule::before, .chapter-rule::after {
  content: ""; height: 1px; flex: 1;
  background: var(--hairline);
}
.chapter-rule span {
  font-size: .62rem; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--slate); white-space: nowrap;
}

/* white-band cards flip to paper so the box still reads */
.band-white .panel-card, .band-white .steps-strip li, .band-white .topic-card, .band-white .guides-grid a { background: var(--paper); box-shadow: none; }

/* ---------- centered faq --------------------------------------------------- */

.faq-center { max-width: 820px; margin-inline: auto; }

/* ---------- guides pages ------------------------------------------------- */

.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { border-bottom: 1px solid var(--hairline); }
.guide-list a { display: block; padding: 24px 0; text-decoration: none; color: inherit; transition: padding-left .18s ease; }
.guide-list a:hover { padding-left: 10px; }
.guide-list a:hover h3 { color: var(--amber-deep); }
.guide-list h3 { margin-bottom: .3em; transition: color .15s ease; }
.guide-list p { color: var(--slate); margin: 0; font-size: .95rem; max-width: 68ch; }

.article { max-width: var(--prose); }
.article h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.article h2 { margin-top: 1.8em; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.article h2:first-of-type { margin-top: 1em; }
.article ul { padding-left: 20px; margin: 0 0 1.1em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--amber); }
.article blockquote {
  margin: 1.6em 0; padding: 2px 0 2px 20px;
  border-left: 2px solid var(--amber);
  font-size: 1.12rem; font-weight: 500; line-height: 1.5;
  color: var(--charcoal); letter-spacing: -.01em;
}

.article-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hairline); }

.backlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; color: var(--slate); text-decoration: none; margin-bottom: 26px;
}
.backlink:hover { color: var(--amber-deep); }

/* ---------- footer ------------------------------------------------------ */

.foot { border-top: 1px solid var(--hairline); padding-block: 48px 56px; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--slate); margin: 0 0 13px;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--slate); text-decoration: none; font-size: .92rem; }
.foot a:hover { color: var(--charcoal); }
.foot-legal { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--hairline); }
