/* ============================================================
   ReviveStep Custom Orthotics — styles
   ============================================================ */

:root {
  --navy: #14304d;
  --navy-deep: #0e2236;
  --teal: #1f8a8a;
  --teal-dark: #166b6b;
  --accent: #f0a830;
  --accent-dark: #d98e16;
  --ink: #1c2733;
  --muted: #5d6b7a;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-tint: #eef5f5;
  --ok: #1f8a5b;
  --shadow-sm: 0 1px 3px rgba(20, 48, 77, .08), 0 1px 2px rgba(20, 48, 77, .06);
  --shadow-md: 0 10px 30px rgba(20, 48, 77, .10);
  --shadow-lg: 0 24px 60px rgba(20, 48, 77, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #2a1c00; box-shadow: 0 6px 18px rgba(240,168,48,.35); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--solid { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(31,138,138,.3); }
.btn--solid:hover { background: var(--teal-dark); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); font-size: 1.22rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1200px 500px at 80% -10%, rgba(31,138,138,.14), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 80px 0 88px; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--teal-dark); font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.hero p.lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stat strong { display: block; font-size: 1.55rem; color: var(--navy); }
.hero-trust .stat span { font-size: .85rem; color: var(--muted); }

.hero-card {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 0; border: 1px solid var(--line); position: relative; overflow: hidden;
}
.hero-card .hero-photo { width: 100%; display: block; border-radius: 22px; }
.hero-card .foot-illus { width: 100%; border-radius: 16px; }
.hero-card .badge-float {
  position: absolute; right: -14px; bottom: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; gap: 10px; align-items: center;
}
.badge-float .dot { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-tint); display: grid; place-items: center; }
.badge-float strong { display: block; font-size: .95rem; color: var(--navy); }
.badge-float span { font-size: .78rem; color: var(--muted); }

/* Logos / trust strip */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; flex-wrap: wrap; }
.trustbar .item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.trustbar .item svg { color: var(--teal); }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; margin-bottom: 16px; color: var(--teal-dark); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Symptoms list */
.symptoms { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.symptom-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.symptom-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.symptom-list .chk { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-tint); color: var(--teal-dark); display: grid; place-items: center; margin-top: 2px; }
.symptom-list strong { color: var(--navy); display: block; }
.symptom-list span { color: var(--muted); font-size: .92rem; }

.illus-panel { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow-md); }
.illus-panel h3 { color: #fff; }
.illus-panel p { color: rgba(255,255,255,.82); }
.illus-panel .arch-svg { width: 100%; margin: 18px 0; }
.illus-panel .mini { display: flex; gap: 20px; margin-top: 18px; }
.illus-panel .mini div strong { display: block; font-size: 1.4rem; }
.illus-panel .mini div span { font-size: .82rem; color: rgba(255,255,255,.7); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 16px; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
.step .stepico { position: absolute; top: 26px; right: 24px; color: var(--line); }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); padding: 34px; }
.price-card .from { color: var(--muted); font-weight: 600; }
.price-card .big { font-size: 3.4rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.price-card .big small { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.price-tiers { list-style: none; margin: 18px 0 0; padding: 0; }
.price-tiers li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-tiers li:last-child { border-bottom: 0; }
.price-tiers .lab { color: var(--ink); font-weight: 600; }
.price-tiers .lab span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.price-tiers .val { font-weight: 700; color: var(--navy); }
.price-tiers .val s { color: var(--muted); font-weight: 400; margin-right: 8px; font-size: .9rem; }
.save-tag { background: #e9f7ef; color: var(--ok); font-weight: 700; font-size: .72rem; padding: 3px 9px; border-radius: 999px; margin-left: 8px; }

.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; }
.includes svg { color: var(--ok); flex: 0 0 auto; margin-top: 3px; }
.includes span { color: var(--ink); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--accent); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-size: .98rem; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-tint); color: var(--teal-dark); display: grid; place-items: center; font-weight: 700; }
.quote .who strong { display: block; font-size: .92rem; color: var(--navy); }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-tint); color: var(--teal-dark); display: grid; place-items: center; transition: transform .2s ease; font-weight: 700; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 120%); color: #fff; border-radius: 24px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 26px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.75); display: block; margin-bottom: 10px; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.disclaimer { font-size: .82rem; color: rgba(255,255,255,.55); max-width: 560px; }

/* ============================================================
   Checkout page
   ============================================================ */
