/* Rosh-Will LLC | editorial theme (distinct from Copley) */
:root {
  --paper: #FBF7F0;
  --cream: #FFFDF9;
  --ink: #241C15;
  --ink-soft: #443A2E;
  --stone: #6B6153;
  --line: #E4DAC9;
  --plum: #6E2B4E;
  --plum-dark: #521F3A;
  --gold: #C6892B;
  --sage: #4B6B4E;
  --mist: #F1EADC;
  --error: #9A3324;
  --font: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
  --shadow: 0 1px 2px rgba(36,28,21,.05), 0 18px 40px -20px rgba(36,28,21,.28);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--sans); font-size: 1.06rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.lede { font-size: 1.24rem; color: var(--ink-soft); max-width: 38em; }
.muted { color: var(--stone); }
.small { font-size: .92rem; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 46rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--plum { background: var(--plum); color: #FBEFE6; }
.section--plum a, .section--ink a { color: var(--gold); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-dark); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #B07A22; }
.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,240,.9); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { height: 40px; width: auto; flex: none; display: block; }
.brand-mark--light { height: 40px; width: auto; }
.brand-name { font-family: var(--font); font-weight: 600; font-size: 1.24rem; letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.35rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--plum); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.nav .btn { padding: .55rem 1.1rem; font-size: .93rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: .45rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
}

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 12em; }
.hero .eyebrow { font-family: var(--sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--plum); margin-bottom: 1rem; }
.stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.4rem; }
.stat .num { font-family: var(--font); font-size: 2rem; font-weight: 600; color: var(--plum); }
.stat .lbl { font-size: .9rem; color: var(--stone); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Manuscript visual */
.ms-visual { position: relative; }
.ms-page { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 2rem 2.2rem; font-family: var(--font); }
.ms-page .mk-line { height: 12px; border-radius: 6px; background: var(--mist); margin: .8rem 0; }
.ms-page .mk-line.short { width: 55%; }
.ms-mark { color: var(--error); text-decoration: line-through; text-decoration-color: var(--error); }
.ms-add { color: var(--sage); font-weight: 600; }
.ms-note { position: absolute; right: -12px; bottom: 24px; background: var(--gold); color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: .82rem; padding: .5rem .8rem; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(3deg); }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.svc-card h3 { font-size: 1.18rem; margin: 0; }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.svc-num { font-family: var(--font); font-size: 1rem; color: var(--gold); font-weight: 600; }

/* Quote calculator */
.quote-shell { display: grid; grid-template-columns: 1fr 20rem; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .quote-shell { grid-template-columns: 1fr; } }
.quote-panel { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem; box-shadow: var(--shadow); }
.mode-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.mode-card { border: 1.5px solid #CDBFA6; border-radius: 10px; padding: 1rem 1.1rem; cursor: pointer; display: block; }
.mode-card:has(input:checked) { border-color: var(--plum); background: #F7EFF2; }
.mode-card input { margin-right: .5rem; accent-color: var(--plum); }
.mode-card .rate { font-family: var(--font); font-weight: 600; color: var(--plum); }
.mode-card .desc { font-size: .88rem; color: var(--stone); margin-top: .3rem; }
.quote-total { background: var(--ink); color: var(--paper); border-radius: 14px; padding: 1.8rem; position: sticky; top: 96px; }
.quote-total .big { font-family: var(--font); font-size: 2.6rem; font-weight: 600; color: #fff; margin: .2rem 0; }
.quote-total .row { display: flex; justify-content: space-between; padding: .35rem 0; color: #D8CEBF; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.quote-total .btn { margin-top: 1.4rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; padding-top: 3.4rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-family: var(--font); font-weight: 600; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: #D8CEBF; font-size: .97rem; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

/* Split, panels, facts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.split--wide { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } }
.panel { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 1.8rem; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { color: var(--stone); font-size: .95rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding: .5rem 0 .5rem 1.9rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: .25rem; top: .95rem; width: .75rem; height: .4rem; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 600; font-size: 1.1rem; position: relative; font-family: var(--font); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--plum); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 1.2rem; color: var(--ink-soft); max-width: 44rem; }

/* Page header */
.page-head { padding-block: clamp(2.5rem,6vw,4.5rem) clamp(2rem,4vw,3rem); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .88rem; color: var(--stone); margin-bottom: 1.2rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--line); }
.crumbs a { color: var(--stone); }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin-bottom: .4rem; }

/* CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0; max-width: 18em; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form .row--3 { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 560px) { .form .row, .form .row--3 { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--stone); font-size: .85rem; }
.input, .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form input[type="number"], .form input[type="password"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid #CDBFA6; border-radius: 8px; padding: .72rem .85rem; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(110,43,78,.16); }
.form .is-invalid { border-color: var(--error) !important; }
.err { color: var(--error); font-size: .88rem; margin-top: .3rem; }
.err:empty { display: none; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 1rem 1.2rem; font-size: .98rem; }
.notice--info { background: #FBF0DA; border: 1px solid #E8CE90; }
.notice--ok { background: #E4EEE2; border: 1px solid #AEC9A9; }
.notice--error { background: #F6E2DD; border: 1px solid #E0B2A7; }
.check { display: grid; grid-template-columns: 1.3rem 1fr; gap: .6rem; font-size: .93rem; color: var(--ink-soft); align-items: start; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--plum); }

/* Flow steps (authorize/pay) */
.flow-steps { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; gap: .6rem; flex-wrap: wrap; font-size: .92rem; font-weight: 600; color: var(--stone); }
.flow-steps li { display: flex; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .4rem; border-radius: 999px; background: var(--mist); }
.flow-steps li span { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); font-size: .85rem; }
.flow-steps li.is-current { background: var(--ink); color: #fff; }
.flow-steps li.is-current span { background: var(--gold); color: var(--ink); }
.flow-steps li.is-done span { background: var(--sage); color: #fff; }

/* Authorization */
.auth-shell { display: grid; grid-template-columns: 22rem 1fr; gap: 2rem; align-items: start; }
.txn-panel { position: sticky; top: 96px; }
@media (max-width: 900px) { .auth-shell { grid-template-columns: 1fr; } .txn-panel { position: static; } }
.txn { display: grid; grid-template-columns: 7.5rem 1fr; gap: .55rem 1rem; margin: 0; }
.txn dt { color: var(--stone); font-size: .92rem; }
.txn dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.txn .txn-total { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .3rem; font-size: 1.25rem; }
.txn dd.txn-total { font-family: var(--font); }
.txn .txn-total small { font-size: .8rem; color: var(--stone); font-weight: 500; }
.auth-form fieldset { border: 1px solid var(--line); border-radius: 12px; background: var(--cream); padding: 1.3rem 1.4rem 1.4rem; margin: 0; display: grid; gap: 1.1rem; }
.auth-form legend { font-family: var(--font); font-weight: 600; font-size: 1.15rem; padding: 0 .4rem; margin-left: -.4rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { display: flex; align-items: center; gap: .5rem; border: 1.5px solid #CDBFA6; border-radius: 8px; padding: .6rem .9rem; cursor: pointer; font-size: .96rem; }
.choice:has(input:checked) { border-color: var(--plum); background: #F7EFF2; }
.choice input { accent-color: var(--plum); }
.auth-statement { background: #F4EEDF; border-left: 4px solid var(--gold); padding: 1rem 1.1rem; border-radius: 0 8px 8px 0; font-size: .98rem; line-height: 1.6; }
.acks { display: grid; gap: .5rem; }
.sig-wrap { position: relative; border: 1.5px dashed #B9A987; border-radius: 10px; background: #FFFDF8; height: 210px; touch-action: none; }
.sig-wrap.is-invalid { border-color: var(--error); }
.sig-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: none; }
.sig-line { position: absolute; left: 6%; right: 6%; bottom: 42px; border-bottom: 1px solid #CDBFA6; pointer-events: none; }
.sig-hint { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .85rem; color: var(--stone); pointer-events: none; }
.sig-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.sig-preview { display: block; max-width: 240px; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin: .2rem 0 .4rem; }

/* Payment */
.pay-shell { display: grid; grid-template-columns: 1fr 22rem; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .pay-shell { grid-template-columns: 1fr; } }
.gateway-slot { border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; background: var(--cream); }
.slot-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.slot-label { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; }
.slot-label svg { width: 20px; height: 20px; }
.card-input { position: relative; }
.card-input .brand-badge { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); font-size: .75rem; font-weight: 700; color: var(--stone); }
.card-logos { width: 220px; height: auto; }
.prefill { margin-bottom: 1.2rem; }
.prefill-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.prefill-head h2 { margin: 0; font-size: 1.2rem; }
.summary-box dl { display: grid; grid-template-columns: 1fr auto; gap: .6rem 1rem; margin: 0 0 1rem; }
.summary-box dt { color: var(--stone); }
.summary-box dd { margin: 0; font-weight: 600; text-align: right; }
.summary-box .total { border-top: 1px solid var(--line); padding-top: .8rem; font-size: 1.2rem; font-family: var(--font); }
.trust { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .9rem; color: var(--stone); }
.trust li { display: flex; gap: .5rem; align-items: flex-start; padding: .3rem 0; }
.trust svg { width: 16px; height: 16px; flex: none; margin-top: .25rem; color: var(--sage); }
.howto { padding-left: 1.2rem; margin: 0 0 1rem; }
.howto li { margin-bottom: .6rem; font-size: .96rem; }

/* Verify */
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-height: 180px; border: 2px dashed #B9A987; border-radius: 14px; background: var(--cream); cursor: pointer; text-align: center; padding: 1.5rem; }
.dropzone.is-over { border-color: var(--plum); background: #F7EFF2; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone strong { font-family: var(--font); font-size: 1.2rem; color: var(--plum); }
#verify-result { margin-top: 1.5rem; }
.verify-card { border-radius: 12px; padding: 1.4rem; border: 1px solid; }
.verify-card h2 { font-size: 1.3rem; }
.verify-card--ok { background: #E4EEE2; border-color: #AEC9A9; }
.verify-card--bad { background: #F6E2DD; border-color: #E0B2A7; }

/* Footer */
.site-footer { background: var(--ink); color: #C9BFB0; padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: #EDE4D6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h2 { font-family: var(--sans); font-size: 1rem; color: #fff; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .brand-name { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: #9C9284; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Admin */
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--cream); font-size: .93rem; }
.admin-table th, .admin-table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--mist); font-weight: 600; white-space: nowrap; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--mist); color: var(--ink); white-space: nowrap; }
.pill--signed, .pill--payment_pending, .pill--under_review { background: #FBF0DA; }
.pill--payment_successful, .pill--settled, .pill--used { background: #DCEBD8; color: var(--sage); }
.pill--failed, .pill--void, .pill--refunded, .pill--superseded { background: #F1DAD3; color: var(--error); }
.preset-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; align-items: center; }
body.admin .nav a { margin-right: .8rem; }
.gw-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.gw-option { border: 2px solid var(--line); border-radius: 12px; padding: 1.1rem; text-align: left; background: var(--cream); cursor: pointer; font: inherit; }
.gw-option.is-active { border-color: var(--sage); background: #EAF1E7; }
.gw-option .gw-name { font-family: var(--font); font-weight: 600; font-size: 1.15rem; }
.gw-option .gw-use { font-size: .9rem; color: var(--stone); margin-top: .3rem; }
.gw-bar { height: 7px; border-radius: 4px; background: var(--mist); overflow: hidden; margin-top: .6rem; }
.gw-bar span { display: block; height: 100%; background: var(--sage); }
.gw-bar span.warn { background: var(--gold); }
.gw-bar span.over { background: var(--error); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Pay lookup: editorial invoice-slip layout (distinct from the two-column engine default) */
.pay-lookup { display: grid; grid-template-columns: minmax(0, 27rem) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: 60rem; }
@media (max-width: 820px) { .pay-lookup { grid-template-columns: 1fr; max-width: 30rem; } }
.pay-slip { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.pay-slip__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; background: var(--ink); color: var(--paper); }
.pay-slip__tag { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pay-slip__mark { font-family: var(--font); font-style: italic; font-size: 1.4rem; color: var(--gold); }
.pay-slip form { padding: 1.6rem 1.5rem 1.7rem; }
.pay-slip .btn { margin-top: .4rem; }
.pay-slip__note { font-size: .85rem; color: var(--stone); margin: .9rem 0 0; }
.pay-reassure { padding-top: .5rem; }
.pay-flow { list-style: none; counter-reset: pf; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; }
.pay-flow li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem; align-items: start; }
.pay-flow__n { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--mist); color: var(--plum); font-family: var(--font); font-weight: 600; display: grid; place-items: center; }
.pay-flow li div { font-size: .96rem; color: var(--ink-soft); line-height: 1.5; }
.pay-reassure__foot { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.pay-reassure__foot .card-logos { margin-bottom: .8rem; }

/* Verify: centered flow */
.verify-how { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.verify-how h2 { font-size: 1.2rem; }

/* Checkout / Order page */
.order-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
@media (max-width: 820px) { .order-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .order-grid { grid-template-columns: 1fr; } }
.order-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: var(--shadow); }
.order-card h3 { font-size: 1.15rem; margin: 0; }
.order-card .btn { margin-top: auto; }
.order-price { font-family: var(--font); font-size: 1.9rem; font-weight: 600; color: var(--plum); margin: 0; }
.order-price span { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--stone); }
.order-custom { margin-top: 1rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }

/* Checkout dialog */
.checkout-overlay[hidden] { display: none !important; }
.checkout-overlay { position: fixed; inset: 0; background: rgba(36,28,21,.55); z-index: 200; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.checkout-overlay:not([hidden]) { display: grid; place-items: start center; padding: 5vh 1rem 2rem; }
.checkout-modal { background: var(--paper); border-radius: 16px; width: min(34rem, 100%); padding: 1.8rem 1.8rem 2rem; box-shadow: 0 30px 60px -20px rgba(36,28,21,.5); position: relative; }
.checkout-modal h2 { font-size: 1.5rem; margin: 0 0 .4rem; }
.checkout-close { position: absolute; top: .7rem; right: .9rem; background: none; border: none; font-size: 1.9rem; line-height: 1; color: var(--stone); cursor: pointer; padding: .2rem .5rem; }
.checkout-close:hover { color: var(--ink); }
.checkout-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--mist); border-radius: 10px; padding: .8rem 1rem; margin: 0 0 1.2rem; }
.checkout-summary strong { font-family: var(--font); font-size: 1.3rem; color: var(--plum); white-space: nowrap; }

/* Order card level distinction */
.order-card { position: relative; }
.order-badge { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; }
.order-badge--basic { background: var(--mist); color: var(--stone); }
.order-badge--premium { background: var(--plum); color: #fff; }
.order-card--premium { border-color: var(--plum); box-shadow: 0 1px 2px rgba(110,43,78,.08), 0 18px 40px -22px rgba(110,43,78,.35); }
.order-card--premium .order-price { color: var(--plum); }

/* Order page trust band */
.trust-band { background: var(--mist); border-bottom: 1px solid var(--line); }
.trust-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: .9rem 0; }
.trust-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; color: var(--ink-soft); max-width: 30rem; }
.trust-item svg { color: var(--sage); flex: none; margin-top: 2px; }
.trust-cards { margin-left: auto; height: 34px; width: auto; }
@media (max-width: 760px) { .trust-cards { margin-left: 0; } }
.co-policy { font-size: .82rem; color: var(--stone); line-height: 1.5; background: var(--mist); border-radius: 8px; padding: .7rem .85rem; margin: .2rem 0 0; }
