:root {
  --ink: #111a27;
  --ink-2: #273343;
  --slate: #46525e;
  --slate-deep: #39444f;
  --paper: #f5f3ee;
  --warm-gray: #ebe8e1;
  --white: #fff;
  --muted: #66717e;
  --line: #d9d9d4;
  --line-dark: #697581;
  --red: #d63f45;
  --red-dark: #b62e35;
  --mint: #b9e8d3;
  --blue: #c9dff4;
  --sand: #e6dbc2;
  --success: #168460;
  --warning: #b87513;
  --radius: 3px;
  --shadow: 0 24px 70px rgba(17, 26, 39, .13);
  --shell: min(1180px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); }
.app-view .site-header,
.app-view .site-footer { display: none; }
.dashboard-active { background: var(--warm-gray); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 12px 16px; background: var(--white); }
.skip-link:focus { top: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,243,238,.93); border-bottom: 1px solid rgba(17,26,39,.1); backdrop-filter: blur(16px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-shell > *, .hero-grid > *, .form-pair > * { min-width: 0; }
.brand { appearance: none; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 12px; padding: 0; text-align: left; }
.brand-logo { display: block; width: 46px; height: 46px; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; background: var(--red); color: var(--white); font-weight: 800; font-size: 14px; letter-spacing: -.04em; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 18px; letter-spacing: -.03em; }
.brand-copy small { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.brand.compact .brand-logo, .brand.compact .brand-mark { width: 38px; height: 38px; }
.brand.compact .brand-copy strong { font-size: 15px; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav button, .site-footer button { border: 0; padding: 0; background: transparent; font-size: 13px; }
.desktop-nav button:hover, .site-footer button:hover { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-picker select { min-width: 62px; height: 42px; border: 1px solid var(--line); background: transparent; padding: 0 10px; font-size: 12px; font-weight: 700; }

.button { border: 1px solid transparent; min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; font-weight: 700; transition: .2s ease; text-decoration: none; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--red); border-color: var(--red); }
.button-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button-dark { color: white; background: var(--slate); border-color: var(--slate); }
.button-ghost { background: transparent; border-color: var(--line); }
.button-light { background: white; color: var(--ink); }
.button-large { min-height: 54px; padding-inline: 23px; }
.button-full { width: 100%; justify-content: space-between; }
.text-link { border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: 8px 0; display: inline-flex; gap: 20px; font-size: 13px; font-weight: 700; }

.view { display: none; }
.view.active { display: block; }
.hero { position: relative; min-height: 696px; padding: 92px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(17,26,39,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,26,39,.035) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to right, #000, transparent 78%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(390px, .8fr); gap: 86px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; color: var(--muted); }
.eyebrow > span:first-child { width: 30px; height: 2px; background: var(--red); }
.hero h1 { margin: 22px 0 24px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(54px, 6vw, 82px); line-height: .95; letter-spacing: -.055em; font-weight: 500; }
.hero h1 em { color: var(--red); font-weight: 400; }
.hero-lede { max-width: 650px; font-size: 18px; line-height: 1.65; color: #46515e; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.hero-proof b { color: var(--success); margin-right: 5px; }
.hero-watermark { position: absolute; right: -45px; bottom: -95px; font-size: 340px; line-height: 1; font-weight: 900; letter-spacing: -.12em; color: rgba(17,26,39,.025); pointer-events: none; }

.quote-preview { background: white; padding: 30px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.quote-preview-top { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.micro-label { display: block; margin-bottom: 7px; font-size: 9px; font-weight: 800; color: var(--red); letter-spacing: .16em; text-transform: uppercase; }
.quote-preview h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.live-pill { align-self: start; white-space: nowrap; background: #eef7f2; color: var(--success); padding: 7px 9px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.live-pill i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; background: var(--success); }
.preview-form { display: grid; gap: 16px; padding: 22px 0; }
.preview-form label, .login-card label { display: grid; gap: 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.preview-form select, .preview-form input, .login-card input { width: 100%; height: 47px; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); background: #fbfbf8; font-size: 13px; text-transform: none; letter-spacing: 0; }
.form-pair { display: grid; grid-template-columns: 1fr 34px 1fr; gap: 9px; align-items: end; }
.form-pair.equal { grid-template-columns: 1fr 1fr; }
.swap-button { height: 47px; border: 0; background: var(--paper); }
.preview-total { border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 19px 0; }
.preview-total div { display: grid; gap: 5px; font-size: 11px; font-weight: 700; }
.preview-total small { font-weight: 400; color: var(--muted); }
.preview-total strong { font-size: 25px; letter-spacing: -.04em; }

.service-strip { background: var(--warm-gray); color: var(--ink); min-height: 72px; display: grid; align-items: center; border-top: 1px solid #d3cec5; border-bottom: 1px solid #d3cec5; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.strip-inner > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.strip-inner > div { display: flex; align-items: center; gap: 26px; color: var(--ink-2); font-family: Georgia, serif; font-size: 16px; }
.strip-inner i { width: 3px; height: 3px; border-radius: 50%; background: var(--red); }

.section { padding: 116px 0; }
.section-heading { margin-bottom: 52px; }
.split-heading { display: grid; grid-template-columns: .45fr 1fr; }
.split-heading > div:first-child, .dark-heading > div:first-child { display: flex; align-items: flex-start; gap: 14px; }
.section-index { color: var(--red); font-size: 10px; font-weight: 800; }
.kicker { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.split-heading h2, .dark-heading h2, .authority-copy h2, .faq-grid h2, .cta-section h2 { font-family: Georgia, serif; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; margin: 0 0 20px; }
.split-heading p { max-width: 600px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service-grid.two-services { grid-template-columns: repeat(2, 1fr); }
.service-card { position: relative; min-height: 490px; display: flex; flex-direction: column; padding: 30px; background: rgba(255,255,255,.45); border-right: 1px solid var(--line); transition: .25s ease; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: white; transform: translateY(-4px); box-shadow: 0 14px 40px rgba(17,26,39,.08); z-index: 2; }
.service-card.featured { background: white; }
.card-number { position: absolute; top: 24px; right: 24px; color: #a9afb5; font-size: 10px; font-weight: 800; }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; background: var(--paper); margin: 48px 0 34px; }
.service-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.service-card h3 { font-family: Georgia, serif; font-size: 26px; margin: 0 0 14px; font-weight: 500; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.service-card ul { list-style: none; padding: 0; margin: 16px 0 30px; display: grid; gap: 10px; color: #485360; font-size: 12px; }
.service-card li::before { content: "—"; margin-right: 8px; color: var(--red); }
.service-card button { margin-top: auto; display: flex; justify-content: space-between; padding: 15px 0 4px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.pricing-section { padding-top: 94px; background: var(--warm-gray); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-plan { min-height: 420px; padding: 30px; background: var(--white); border: 1px solid #d9dee2; display: flex; flex-direction: column; }
.price-plan.featured { border-top: 4px solid var(--red); padding-top: 27px; }
.price-plan-head { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.price-plan-head b { color: var(--ink); }
.price-plan > strong { margin: 42px 0 18px; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); font-weight: 500; letter-spacing: -.045em; }
.price-plan > strong small { font-family: Inter, sans-serif; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.price-plan > p { max-width: 570px; margin: 0 0 34px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.price-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.price-meta > span { display: grid; gap: 6px; }
.price-meta b { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price-meta small { color: var(--ink-2); line-height: 1.45; }
.original-fee { position: relative; }
.price-label-with-info { display: flex; align-items: center; gap: 7px; }
.info-tip { width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0; border: 1px solid #aab3bb; border-radius: 50%; background: #f5f7f8; color: var(--ink-2); font: 700 11px/1 Georgia, serif; text-transform: none; cursor: help; }
.info-tip:hover, .info-tip:focus-visible { border-color: var(--red); color: var(--red); outline: 0; }
.info-tooltip { position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 8; width: min(330px, 78vw); display: block; padding: 14px 16px; border: 1px solid #7a8691; background: var(--slate-deep); color: var(--white); box-shadow: 0 12px 30px rgba(17,26,39,.18); font-size: 11px; font-weight: 400; line-height: 1.55; text-transform: none; letter-spacing: 0; opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; pointer-events: none; }
.original-fee:hover .info-tooltip, .original-fee:focus-within .info-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.delivery-overview { margin-top: 18px; padding: 34px; border: 1px solid #d9dee2; background: #f7f8f8; color: var(--ink); }
.delivery-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.delivery-heading h3 { margin: 8px 0 0; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.delivery-heading p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 13px; }
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.delivery-grid article { min-height: 250px; padding: 22px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.delivery-grid article:last-child { border-right: 0; }
.delivery-grid article > span { color: var(--muted); font-size: 9px; }
.delivery-grid h4 { min-height: 44px; margin: 25px 0 10px; font-size: 15px; }
.delivery-grid p { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.delivery-grid b { margin-top: auto; color: #11715e; font-size: 15px; }
.delivery-grid small { margin-top: 6px; color: var(--muted); }
.original-warning { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; padding: 18px; border: 1px solid rgba(214,63,69,.35); background: rgba(214,63,69,.08); color: var(--ink); }
.original-warning > span { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-weight: 800; }
.original-warning strong { font-size: 12px; }
.original-warning p { margin: 5px 0 0; color: inherit; opacity: .72; font-size: 11px; line-height: 1.55; }

.legal-heading { margin-bottom: 42px; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: white; }
.legal-table { width: 100%; min-width: 850px; border-collapse: collapse; table-layout: fixed; }
.legal-table th { padding: 15px 18px; background: var(--slate); color: white; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.legal-table th:first-child { width: 22%; }
.legal-table th:last-child { width: 28%; }
.legal-table td { vertical-align: top; padding: 24px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }
.legal-table td:last-child { border-right: 0; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td strong { color: var(--ink); font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.legal-table a { color: var(--red-dark); text-underline-offset: 3px; }
.legal-note { margin: 14px 0 0; color: var(--muted); font-size: 10px; }

.section-dark { background: var(--warm-gray); color: var(--ink); }
.dark-heading { display: grid; grid-template-columns: .45fr 1fr; }
.dark-heading .kicker { color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #c5cdd3; border-left: 1px solid #c5cdd3; }
.process-grid article { min-height: 330px; padding: 25px; border-right: 1px solid #c5cdd3; border-bottom: 1px solid #c5cdd3; transition: background .2s ease; }
.process-grid article:hover { background: rgba(255,255,255,.5); }
.process-grid article > span { color: #77838e; font-size: 10px; }
.process-symbol { height: 112px; display: flex; align-items: center; color: var(--red); font-family: Georgia, serif; font-size: 35px; }
.process-grid h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 500; margin: 0 0 12px; }
.process-grid p { color: #596673; font-size: 13px; line-height: 1.65; }

.authority-section { background: white; }
.authority-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 100px; align-items: center; }
.authority-visual { min-height: 500px; display: grid; place-items: center; background: var(--paper); overflow: hidden; }
.document-stack { width: 260px; height: 335px; position: relative; }
.document-stack > div { position: absolute; inset: 0; border: 1px solid #b9b7b1; background: white; box-shadow: 0 20px 50px rgba(17,26,39,.12); }
.document-stack > div:nth-child(2) { transform: rotate(-7deg) translate(-30px, 20px); background: #e8e3d9; box-shadow: none; z-index: 0; }
.document-stack > div:nth-child(3) { transform: rotate(6deg) translate(22px, 12px); background: #d9e5e3; box-shadow: none; z-index: 0; }
.document-stack > div:first-child { z-index: 2; padding: 32px; }
.document-stack span { display: grid; place-items: center; width: 48px; height: 48px; background: var(--red); color: white; font-weight: 800; }
.document-stack i { display: block; height: 5px; margin-top: 34px; background: #d9d9d4; }
.document-stack i + i { margin-top: 16px; width: 78%; }
.document-stack i:last-child { width: 57%; }
.authority-copy > .kicker { display: block; margin-bottom: 22px; }
.authority-copy > p { max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.authority-points { margin-top: 34px; border-top: 1px solid var(--line); }
.authority-points > div { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.authority-points b { color: var(--red); font-size: 10px; }
.authority-points span { display: grid; gap: 4px; }
.authority-points strong { font-size: 13px; }
.authority-points small { color: var(--muted); }

.faq-section { background: var(--warm-gray); }
.faq-grid { display: grid; grid-template-columns: .65fr 1fr; gap: 95px; }
.faq-grid > div:first-child .kicker { margin-left: 12px; }
.faq-grid h2 { margin-top: 30px; }
.faq-grid > div:first-child p { color: var(--muted); }
.accordion { border-top: 1px solid #c6c4bd; }
.accordion details { border-bottom: 1px solid #c6c4bd; }
.accordion summary { cursor: pointer; list-style: none; min-height: 72px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { font-style: normal; color: var(--red); }
.accordion details[open] summary i { transform: rotate(45deg); }
.accordion details p { margin: -4px 40px 24px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.cta-section { background: var(--red); color: white; padding: 76px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-section .kicker { color: rgba(255,255,255,.75); }
.cta-section h2 { max-width: 740px; margin: 14px 0 0; font-size: clamp(35px, 4vw, 52px); }

.site-footer { background: var(--warm-gray); color: var(--ink); padding: 68px 0 24px; border-top: 1px solid #d3cec5; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, .65fr); gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-grid p { color: var(--muted); max-width: 280px; line-height: 1.6; font-size: 13px; }
.footer-grid strong { margin-bottom: 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid button { color: var(--ink-2); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand span { background: var(--red); padding: 10px; font-weight: 800; }
.footer-brand strong { font-size: 20px; margin: 0; text-transform: none; letter-spacing: -.03em; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid #bcc7ce; color: var(--muted); font-size: 10px; }
.footer-bottom button { color: var(--ink-2); }

.modal { border: 0; padding: 0; max-width: none; max-height: none; background: transparent; color: var(--ink); }
.modal::backdrop { background: rgba(8,14,22,.72); backdrop-filter: blur(5px); }
.quote-modal { width: min(1030px, calc(100% - 24px)); }
.modal-frame { background: var(--paper); max-height: calc(100vh - 28px); overflow: auto; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal-header { min-height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: var(--paper); }
.step-indicator { display: flex; align-items: center; gap: 8px; }
.step-indicator span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.step-indicator span.active, .step-indicator span.done { background: var(--slate); color: white; border-color: var(--slate); }
.step-indicator i { width: 36px; height: 1px; background: var(--line); }
.close-button { border: 0; background: transparent; width: 36px; height: 36px; font-size: 24px; }
.quote-step { display: none; padding: 40px 50px 30px; min-height: 530px; }
.quote-step.active { display: block; }
.step-heading { display: flex; gap: 20px; margin-bottom: 30px; }
.step-heading > span { color: var(--red); font-size: 10px; font-weight: 800; padding-top: 8px; }
.step-heading h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; font-size: 36px; margin: 0 0 7px; }
.step-heading p { color: var(--muted); margin: 0; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span, .check-field + span { font-size: 10px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.field > small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: white; padding: 0 13px; color: var(--ink); outline: none; }
.field input, .field select { height: 48px; }
.field textarea { padding-block: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(17,26,39,.08); }
.field.wide, .check-field.wide, .wide { grid-column: 1 / -1; }
.upload-field input { position: absolute; opacity: 0; pointer-events: none; }
.upload-field > div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px dashed #aaa; background: rgba(255,255,255,.55); cursor: pointer; }
.upload-field > div b { color: var(--red); font-size: 22px; }
.upload-field > div strong { font-size: 12px; }
.upload-field > div small { color: var(--muted); }
.check-field { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--muted); }
.check-field > input { flex: 0 0 auto; margin-top: 2px; }
.consent-field label { line-height: 1.55; cursor: pointer; }
.consent-field a { color: var(--red-dark); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.consent-field a:hover { color: var(--ink); }
.legal-document-action { display: grid; justify-items: start; gap: 8px; margin-top: 22px; }
.legal-document-action small { color: var(--muted); font-size: 10px; }
.form-info { display: grid; gap: 5px; padding: 16px 18px; background: #eef2f4; border-left: 3px solid var(--ink); }
.form-info strong { font-size: 11px; }
.form-info span { color: var(--muted); font-size: 11px; }
.file-analysis { min-height: 72px; display: flex; align-items: center; gap: 15px; padding: 14px 16px; background: #eef2f4; border: 1px solid #dce2e6; }
.analysis-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--slate); color: white; font-weight: 800; }
.file-analysis > div { display: grid; gap: 4px; }
.file-analysis strong { font-size: 12px; }
.file-analysis small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.inline-action { display: grid; grid-template-columns: 1fr auto; }
.inline-action input { min-width: 0; }
.inline-action button { border: 0; background: var(--slate); color: white; padding: 0 14px; font-size: 10px; font-weight: 800; }
.email-verification { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 15px; background: #eef2f4; }
.email-verification .field { min-width: 0; }
.email-verification .button { height: 48px; min-height: 48px; align-self: end; white-space: nowrap; }
.email-verification small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.email-verification small[data-status="pending"] { color: #465563; font-weight: 700; }
.email-verification small[data-status="error"] { color: #a12d35; font-weight: 800; }
.email-verification small[data-status="success"] { color: var(--success); font-weight: 800; }
.verified-email { padding: 12px 14px; background: #e4f4ec; color: var(--success); font-size: 11px; font-weight: 800; }
.field:has([required]) > span:first-child::after, .court-question:has([required]) > legend::after { content: " *"; color: var(--red); }
.form-validation-summary { margin: 18px 30px 0; padding: 16px 18px; border: 1px solid rgba(214,63,69,.42); border-left: 4px solid var(--red); background: #fff3f1; color: #76272c; }
.form-validation-summary strong { display: block; margin-bottom: 8px; font-size: 12px; }
.form-validation-summary ul { margin: 0; padding-left: 20px; font-size: 11px; line-height: 1.65; }
.validation-error input, .validation-error select, .validation-error textarea, .validation-error.court-question, .validation-error.upload-field > div { border-color: var(--red) !important; box-shadow: 0 0 0 2px rgba(214,63,69,.1); }
.court-question { margin: 0; padding: 17px; border: 1px solid var(--line); }
.court-question legend { max-width: 95%; padding: 0 8px; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.45; }
.court-question > label { display: inline-flex; align-items: center; gap: 7px; margin: 10px 20px 0 0; font-size: 12px; }
.court-question > small { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.court-block { margin-top: 13px; padding: 12px; background: #f9e4e5; color: #982b31; font-size: 11px; line-height: 1.5; }
.address-review { margin: 20px 0; padding: 18px; background: var(--paper); border-left: 3px solid var(--red); font-weight: 700; line-height: 1.55; }
.address-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 350px; gap: 35px; }
.compact-grid { align-content: start; }
.quote-summary { background: white; border-top: 3px solid var(--red); padding: 24px; box-shadow: 0 12px 34px rgba(17,26,39,.08); }
.summary-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-head span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.summary-lines { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.summary-line { display: flex; justify-content: space-between; gap: 15px; }
.summary-line span { display: grid; gap: 3px; color: var(--muted); }
.summary-line span small, .payment-summary-line span small { color: var(--red); font-size: 8px; font-weight: 800; letter-spacing: .07em; line-height: 1.2; text-transform: uppercase; }
.summary-total { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 18px; }
.summary-total span { font-size: 11px; font-weight: 700; }
.summary-total strong { font-size: 24px; }
.summary-scope { margin: 14px 0 0; padding: 10px 12px; background: #f3f5f6; color: var(--ink-2); font-size: 10px; line-height: 1.5; }
.summary-note { display: block; margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.modal-footer { position: sticky; bottom: 0; z-index: 5; min-height: 76px; display: flex; align-items: center; gap: 10px; padding: 0 30px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-spacer { flex: 1; }

.compact-modal { width: min(500px, calc(100% - 24px)); }
.legal-payment-modal { width: min(760px, calc(100% - 24px)); }
.payment-panel, .editor-panel { position: relative; background: white; padding: 34px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.legal-payment-modal .payment-panel { max-height: calc(100vh - 28px); overflow-y: auto; }
.payment-panel > .close-button, .editor-panel > .close-button { position: absolute; top: 12px; right: 12px; }
.portal-badge { display: inline-flex; background: #eef2f5; color: var(--muted); padding: 7px 9px; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.payment-panel h2, .editor-panel h2 { font-family: Georgia, serif; font-size: 33px; font-weight: 500; margin: 20px 0 10px; }
.payment-panel > p, .editor-panel > p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.payment-order-summary { margin: 20px 0 0; padding: 16px; border: 1px solid var(--line); background: #f7f8f8; }
.payment-order-summary h3 { margin: 0 0 10px; font: 600 17px/1.2 Georgia, serif; }
.payment-summary-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.payment-summary-lines { display: grid; gap: 6px; }
.payment-summary-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; font-size: 12px; }
.payment-summary-line span { display: grid; gap: 2px; overflow-wrap: anywhere; }
.payment-summary-line strong { white-space: nowrap; }
.payment-amount { display: flex; justify-content: space-between; align-items: flex-end; margin: 22px 0; padding: 15px 0; border-block: 1px solid var(--line); }
.payment-amount span { font-size: 11px; color: var(--muted); }
.payment-amount strong { font-size: 24px; }
.payment-methods { display: grid; gap: 10px; margin-bottom: 18px; }
.payment-methods label { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 14px; cursor: pointer; }
.payment-methods label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.payment-methods span { display: grid; gap: 3px; }
.payment-methods b { font-size: 13px; }
.payment-methods small { color: var(--muted); }
.payment-methods i { font-style: normal; font-weight: 800; color: var(--muted); }
.twint-dot { background: #111; color: white !important; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; }
.paypal-mark { color: #1474c4 !important; font-size: 19px; }
.important-order-terms { margin: 22px 0; padding: 20px; border: 1px solid #d7dde1; background: #f3f5f6; }
.important-order-terms h3 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.important-order-terms > div { display: grid; grid-template-columns: 145px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid #d7dde1; }
.important-order-terms strong { color: var(--ink); font-size: 11px; }
.important-order-terms span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.payment-acceptances { display: grid; gap: 14px; margin: 0 0 20px; }
.payment-acceptances .check-field { padding: 13px 14px; border: 1px solid var(--line); background: white; }
.payment-acceptances input { width: 17px; height: 17px; accent-color: var(--red-dark); }
.acceptance-error { margin: 0; padding: 10px 12px; background: #f9e4e5; color: #982b31; font-size: 11px; font-weight: 800; }
.secure-note { display: block; text-align: center; margin-top: 12px; color: var(--muted); }
.editor-panel .form-grid { margin: 24px 0; }

.portal-view { min-height: 760px; background: var(--warm-gray); }
.login-shell { min-height: 760px; display: grid; align-content: center; justify-items: center; padding-block: 70px; }
.back-link { justify-self: start; margin-bottom: 25px; border: 0; background: transparent; color: var(--slate); }
.login-card { width: min(490px, 100%); background: var(--white); padding: 50px; border-top: 4px solid var(--red); box-shadow: 0 24px 70px rgba(17,26,39,.14); }
.login-card h1 { font-family: Georgia, serif; font-size: 44px; font-weight: 500; letter-spacing: -.045em; margin: 20px 0; }
.login-card > p { color: var(--muted); line-height: 1.65; font-size: 14px; }
.login-card label { margin: 28px 0 14px; }
.login-form { display: grid; gap: 13px; margin-top: 26px; }
.login-form label { display: grid; gap: 7px; margin: 0; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.login-form input { width: 100%; min-height: 44px; border: 1px solid var(--line); background: white; padding: 0 12px; font: inherit; }
.login-help { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.configuration-notice { padding: 12px 14px; border-left: 3px solid var(--warning); background: #fff4e8; color: #6f4421 !important; }

.dashboard-view { min-height: 100vh; background: var(--warm-gray); }
.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; }
.dashboard-sidebar { position: sticky; top: 0; height: 100vh; background: var(--warm-gray); color: var(--ink); padding: 26px 18px; display: flex; flex-direction: column; border-right: 1px solid #d3cec5; }
.dashboard-sidebar .brand { color: var(--ink); margin: 0 10px 40px; }
.dashboard-sidebar .brand-copy small { color: var(--muted); }
.dashboard-menu { display: grid; gap: 5px; }
.dashboard-menu button { border: 0; background: transparent; color: var(--slate); text-align: left; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 12px; }
.dashboard-menu button.active, .dashboard-menu button:hover { background: var(--white); color: var(--red-dark); box-shadow: inset 3px 0 0 var(--red); }
.dashboard-menu i { width: 17px; font-style: normal; }
.dashboard-sidebar-bottom { margin-top: auto; display: grid; gap: 10px; }
.dashboard-main { min-width: 0; }
.dashboard-topbar { min-height: 76px; padding: 0 32px; border-bottom: 1px solid #dce0e3; background: white; display: flex; justify-content: space-between; align-items: center; }
.dashboard-topbar h1 { font-family: Georgia, serif; font-size: 25px; font-weight: 500; margin: 0; }
.user-chip { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.user-chip b { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: white; display: grid; place-items: center; }
.dashboard-content { padding: 30px 32px 60px; }
.dashboard-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.dashboard-intro h2 { font-family: Georgia, serif; font-weight: 500; font-size: 36px; letter-spacing: -.035em; margin: 0 0 7px; }
.dashboard-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 24px; }
.metric-card { background: white; border: 1px solid #dce0e3; padding: 20px; }
.metric-card span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.metric-card strong { display: block; margin-top: 12px; font-size: 27px; letter-spacing: -.04em; }
.metric-card small { display: block; margin-top: 4px; color: var(--muted); }
.panel { background: white; border: 1px solid #dce0e3; }
.panel + .panel { margin-top: 18px; }
.panel-head { min-height: 62px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e3e6e8; }
.panel-head h3 { margin: 0; font-size: 14px; }
.panel-body { padding: 20px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.case-table-wrap { width: 100%; overflow-x: auto; }
.central-case-table { min-width: 980px; }
.case-filters { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; padding: 14px; background: white; border: 1px solid #dce0e3; }
.case-filters label { display: grid; gap: 6px; }
.case-filters label > span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.case-filters select { width: 100%; min-height: 40px; border: 1px solid var(--line); background: white; padding: 0 10px; font: inherit; }
.table-subline { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.legal-deadline { color: #a64035; font-weight: 700; }
.document-list { display: grid; gap: 9px; }
.document-row { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 12px; padding: 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.document-row:last-child { border-bottom: 0; }
.document-row > span { width: 42px; height: 42px; display: grid; place-items: center; background: #eef1f3; color: var(--slate); font-size: 10px; font-weight: 800; }
.document-row > div { display: grid; gap: 3px; min-width: 0; }
.document-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-row small { color: var(--muted); }
.document-upload-form { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 10px; margin-top: 18px; align-items: end; }
.quote-edit-form { display: grid; gap: 10px; }
.quote-edit-line { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; }
.quote-edit-form input, .document-upload-form input, .document-upload-form select { min-height: 40px; border: 1px solid var(--line); background: white; padding: 0 10px; font: inherit; }
.message-form input[type="file"] { display: none; }
.status.inbox { background: #edf1f4; color: #41505e; }
.status.internal-action { background: #ffebe5; color: #8a382d; }
.status.waiting-externally { background: #fff4da; color: #795a17; }
.status.finished { background: #ddf4ea; color: #205f49; }
.status.cancelled { background: #ececec; color: #555; }
.order-table th { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; text-align: left; padding: 13px 12px; border-bottom: 1px solid #e1e4e7; }
.order-table td { padding: 15px 12px; border-bottom: 1px solid #eef0f1; }
.order-table tr:last-child td { border-bottom: 0; }
.order-table tbody tr { cursor: pointer; }
.order-table tbody tr:hover { background: #fafafa; }
.status { display: inline-flex; padding: 6px 8px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; background: #edf0f2; color: var(--muted); }
.status.in-progress, .status.quote-ready { background: #e4eef8; color: #315f86; }
.status.completed { background: #e5f5ed; color: #18704f; }
.status.client-review { background: #fff1d9; color: #8b611d; }
.status.awaiting-payment { background: #f9e4e5; color: #a63137; }
.order-detail-grid { display: grid; grid-template-columns: 1.1fr .8fr; gap: 18px; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-item { display: grid; gap: 5px; }
.detail-item span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.detail-item strong { font-size: 12px; overflow-wrap: anywhere; }
.timeline { display: flex; margin: 24px 0 10px; }
.timeline-step { flex: 1; position: relative; padding-top: 22px; font-size: 9px; color: var(--muted); }
.timeline-step::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #c9ced3; z-index: 2; }
.timeline-step::after { content: ""; position: absolute; left: 7px; right: -4px; top: 10px; height: 1px; background: #d6dade; }
.timeline-step.done::before, .timeline-step.current::before { background: var(--red); }
.timeline-step.done::after { background: var(--red); }
.timeline-step:last-child::after { display: none; }
.timeline-step.current { color: var(--ink); font-weight: 700; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.action-row .button { min-height: 38px; padding-inline: 13px; font-size: 11px; }
.message-list { display: grid; gap: 12px; }
.message { max-width: 85%; padding: 12px 14px; background: #edf0f2; font-size: 12px; line-height: 1.55; }
.message.mine { justify-self: end; background: #e7eef5; }
.message.system { border-left: 3px solid var(--red); background: #f6f2ef; }
.message small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; }
.message-attachment { max-width: 88%; padding: 11px; display: flex; gap: 11px; align-items: flex-start; border: 1px solid #dce1e5; background: white; }
.message-attachment.mine { justify-self: end; border-color: #bfcfdd; background: #f3f7fa; }
.message-attachment > span { flex: 0 0 36px; height: 42px; display: grid; place-items: center; background: var(--red); color: white; font-size: 8px; font-weight: 800; }
.message-attachment > div { display: grid; gap: 4px; }
.message-attachment strong { font-size: 11px; overflow-wrap: anywhere; }
.message-attachment small { color: var(--muted); font-size: 9px; }
.message-attachment p { margin: 4px 0 0; color: var(--ink-2); font-size: 11px; line-height: 1.45; }
.message-form { display: flex; gap: 8px; margin-top: 15px; }
.message-form input { flex: 1; min-width: 0; height: 40px; border: 1px solid #dce0e3; padding: 0 11px; }
.attach-button { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border: 1px solid #dce0e3; background: white; cursor: pointer; font-size: 20px; }
.attach-button:hover { border-color: var(--ink); }
.attach-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.message-help { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rate-card { background: white; border: 1px solid #dce0e3; padding: 17px; }
.rate-card .rate-top { display: flex; justify-content: space-between; gap: 10px; }
.rate-card h3 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.rate-card strong { display: block; font-size: 22px; margin: 16px 0 6px; }
.rate-card p { color: var(--muted); font-size: 11px; margin: 0 0 14px; }
.empty-state { padding: 50px 25px; text-align: center; color: var(--muted); }
.invoice-preview { padding: 30px; background: white; border: 1px solid #dce0e3; }
.invoice-preview-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.invoice-preview h3 { margin: 0; font-size: 23px; }
.invoice-preview table { width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 11px; }
.invoice-preview td, .invoice-preview th { padding: 10px; text-align: left; border-bottom: 1px solid #e5e7e9; }
.invoice-preview .invoice-total { text-align: right; font-size: 21px; font-weight: 800; }

.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 8px; }
.toast { min-width: 280px; max-width: 380px; padding: 14px 16px; background: var(--slate-deep); color: white; box-shadow: 0 12px 35px rgba(0,0,0,.18); font-size: 12px; animation: toast-in .2s ease; }
.toast.success { border-left: 4px solid var(--mint); }
.toast.warning { border-left: 4px solid #ffc667; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.reveal { animation: reveal .65s both ease-out; }
.delay-1 { animation-delay: .12s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 760px; }
  .quote-preview { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
  .delivery-grid article:nth-child(2) { border-right: 0; }
  .delivery-grid article { border-bottom: 1px solid var(--line); }
  .delivery-grid article:nth-child(n+3) { border-bottom: 0; }
  .service-card { min-height: 410px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .authority-grid, .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .authority-visual { min-height: 400px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .checkout-grid { grid-template-columns: 1fr; }
  .dashboard-shell { grid-template-columns: 78px 1fr; }
  .dashboard-sidebar { padding-inline: 9px; }
  .dashboard-sidebar .brand-copy, .dashboard-menu span, .dashboard-sidebar-bottom { display: none; }
  .dashboard-sidebar .brand { margin-inline: auto; }
  .dashboard-menu button { justify-content: center; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .rate-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header .brand-copy small, .desktop-only { display: none; }
  .nav-shell { min-height: 66px; gap: 10px; }
  .brand-logo, .brand-mark { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 15px; }
  .nav-actions { gap: 5px; }
  .language-picker select { min-width: 54px; height: 40px; }
  .nav-actions .button { padding-inline: 11px; min-height: 40px; }
  .hero { min-height: 0; padding: 58px 0 46px; }
  .hero h1 { max-width: 100%; font-size: clamp(42px, 12vw, 49px); overflow-wrap: break-word; }
  .hero-lede { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-proof { display: grid; gap: 10px; }
  .quote-preview { padding: 22px; }
  .quote-preview-top { display: grid; }
  .live-pill { justify-self: start; }
  .strip-inner { padding-block: 19px; align-items: flex-start; }
  .strip-inner > div { display: grid; grid-template-columns: 1fr; gap: 6px; font-size: 13px; }
  .strip-inner i { display: none; }
  .section { padding: 78px 0; }
  .split-heading, .dark-heading { grid-template-columns: 1fr; gap: 34px; }
  .split-heading h2, .dark-heading h2, .authority-copy h2, .faq-grid h2 { font-size: 39px; }
  .process-grid { grid-template-columns: 1fr; }
  .service-grid.two-services, .delivery-grid { grid-template-columns: 1fr; }
  .price-plan { min-height: 0; padding: 24px 20px; }
  .price-plan > strong { margin-top: 28px; }
  .price-meta { grid-template-columns: 1fr; }
  .delivery-overview { padding: 26px 18px; }
  .delivery-heading { grid-template-columns: 1fr; gap: 18px; }
  .delivery-grid article, .delivery-grid article:nth-child(n+3) { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .delivery-grid article:last-child { border-bottom: 0; }
  .process-grid article { min-height: 245px; }
  .process-symbol { height: 75px; }
  .authority-grid { gap: 40px; }
  .authority-visual { min-height: 360px; }
  .document-stack { transform: scale(.8); }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .quote-modal { width: calc(100% - 10px); }
  .modal-header { padding-inline: 14px; }
  .modal-header .brand-copy { display: none; }
  .step-indicator i { width: 20px; }
  .quote-step { padding: 27px 18px 22px; min-height: 0; }
  .step-heading h2 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.wide, .check-field.wide, .wide { grid-column: auto; }
  .inline-action, .email-verification, .address-actions { grid-template-columns: 1fr; }
  .email-verification .button { width: 100%; }
  .email-verification small { grid-column: 1; }
  .inline-action button { min-height: 42px; }
  .modal-footer { padding-inline: 15px; }
  .form-validation-summary { margin-inline: 15px; }
  .payment-panel, .editor-panel { padding: 28px 20px; }
  .important-order-terms > div { grid-template-columns: 1fr; gap: 5px; }
  .login-card { padding: 35px 22px; }
  .login-card h1 { font-size: 37px; }
  .login-help { align-items: flex-start; flex-direction: column; }
  .dashboard-shell { display: block; }
  .dashboard-sidebar { position: static; height: auto; padding: 12px 14px; flex-direction: row; align-items: center; }
  .dashboard-sidebar .brand { margin: 0 16px 0 0; }
  .dashboard-menu { display: flex; overflow-x: auto; }
  .dashboard-menu button { white-space: nowrap; padding: 10px; }
  .dashboard-menu i { display: none; }
  .dashboard-topbar { padding: 0 18px; }
  .dashboard-content { padding: 22px 14px 45px; }
  .dashboard-intro { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .order-table { min-width: 680px; }
  .panel.table-panel { overflow-x: auto; }
  .case-filters { grid-template-columns: 1fr; }
  .document-upload-form { grid-template-columns: 1fr; }
  .quote-edit-line { grid-template-columns: 1fr; }
  .rate-grid { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .timeline { overflow-x: auto; }
  .timeline-step { min-width: 90px; }
}

@media (max-width: 420px) {
  .nav-shell { gap: 7px; }
  .brand-copy strong { font-size: 14px; }
  .nav-actions .button { padding-inline: 8px; font-size: 11px; }
  .language-picker select { min-width: 50px; padding-inline: 7px; }
}

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