/* Legal Zoom: palette taken from the logo (navy, red, gold) */
:root {
  --navy: #13265c;
  --navy-d: #0b1a42;
  --navy-l: #e8edf8;
  --red: #c8102e;
  --red-d: #a50d25;
  --red-l: #fdecef;
  --gold: #c9a13b;
  --gold-l: #f8efd9;
  --ink: #121a2f;
  --muted: #5d6680;
  --line: #e3e7f0;
  --bg-alt: #f4f6fb;
  --white: #fff;
  --ok: #1f7a4d; --ok-l: #e2f3ea;
  --warn: #a35f12; --warn-l: #fcefdc;
  --info: #2552a3; --info-l: #e5edfa;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(19, 38, 92, .06), 0 8px 24px rgba(19, 38, 92, .07);
  --shadow-lg: 0 20px 50px rgba(11, 26, 66, .18);
  --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--white); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 2px; }
h1, h2, h3, h4, .h2, .h3 { font-family: var(--serif); color: var(--navy); line-height: 1.22; font-weight: 900; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h2, .h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3, .h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .92em; }
svg { flex: none; vertical-align: middle; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.section { padding: 70px 0; }
.wrap.section { padding: 44px 22px 64px; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lead { font-size: 1.12rem; color: #3b445e; max-width: 640px; }
.pre { white-space: pre-wrap; word-break: break-word; }
.pad-xl { padding: 90px 22px; }
.mt { margin-top: 18px; }
.text-warn { color: var(--warn); font-weight: 600; }
.req { color: var(--red); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: inherit; }
.crumbs.light, .crumbs.light a { color: #b9c3dd; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--red); margin-bottom: .9em; }
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow-line { width: 26px; height: 2px; background: var(--red); display: inline-block; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 40px; }

/* ---------- Header ---------- */
.utility { background: var(--navy-d); color: #c5cde3; font-size: .82rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 14px; }
.utility a { color: #e3e8f5; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: #fff; }
.utility-item { display: inline-flex; align-items: center; gap: 6px; }
.utility-item svg { color: var(--gold); }
.utility-right { display: flex; gap: 20px; }
.topbar { background: var(--white); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(19, 38, 92, .05); border-top: 3px solid var(--red); }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 74px; width: auto; display: block; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; border-bottom: 3px solid var(--gold); }
.footer-logo img { height: 64px; width: auto; display: block; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--gold); }
.brand-text { font-family: var(--serif); font-weight: 900; font-size: 1.45rem; color: var(--navy); letter-spacing: -.01em; }
.brand-light .brand-text { color: #fff; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.mainnav > a, .navlink { color: var(--ink); text-decoration: none; padding: 9px 13px; border-radius: 8px; font-weight: 500; font-size: .95rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.mainnav > a:hover, .navlink:hover { color: var(--red); }
.mainnav > a.on { color: var(--red); }
.mainnav > a.nav-cta { margin-left: 10px; color: #fff; background: var(--red); border: 2px solid var(--red); border-radius: 999px; padding: 10px 22px; font-weight: 600; }
.mainnav > a.nav-cta:hover { color: #fff; background: var(--red-d); border-color: var(--red-d); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: #fff; border: 2px solid var(--navy); padding: 10px 20px; border-radius: 999px; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--navy-d); border-color: var(--navy-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(200, 16, 46, .25); }
.btn-red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn-white { background: #fff; border-color: #fff; color: var(--red); }
.btn-white:hover { background: var(--gold-l); border-color: var(--gold-l); color: var(--red-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--navy-l); border-color: var(--navy-l); }
.btn-sm { padding: 6px 14px; font-size: .84rem; }
.btn-lg { padding: 13px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linkish.danger, .danger { color: var(--red); }
form.inline { display: inline; }

/* ---------- Flash ---------- */
.flashes { padding-top: 18px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid; }
.flash-success { background: var(--ok-l); border-color: #bfe0cd; color: #155636; }
.flash-error { background: var(--red-l); border-color: #f3c3cb; color: #8a0c20; }
.flash-info { background: var(--info-l); border-color: #c8d7f2; color: #1d3f7d; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #24408a 0%, transparent 60%), linear-gradient(160deg, var(--navy-d) 0%, var(--navy) 60%, #1b3373 100%); color: #fff; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--red) 66%); opacity: .9; }
.hero-stars { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.3px); background-size: 34px 34px; mask-image: linear-gradient(110deg, transparent 40%, #000 100%); -webkit-mask-image: linear-gradient(110deg, transparent 40%, #000 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 76px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
.hero h1 .accent { color: var(--gold); }
.hero .eyebrow { color: #ffb3bf; }
.hero .eyebrow-line { background: var(--red); }
.hero .lead { color: #cfd7ec; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; color: #e3e8f5; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points svg { color: var(--gold); }

/* Quote widget */
.quote-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--red); display: flex; flex-direction: column; gap: 14px; }
.quote-head { display: flex; justify-content: space-between; align-items: center; }
.quote-head h2 { font-size: 1.35rem; margin: 0; }
.quote-badge { display: inline-flex; gap: 5px; align-items: center; font-size: .76rem; font-weight: 700; color: var(--ok); background: var(--ok-l); padding: 4px 10px; border-radius: 999px; }
.quote-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--navy); }
.field-label { font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: -6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; font-weight: 700; color: var(--ink); transition: border-color .15s, background .15s; }
.seg small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.seg input:checked + span { border-color: var(--navy); background: var(--navy-l); }
.seg input:focus-visible + span { outline: 3px solid rgba(19, 38, 92, .25); }
.quote-lines { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.quote-lines > div { display: flex; justify-content: space-between; }
.quote-lines [hidden] { display: none; }
.quote-total { border-top: 1px dashed #cdd3e2; padding-top: 8px; margin-top: 2px; font-size: 1.05rem; }
.quote-total strong { color: var(--red); font-size: 1.35rem; font-family: var(--serif); }
.quote-foot { text-align: center; color: var(--muted); font-size: .8rem; margin: -4px 0 0; }

/* Trust bar */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 24px 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item div { display: flex; flex-direction: column; line-height: 1.35; }
.trust-item strong { color: var(--navy); font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }
.trust-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--red-l); color: var(--red); }
.trust-item:nth-child(even) .trust-ic { background: var(--navy-l); color: var(--navy); }

/* Service tiles (like the logo icon row) */
.service-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.service-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 14px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s; }
.service-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-tile strong { color: var(--navy); text-transform: uppercase; font-size: .9rem; letter-spacing: .03em; margin-top: 6px; }
.tile-ic { width: 70px; height: 70px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.tile-ic.sm { width: 42px; height: 42px; border-radius: 11px; }
.tile-navy { background: linear-gradient(160deg, #23408c, var(--navy-d)); }
.tile-red { background: linear-gradient(160deg, #e0233f, var(--red-d)); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps > li { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 22px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
.steps > li:nth-child(even) { border-top-color: var(--red); }
.step-n { position: absolute; top: 14px; right: 18px; font-family: var(--serif); font-weight: 900; font-size: 2.2rem; color: var(--navy-l); line-height: 1; }
.step-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-l); color: #8a6a1d; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }
.steps-vertical { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
.steps-vertical > li { display: flex; gap: 18px; padding: 22px; }
.steps-vertical > li > span:first-child { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }

/* Price tiles */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin-bottom: 34px; }
.price-tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.price-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.price-tile h3 { margin: 6px 0 6px; }
.price-tile p { color: var(--muted); font-size: .92rem; flex: 1; }
.price-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.price-foot { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 14px; }
.price-foot .from { display: block; font-size: .75rem; color: var(--muted); }
.price-foot strong { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); }
.turn { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* Guarantee band */
.section-navy { background: linear-gradient(150deg, var(--navy-d), var(--navy)); color: #dfe5f4; }
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { color: #ffb3bf; }
.guarantee { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: center; }
.guarantee-art { display: grid; place-items: center; }
.shield-big { width: 230px; height: 230px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle, rgba(201,161,59,.2), rgba(201,161,59,.03) 70%); border: 2px solid rgba(201,161,59,.4); }
.guarantee-list { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.guarantee-list li { display: flex; gap: 10px; align-items: flex-start; }
.guarantee-list svg { color: var(--gold); margin-top: 3px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 16px; margin: 0; color: #3b445e; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red-d), var(--red)); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #ffe0e5; }

/* Page hero (inner pages) */
.page-hero, .order-hero { background: linear-gradient(150deg, var(--navy-d), var(--navy)); color: #cfd7ec; padding: 40px 0 36px; border-bottom: 5px solid var(--red); }
.page-hero h1, .order-hero h1 { color: #fff; }
.page-hero .lead { color: #cfd7ec; margin: 0; }
.page-hero .eyebrow { color: #ffb3bf; }
.page-hero-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.search { display: flex; gap: 8px; flex-wrap: wrap; }
.search input, .search select { min-width: 200px; width: auto; }
.search-hero input { min-width: 300px; border-radius: 999px; border: 0; padding: 12px 18px; }
.cat-title { display: flex; align-items: center; gap: 12px; margin: 10px 0 18px; font-size: 1.4rem; }

/* ---------- Order page ---------- */
.stepper { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stepper li { display: flex; align-items: center; gap: 10px; color: #aab5d3; font-weight: 600; font-size: .9rem; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); }
.stepper li[data-step-tab] { cursor: pointer; }
.stepper li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-size: .85rem; flex: none; }
.stepper li.current { background: #fff; color: var(--navy); }
.stepper li.current span { background: var(--red); }
.stepper li.done { color: #fff; }
.stepper li.done span { background: var(--ok); }
.order-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding-top: 30px; padding-bottom: 70px; }
.order-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.js .step-panel { display: none; }
.js .step-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 18px; }
.step-title span { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--sans); font-size: .95rem; }
.step-panel > label, .field-grid > label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 14px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-grid .span2 { grid-column: 1 / -1; }
.speed-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 6px; }
.speed-card { cursor: pointer; }
.speed-card input { position: absolute; opacity: 0; pointer-events: none; }
.speed-body { display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color .15s, background .15s, box-shadow .15s; }
.speed-name { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.speed-name em { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; background: var(--red); color: #fff; padding: 2px 8px; border-radius: 999px; }
.speed-body strong { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin-top: 4px; }
.speed-card input:checked + .speed-body { border-color: var(--navy); background: var(--navy-l); box-shadow: 0 0 0 4px rgba(19, 38, 92, .08); }
.speed-card input:focus-visible + .speed-body { outline: 3px solid rgba(19, 38, 92, .3); }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-l); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; color: #5a4512; }
.note svg { margin-top: 2px; }
.summary { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.summary-card { border-top: 5px solid var(--navy); }
.summary-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.summary-doc { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary-doc div { display: flex; flex-direction: column; }
.summary-doc strong { color: var(--navy); }
.summary-lines { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 14px 0; font-size: .92rem; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; text-align: right; font-weight: 600; }
.summary-lines [hidden] { display: none; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; background: var(--bg-alt); margin: 0 -22px; padding: 14px 22px; border-top: 1px dashed #cdd3e2; border-bottom: 1px dashed #cdd3e2; }
.summary-total span { font-weight: 700; color: var(--navy); }
.summary-total strong { font-family: var(--serif); font-size: 1.6rem; color: var(--red); }
.summary-points { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; color: #3b445e; }
.summary-points li { display: flex; gap: 8px; align-items: center; }
.summary-points svg { color: var(--ok); }
.pay-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 8px; }
.pay-chips span { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.pay-chips.dark { justify-content: center; margin: 0; }
.pay-chips.dark span { background: #fff; color: var(--navy); border-color: var(--line); }

/* ---------- Generic cards / forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.empty { color: var(--muted); padding: 14px 0; }
.empty-card { text-align: center; padding: 50px 20px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1.5px solid #d3d9e6; border-radius: var(--radius-sm); padding: 11px 13px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19, 38, 92, .1); }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--red); }
input[type=file] { padding: 9px; background: var(--bg-alt); border-style: dashed; }
input:disabled { background: var(--bg-alt); color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-form { flex-direction: row; flex-wrap: wrap; }
.row-form > * { flex: 1 1 180px; width: auto; }
.row-form .btn { flex: 0 0 auto; }
.inline-form { display: flex; gap: 6px; align-items: center; }
.inline-form select { width: auto; padding: 6px 8px; font-size: .88rem; }
.check { display: flex; flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--ink) !important; font-size: .92rem; cursor: pointer; }
.check input { margin-top: 3px; flex: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.err { color: var(--red); font-size: .82rem; font-weight: 600; }
.otp-input { font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-family: ui-monospace, Consolas, monospace; }

/* Auth */
.auth { display: grid; place-items: center; padding: 60px 22px 80px; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.auth-card { width: 100%; max-width: 440px; padding: 34px; border-top: 5px solid var(--red); }
.auth-foot { display: flex; justify-content: space-between; margin-top: 18px; font-size: .9rem; }

/* Product page */
.product-layout { display: grid; grid-template-columns: 1fr 350px; gap: 28px; align-items: start; }
.buy-box { position: sticky; top: 100px; border-top: 5px solid var(--red); }
.price { font-family: var(--serif); font-size: 2.3rem; font-weight: 900; color: var(--navy); margin-top: 6px; }
.checklist { padding-left: 0; list-style: none; margin: 0; columns: 2; column-gap: 24px; }
.checklist li { padding: 7px 0 7px 28px; position: relative; break-inside: avoid; }
.checklist li::before { content: '✓'; position: absolute; left: 4px; color: var(--red); font-weight: 700; }
.small-list { padding-left: 18px; color: #3b445e; font-size: .9rem; margin: 18px 0; }

/* ---------- Dashboards ---------- */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.subnav a, .tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 600; }
.subnav a.on, .tabs a.on { color: var(--navy); border-bottom-color: var(--red); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.stats, .pipeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat, .pipe { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; box-shadow: var(--shadow); border-left: 4px solid var(--navy); }
.stat:nth-child(even) { border-left-color: var(--red); }
.pipe { text-decoration: none; color: inherit; box-shadow: none; border-left-color: var(--line); }
.pipe:hover { box-shadow: var(--shadow); }
.pipe-warn { border-left-color: var(--warn); } .pipe-info { border-left-color: var(--info); } .pipe-accent { border-left-color: var(--gold); } .pipe-ok { border-left-color: var(--ok); }
.stat-n { font-family: var(--serif); font-size: 1.55rem; font-weight: 900; color: var(--navy); }
.stat-l { color: var(--muted); font-size: .85rem; }
.table-card { padding: 0; overflow-x: auto; margin-bottom: 26px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-alt); white-space: nowrap; }
.card:not(.table-card) .table th { background: transparent; padding-left: 0; }
.table td { padding: 12px 14px; border-bottom: 1px solid #eef1f6; vertical-align: middle; }
.card:not(.table-card) .table td { padding-left: 0; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafbfe; }
.table th.right, .table td.right { text-align: right; }
.row-muted td { opacity: .55; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge-warn { background: var(--warn-l); color: var(--warn); }
.badge-info { background: var(--info-l); color: var(--info); }
.badge-ok { background: var(--ok-l); color: var(--ok); }
.badge-accent { background: var(--gold-l); color: #7d5a1c; }
.badge-muted { background: #eceff5; color: var(--muted); }
.badge-red { background: var(--red); color: #fff; }

/* Order detail pages */
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.callout { border-left: 5px solid var(--red); }
.callout-ok { border-left-color: var(--ok); background: #fbfefc; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0 0 28px; }
.progress li { position: relative; padding-top: 28px; font-size: .82rem; color: var(--muted); text-align: center; }
.progress li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #d6dbe7; z-index: 1; }
.progress li::before { content: ''; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: #d6dbe7; }
.progress li:first-child::before { display: none; }
.progress li.done span, .progress li.current span, .progress li.done::before, .progress li.current::before { background: var(--ok); }
.progress li.current { color: var(--navy); font-weight: 700; }
.progress li.current span { box-shadow: 0 0 0 5px var(--ok-l); }
.answers { margin: 0; display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 10px 16px; font-size: .93rem; }
.answers dt { color: var(--muted); }
.answers dd { margin: 0; }
.files { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.files.compact { gap: 4px; font-size: .93rem; }
.file { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); flex: 1; }
.file:hover { border-color: var(--navy); }
.file > span:last-child { display: flex; flex-direction: column; }
.file-icon { font-size: 1.3rem; }
.file-row { display: flex; align-items: center; gap: 12px; }
.upload-form { flex-direction: row; align-items: center; }
.upload-form input { flex: 1; }
.thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.msg { padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); max-width: 88%; }
.msg-mine { background: var(--navy-l); align-self: flex-end; }
.msg-internal { background: var(--gold-l); border: 1px dashed #dcc188; }
.msg-head { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.timeline li { display: flex; flex-direction: column; padding: 8px 0 8px 16px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.admin-actions { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-d); color: #b9c3dd; }
.footer-stripe { height: 5px; background: linear-gradient(90deg, var(--red) 0 33%, var(--gold) 33% 66%, var(--red) 66%); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-top: 50px; padding-bottom: 30px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer a { color: #dfe5f4; text-decoration: none; font-size: .93rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-about p { max-width: 340px; margin: 8px 0 12px; }
.footer .btn { color: #fff; text-decoration: none; }
.muted-light { color: #8e9aba; }
.fine { font-size: .8rem; color: #8e9aba; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; padding-bottom: 26px; }
.fine p { margin: 0 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner, .guarantee { grid-template-columns: 1fr; gap: 34px; }
  .guarantee-art { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .order-wrap, .product-layout, .order-layout { grid-template-columns: 1fr; }
  .summary, .buy-box { position: static; }
  .summary { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .mainnav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 22px 20px; box-shadow: 0 16px 30px rgba(19, 38, 92, .12); border-top: 1px solid var(--line); }
  .mainnav.open { display: flex; }
  .mainnav > a, .navlink { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; width: 100%; }
  .mainnav .nav-cta { margin: 14px 0 0; }
  .utility-item { display: none; }
  .utility-inner { justify-content: center; }
  .brand-logo { height: 54px; }
  .stepper { grid-template-columns: repeat(4, auto); }
  .stepper li { font-size: 0; gap: 0; justify-content: center; }
  .stepper li span { font-size: .85rem; }
  .stepper li.current { font-size: .82rem; gap: 8px; }
}
@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .hero-inner { padding-top: 40px; padding-bottom: 50px; }
  .hero-points, .guarantee-list, .field-grid, .speed-options, .row2, .row3 { grid-template-columns: 1fr; }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .checklist { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-hero input { min-width: 0; flex: 1; }
  .progress li { font-size: .68rem; }
  .answers { grid-template-columns: 1fr; gap: 2px; }
  .answers dd { margin-bottom: 10px; }
  .upload-form { flex-direction: column; align-items: stretch; }
  .step-actions .btn-lg { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ================= Photo-led sections ================= */
/* Hero with photograph behind a navy wash */
.hero-photo { background: linear-gradient(100deg, rgba(11,26,66,.96) 0%, rgba(19,38,92,.88) 48%, rgba(19,38,92,.55) 100%), url('/img/photos/hero.webp') center / cover no-repeat; }
.hero-rating { margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 8px 14px; border-radius: 999px; font-size: .92rem; }
.stars { color: #f5b301; letter-spacing: 2px; }
.stars-off { color: #d6dbe7; }
.small-stars { font-size: .85rem; letter-spacing: 1px; }

/* Stats bar */
.statbar { background: #fff; box-shadow: 0 10px 30px rgba(19,38,92,.08); position: relative; z-index: 2; }
.statbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar-item { display: flex; gap: 14px; align-items: center; padding: 24px 18px; border-right: 1px solid var(--line); }
.statbar-item:last-child { border-right: 0; }
.statbar-item div { display: flex; flex-direction: column; line-height: 1.3; }
.statbar-item div span { color: var(--muted); font-size: .84rem; }
.statbar-item strong { color: var(--navy); font-family: var(--serif); font-size: 1.15rem; }
.statbar-item:nth-child(even) .trust-ic { background: var(--navy-l); color: var(--navy); }

/* Reviews */
.rating-summary { color: var(--muted); }
.rating-summary strong { color: var(--navy); font-size: 1.2rem; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-top div { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.review-top strong { color: var(--navy); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; flex: none; }
.review:nth-child(even) .avatar { background: var(--red); }
.review-meta { font-size: .8rem; color: var(--muted); margin: 12px 0 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.review blockquote { margin: 0; color: #2c3550; font-size: .95rem; }

/* Image + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split h3 { margin-top: 18px; color: var(--red); font-family: var(--sans); font-size: 1.02rem; }
.split-media { position: relative; z-index: 0; }
.split-media img { width: 100%; height: auto; aspect-ratio: 96 / 69; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); display: block; }
.split-media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--gold); border-radius: 18px; z-index: -1; }
.split-reverse .split-media::before { inset: 18px 18px -18px -18px; border-color: var(--red); }
.media-badge { position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; color: var(--ok); }
.media-badge div { display: flex; flex-direction: column; line-height: 1.3; }
.media-badge strong { color: var(--navy); font-size: .92rem; }
.media-badge span { color: var(--muted); font-size: .8rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check-list svg { color: var(--red); }

/* Guaranteed features card */
.features-card { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--navy); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); color: #dfe5f4; }
.features-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.features-body { padding: 44px 46px; }
.features-body h2 { color: #fff; }
.features-body .eyebrow { color: #ffb3bf; }
.features-body .guarantee-list svg { color: var(--gold); }

/* Sample documents */
.sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.sample { display: grid; grid-template-columns: 112px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.sample-thumb { background: var(--bg-alt); border-radius: 10px; display: grid; place-items: center; padding: 10px; align-self: start; }
.doc-mini { background: #fff; width: 100%; aspect-ratio: 3 / 4; border-radius: 4px; padding: 14px 12px; box-shadow: 0 8px 20px rgba(19,38,92,.15); transform: rotate(-2deg); }
.doc-mini-title { font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: .55rem; letter-spacing: .05em; text-align: center; margin-bottom: 12px; line-height: 1.3; }
.doc-mini .doc-line { height: 5px; background: #e6e9f1; border-radius: 3px; margin-bottom: 8px; }
.doc-mini .doc-sign { display: flex; justify-content: space-between; margin-top: 20px; }
.doc-mini .doc-sign span { width: 40%; border-top: 1.5px solid var(--navy); }
.w90 { width: 90%; } .w85 { width: 85%; } .w80 { width: 80%; } .w75 { width: 75%; } .w60 { width: 60%; }
.sample-body h3 { margin: 4px 0 10px; }
.sample-meta { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 5px; font-size: .86rem; }
.sample-meta li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--line); padding-bottom: 4px; }
.sample-meta span { color: var(--muted); }
.sample-meta strong { color: var(--ink); font-weight: 600; text-align: right; }
.sample-link { font-size: .9rem; color: var(--red); text-decoration: none; font-weight: 600; }
.sample-link strong { color: var(--navy); }
.sample-link:hover { text-decoration: underline; }

/* Support + security */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.duo-photo { position: relative; min-height: 360px; }
.duo-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; background: linear-gradient(180deg, transparent, rgba(11,26,66,.94) 45%); color: #dfe5f4; }
.duo-overlay h3 { color: #fff; font-size: 1.3rem; }
.duo-overlay p { margin: 0; }
.duo-overlay a { color: #fff; }
.duo-secure { background: #fff; border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.duo-secure h3 { font-size: 1.3rem; margin-top: 12px; }
.pay-chips.left { justify-content: flex-start; margin: 6px 0 18px; }

/* CTA with photo */
.cta-photo { background: linear-gradient(90deg, rgba(165,13,37,.95), rgba(200,16,46,.82)), url('/img/photos/family.webp') center / cover no-repeat; color: #fff; }
.cta-photo .cta-inner { padding-top: 64px; padding-bottom: 64px; }
.cta-photo h2 { color: #fff; margin-bottom: 6px; }
.cta-photo p { margin: 0; color: #ffe0e5; }

/* Page hero with photo (how it works) */
.page-hero-photo { background: linear-gradient(100deg, rgba(11,26,66,.95), rgba(19,38,92,.75)), url('/img/photos/signing.webp') center / cover no-repeat; padding: 70px 0 60px; }

/* ================= Attorney services ================= */
/* Pricing tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 6px solid var(--navy); }
.tier-ok { border-top-color: var(--ok); }
.tier-red { border-top-color: var(--red); }
.tier-featured { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.tier-flag { position: absolute; top: -14px; right: 22px; background: var(--gold); color: var(--navy-d); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tier-price { font-family: var(--serif); font-weight: 900; font-size: 2.1rem; color: var(--navy); }
.tier-red .tier-price { color: var(--red); }
.tier-length { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 4px 0 14px; }
.tier-for { font-weight: 700; color: var(--navy); font-size: .88rem; margin-bottom: 8px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier li { display: flex; gap: 8px; align-items: center; font-size: .94rem; }
.tier li svg { color: var(--ok); }
.tier-red li svg { color: var(--red); }
.tier-more { display: block; text-align: center; margin-top: 12px; font-size: .88rem; font-weight: 600; text-decoration: none; }

/* Practice-area grid */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.area-tile { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.area-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.area-text { display: flex; flex-direction: column; line-height: 1.35; }
.area-text strong { color: var(--navy); }

/* Catalogue */
.tier-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tier-tabs a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; background: #fff; }
.tier-tabs a:hover { border-color: var(--navy); }
.tier-tabs a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.area-jump { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 16px; background: var(--bg-alt); border-radius: 14px; margin-bottom: 30px; }
.area-jump a { font-size: .85rem; text-decoration: none; color: var(--navy); padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.area-jump a span { color: var(--muted); font-size: .78rem; margin-left: 3px; }
.area-jump a:hover { border-color: var(--red); color: var(--red); }
.area-block { margin-bottom: 34px; scroll-margin-top: 110px; }
.svc-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.svc-row { display: grid; grid-template-columns: 1fr 130px 90px 92px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #eef1f6; }
.svc-row:last-child { border-bottom: 0; }
.svc-row:hover { background: #fafbfe; }
.svc-name { text-decoration: none; display: flex; flex-direction: column; line-height: 1.35; }
.svc-name strong { color: var(--navy); font-weight: 600; }
.svc-kind { font-size: .8rem; color: var(--muted); }
.svc-price { font-family: var(--serif); font-weight: 900; color: var(--navy); text-align: right; }
.svc-list.compact .svc-row { grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.svc-list.compact { border: 0; }
.tier-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.tier-dot-quick { background: var(--ok); }
.tier-dot-standard { background: var(--navy); }
.tier-dot-complex { background: var(--red); }

/* Order form + order page */
.service-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.service-facts > div { display: flex; gap: 10px; align-items: flex-start; background: var(--bg-alt); border-radius: 12px; padding: 14px; color: var(--navy); }
.service-facts span { display: flex; flex-direction: column; line-height: 1.35; }
.appointment { display: flex; gap: 18px; align-items: flex-start; border-left: 5px solid var(--navy); }
.appointment h2 { margin: 0 0 6px; }
.attorney { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.attorney div { display: flex; flex-direction: column; line-height: 1.3; }
.attorney strong { color: var(--navy); }
.licence-form input, .inline-form .w-title, .inline-form .w-bar { width: 150px; padding: 6px 8px; font-size: .85rem; }

@media (max-width: 1020px) {
  .tier-grid { grid-template-columns: 1fr; }
  .tier-featured { transform: none; }
}
@media (max-width: 640px) {
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-kind { display: none; }
  .svc-row .btn { grid-column: 1 / -1; justify-self: start; }
  .service-facts { grid-template-columns: 1fr; }
}

/* ================= Legal documents ================= */
.hero-alt { display: flex; align-items: center; gap: 8px; color: #cfd7ec; font-size: .95rem; margin-top: -4px; }
.hero-alt svg { color: var(--gold); }
.hero-alt a { color: #fff; font-weight: 600; }
.urgency-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.urg { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.urg div { display: flex; flex-direction: column; line-height: 1.35; }
.urg strong { color: var(--navy); }
.urg span:not(.urg-ic) { color: var(--muted); font-size: .86rem; }
.urg-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.urg-standard { background: var(--ok-l); color: var(--ok); }
.urg-express { background: var(--gold-l); color: #8a6a1d; }
.urg-rush { background: var(--red-l); color: var(--red); }
.urg-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .9rem; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.doc-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); color: var(--ink); }
.doc-card-link { text-decoration: none; transition: transform .15s, box-shadow .15s; }
.doc-card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.doc-card-link .btn { align-self: flex-start; }
.doc-card-top { display: flex; gap: 12px; align-items: flex-start; flex: 1; }
.doc-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.doc-card h3 a { text-decoration: none; color: var(--navy); }
.doc-card p { margin: 0; }
.doc-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--navy-l); color: var(--navy); display: grid; place-items: center; flex: none; }
.doc-facts { list-style: none; padding: 10px 0 0; margin: 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 5px; font-size: .88rem; }
.doc-facts li { display: flex; justify-content: space-between; gap: 10px; }
.doc-facts span { color: var(--muted); }
.doc-facts strong { color: var(--navy); font-family: var(--serif); }
.doc-card-foot { display: flex; justify-content: space-between; align-items: center; }
.mini-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: #3b445e; }
.form-section { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin: 14px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.field-grid > .form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
.speed-options.urgency-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .urgency-strip, .speed-options.urgency-3 { grid-template-columns: 1fr; }
}

/* Review form + admin */
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2rem; color: #d6dbe7; cursor: pointer; line-height: 1; transition: color .1s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5b301; }
.star-input input:focus-visible + label { outline: 2px solid var(--navy); border-radius: 4px; }
.review-admin { display: grid; gap: 16px; }
.review-admin-card.pending { border-left: 5px solid var(--warn); }
.review-text { margin: 10px 0; }
.review-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1020px) {
  .split, .features-card, .duo { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .statbar-grid { grid-template-columns: 1fr 1fr; }
  .statbar-item:nth-child(2) { border-right: 0; }
  .statbar-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .features-media img { min-height: 220px; max-height: 300px; }
  .media-badge { left: 12px; }
}
@media (max-width: 640px) {
  .statbar-grid { grid-template-columns: 1fr; }
  .statbar-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .sample { grid-template-columns: 1fr; }
  .sample-thumb { max-width: 160px; }
  .features-body { padding: 30px 24px; }
  .split-media::before { display: none; }
}

.checklist li.cl-section { padding-left: 0; font-weight: 700; color: var(--red); text-transform: uppercase; font-size: .78rem; letter-spacing: .07em; margin-top: 8px; column-span: all; }
.checklist li.cl-section::before { content: none; }
.buy-box .doc-facts { margin-bottom: 14px; }

/* Document price table: name | standard | express | rush | button */
.doc-list .svc-row { grid-template-columns: 1fr 96px 96px 96px 92px; }
.doc-list .svc-head { background: var(--bg-alt); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 9px; padding-bottom: 9px; }
.doc-list .svc-head:hover { background: var(--bg-alt); }
.svc-price-alt { color: var(--muted); font-size: .95rem; }
.svc-name .small { font-weight: 400; }
.hero-quote-urg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hero-quote-urg label { cursor: pointer; }
.hero-quote-urg input { position: absolute; opacity: 0; pointer-events: none; }
.hero-quote-urg span { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 7px 9px; font-weight: 700; font-size: .86rem; color: var(--ink); }
.hero-quote-urg small { font-weight: 500; color: var(--muted); font-size: .72rem; }
.hero-quote-urg input:checked + span { border-color: var(--navy); background: var(--navy-l); }
.urg-example { margin-top: 18px; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .doc-list .svc-row { grid-template-columns: 1fr auto; } .doc-list .svc-price-alt, .doc-list .svc-head span:not(:first-child) { display: none; } .doc-list .svc-row .btn { grid-column: 1 / -1; justify-self: start; } }

/* Optional add-ons on the order form */
.addon-title { margin-top: 22px; }
.addon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 6px; }
.addon { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: .9rem; }
.addon:hover { border-color: var(--navy); }
.addon span { flex: 1; }
.addon strong { color: var(--navy); white-space: nowrap; }
.addon input:checked ~ span { font-weight: 600; color: var(--navy); }
.addon:has(input:checked) { border-color: var(--navy); background: var(--navy-l); }
@media (max-width: 640px) { .addon-list { grid-template-columns: 1fr; } }
.area-note { display: flex; gap: 8px; align-items: flex-start; background: var(--gold-l); color: #5a4512; border-radius: 10px; padding: 10px 14px; font-size: .86rem; margin: -6px 0 14px; }
.area-note svg { flex: none; margin-top: 2px; }
.addon-showcase { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow); }
.addon-showcase h3 { margin-bottom: 12px; }
.addon-showcase ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 26px; }
.addon-showcase li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--line); padding: 6px 0; font-size: .92rem; }
.addon-showcase strong { color: var(--navy); white-space: nowrap; }
.light-note { color: #b9c3dd; }
.light-note a { color: #fff; }
@media (max-width: 900px) { .addon-showcase ul { grid-template-columns: 1fr; } }
.svc-price .from { font-family: var(--sans); font-weight: 500; font-size: .72rem; color: var(--muted); }
.package-options { margin-bottom: 18px; }
.price .from { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); }
.invoice-box { background: var(--warn-l); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.invoice-box .form { gap: 8px; }
.quote-form { background: var(--gold-l); border-radius: 10px; padding: 12px 14px; }
.nowrap { white-space: nowrap; }
.stat-link { text-decoration: none; color: inherit; }
.stat-link:hover { border-color: var(--red); }

/* ================= "Talk to us" chat widget ================= */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 13px 20px; font: 700 .95rem var(--sans); cursor: pointer; box-shadow: 0 10px 28px rgba(200, 16, 46, .35); }
.chat-fab:hover { background: var(--red-d); }
.chat-fab.is-open { background: var(--navy); box-shadow: 0 10px 28px rgba(19, 38, 92, .35); }
.chat-fab-ic { font-size: 1.1rem; line-height: 1; }
.chat-panel { position: fixed; right: 20px; bottom: 84px; z-index: 60; width: 370px; max-width: calc(100vw - 24px); height: 540px; max-height: calc(100vh - 110px); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 26, 66, .28); display: flex; flex-direction: column; overflow: hidden; border-top: 5px solid var(--red); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--navy); color: #fff; }
.chat-head div { display: flex; flex-direction: column; line-height: 1.3; }
.chat-head span { font-size: .78rem; color: #c5cde3; }
.chat-x { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.chat-form { padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.chat-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .85rem; color: var(--navy); }
.chat-form input { padding: 9px 11px; }
.chat-intro { font-size: .9rem; color: #3b445e; margin: 0 0 4px; }
.chat-code { font-size: 1.4rem; letter-spacing: .4em; text-align: center; font-family: ui-monospace, Consolas, monospace; }
.chat-dev { background: var(--info-l); color: #1d3f7d; border-radius: 8px; padding: 8px 10px; font-size: .85rem; margin: 0; }
.chat-error { color: #8a0c20; background: var(--red-l); border-radius: 8px; padding: 8px 10px; font-size: .85rem; margin: 0; }
.chat-restart { align-self: center; font-size: .85rem; }
.chat-loading, .chat-empty { color: var(--muted); font-size: .9rem; padding: 16px; margin: 0; }
.chat-orders { border-bottom: 1px solid var(--line); background: var(--bg-alt); font-size: .86rem; }
.chat-orders summary { padding: 10px 14px; cursor: pointer; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.chat-orders[hidden] { display: none; }
.chat-badge { background: var(--red); color: #fff; border-radius: 999px; font-size: .7rem; padding: 2px 8px; }
.chat-order { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-order div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.chat-order strong { color: var(--navy); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-order span { color: var(--muted); font-size: .76rem; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg-client { align-self: flex-end; align-items: flex-end; }
.chat-msg-staff, .chat-msg-system { align-self: flex-start; }
.chat-bubble { padding: 9px 12px; border-radius: 14px; font-size: .9rem; white-space: pre-wrap; word-break: break-word; display: flex; flex-direction: column; gap: 6px; }
.chat-msg-client .chat-bubble { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-staff .chat-bubble { background: var(--bg-alt); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-invoice { font-weight: 700; color: var(--red); text-decoration: none; }
.chat-time { font-size: .7rem; color: var(--muted); margin-top: 3px; }
.chat-quick { display: flex; gap: 6px; padding: 8px 12px 0; flex-wrap: wrap; }
.chat-quick a { font-size: .76rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--navy); }
.chat-quick a:hover { border-color: var(--red); color: var(--red); }
.chat-compose { display: flex; gap: 8px; padding: 10px 12px 12px; align-items: flex-end; }
.chat-compose textarea { resize: none; font-size: .9rem; padding: 9px 11px; }
@media (max-width: 480px) {
  .chat-panel { right: 8px; left: 8px; width: auto; bottom: 76px; height: calc(100vh - 100px); }
  .chat-fab { right: 12px; bottom: 12px; }
}

/* Staff inbox */
.row-unread td { background: #fff6f7; }
.inbox-last { max-width: 420px; color: #3b445e; }
.thread-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.chat-staff { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.chat-staff .chat-msgs { height: 520px; max-height: 65vh; background: #fbfcfe; }
.chat-staff .chat-compose { border-top: 1px solid var(--line); padding: 12px; }
.chat-compose textarea { flex: 1; }
.side-order { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.thread-layout aside .card + .card { margin-top: 16px; }
@media (max-width: 900px) { .thread-layout { grid-template-columns: 1fr; } }
.badge-red { background: var(--red-l); color: #a50d25; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.custom-card { margin-top: 28px; scroll-margin-top: 90px; }

/* Form alignment: side-by-side boxes line up even when one label wraps to two lines */
.field-grid { align-items: end; }
.field-grid > label { justify-content: flex-end; }
.field-grid > label > span:first-child { line-height: 1.35; }
.field-grid > .span2, .field-grid > .form-section { align-self: start; }
.field-grid input:not([type=checkbox]):not([type=radio]):not([type=file]), .field-grid select, .form > label > input:not([type=checkbox]):not([type=file]), .form > label > select, .quote-card select { height: 48px; }
select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2313265c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
textarea { box-sizing: border-box; display: block; }

/* Hero: two-step category -> document picker */
.quote-pick { display: grid; gap: 12px; }
.quote-pick label { display: grid; grid-template-columns: 26px 1fr; align-items: center; column-gap: 8px; row-gap: 6px; }
.quote-pick select { grid-column: 1 / -1; text-overflow: ellipsis; }
.quote-step { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .78rem; display: inline-grid; place-items: center; }

/* Document guides */
.deadline-alert { display: flex; align-items: center; gap: 16px; background: #fff4f5; border: 1.5px solid #f3c3cb; border-left: 6px solid var(--red); border-radius: 14px; padding: 16px 18px; }
.deadline-alert p { margin: 2px 0 0; color: #5b1320; font-size: .93rem; }
.deadline-alert strong { color: var(--red-d); }
.deadline-alert .btn { margin-left: auto; flex-shrink: 0; }
.deadline-ic { color: var(--red); flex-shrink: 0; }
.guide-h { font-size: 1rem; margin: 18px 0 8px; color: var(--navy); }
.guide-risk { background: #fffaf0; border: 1.5px solid #f1dfb5; }
.guide-risk h2 { display: flex; align-items: center; gap: 8px; color: #7d4b00; }
.guide-risk ul { margin: 0 0 14px; padding-left: 20px; }
.guide-risk li { margin-bottom: 8px; color: #3d2c10; }
.guide-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; }
.pkg-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pkg-col { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pkg-col p { flex: 1; color: #3b445e; margin: 4px 0 8px; }
.pkg-pop { border-color: var(--navy); box-shadow: 0 8px 22px rgba(19, 38, 92, .12); }
.pkg-price { font: 700 1.5rem var(--serif, Georgia, serif); color: var(--navy); }
@media (max-width: 760px) { .pkg-compare { grid-template-columns: 1fr; } .deadline-alert { flex-wrap: wrap; } .deadline-alert .btn { margin-left: 0; } }

/* Documents page tabs */
.doc-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 12px; margin: 8px 0 18px; scrollbar-width: thin; position: sticky; top: 0; z-index: 5; background: #fff; scroll-margin-top: 10px; }
.doc-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 9px 15px; font: 600 .88rem var(--sans); cursor: pointer; white-space: nowrap; }
.doc-tab:hover { border-color: var(--navy); }
.doc-tab.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.doc-tab-ic { display: inline-flex; opacity: .8; }
.doc-tab-n { font-size: .74rem; background: rgba(19, 38, 92, .08); border-radius: 999px; padding: 1px 8px; }
.doc-tab.on .doc-tab-n { background: rgba(255, 255, 255, .2); }
.doc-panel[hidden] { display: none; }
.sub-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 18px; }
.sub-tabs a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .84rem; font-weight: 600; color: var(--navy); background: var(--bg-alt); }
.sub-tabs a:hover { border-color: var(--red); color: var(--red); }
.sub-tabs a span { color: var(--muted); font-weight: 500; margin-left: 3px; }
.sub-title { font-size: 1.05rem; color: var(--red); margin: 26px 0 10px; padding-top: 6px; scroll-margin-top: 80px; }
.svc-sum { font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* Recently ordered notice */
.recent-pop { position: fixed; left: 20px; bottom: 20px; z-index: 55; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 38px 12px 14px; box-shadow: 0 16px 40px rgba(11, 26, 66, .22); max-width: 330px; transform: translateY(20px); opacity: 0; transition: transform .35s, opacity .35s; border-left: 4px solid var(--ok, #1d7a46); }
.recent-pop.in { transform: none; opacity: 1; }
.recent-pop div { display: flex; flex-direction: column; line-height: 1.3; font-size: .86rem; }
.recent-pop strong { color: var(--navy); font-size: .8rem; }
.recent-pop span { color: var(--ink); font-weight: 600; }
.recent-pop small { color: var(--muted); font-size: .74rem; margin-top: 2px; }
.recent-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--ok-l, #e3f4ea); color: var(--ok, #1d7a46); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.recent-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 1.1rem; color: var(--muted); cursor: pointer; }

/* Category tabs wrap onto several rows so every category is visible (no sideways scrolling) */
.doc-tabs { flex-wrap: wrap; overflow: visible; position: static; padding: 4px 0 6px; }
.doc-tab { padding: 8px 13px; font-size: .85rem; }
.doc-tab-select { display: none; }
.doc-tab-select select { height: 48px; font-weight: 600; color: var(--navy); }
@media (max-width: 700px) {
  .doc-tabs { display: none; }
  .doc-tab-select { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); margin: 8px 0 18px; }
}

/* Review workflow */
.workflow { border-top: 4px solid var(--navy); }
.wf-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.wf-step { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--bg-alt); border-radius: 999px; padding: 5px 12px 5px 5px; }
.wf-step b { width: 20px; height: 20px; border-radius: 50%; background: #dfe4ee; color: var(--muted); display: grid; place-items: center; font-size: .72rem; }
.wf-step.done { color: var(--ok, #1d7a46); }
.wf-step.done b { background: var(--ok, #1d7a46); color: #fff; }
.wf-step.on { color: #fff; background: var(--navy); }
.wf-step.on b { background: #fff; color: var(--navy); }
.wf-alert { background: #fff4f5; border: 1.5px solid #f3c3cb; border-left: 5px solid var(--red); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.wf-alert strong { color: var(--red-d); }
.wf-alert p { margin: 6px 0 4px; }
.wf-client { background: #fffaf0; border-color: #f1dfb5; border-left-color: #c58a12; }
.wf-client strong { color: #7d4b00; }
.wf-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wf-more { margin-top: 12px; }
.wf-more summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.file-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.change-request { margin-top: 12px; }
.change-request summary { list-style: none; display: inline-flex; }
.change-request summary::-webkit-details-marker { display: none; }
.change-request[open] summary { margin-bottom: 12px; }

/* Signed-in account menu */
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; margin-left: 6px; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary:hover, .usermenu[open] summary { border-color: var(--navy); color: var(--navy); }
.usermenu summary.on { color: var(--red); }
.um-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.um-name { font-weight: 600; font-size: .92rem; }
.um-caret { transition: transform .15s; }
.usermenu[open] .um-caret { transform: rotate(180deg); }
.um-list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(11, 26, 66, .18); border: 1px solid var(--line); padding: 8px; z-index: 70; display: flex; flex-direction: column; }
.um-list a, .um-signout { display: block; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 .93rem var(--sans); background: none; border: 0; width: 100%; cursor: pointer; }
.um-list a:hover, .um-signout:hover { background: var(--bg-alt); color: var(--red); }
.um-who { margin: 0 0 6px; padding: 8px 12px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.35; }
.um-who strong { color: var(--navy); font-size: .92rem; }
.um-who span { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; }
.um-list form { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.um-signout { color: var(--red); }
@media (max-width: 900px) {
  .usermenu summary { margin: 10px 0 0; border-radius: 12px; width: 100%; }
  .um-list { position: static; box-shadow: none; border: 0; padding: 4px 0 0; min-width: 0; }
}

/* ================= Blog ================= */
.blog-hero h1 { max-width: 900px; }
.blog-meta { display: flex; gap: 18px; flex-wrap: wrap; color: #c5cde3; font-size: .88rem; margin: 10px 0 0; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.blog-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
.blog-side-card .btn + .btn { margin-top: 8px; }
.price-sm { font: 700 1.6rem var(--serif, Georgia, serif); color: var(--navy); margin: 4px 0; }
.price-sm small { font: 500 .8rem var(--sans); color: var(--muted); }
.blog-side-list { list-style: none; padding: 0; margin: 0; }
.blog-side-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.4; }
.blog-side-list a { color: var(--navy); text-decoration: none; }
.blog-side-list a:hover { color: var(--red); }
.blog-tags, .blog-tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.blog-tags a, .blog-tile-tags a { font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--navy); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.blog-tags a:hover, .blog-tile-tags a:hover { border-color: var(--red); color: var(--red); }
.prose { font-size: 1.04rem; line-height: 1.75; color: #1f2740; }
.prose h2 { font-size: 1.55rem; color: var(--navy); margin: 38px 0 12px; line-height: 1.3; }
.prose h3 { font-size: 1.2rem; color: var(--navy); margin: 26px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.blog-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, var(--navy), #1d3a85); color: #fff; border-radius: 16px; padding: 20px 22px; margin: 26px 0; }
.blog-cta-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.blog-cta-text strong { font-size: 1.08rem; }
.blog-cta-text span { color: #d5dbed; font-size: .9rem; }
.blog-cta-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.blog-cta .btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; border-color: #178a45; }
.blog-faq { margin-top: 36px; }
.blog-faq h2 { font-size: 1.55rem; color: var(--navy); }
.blog-faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.blog-faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.blog-faq details .prose { margin-top: 10px; font-size: .98rem; }
.blog-disclaimer { border-top: 1px solid var(--line); padding-top: 14px; }
.blog-related { margin-top: 34px; }
.blog-related h2 { font-size: 1.3rem; color: var(--navy); }
.blog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.blog-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; background: #fff; }
.blog-card:hover { border-color: var(--navy); box-shadow: 0 8px 20px rgba(19,38,92,.08); }
.blog-card strong { color: var(--navy); font-size: .92rem; line-height: 1.4; }
.blog-card-tag { font-size: .72rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 14px; }
.blog-tile { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; display: flex; flex-direction: column; }
.blog-tile h2 { font-size: 1.12rem; line-height: 1.4; margin: 0 0 8px; }
.blog-tile h2 a { color: var(--navy); text-decoration: none; }
.blog-tile h2 a:hover { color: var(--red); }
.blog-tile p { color: #3b445e; font-size: .92rem; flex: 1; margin: 0 0 12px; }
.blog-tile .blog-tile-tags { margin-bottom: 10px; }
.blog-more { font-weight: 700; color: var(--red); text-decoration: none; font-size: .9rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 28px 0 0; }
.pager a { font-weight: 700; color: var(--navy); }
.blog-index-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.kw-cloud { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.kw-cloud a { font-size: .84rem; text-decoration: none; color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.kw-cloud a:hover { border-color: var(--red); color: var(--red); }
.sub-title a { color: inherit; text-decoration: none; }
@media (max-width: 960px) { .blog-layout { grid-template-columns: 1fr; } .blog-side { position: static; } }
.prose .blog-cta strong { color: #fff; }
.prose .blog-cta a.btn { text-decoration: none; color: #fff; }
.prose .blog-cta p { margin: 0; }
