:root {
  --ink: #10283e;
  --field: #34506e;
  --field-deep: #10283e;
  --mist: #f3f6fa;
  --line: #dbe3ec;
  --lilac: #92c7ff;
  --on-field: #d6e2ef;
  --amber: #92c7ff;
  --amber-deep: #6fb3fb;
  --amber-ink: #10283e;
  --text: #404040;
  --white: #fff;
  --error: #b3261e;
  --radius: 6px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  caret-color: var(--field);
}
::selection { background: var(--lilac); color: var(--ink); }
img, svg { max-width: 100%; display: block; }
a { color: var(--field); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1.1em; max-width: 68ch; }
strong { font-weight: 500; color: var(--ink); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.site-header .wrap { width: min(100% - 2.5rem, 1400px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--amber-ink); padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.7rem 1.4rem;
  font: inherit; font-weight: 500; font-size: 1.0625rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-action { background: var(--amber); color: var(--amber-ink); box-shadow: 0 1px 2px rgba(16, 40, 62, 0.15), 0 8px 18px -10px rgba(16, 40, 62, 0.4); }
.btn-action:hover { background: var(--amber-deep); color: var(--amber-ink); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--field); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.site-header .brand { font-size: 1.1rem; }
.nav-npn { display: none; }
.header-npn { min-height: 44px; padding: 0.4rem 0.85rem; font-size: 0.95rem; white-space: nowrap; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-outline:hover { background: var(--mist); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; }
.brand span span { font-weight: 300; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(0.75rem, calc(1.6vw - 0.4rem), 1.75rem); flex: 1; min-width: 0; }
.nav a, .nav summary { color: var(--text); text-decoration: none; font-weight: 400; font-size: 0.88rem; padding: 0.5rem 0; cursor: pointer; white-space: nowrap; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { color: var(--ink); box-shadow: 0 2px 0 var(--field); }
.nav details { position: relative; }
.nav summary { list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 0.45em; height: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s var(--ease); }
.nav details[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.nav .menu { position: absolute; top: 100%; left: -1rem; min-width: 17rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(16, 40, 62, 0.35); padding: 0.5rem; display: grid; z-index: 5; }
.nav details[data-current] summary { color: var(--ink); box-shadow: 0 2px 0 var(--field); }
/* Open on hover on desktop; click and keyboard still work. */
@media (min-width: 1381px) {
  .nav details:not([open]):hover .menu, .nav details:not([open]):focus-within .menu { display: grid; }
  .nav details:not([open]) .menu { display: none; }
  .nav details:not([open]):hover > summary::after { transform: translateY(1px) rotate(-135deg); }
}
.nav .menu a { padding: 0.65rem 0.75rem; border-radius: 4px; }
.nav .menu a:hover { background: var(--mist); box-shadow: none; }
.header-call { min-height: 44px; padding: 0.4rem 0.85rem; font-size: 0.95rem; white-space: nowrap; }
.nav-toggle { display: none; }

/* Hero */
.hero { background: var(--field); color: var(--on-field); padding: clamp(2.5rem, 6vw, 5rem) 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 40, 62, 0.55)); pointer-events: none; }
.hero-skyline { background: var(--field) url("/assets/img/charlotte-skyline.webp") no-repeat right 60% / auto 125%; }
.hero-skyline::before { background:
  linear-gradient(90deg, var(--field) 0%, var(--field) 30%, rgba(52, 80, 110, 0.92) 42%, rgba(52, 80, 110, 0.55) 58%, rgba(52, 80, 110, 0.3) 100%),
  linear-gradient(180deg, rgba(52, 80, 110, 0.35) 0%, rgba(52, 80, 110, 0.1) 45%, rgba(16, 40, 62, 0.7) 100%); }
@media (max-width: 980px) {
  .hero-skyline { background-size: auto 60%; background-position: right top; }
  .hero-skyline::before { background: linear-gradient(180deg, rgba(52, 80, 110, 0.55) 0%, rgba(52, 80, 110, 0.85) 30%, var(--field) 55%); }
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p { color: var(--on-field); font-size: 1.15rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); list-style: none; font-size: 0.98rem; color: var(--white); font-weight: 400; }
.hero .facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero .facts svg { width: 1rem; height: 1rem; color: var(--lilac); flex: none; }
.license { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; padding: 0.6rem 1rem 0.6rem 0.6rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 8px; color: var(--white); text-decoration: none; }
.license:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.license img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.license b { display: block; font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.license span span { display: block; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lilac); font-weight: 600; }
.hero-page { padding: clamp(2.25rem, 5vw, 4rem) 0; }
.hero-page .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-page p { max-width: 60ch; }
.crumbs { font-size: 0.95rem; margin-bottom: 1rem; color: var(--on-field); }
.crumbs a { color: var(--white); }

/* Quote form */
.quote { background: var(--white); color: var(--text); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 30px 60px -30px rgba(10, 12, 40, 0.6), 0 2px 6px rgba(10, 12, 40, 0.08); }
.quote h2 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.quote > p { font-size: 1rem; margin-bottom: 1.1rem; color: var(--text); }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field { margin-bottom: 0.85rem; }
.field label { display: block; font-size: 0.95rem; font-weight: 500; color: var(--ink); margin-bottom: 0.3rem; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0.6rem 0.8rem;
  font: inherit; font-weight: 400; color: var(--ink);
  background: var(--white); border: 1.5px solid #a9abc8; border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder { color: #666a88; }
.field input:hover, .field select:hover { border-color: var(--field); }
.field input:focus, .field select:focus { outline: none; border-color: var(--field); box-shadow: 0 0 0 3px var(--lilac); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { display: none; color: var(--error); font-size: 0.92rem; font-weight: 400; margin-top: 0.3rem; }
.field [aria-invalid="true"] ~ .err { display: block; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.86rem; line-height: 1.5; margin: 0.4rem 0 1rem; }
.consent input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--field); }
.consent .err { grid-column: 2; display: none; color: var(--error); font-size: 0.92rem; }
.consent input[aria-invalid="true"] ~ .err { display: block; }
.quote .btn { width: 100%; }
.form-status { margin: 0.9rem 0 0; font-size: 1rem; font-weight: 400; }
.form-status[data-kind="ok"] { color: #14613a; }
.form-status[data-kind="error"] { color: var(--error); }
.form-status:empty { display: none; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--on-field); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink a:not(.btn) { color: var(--white); }
.lede { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.lede h2 { padding-left: 1.25rem; border-left: 1px solid var(--field); }
.section-ink .lede h2 { border-left-color: var(--lilac); }
.lede p:last-child { margin-bottom: 0; }

/* Carriers */
.carriers { padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.carriers { padding: 3rem 0 3.25rem; }
.carriers .wrap { display: block; text-align: center; }
.carriers p { margin: 0 0 2rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #648ab0; }
.carriers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2.25rem 1.5rem; align-items: center; justify-items: center; }
.carriers li { display: flex; align-items: center; justify-content: center; height: 68px; }
.carriers img { width: auto; max-width: 100%; object-fit: contain; }

/* Needs tabs */
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) {
  .tabs [role="tablist"] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs [role="tablist"]::-webkit-scrollbar { display: none; }
}
.tabs [role="tab"] { font: inherit; font-weight: 400; color: var(--text); background: none; border: 0; border-bottom: 3px solid transparent; padding: 0.9rem 1.1rem; min-height: 52px; white-space: nowrap; cursor: pointer; margin-bottom: -1px; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--amber); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; }
.js .panel[hidden] { display: none; }
.js .panel { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in { from { opacity: 0.4; clip-path: inset(0 0 12% 0); } to { opacity: 1; clip-path: inset(0); } }
.panel h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.panel .more { font-weight: 500; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0.7rem 0 0.7rem 1.9rem; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; padding-top: 0; }
.checks li::before { content: ""; position: absolute; left: 0.15rem; top: 1.25rem; width: 0.8rem; height: 0.42rem; border-left: 2px solid var(--field); border-bottom: 2px solid var(--field); transform: rotate(-45deg); }
.checks li:first-child::before { top: 0.55rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 1.75rem 2rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.steps li::before { content: counter(step); display: block; font-size: 3rem; font-weight: 600; line-height: 1; color: var(--lilac); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 0.5rem; }
.steps p { margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 10px; background: transparent; overflow: hidden; display: grid; place-items: center; color: var(--on-field); text-align: center; padding: 1.5rem; font-size: 0.95rem; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait:not(:has(img)) { background: var(--field); }
.portrait b { display: block; font-size: 4rem; font-weight: 600; color: var(--white); line-height: 1; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.about h2 { margin-bottom: 1rem; }
.agent-name { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); line-height: 1.4; }
.agent-name b { display: block; font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.agent-name span { display: block; }

/* Area */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.area-map { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }
.area-map text { font-family: "Sora", sans-serif; font-size: 13px; fill: var(--ink); }
.area-map .ring { fill: none; stroke: var(--lilac); stroke-dasharray: 3 6; }
.area-map .ring-label { font-size: 11px; fill: #666a88; }
.area-map .town { fill: var(--field); }
.area-map .home { fill: var(--amber); stroke: var(--ink); stroke-width: 2; }
.area-map .home-label { font-size: 16px; font-weight: 600; }
.area-map .state { fill: var(--mist); stroke: var(--field); stroke-width: 1.5; stroke-linejoin: round; }
.towns { list-style: none; margin: 1.5rem 0 0; padding: 0; columns: 3 8rem; column-gap: 1.5rem; font-weight: 400; color: var(--ink); }
.towns li { padding: 0.3rem 0; break-inside: avoid; }

/* Success stories */
.stories-head { text-align: center; margin-bottom: 3.5rem; }
.eyebrow { margin: 0 0 0.75rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #648ab0; }
.stories-head h2 { font-size: 2.5rem; }
.sample-note { margin: 1rem auto 0; max-width: 46rem; font-size: 0.95rem; color: var(--field); }
.stories { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; align-items: stretch; }
.stories li { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 12px; box-shadow: 0 18px 40px -28px rgba(16, 40, 62, 0.45); }
.stories li[data-sample] { outline: 2px dashed var(--lilac); outline-offset: -2px; }
.story-body { position: relative; display: flex; flex-direction: column; gap: 1.1rem; flex: 1; padding: 2.25rem 2.25rem 1.75rem; }
.story-body::before { content: "\201C"; position: absolute; top: 0.4rem; right: 1.5rem; font-size: 6rem; line-height: 1; font-weight: 600; color: #e6eef8; pointer-events: none; }
.story-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--field); background: #e6eef8; padding: 0.3rem 0.65rem; border-radius: 999px; }
.sample-tag { position: absolute; top: 1rem; right: 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--lilac); padding: 0.2rem 0.5rem; border-radius: 4px; }
.stars svg { display: block; width: 120px; height: 20px; }
.story-title { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: var(--ink); max-width: none; position: relative; }
.story-quote { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text); max-width: none; position: relative; }
.story-foot { display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem 2.25rem 1.4rem; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.35; }
.story-initials { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
.story-foot strong { display: block; font-weight: 700; color: var(--ink); }
.story-foot span span { display: block; color: #648ab0; }
@media (max-width: 980px) { .stories { grid-template-columns: minmax(0, 1fr); } .story-body { padding: 1.75rem 1.5rem 1.5rem; } .story-foot { padding: 1rem 1.5rem 1.25rem; } }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-size: 1.15rem; font-weight: 500; color: var(--ink); position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.5rem; top: 1.6rem; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--field); border-bottom: 2px solid var(--field); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq summary:hover { color: var(--field); }
.faq details p { padding-right: 2.5rem; }

/* Closing band */
.close { text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.close h2 { margin-bottom: 0.5rem; }
.close p { margin: 0; }
.close .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Article pages */
.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article aside { position: sticky; top: 96px; }
.article aside .quote { border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(27, 31, 75, 0.45); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.75rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 0.6rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; max-width: 66ch; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--field); }
.note { background: var(--mist); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 2rem 0; font-size: 1rem; }
.note p:last-child { margin: 0; }
.compare { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 1rem; font-variant-numeric: tabular-nums; }
.compare th, .compare td { text-align: left; padding: 0.8rem 0.9rem 0.8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--ink); font-weight: 500; border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 2.5rem; }
.related li { border-top: 1px solid var(--line); }
.related a { display: block; padding: 1.1rem 0; text-decoration: none; font-weight: 500; color: var(--ink); }
.related a span { display: block; font-weight: 300; color: var(--text); font-size: 0.98rem; }
.related a:hover { color: var(--field); }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-list b { display: block; font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.contact-list a { font-size: 1.3rem; font-weight: 500; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-field); padding: 3.5rem 0 6rem; font-size: 0.98rem; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
.site-footer .email a, .contact-list a { overflow-wrap: anywhere; word-break: break-word; }
.site-footer h2 { font-size: 1rem; color: var(--white); font-weight: 500; letter-spacing: 0; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; color: var(--white); }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.88rem; line-height: 1.6; color: #bfc0e6; }
.legal p { max-width: 90ch; margin-bottom: 0.7em; }

/* Articles */
.author { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; align-items: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.author .portrait { aspect-ratio: 1; font-size: 0; padding: 0; }
.author .portrait b { font-size: 2rem; margin: 0; }
.author p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.author p b { display: block; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.author p span, .author p a { display: block; }
.posts { grid-template-columns: 1fr; max-width: 52rem; }
.posts a { font-size: 1.25rem; }
.prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; max-width: 66ch; }

/* Chat */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chat { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70; }
.chat-open { width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer; box-shadow: 0 14px 30px -10px rgba(16, 40, 62, 0.6); transition: transform 0.2s var(--ease), background-color 0.2s; }
.chat-open:hover { background: var(--field); transform: translateY(-2px); }
.chat-open svg { width: 26px; height: 26px; }
.chat-open[hidden] { display: none; }
.chat-panel { position: absolute; right: 0; bottom: 0; width: min(24.5rem, calc(100vw - 1.5rem)); height: min(38.5rem, calc(100vh - 6rem)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 70px -25px rgba(16, 40, 62, 0.6); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-panel:not([hidden]) { animation: chat-in 0.35s var(--ease); }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.chat-panel header { display: flex; align-items: center; gap: 0.65rem; background: var(--ink); color: var(--white); padding: 0.7rem 0.6rem 0.7rem 0.9rem; }
.chat-panel header .chat-avatar svg { width: 34px; height: 34px; display: block; }
.chat-who { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.chat-who b { font-weight: 600; font-size: 1rem; }
.chat-who span { font-size: 0.78rem; color: var(--on-field); }
.chat-close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--white); cursor: pointer; border-radius: var(--radius); }
.chat-close:hover { background: rgba(255, 255, 255, 0.14); }
.chat-close svg { width: 20px; height: 20px; }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.55rem; background: var(--mist); scrollbar-width: thin; scrollbar-color: var(--lilac) transparent; }
.chat-log p { margin: 0; max-width: 85%; padding: 0.65rem 0.9rem; border-radius: 14px; font-size: 1rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-log .bot { background: var(--white); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(16, 40, 62, 0.08); }
.chat-log .me { background: var(--field); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-log .typing { display: inline-flex; gap: 4px; padding: 0.8rem 0.9rem; }
.chat-log .typing span { width: 7px; height: 7px; border-radius: 50%; background: #8aa1b8; animation: dot 1s infinite ease-in-out; }
.chat-log .typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-log .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-choices { display: flex; flex-wrap: wrap; gap: 0.45rem; align-self: flex-start; }
.chat-choices button { font: inherit; font-size: 0.92rem; font-weight: 500; padding: 0.55rem 0.9rem; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--white); color: var(--field); cursor: pointer; }
.chat-choices button:hover { background: var(--field); color: var(--white); }
.chat-send { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--line); background: var(--white); }
.chat-send input { min-height: 46px; padding: 0.5rem 0.85rem; font: inherit; font-weight: 400; color: var(--ink); border: 1.5px solid #a9abc8; border-radius: 999px; min-width: 0; }
.chat-send input:focus { outline: none; border-color: var(--field); box-shadow: 0 0 0 3px var(--lilac); }
.chat-send input:disabled { background: var(--mist); }
.chat-go { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--amber); color: var(--amber-ink); cursor: pointer; }
.chat-go:hover { background: var(--amber-deep); }
.chat-go svg { width: 20px; height: 20px; }
.chat-note { margin: 0; padding: 0 0.8rem 0.65rem; font-size: 0.76rem; line-height: 1.4; color: #5b5e7c; background: var(--white); }
@media (max-width: 640px) {
  .chat { right: 0.75rem; bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .chat-open { width: 54px; height: 54px; }
  .chat-panel { position: fixed; right: 0.5rem; left: 0.5rem; bottom: calc(4.4rem + env(safe-area-inset-bottom)); width: auto; height: min(34rem, calc(100vh - 6rem)); z-index: 80; }
}

/* Verify-license popup */
.verify { width: min(34rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 2.25rem 2rem 2rem; border: 0; border-radius: 12px; color: var(--text); background: var(--white); box-shadow: 0 30px 80px -20px rgba(16, 40, 62, 0.55); overflow-y: auto; }
.verify::backdrop { background: rgba(16, 40, 62, 0.55); }
.verify[open] { animation: verify-in 0.25s var(--ease); }
@keyframes verify-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.verify h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em; margin: 0 2.5rem 0.75rem 0; }
.verify-intro { margin: 0 0 1.5rem; font-size: 1rem; }
.verify-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.verify-close:hover { background: var(--mist); }
.verify-close svg { width: 22px; height: 22px; }
.verify-steps { list-style: none; counter-reset: v; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.verify-steps li { counter-increment: v; position: relative; padding-left: 3rem; display: grid; gap: 0.45rem; font-size: 1rem; line-height: 1.55; }
.verify-steps li::before { content: counter(v); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 600; font-size: 0.95rem; }
.verify-steps b { color: var(--ink); font-weight: 600; }
.verify-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1rem; background: #dceeff; border: 2px solid #3b82f6; border-radius: 8px; color: #1d4ed8; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.verify-link:hover { background: #c7e2ff; color: #1e40af; }
.verify-link svg { width: 1.25rem; height: 1.25rem; flex: none; }
@media (max-width: 640px) { .verify { padding: 2rem 1.25rem 1.5rem; } .verify-steps li { padding-left: 2.6rem; } }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 1380px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 0; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1rem; box-shadow: 0 20px 30px -20px rgba(16, 40, 62, 0.35); max-height: calc(100vh - 70px); overflow-y: auto; }
  .header-npn { display: none; }
  .nav .nav-npn { display: flex; font-weight: 500; color: var(--ink); }
  .site-header .wrap { position: relative; }
  .brand { margin-right: auto; }
  .nav.open { display: flex; }
  .nav a, .nav summary { padding: 0.85rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
  .nav > :first-child, .nav > :first-child summary { border-top: 0; }
  .nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { box-shadow: none; }
  .nav .menu { position: static; border: 0; box-shadow: none; padding: 0 0 0.5rem 1rem; min-width: 0; }
  .nav .menu a { border-top: 0; padding: 0.6rem 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .site-header .wrap { gap: 0.6rem; min-height: 66px; }
  .hero .wrap, .lede, .panel, .about, .area, .article, .close, .carriers .wrap { grid-template-columns: minmax(0, 1fr); }
  .carriers ul { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1.5rem 1rem; }
  .carriers img { max-width: 9rem; }
  .article aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 1.5rem 0; }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about .portrait { max-width: 20rem; }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .header-call { display: none; }
  .brand { font-size: 1.08rem; }
  .quote .row { grid-template-columns: 1fr; gap: 0; }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .hero .actions .btn { width: 100%; }
  .license { width: 100%; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgba(27, 31, 75, 0.4); }
  .callbar .btn { min-height: 48px; padding: 0.5rem 0.6rem; font-size: 1rem; }
  .close .actions { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
