/* ============================================================
   Contractor in Check — site styles
   All colors are defined once, below. Change them here and the
   entire site follows.
   ============================================================ */

/* Palette taken from the brand SVG: mark #2E2620, hammer head #E1660C, wordmark accent #D0600B */
:root {
  --ink:        #241D17;   /* primary text, warm near-black */
  --ink-2:      #56514a;   /* secondary text */
  --ink-3:      #877f75;   /* muted text, captions */
  --paper:      #ffffff;   /* page background */
  --paper-2:    #faf8f5;   /* warm off-white section background */
  --slate:      #2E2620;   /* dark sections and footer — the mark's dark */
  --accent:     #D0600B;   /* brand orange: buttons, links, "in Check" */
  --accent-dk:  #A44B08;   /* darker, for hover */
  --accent-lt:  #fdf2e6;   /* pale tint background */
  --accent-br:  #E1660C;   /* hammer-head orange from the mark; spare, for accents */
  --flag:       #b91c1c;   /* red-flag markers */
  --ok:         #15803d;   /* green, for "clear" items */
  --line:       #e8e3da;   /* hairline borders */
  --line-dk:    #464038;   /* borders on dark backgrounds */
  --maxw:       1120px;
  --r:          8px;
}

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

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { font-weight: 680; }

.lead { font-size: 1.19rem; color: var(--ink-2); max-width: 64ch; }
.lead-lg { font-size: 1.3rem; color: var(--ink-2); max-width: 60ch; }

.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow.dim { color: var(--ink-3); }

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- Header ---------- */

header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 74px; flex-wrap: wrap;
}

/* ---------- Logo lockup: hammer-check mark beside a two-line wordmark ----------
   Wordmark is Space Grotesk to match the brand SVG: "Contractor" 700, "in Check" 400.
   Weights are deliberate — don't bold the second line.                             */

.logo {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 4px 0; text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo:hover .logo-text { color: var(--slate); }

.logo-mark { width: 48px; height: 48px; flex: none; display: block; }

.logo-text {
  font-family: "Space Grotesk", ui-sans-serif, -apple-system, sans-serif;
  font-size: 1.34rem; font-weight: 700; letter-spacing: -.03em;
  color: #2E2620; white-space: nowrap; line-height: 1.04;
  transition: color .15s;
}
.logo-text em {
  display: block; font-style: normal;
  font-weight: 400; color: var(--accent);
}

@media (max-width: 560px) {
  .logo-mark { width: 40px; height: 40px; }
  .logo-text { font-size: 1.14rem; }
}

nav.site ul { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav.site a { color: var(--ink-2); font-size: .94rem; font-weight: 520; }
nav.site a:hover { color: var(--accent); text-decoration: none; }
nav.site a.current { color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 13px 24px; border-radius: var(--r);
  font-weight: 620; font-size: 1rem; font-family: inherit;
  border: 2px solid var(--accent); cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; text-decoration: none; }
.btn-sm { padding: 9px 17px; font-size: .92rem; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent-lt); color: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink-3); }
.btn-row { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; }

/* ---------- Sections ---------- */

section { padding: 78px 0; }
section.tint { background: var(--paper-2); }
section.dark { background: var(--slate); color: #e8eaec; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .lead, section.dark p { color: #b9c0c7; }
section.tight { padding: 52px 0; }
.center { text-align: center; }
.center .lead, .center .lead-lg { margin-left: auto; margin-right: auto; }

.hero { padding: 66px 0 74px; }

/* ---------- Annotated quote graphic (hero) ---------- */

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.doc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; box-shadow: 0 14px 40px -18px rgba(20,24,28,.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem; line-height: 1.95; color: var(--ink-2);
}
.doc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3);
}
.doc-row { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; flex-wrap: wrap; }
.doc-row .k { color: var(--ink-3); }
.doc-row .v { color: var(--ink); text-align: right; }
.doc-note {
  display: block; font-size: .7rem; line-height: 1.5; margin-top: 2px;
  padding-left: 20px; position: relative; color: var(--flag); font-weight: 600;
}
.doc-note::before {
  content: "▲"; position: absolute; left: 4px; top: 0; font-size: .6rem;
}
.doc-total {
  display: flex; justify-content: space-between; margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .92rem;
}
.doc-stamp {
  margin-top: 18px; border: 1.5px solid var(--flag); color: var(--flag);
  border-radius: 4px; padding: 8px 12px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; text-align: center;
}

