/* Layout: bright white and cream insurer homepage with fresh green. Quote-first hero, a strip of everything we cover, a "what happens if" tool across home, road, lake, farm and family, then a full product directory. Left-aligned. Deliberately light-only, per the client's color brief. */
:root {
  --white: #FFFFFF;
  --cream: #FBF6E9;
  --cream-line: #EDE4CD;
  --ink: #13261C;
  --muted: #4F6156;
  --line: #DCE5DF;
  --green: #157A43;        /* buttons, links: passes AA with white text */
  --green-hover: #0F6636;
  --green-bright: #34B86A; /* decoration and icons only */
  --mint: #E5F5EB;
  --deep: #0E3F26;
  --on-green: #FFFFFF;
  --on-green-muted: #CFEBD9;
  --ok: #157A43; --ok-bg: #E0F3E7;
  --warn: #8A5A00; --warn-bg: #FBEDCF;
  --no: #A13A2B; --no-bg: #F8E0DB;

  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Utility bar */
.utility { background: var(--deep); color: var(--on-green); font-size: 0.875rem; }
.utility .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding-block: 8px; }
.utility nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility .claims-line { color: var(--on-green-muted); }
.utility .claims-line strong { color: var(--on-green); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { width: 36px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.72rem; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; gap: 22px; font-size: 0.97rem; font-weight: 500; }
.main-nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--green-bright); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.link-quiet { font-weight: 500; text-decoration: none; font-size: 0.97rem; }
.link-quiet:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--sans); padding: 13px 20px; border-radius: 8px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-hover); }
.btn-ghost { background: var(--white); color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn-ghost:hover { background: var(--mint); }
.btn-white { background: var(--white); color: var(--deep); }
.btn-white:hover { background: var(--mint); }
.btn-outline-white { background: transparent; color: var(--on-green); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-outline-white:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 0.95rem var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .main-nav a:hover { border-bottom-color: var(--line); color: var(--green); }
  .menu-toggle { display: inline-block; }
  .header-actions .link-quiet { display: none; }
}
@media (max-width: 480px) {
  .site-header .wrap { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 10px 12px; font-size: 0.9rem; }
  .menu-toggle { padding: 8px 10px; }
  .brand { gap: 8px; }
  .brand svg { width: 30px; height: 34px; }
  .brand-name { font-size: 1.15rem; }
  .brand-name small { display: none; }
}
@media (max-width: 380px) { .header-actions .btn { display: none; } }

/* Hero */
.hero { background: var(--cream); padding-block: clamp(40px, 7vw, 84px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--cream-line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); max-width: 14ch; color: var(--deep); }
.hero-lede { margin-top: 22px; font-size: 1.18rem; color: var(--muted); max-width: 48ch; }
.covers { margin-top: 30px; }
.covers p { font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.cover-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.cover-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; background: var(--white); border: 1px solid var(--cream-line); border-radius: 999px; font-size: 0.92rem; font-weight: 500; }
.cover-chips svg { width: 18px; height: 18px; color: var(--green); }

.quote-card { background: var(--white); border-radius: 16px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 1px 0 var(--cream-line), 0 18px 40px -24px rgba(14, 63, 38, .35); border-top: 5px solid var(--green-bright); }
.quote-card h2 { font-size: 1.65rem; color: var(--deep); }
.quote-card .sub { color: var(--muted); margin-top: 6px; font-size: 0.97rem; }
.product-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.product-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 600 0.92rem/1.2 var(--sans); cursor: pointer; text-align: left; }
.product-tab svg { width: 24px; height: 24px; color: var(--muted); }
.product-tab:hover { border-color: var(--green-bright); }
.product-tab[aria-checked="true"] { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }
.product-tab[aria-checked="true"] svg { color: var(--green); }
.other-select { margin-top: 12px; }
.other-select label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 4px; }
.other-select select { width: 100%; font: 500 0.98rem var(--sans); padding: 10px 12px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); }
.other-select select.active { border-color: var(--green); background: var(--mint); }
.field { margin-top: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.zip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.zip-row input { flex: 1 1 140px; min-width: 0; font: 500 1.1rem var(--sans); padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.zip-row input:focus, .other-select select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(52, 184, 106, .35); }
.zip-row .btn { flex: 0 0 auto; }
.form-msg { margin-top: 12px; font-size: 0.95rem; min-height: 1.5em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--no); }
.quote-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.quote-foot a { color: var(--green); font-weight: 600; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Facts */
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.fact { padding: 24px 22px 24px 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--green); }
.fact span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 880px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts .wrap { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 16px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section-head { max-width: 660px; margin-bottom: clamp(26px, 4vw, 40px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); color: var(--deep); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

/* What happens if */
.whatif { background: var(--mint); }
.whatif-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; border: 1.5px solid transparent; background: var(--white); color: var(--ink); font: 600 0.95rem var(--sans); cursor: pointer; }
.cat-tab svg { width: 18px; height: 18px; color: var(--green); }
.cat-tab:hover { border-color: var(--green-bright); }
.cat-tab[aria-selected="true"] { background: var(--green); color: var(--on-green); }
.cat-tab[aria-selected="true"] svg { color: var(--on-green); }
.scenario-list { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; background: var(--white); border-radius: 12px; }
.scenario-list button { width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 13px 14px; font: 500 1rem var(--sans); color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.scenario-list button:hover { background: var(--cream); }
.scenario-list button[aria-pressed="true"] { background: var(--cream); font-weight: 600; box-shadow: inset 3px 0 0 var(--green); }
.dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; }
.dot.ok { background: var(--ok); } .dot.warn { background: #D99A14; } .dot.no { background: var(--no); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.detail { background: var(--white); border-radius: 16px; padding: clamp(22px, 3vw, 34px); min-height: 100%; }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.detail-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; color: var(--green); flex-shrink: 0; }
.detail-icon svg { width: 30px; height: 30px; }
.verdict { display: inline-block; font-size: 0.88rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.verdict.ok { background: var(--ok-bg); color: var(--ok); }
.verdict.warn { background: var(--warn-bg); color: var(--warn); }
.verdict.no { background: var(--no-bg); color: var(--no); }
.detail h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: 18px; color: var(--deep); }
.detail p { margin-top: 12px; color: var(--muted); max-width: 58ch; }
.detail .policy { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink); }
.detail .policy b { display: block; font-size: 0.88rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.whatif-note { margin-top: 20px; font-size: 0.88rem; color: var(--muted); max-width: 72ch; }
@media (max-width: 900px) { .whatif-grid { grid-template-columns: minmax(0, 1fr); } }

/* Product directory */
.directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px; }
.group-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--green-bright); }
.group-head svg { width: 26px; height: 26px; color: var(--green); }
.group-head h3 { font-size: 1.3rem; color: var(--deep); }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { border-bottom: 1px solid var(--line); }
.group a { display: block; padding: 12px 0; text-decoration: none; }
.group a b { display: block; font-weight: 600; color: var(--ink); }
.group a span { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.group a:hover b { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1020px) { .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .directory { grid-template-columns: minmax(0, 1fr); } }
.bundle { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px 30px; border-radius: 14px; background: var(--cream); border: 1px solid var(--cream-line); }
.bundle p { max-width: 62ch; color: var(--muted); }
.bundle strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; display: block; margin-bottom: 4px; color: var(--deep); }