.checkout-main { background: var(--bg-soft); min-height: calc(100vh - 72px); padding: 48px 0 80px; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.panel h2 { font-size: 1.3rem; }
.panel .step-label { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-dark); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.panel .step-label .b { width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: .82rem; }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.qty-row:last-of-type { border-bottom: 0; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-control button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 1.4rem; cursor: pointer; color: var(--navy); transition: background .15s; }
.qty-control button:hover { background: var(--bg-tint); }
.qty-control button:disabled { color: var(--line); cursor: not-allowed; }
.qty-control input { width: 56px; text-align: center; border: 0; font-size: 1.15rem; font-weight: 700; color: var(--navy); -moz-appearance: textfield; }
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.tier-hint { background: var(--bg-tint); border-radius: 12px; padding: 16px 18px; margin-top: 18px; font-size: .92rem; color: var(--navy); display: flex; gap: 12px; align-items: flex-start; }
.tier-hint svg { color: var(--teal-dark); flex: 0 0 auto; margin-top: 2px; }

/* Form */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,138,138,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field .err { color: #c0392b; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.field.invalid .err { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-tint); border-radius: 12px; padding: 16px 18px; margin: 6px 0 22px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--teal); }
.consent label { font-size: .92rem; color: var(--ink); }

/* Order summary */
.summary { position: sticky; top: 92px; }
.summary h3 { font-size: 1.1rem; margin-bottom: 18px; }
.summary-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: .95rem; color: var(--ink); }
.summary-line.muted { color: var(--muted); font-size: .88rem; }
.summary-line.save { color: var(--ok); font-weight: 600; }
.summary-divider { border-top: 1px solid var(--line); margin: 12px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; font-weight: 700; color: var(--navy); padding-top: 6px; }
.summary-total .amt { font-size: 1.7rem; }
.summary .ship-note { font-size: .82rem; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.summary .ship-note svg { color: var(--teal); flex: 0 0 auto; margin-top: 2px; }
.guarantee { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: .85rem; color: var(--muted); }

/* Confirmation */
.confirm-box { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); padding: 48px 40px; text-align: center; }
.confirm-box .check { width: 76px; height: 76px; border-radius: 50%; background: #e9f7ef; color: var(--ok); display: grid; place-items: center; margin: 0 auto 22px; }
.confirm-box .order-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-tint); padding: 4px 10px; border-radius: 6px; color: var(--navy); font-weight: 700; }
.confirm-steps { text-align: left; background: var(--bg-soft); border-radius: 14px; padding: 24px; margin: 26px 0; }
.confirm-steps li { margin-bottom: 12px; color: var(--muted); }
.confirm-steps li:last-child { margin-bottom: 0; }
.confirm-steps strong { color: var(--navy); }

/* Notice / breadcrumb */
.mini-breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.mini-breadcrumb a { color: var(--muted); }

.hide { display: none !important; }

/* ============================================================
   Upstep-inspired additions
   ============================================================ */