/* ---------- Opening statement ---------- */

.opener { padding: 84px 0 72px; }
.opener h1 { max-width: 20ch; margin-bottom: .35em; }
.opener .lead-lg { max-width: 62ch; }

.proof {
  list-style: none; padding: 30px 0 0; margin: 40px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 22px 44px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.proof li { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.proof b {
  display: block; color: var(--ink); font-size: 1.06rem;
  font-weight: 750; letter-spacing: -.015em; margin-bottom: 2px;
}

@media (max-width: 620px) { .opener { padding: 54px 0 48px; } }

/* ---------- "What you can't know" list ---------- */

.gaps { list-style: none; padding: 0; margin: 46px 0 0; border-top: 1px solid var(--line); }
.gaps li {
  display: grid; grid-template-columns: 300px 1fr; gap: 12px 44px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.gaps b {
  font-size: 1.12rem; font-weight: 720; color: var(--ink);
  letter-spacing: -.015em; line-height: 1.3;
}
.gaps span { color: var(--ink-2); font-size: 1rem; max-width: 68ch; }

@media (max-width: 820px) {
  .gaps li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .gaps b { font-size: 1.06rem; }
}

/* ---------- Credibility strip ---------- */

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip .wrap { display: flex; gap: 14px 40px; flex-wrap: wrap; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.strip-item { font-size: .88rem; color: var(--ink-2); display: flex; align-items: baseline; gap: 9px; }
.strip-item b { color: var(--ink); font-weight: 700; font-size: 1.02rem; }

/* ---------- Grids and cards ---------- */

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); margin-top: 42px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card { border: 1px solid var(--line); border-radius: var(--r); padding: 27px; background: #fff; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-2); font-size: .97rem; }
section.dark .card { background: #232d38; border-color: var(--line-dk); }
section.dark .card p { color: #aeb6bd; }

.icon {
  width: 38px; height: 38px; border-radius: 6px; margin-bottom: 16px;
  background: var(--accent-lt); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; font-family: ui-monospace, Menlo, monospace;
}
section.dark .icon { background: rgba(194,65,12,.18); color: #f0925f; }

/* ---------- Pricing tiers ---------- */

.tiers { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); margin-top: 46px; align-items: start; }

.tier {
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  padding: 28px 26px; display: flex; flex-direction: column; height: 100%; position: relative;
}
.tier.feature { border: 2px solid var(--accent); box-shadow: 0 16px 44px -22px rgba(194,65,12,.4); }
.tier-flag {
  position: absolute; top: -12px; left: 26px;
  background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: 4px 11px; border-radius: 20px;
}
.tier-no { font-family: ui-monospace, Menlo, monospace; font-size: .71rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.tier h3 { font-size: 1.32rem; margin-bottom: 6px; }
.tier .amt { font-size: 2.15rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.1; }
.tier .amt small { font-size: .82rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.tier .turn { font-size: .84rem; color: var(--ok); font-weight: 650; margin: 8px 0 16px; }
.tier > p { color: var(--ink-2); font-size: .96rem; }
.tier ul { list-style: none; padding: 0; margin: 4px 0 20px; font-size: .93rem; color: var(--ink-2); }
.tier ul li { padding: 6px 0 6px 23px; position: relative; }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.tier .fit { font-size: .87rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; margin-bottom: 16px; }
.tier .fit b { color: var(--ink-2); }
.tier .btn { width: 100%; text-align: center; }

/* ---------- On-site block ---------- */

.onsite {
  display: grid; grid-template-columns: 1fr .82fr; gap: 52px; align-items: center;
  background: var(--accent-lt); border: 1px solid #f2d5c4;
  border-radius: var(--r); padding: 44px;
}
@media (max-width: 880px) { .onsite { grid-template-columns: 1fr; gap: 34px; padding: 30px 24px; } }
.onsite h2 { margin-bottom: .4em; }
.onsite-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; box-shadow: 0 14px 40px -22px rgba(20,24,28,.3);
}
.onsite-card h3 { font-size: 1.32rem; margin-bottom: 6px; }
.onsite-card .avail {
  font-size: .88rem; font-weight: 600; color: var(--ink-3);
  margin: 0 0 10px;
}
.onsite-card .amt { font-size: 2.15rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 16px; }
.onsite-card ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: .93rem; color: var(--ink-2); }
.onsite-card ul li { padding: 6px 0 6px 23px; position: relative; }
.onsite-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.onsite-card .fit { font-size: .87rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 16px; }
.onsite-card .fit b { color: var(--ink-2); }
.onsite-card .btn { width: 100%; text-align: center; }

/* ---------- Steps ---------- */

.steps { list-style: none; padding: 0; margin: 44px 0 0; counter-reset: s; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.steps li { counter-increment: s; padding-left: 54px; position: relative; font-size: .97rem; color: var(--ink-2); }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--slate); color: #fff;
  font-weight: 700; font-size: .82rem; font-family: ui-monospace, Menlo, monospace;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; color: var(--ink); font-size: 1.04rem; margin-bottom: 3px; }
section.dark .steps li { color: #aeb6bd; }
section.dark .steps strong { color: #fff; }
section.dark .steps li::before { background: var(--accent); }

/* ---------- Two-column ---------- */

.cols { display: grid; gap: 52px; grid-template-columns: 1fr 1fr; align-items: start; }
.cols-lean { grid-template-columns: 1fr 1.35fr; }
@media (max-width: 820px) { .cols, .cols-lean { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Quotes ---------- */

blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
blockquote p::before { content: "\201C"; }
blockquote p::after { content: "\201D"; }
blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: .86rem; color: var(--ink-3); font-weight: 600; }

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

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 680; font-size: 1.04rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 13px 0 0; color: var(--ink-2); font-size: .98rem; max-width: 72ch; }

/* ---------- Coverage list ---------- */

.towns { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 30px 0 0; }
.towns li {
  border: 1px solid var(--line); border-radius: 20px; padding: 6px 15px;
  font-size: .88rem; color: var(--ink-2); background: #fff;
}
section.dark .towns li { border-color: var(--line-dk); background: #232d38; color: #b9c0c7; }

/* ---------- Form ---------- */

form.intake { display: grid; gap: 17px; }
.field label { display: block; font-weight: 640; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r); font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.field textarea { min-height: 138px; resize: vertical; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
@media (max-width: 620px) { .field-2 { grid-template-columns: 1fr; } }
.hint { font-size: .85rem; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; }

/* ---------- Detail list ---------- */

.details { list-style: none; padding: 0; margin: 0; }
.details li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.details li:first-child { padding-top: 0; }
.details span {
  display: block; font-family: ui-monospace, Menlo, monospace; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .11em; color: var(--ink-3); font-weight: 600; margin-bottom: 4px;
}

/* ---------- CTA band ---------- */

.cta { background: var(--slate); color: #fff; text-align: center; padding: 74px 0; }
.cta h2 { color: #fff; }
.cta p { color: #b9c0c7; max-width: 56ch; margin: 0 auto 26px; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { color: #fff; border-color: var(--line-dk); }
.cta .btn-ghost:hover { background: #2a3542; color: #fff; border-color: #4a5866; }

/* ---------- Footer ---------- */

footer.site { background: var(--slate); color: #98a2ac; padding: 52px 0 34px; font-size: .92rem; border-top: 1px solid var(--line-dk); }
footer.site a { color: #c6ccd2; }
footer.site a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.foot-grid h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-family: ui-monospace, Menlo, monospace; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid ul li { padding: 4px 0; }
.foot-bar {
  border-top: 1px solid var(--line-dk); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .84rem; color: #77828d;
}
.disclaim { font-size: .82rem; color: #77828d; max-width: 78ch; margin-top: 14px; line-height: 1.6; }

/* ---------- Editor notes (delete before publishing) ---------- */

.todo {
  background: #fff9e6; border: 1px dashed #c99a10; border-radius: var(--r);
  padding: 13px 17px; font-size: .89rem; color: #6b4e00; margin: 0 0 26px; line-height: 1.55;
}
.todo strong { color: #4a3600; }
.todo code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 3px; font-size: .93em; }


/* ============================================================
   SPACING FIXES — page rhythm
   ============================================================ */

/* An intro section and the content beneath it are one unit.
   Two full .tight paddings back to back left a 104px void. */
main > section.tight:first-child { padding-top: 66px; padding-bottom: 12px; }

/* .tiers carries a top margin meant to clear a heading. When the
   grid is the first thing in its section there is no heading to clear. */
.wrap > .tiers:first-child { margin-top: 0; }

/* The on-site block is vertically centred; a trailing heading margin
   throws the alignment off when nothing follows the heading. */
.onsite h2:last-child { margin-bottom: 0; }

/* Never let a dark section sit flush against the dark footer. */
main > section.cta:last-child { padding-bottom: 82px; }

/* Tighten the stacked layout on small screens. */
@media (max-width: 620px) {
  section { padding: 52px 0; }
  section.tight { padding: 40px 0; }
  main > section.tight:first-child { padding-top: 44px; }
  .tiers, .grid { margin-top: 32px; }
}


/* ============================================================
   CHECKOUT FLOW — start-1/2/3.html and pay-1/2/3.html
   ============================================================ */

/* The rule above squashes the bottom of a first section, on the
   assumption that it's only an intro. On the flow pages the first
   section holds everything, so it needs its padding back. */
main > section.tight.flow:first-child { padding-bottom: 66px; }
@media (max-width: 620px) {
  main > section.tight.flow:first-child { padding-bottom: 44px; }
}

/* ---------- Step indicator ---------- */

.stepline {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 20px;
}
.stepline b { color: var(--accent); font-weight: 700; }
.stepline span { color: var(--ink-3); opacity: .72; }

/* ---------- Selected-service summary on the intake form ---------- */

.order-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--accent-lt); border: 1px solid #f2d5c4;
  border-radius: var(--r); padding: 20px 24px; margin: 30px 0 34px;
}
.order-summary h3 { margin: 0; font-size: 1.22rem; }
.order-summary .tier-no { margin-bottom: 5px; }
.order-summary .change { margin: 7px 0 0; font-size: .84rem; }
.order-summary .change a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.order-summary .change a:hover { color: var(--accent-dk); }
.order-summary .amt {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -.035em;
  color: var(--ink); margin: 0; white-space: nowrap;
}
@media (max-width: 520px) {
  .order-summary { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- File upload ---------- */

.upload-field { margin-top: 4px; }
.upload-field input[type="file"] {
  width: 100%; padding: 26px 20px; font: inherit; font-size: .94rem;
  background: var(--paper-2); color: var(--ink-2);
  border: 2px dashed var(--line); border-radius: var(--r);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.upload-field input[type="file"]:hover { border-color: var(--accent); background: var(--accent-lt); }
.upload-field input[type="file"]:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.upload-field input[type="file"]::file-selector-button {
  font: inherit; font-weight: 650; font-size: .9rem;
  padding: 9px 16px; margin-right: 14px; cursor: pointer;
  background: var(--slate); color: #fff;
  border: 0; border-radius: var(--r);
}
.upload-field input[type="file"]::file-selector-button:hover { background: var(--accent); }

.upload-note { font-size: .87rem; font-weight: 600; margin: 10px 0 0; }
.upload-note.ok  { color: var(--ok); }
.upload-note.bad { color: var(--flag); }

/* ---------- Payment handoff card ---------- */

.pay-card {
  border: 2px solid var(--accent); border-radius: var(--r); background: #fff;
  padding: 30px 30px 26px; margin: 32px 0 0;
  box-shadow: 0 16px 44px -22px rgba(194,65,12,.4);
}
.pay-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px;
}
.pay-head h3 { margin: 0; font-size: 1.3rem; }
.pay-head .tier-no { margin-bottom: 5px; }
.pay-head .amt {
  font-size: 2.05rem; font-weight: 800; letter-spacing: -.035em;
  color: var(--ink); margin: 0; white-space: nowrap;
}
.pay-card .btn { width: 100%; text-align: center; }
.pay-card .hint { text-align: center; margin: 14px 0 0; }
@media (max-width: 520px) {
  .pay-card { padding: 24px 20px 20px; }
  .pay-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Bigger primary button for the flow pages ---------- */

.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* [hidden] must beat the display rules above it. */
[hidden] { display: none !important; }