/* Claims */
.claims { background: var(--green); color: var(--on-green); }
.claims .section-head h2 { color: var(--on-green); }
.claims .section-head p { color: var(--on-green-muted); }
.claims-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.hotline { border-top: 1px solid rgba(255,255,255,.3); padding-top: 20px; }
.hotline span { display: block; color: var(--on-green-muted); font-size: 0.95rem; }
.hotline .number { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--on-green); font-variant-numeric: tabular-nums; margin-top: 4px; user-select: all; }
.hotline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 18px; position: relative; padding-bottom: 30px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--green); display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 2px; background: rgba(255,255,255,.35); }
.steps h3 { font-size: 1.3rem; margin-top: 8px; }
.steps p { color: var(--on-green-muted); margin-top: 6px; max-width: 54ch; }
@media (max-width: 880px) { .claims-grid { grid-template-columns: minmax(0, 1fr); } }

/* Mutual */
.mutual { background: var(--cream); }
.mutual-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose p { max-width: 58ch; }
.prose p + p { margin-top: 16px; }
.dividend-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--white); border-radius: 14px; overflow: hidden; }
.dividend-table caption { text-align: left; font-family: var(--serif); font-size: 1.3rem; padding-bottom: 12px; color: var(--deep); }
.dividend-table th, .dividend-table td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.dividend-table tr:last-child td { border-bottom: 0; }
.dividend-table th { font-size: 0.88rem; font-weight: 600; color: var(--muted); background: var(--white); }
.dividend-table td:last-child, .dividend-table th:last-child { text-align: right; }
.dividend-table .bar { display: block; height: 6px; border-radius: 3px; background: var(--green-bright); margin-top: 6px; }
.dividend-table .why { color: var(--muted); font-size: .88rem; }
.table-note { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 880px) { .mutual-grid { grid-template-columns: minmax(0, 1fr); } }