/* Announcement / promo bar */
.announce {
  background: linear-gradient(90deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff; text-align: center; font-size: .9rem; font-weight: 600;
  padding: 9px 16px; letter-spacing: .01em;
}
.announce a { color: #fff; text-decoration: underline; }
.announce .code { background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 6px; font-weight: 700; margin-left: 4px; }

/* Rating inline (under hero CTA) */
.rating-inline { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.rating-inline .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }
.rating-inline span { color: var(--muted); font-size: .9rem; }
.rating-inline strong { color: var(--navy); }

/* Use-case segmentation cards */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.usecase {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 26px 22px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: linear-gradient(180deg, rgba(20,48,77,.15), rgba(20,48,77,.78));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease;
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.usecase.uc-1 { background: linear-gradient(180deg, rgba(20,48,77,.2), rgba(20,48,77,.82)), radial-gradient(circle at 30% 20%, #2f6e6e, #14304d); }
.usecase.uc-2 { background: linear-gradient(180deg, rgba(20,48,77,.2), rgba(20,48,77,.82)), radial-gradient(circle at 70% 20%, #3a7d52, #14304d); }
.usecase.uc-3 { background: linear-gradient(180deg, rgba(20,48,77,.2), rgba(20,48,77,.82)), radial-gradient(circle at 30% 30%, #5b6da0, #14304d); }
.usecase.uc-4 { background: linear-gradient(180deg, rgba(20,48,77,.2), rgba(20,48,77,.82)), radial-gradient(circle at 70% 30%, #b07d2e, #14304d); }
.usecase .uc-ico { font-size: 1.8rem; margin-bottom: auto; }
.usecase h3 { color: #fff; margin: 0 0 4px; font-size: 1.12rem; }
.usecase p { color: rgba(255,255,255,.85); margin: 0; font-size: .88rem; }

/* Medical authority / CMO section */
.authority { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.authority .portrait {
  background: linear-gradient(160deg, var(--bg-tint), #fff); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px; box-shadow: var(--shadow-md); text-align: center;
}
.authority .avatar {
  width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(160deg, #1f8a8a, #14304d); color: #fff;
  display: grid; place-items: center; font-size: 3rem; font-weight: 800; box-shadow: var(--shadow-md);
}
.authority .portrait strong { display: block; color: var(--navy); font-size: 1.2rem; }
.authority .portrait span { color: var(--muted); font-size: .92rem; }
.authority .credentials { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
.authority .credentials div strong { font-size: 1.5rem; color: var(--teal-dark); }
.authority .credentials div span { font-size: .78rem; color: var(--muted); display: block; }
.authority blockquote { margin: 0 0 18px; font-size: 1.3rem; line-height: 1.5; color: var(--navy); font-weight: 600; }
.authority .signoff { color: var(--muted); }

/* Guarantee trio (risk reversal) */
.riskbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.riskbar .risk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.riskbar .risk .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-tint); color: var(--teal-dark); display: grid; place-items: center; margin: 0 auto 14px; }
.riskbar .risk strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.riskbar .risk span { color: var(--muted); font-size: .9rem; }

/* Comparison table */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; max-width: 880px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); min-width: 560px; }
.compare th, .compare td { padding: 15px 18px; text-align: center; font-size: .95rem; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-soft); vertical-align: bottom; }
.compare thead th.hl { background: var(--navy); }
.compare .co-name { display: block; font-weight: 700; color: var(--navy); font-size: 1rem; }
.compare th.hl .co-name { color: #fff; }
.compare .co-price { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.compare th.hl .co-price { color: var(--accent); font-size: 1.05rem; font-weight: 800; }
.compare tbody td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare td.hl { background: var(--bg-tint); }
.compare .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e9f7ef; color: var(--ok); font-weight: 800; }
.compare .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fdecea; color: #c0392b; font-weight: 700; }

/* Payment / financing badges */
.pay-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.pay-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .82rem; color: var(--ink); background: #fff; font-weight: 600; }
.pay-badge .tag { background: var(--bg-tint); color: var(--teal-dark); border-radius: 6px; padding: 1px 6px; font-size: .72rem; }
.installment { background: var(--bg-tint); border-radius: 10px; padding: 12px 14px; font-size: .9rem; color: var(--navy); margin-top: 12px; display: flex; gap: 10px; align-items: center; }

/* ============================================================
   Quiz page
   ============================================================ */
.quiz-main { background:
    radial-gradient(900px 400px at 80% -10%, rgba(31,138,138,.12), transparent 60%),
    var(--bg-soft); min-height: calc(100vh - 72px); padding: 40px 0 80px; }
.quiz-shell { max-width: 720px; margin: 0 auto; }
.quiz-progress { margin-bottom: 26px; }
.quiz-progress .track { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.quiz-progress .fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--accent)); width: 0%; transition: width .35s ease; border-radius: 99px; }
.quiz-progress .meta { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 8px; font-weight: 600; }

.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); padding: 40px; }
.quiz-card .q-eyebrow { color: var(--teal-dark); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.quiz-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.quiz-card .q-sub { color: var(--muted); margin-bottom: 26px; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.options.single-col { grid-template-columns: 1fr; }
.option {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 16px 18px;
  cursor: pointer; font-size: 1rem; color: var(--ink); transition: border .15s, background .15s, transform .1s; font-family: inherit;
}
.option:hover { border-color: var(--teal); background: var(--bg-tint); }
.option.selected { border-color: var(--teal); background: var(--bg-tint); box-shadow: 0 0 0 3px rgba(31,138,138,.14); }
.option .opt-ico { font-size: 1.5rem; flex: 0 0 auto; }
.option .opt-text strong { display: block; color: var(--navy); }
.option .opt-text span { font-size: .85rem; color: var(--muted); }
.option .opt-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 auto; display: grid; place-items: center; color: #fff; }
.option.selected .opt-check { background: var(--teal); border-color: var(--teal); }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.quiz-nav .back-link { color: var(--muted); background: none; border: 0; cursor: pointer; font-size: .92rem; font-family: inherit; }
.quiz-nav .back-link:hover { color: var(--navy); }
.quiz-hint { font-size: .82rem; color: var(--muted); margin-top: 16px; text-align: center; }

/* Quiz result */
.quiz-result { text-align: center; }
.quiz-result .rec-badge { display: inline-flex; align-items: center; gap: 8px; background: #e9f7ef; color: var(--ok); font-weight: 700; padding: 7px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 18px; }
.quiz-result h2 { font-size: 1.8rem; }
.profile-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }
.profile-chips .chip { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .88rem; color: var(--navy); font-weight: 600; }
.rec-panel { background: var(--bg-soft); border-radius: 14px; padding: 24px; margin: 24px 0; text-align: left; }
.rec-panel p { color: var(--muted); margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .symptoms, .price-wrap, .checkout-grid, .authority { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps, .quotes, .usecase-grid, .riskbar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
  .hero-card { max-width: 460px; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .grid-3, .grid-4, .steps, .quotes, .field-row, .footer-grid, .usecase-grid, .riskbar, .options { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .hero-trust { gap: 18px; }
  .quiz-card { padding: 26px 20px; }
  .authority blockquote { font-size: 1.1rem; }
}