/* Agents */
.agents-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.agent-results { list-style: none; margin: 20px 0 0; padding: 0; }
.agent-results li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.agent-results li:last-child { border-bottom: 1px solid var(--line); }
.agent-results b { display: block; }
.agent-results span { color: var(--muted); font-size: 0.93rem; }
.agent-results .miles { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--green); font-weight: 600; }
.states { background: var(--mint); border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.states h3 { font-size: 1.35rem; color: var(--deep); }
.states p { color: var(--muted); margin-top: 8px; }
.state-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; }
.state-list li { padding: 8px 0; border-bottom: 1px solid rgba(21, 122, 67, .18); display: flex; justify-content: space-between; gap: 10px; }
.state-list li span { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .agents-grid { grid-template-columns: minmax(0, 1fr); } }

/* Photo treatment: images sit on a mint ground so a slow load still looks intentional */
.ph { background: var(--mint); overflow: hidden; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Life mosaic */
.life-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.life-card { position: relative; border-radius: 16px; margin: 0; }
.life-card.big { grid-column: span 6; grid-row: span 2; }
.life-card.wide { grid-column: span 6; }
.life-card.third { grid-column: span 3; }
.life-note { grid-column: span 6; border-radius: 16px; background: var(--green); color: var(--on-green); padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.life-note h3 { font-size: 1.5rem; }
.life-note p { color: var(--on-green-muted); max-width: 44ch; }
.life-note .btn { align-self: flex-start; }
.life-card figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--white); border-radius: 10px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 6px 18px -10px rgba(14, 63, 38, .5); }
.life-card figcaption b { display: block; font-weight: 600; font-size: 0.97rem; line-height: 1.3; }
.life-card figcaption span { display: block; font-size: 0.85rem; color: var(--muted); }
.life-card figcaption a { flex-shrink: 0; font-size: 0.88rem; font-weight: 600; color: var(--green); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .life-card.big { grid-column: span 2; grid-row: span 2; }
  .life-card.wide, .life-card.third { grid-column: span 1; }
  .life-note { grid-column: span 2; }
}
@media (max-width: 560px) {
  .life-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
  .life-card.big, .life-card.wide, .life-card.third, .life-note { grid-column: span 1; grid-row: span 1; }
  .life-grid { grid-auto-rows: 240px; }
  .life-note { height: auto; }
}

/* Board */
.board { margin-top: clamp(48px, 7vw, 80px); }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.board-head h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--deep); }
.board-head p { color: var(--muted); max-width: 52ch; }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.member { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.member .ph { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--cream-line); }
.member b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--deep); }
.member .role { display: block; font-size: 0.9rem; font-weight: 600; color: var(--green); margin-top: 2px; }
.member .bio { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 960px) { .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .board-grid { grid-template-columns: minmax(0, 1fr); } }

/* Support side tab + panel */
.support-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px; background: var(--green); color: var(--on-green); border: 0; border-radius: 12px 0 0 12px; cursor: pointer; font: 600 0.95rem var(--sans); box-shadow: -4px 6px 20px -8px rgba(14, 63, 38, .5); }
.support-tab:hover { background: var(--green-hover); }
.support-tab .lbl { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.01em; }
.support-tab .face { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--white); }
.support-tab .live { position: absolute; top: 12px; left: 8px; width: 10px; height: 10px; border-radius: 50%; background: #7CF0A7; border: 2px solid var(--green); }
.support-tab[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.scrim { position: fixed; inset: 0; background: rgba(14, 38, 26, .28); z-index: 45; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.scrim.show { opacity: 1; pointer-events: auto; }
.support { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: var(--white); display: flex; flex-direction: column; box-shadow: -10px 0 40px -12px rgba(14, 63, 38, .45); transform: translateX(105%); transition: transform .25s ease; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.support.open { transform: none; }
.support-top { background: var(--green); color: var(--on-green); padding: 18px 18px 0; }
.support-top .row { display: flex; align-items: center; gap: 12px; }
.support-top .face { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--white); flex-shrink: 0; }
.support-top h2 { font-family: var(--serif); font-size: 1.3rem; }
.support-top p { font-size: 0.88rem; color: var(--on-green-muted); }
.support-top .close { margin-left: auto; align-self: start; background: rgba(255,255,255,.14); border: 0; color: var(--on-green); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.support-top .close:hover { background: rgba(255,255,255,.26); }
.support-tabs { display: flex; gap: 4px; margin-top: 16px; }
.support-tabs button { flex: 1; background: transparent; color: var(--on-green-muted); border: 0; border-radius: 10px 10px 0 0; padding: 11px 8px; font: 600 0.95rem var(--sans); cursor: pointer; }
.support-tabs button[aria-selected="true"] { background: var(--white); color: var(--green); }
.support-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.95rem; line-height: 1.45; }
.msg.them { background: var(--white); border: 1px solid var(--cream-line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--green); color: var(--on-green); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--green); font-weight: 600; }
.msg .who { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 2px; }
.typing { align-self: flex-start; color: var(--muted); font-size: 0.88rem; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 0; background: var(--white); }
.quick button { background: var(--mint); color: var(--green); border: 0; border-radius: 999px; padding: 7px 12px; font: 600 0.86rem var(--sans); cursor: pointer; }
.quick button:hover { background: var(--ok-bg); box-shadow: inset 0 0 0 1px var(--green); }
.chat-form { display: flex; gap: 8px; padding: 12px 18px 16px; background: var(--white); }
.chat-form input { flex: 1; min-width: 0; font: 400 0.98rem var(--sans); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); }
.chat-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(52, 184, 106, .3); }
.chat-form .btn { padding: 11px 16px; }
.contact-pane { padding: 22px 18px; overflow-y: auto; display: grid; gap: 14px; align-content: start; }
.contact-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.contact-item h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.contact-item .big { font-family: var(--serif); font-size: 1.35rem; color: var(--deep); margin-top: 4px; user-select: all; font-variant-numeric: tabular-nums; }
.contact-item p { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.callback label { display: block; font-size: 0.88rem; font-weight: 600; margin-top: 10px; margin-bottom: 4px; }
.callback input { width: 100%; font: 400 0.98rem var(--sans); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); }
.callback input:focus { outline: none; border-color: var(--green); }
.callback .btn { margin-top: 12px; width: 100%; }
@media (max-width: 600px) {
  .support-tab { top: auto; bottom: 18px; transform: none; padding: 12px 8px; }
  .support-tab .lbl { font-size: 0.85rem; }
}

/* Footer */
.site-footer { background: var(--deep); color: var(--on-green); padding-block: 56px 32px; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-top h4 { margin: 0 0 12px; font-size: 0.95rem; font-weight: 600; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-top a { color: var(--on-green-muted); text-decoration: none; }
.footer-top a:hover { color: var(--on-green); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { color: var(--on-green-muted); margin-top: 14px; max-width: 34ch; }
.footer-brand .brand { color: var(--on-green); }
.footer-brand .brand-name small { color: var(--on-green-muted); }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: var(--on-green-muted); font-size: 0.84rem; display: grid; gap: 10px; }
.legal p { max-width: 110ch; }
.legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal a { color: var(--on-green-muted); }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }

/* =========================================================
   Shared components for inner pages
   ========================================================= */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.main-nav a.current { border-bottom-color: var(--green); color: var(--green); }
.more-link { margin-top: 14px; font-weight: 600; }
.more-link a, .text-link { color: var(--green); text-underline-offset: 3px; font-weight: 600; }

/* Page hero for inner pages */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--cream-line); padding-block: clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--deep); max-width: 22ch; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--green); text-underline-offset: 3px; }
.crumbs span[aria-hidden] { color: var(--cream-line); }
.page-body { padding-block: clamp(36px, 6vw, 72px); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3.5vw, 36px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.f label, .f .lbl { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.f .hint { display: block; font-weight: 400; font-size: 0.88rem; color: var(--muted); margin-top: -2px; margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; font: 400 1rem/1.4 var(--sans); padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(52, 184, 106, .3); }
.f [aria-invalid="true"] { border-color: var(--no); }
.f-err { color: var(--no); font-size: 0.9rem; margin-top: 6px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.form-actions .spacer { flex: 1; }
.btn-link { background: none; border: 0; color: var(--green); font: 600 1rem var(--sans); cursor: pointer; padding: 10px 4px; text-decoration: underline; text-underline-offset: 3px; }

/* Choice cards (radio buttons styled as cards) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 0.95rem; }
.choice span svg { width: 24px; height: 24px; color: var(--muted); }
.choice span small { font-weight: 400; color: var(--muted); font-size: 0.86rem; }
.choice input:hover + span { border-color: var(--green-bright); }
.choice input:checked + span { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:checked + span svg { color: var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--green-bright); outline-offset: 2px; }

/* Stepper */
.stepper { list-style: none; margin: 0 0 26px; padding: 0; display: flex; gap: 6px; counter-reset: s; }
.stepper li { flex: 1; counter-increment: s; font-size: 0.85rem; color: var(--muted); }
.stepper li::before { content: ""; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.stepper li.done::before, .stepper li.now::before { background: var(--green-bright); }
.stepper li.now { color: var(--ink); font-weight: 600; }
@media (max-width: 620px) { .stepper li span { display: none; } .stepper li.now span { display: inline; } }
.step-title { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--deep); margin-bottom: 6px; }
.step-sub { color: var(--muted); margin-bottom: 22px; }

/* Two-column page with aside */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.aside-card { background: var(--cream); border: 1px solid var(--cream-line); border-radius: 16px; padding: 22px; position: sticky; top: 96px; }
.aside-card h2, .aside-card h3 { font-size: 1.25rem; color: var(--deep); }
.aside-card p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.aside-card .big { font-family: var(--serif); font-size: 1.5rem; color: var(--deep); margin-top: 6px; user-select: all; }
@media (max-width: 900px) { .with-aside { grid-template-columns: minmax(0, 1fr); } .aside-card { position: static; } }

/* Summary list */
.summary { margin: 0; display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.summary dt, .summary dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); font-size: 0.95rem; padding-right: 16px; }
.summary dd { font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 520px) { .summary { grid-template-columns: minmax(0, 1fr); } .summary dt { border-bottom: 0; padding-bottom: 0; } }

/* Notices */
.notice { border-radius: 12px; padding: 16px 18px; background: var(--mint); border: 1px solid rgba(21, 122, 67, .25); }
.notice.warn { background: var(--warn-bg); border-color: rgba(138, 90, 0, .25); }
.notice.err { background: var(--no-bg); border-color: rgba(161, 58, 43, .25); }
.notice b { display: block; margin-bottom: 2px; }
.success { text-align: left; }
.success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.success .check svg { width: 30px; height: 30px; }
.success h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--deep); }
.success .ref { display: inline-block; margin-top: 14px; padding: 8px 14px; background: var(--cream); border: 1px dashed var(--cream-line); border-radius: 8px; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0.03em; user-select: all; }

/* Price estimate */
.estimate { background: var(--deep); color: var(--on-green); border-radius: 16px; padding: 22px; }
.estimate .amt { font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.estimate .amt small { font-family: var(--sans); font-size: 1rem; color: var(--on-green-muted); }
.estimate p { color: var(--on-green-muted); font-size: 0.9rem; margin-top: 10px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiers .choice span { padding: 18px; }
.tiers .price { font-family: var(--serif); font-size: 1.6rem; color: var(--deep); font-weight: 400; font-variant-numeric: tabular-nums; }
.tiers .badge { align-self: flex-start; font-size: 0.75rem; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 999px; }
@media (max-width: 720px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

/* Upload */
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); background: var(--white); cursor: pointer; }
.drop.over { border-color: var(--green); background: var(--mint); }
.drop b { color: var(--green); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs figure { margin: 0; width: 92px; }
.thumbs img { width: 92px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.thumbs figcaption { font-size: 0.75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Timeline (claim status) */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 38px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.done::after { background: var(--green-bright); }
.timeline li.now::before { border-color: var(--green); box-shadow: 0 0 0 4px var(--mint); }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: 0.92rem; }

/* Generic tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.table .r { text-align: right; padding-right: 0; }
.pill { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--green); white-space: nowrap; }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.grey { background: #EEF1EF; color: var(--muted); }

/* Account */
.acct { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.acct-nav { display: grid; gap: 2px; position: sticky; top: 96px; }
.acct-nav button { display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0; padding: 11px 12px; border-radius: 8px; font: 500 1rem var(--sans); color: var(--ink); cursor: pointer; }
.acct-nav button svg { width: 20px; height: 20px; color: var(--muted); }
.acct-nav button:hover { background: var(--cream); }
.acct-nav button[aria-selected="true"] { background: var(--mint); color: var(--green); font-weight: 600; }
.acct-nav button[aria-selected="true"] svg { color: var(--green); }
.acct-nav .signout { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .acct { grid-template-columns: minmax(0, 1fr); }
  .acct-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
  .acct-nav button { white-space: nowrap; flex-shrink: 0; }
  .acct-nav .signout { margin: 0; border: 0; padding: 11px 12px; }
}
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 20px; }
.panel-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--deep); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--white); }
.tile.accent { background: var(--deep); color: var(--on-green); border-color: var(--deep); }
.tile .k { font-size: 0.88rem; color: var(--muted); }
.tile.accent .k { color: var(--on-green-muted); }
.tile .v { font-family: var(--serif); font-size: 1.7rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile .s { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.tile.accent .s { color: var(--on-green-muted); }
.tile .btn { margin-top: 14px; }
@media (max-width: 900px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.policy-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.policy-row:first-child { border-top: 1px solid var(--line); }
.policy-row .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; color: var(--green); }
.policy-row .ico svg { width: 26px; height: 26px; }
.policy-row b { display: block; font-size: 1.05rem; }
.policy-row span { color: var(--muted); font-size: 0.92rem; }
.policy-row .acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.btn-sm { padding: 9px 13px; font-size: 0.9rem; }
@media (max-width: 620px) { .policy-row { grid-template-columns: 48px minmax(0, 1fr); } .policy-row .acts { grid-column: 1 / -1; justify-content: flex-start; } }

/* ID card */
.idcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.idcard { aspect-ratio: 1.586; max-width: 100%; border-radius: 16px; padding: 18px 20px; color: #fff; background: linear-gradient(135deg, #157A43 0%, #0E3F26 100%); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 0 12px 30px -16px rgba(14, 63, 38, .7); }
.idcard::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .06); }
.idcard .top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.idcard .top b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.idcard .top span { font-size: 0.72rem; opacity: .8; text-align: right; }
.idcard .veh { font-size: 1.05rem; font-weight: 600; }
.idcard dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0; font-size: 0.78rem; }
.idcard dt { opacity: .7; }
.idcard dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s ease; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(18px); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--deep); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 500; z-index: 60; transition: transform .25s ease; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* Modal */
.modal-back { position: fixed; inset: 0; background: rgba(14, 38, 26, .45); z-index: 55; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--white); border-radius: 16px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(20px, 3vw, 30px); }
.modal h2 { font-size: 1.6rem; color: var(--deep); }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.modal-close { background: var(--cream); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; flex-shrink: 0; color: var(--ink); }

/* Product detail */
.prod-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.prod-hero .ico { width: 64px; height: 64px; border-radius: 16px; background: var(--white); border: 1px solid var(--cream-line); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.prod-hero .ico svg { width: 36px; height: 36px; }
.from { background: var(--white); border-radius: 16px; padding: 22px; border-top: 5px solid var(--green-bright); box-shadow: 0 18px 40px -24px rgba(14, 63, 38, .35); }
.from .k { color: var(--muted); font-size: 0.92rem; }
.from .v { font-family: var(--serif); font-size: 2.4rem; color: var(--deep); font-variant-numeric: tabular-nums; }
.from .v small { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.from .btn { width: 100%; margin-top: 16px; }
@media (max-width: 860px) { .prod-hero { grid-template-columns: minmax(0, 1fr); } }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .cols-2 { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green); }
.ticks.x svg { color: var(--no); }
.h-sub { font-size: 1.4rem; color: var(--deep); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--muted); max-width: 70ch; }

/* Simple cards list for agents/jobs */
.list-cards { display: grid; gap: 12px; }
.lcard { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; background: var(--white); }
.lcard h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; }
.lcard p { color: var(--muted); font-size: 0.93rem; }
.lcard .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 620px) { .lcard { grid-template-columns: minmax(0, 1fr); } }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; align-items: end; }
.filters .f { min-width: 170px; flex: 1 1 170px; }

/* History timeline */
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.history li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--cream-line); }
.history .yr { font-family: var(--serif); font-size: 1.5rem; color: var(--green); font-variant-numeric: tabular-nums; }
.history p { color: var(--muted); max-width: 62ch; }
.history b { display: block; color: var(--ink); }

/* Legal */
.legal-doc { max-width: 72ch; }
.legal-doc h2 { font-size: 1.8rem; color: var(--deep); margin-top: 48px; padding-top: 8px; scroll-margin-top: 96px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin-top: 24px; }
.legal-doc p, .legal-doc li { color: var(--muted); }
.legal-doc p { margin-top: 10px; }
.legal-doc ul { margin: 10px 0 0; padding-left: 20px; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.toc a:hover { background: var(--white); color: var(--green); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.toast:not(.show) { visibility: hidden; }
.aside-card .summary { grid-template-columns: auto minmax(0, 1fr); }
.aside-card .summary dd { text-align: right; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; left: 0; top: 0; }
.login-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .login-grid { grid-template-columns: minmax(0, 1fr); } }

.main-nav a { white-space: nowrap; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: minmax(0, 1fr) !important; } }

.seg-tabs { display: flex; gap: 4px; margin: 0 0 20px; background: var(--cream); border-radius: 10px; padding: 4px; }
.seg-tabs button { flex: 1; background: transparent; color: var(--muted); border: 0; border-radius: 8px; padding: 10px 8px; font: 600 0.95rem var(--sans); cursor: pointer; }
.seg-tabs button[aria-selected="true"] { background: var(--white); color: var(--green); box-shadow: 0 1px 3px rgba(14, 63, 38, .15); }
@media (max-width: 600px) {
  .support-tab { padding: 7px; border-radius: 999px 0 0 999px; gap: 0; }
  .support-tab .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .support-tab .face { width: 40px; height: 40px; }
  .support-tab .live { top: 6px; left: 6px; }
}
@media (max-width: 520px) { .idcard { aspect-ratio: auto; gap: 14px; } }
@media (max-width: 760px) { #call-card { grid-template-columns: minmax(0, 1fr) !important; } }

/* Live chat */
.support-tab .badge { position: absolute; top: -6px; left: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #D93F2B; color: #fff; font: 700 0.78rem/22px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--white); }
.support-tab .live.away { background: #C9D2CD; }
.msg.auto { background: var(--mint); border: 1px dashed rgba(21, 122, 67, .35); }
.msg.pending { opacity: .6; }
.msg.failed { background: var(--no-bg); color: var(--no); border: 1px solid rgba(161, 58, 43, .3); cursor: pointer; }
.msg .meta-line { display: block; font-size: 0.75rem; margin-top: 4px; opacity: .8; }
.chat-note { align-self: center; text-align: center; font-size: 0.84rem; color: var(--muted); max-width: 90%; }
.msg form.inline { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.msg form.inline input { flex: 1 1 150px; min-width: 0; font: 400 0.92rem var(--sans); padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); }
.msg form.inline button { font: 600 0.88rem var(--sans); padding: 8px 12px; border-radius: 8px; border: 0; background: var(--green); color: #fff; cursor: pointer; }
