/* Legal Staffing Pros — site styles. One file, no framework. */

@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks keep layout steady while fonts load */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; size-adjust: 107.1%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); ascent-override: 92.3%; descent-override: 30.8%; line-gap-override: 8.8%; size-adjust: 113.7%; }

:root {
  --blue: #0078FA;          /* logo blue: logo, large shapes */
  --blue-700: #0062CE;      /* actions: 5.8:1 on white */
  --blue-800: #0052B0;
  --blue-50: #EEF5FF;
  --blue-100: #DCEBFF;
  --navy: #0A2540;
  --navy-2: #0F2E4F;
  --ink: #1F2937;
  --muted: #475569;
  --line: #DCE3EC;
  --line-2: #C7D2DF;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --on-dark: #FFFFFF;
  --on-dark-muted: #CBD5E1;
  --on-dark-accent: #9FC4FF;
  --good: #0F7B4F;
  --good-bg: #E7F6EF;
  --warn-bg: #FFF6E5;
  --warn-line: #F0C977;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .06);
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Poppins", "Poppins Fallback", var(--font);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--blue-800); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: #FFFFFF; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.35rem + 3.1vw, 3.5rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.375rem); font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 650; color: var(--navy); }
small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
abbr[title] { text-decoration: underline dotted; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { --b: var(--blue-700); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: #fff; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:hover { --b: var(--blue-800); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-800); }
.btn-white { --b: #fff; color: var(--navy); }
.btn-white:hover { --b: #E6EEF8; color: var(--navy); }
.btn-ghost-white { --b: rgba(255,255,255,.55); background: transparent; color: #fff; }
.btn-ghost-white:hover { --b: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 400px) { .btn { white-space: normal; max-width: 100%; text-align: center; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ""; display: inline-block; margin-left: .35em; vertical-align: .02em; width: .6em; height: .6em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.2 1.8L8.4 6l-4.2 4.2' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.2 1.8L8.4 6l-4.2 4.2' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 260ms var(--ease-out); }
.link-arrow:hover::after { transform: translate3d(3px, 0, 0); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }

.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; padding: 6px 0; }
.brand img { width: 188px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav li { margin: 0; }
.primary-nav a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--navy); font-weight: 550; font-size: .9688rem; text-decoration: none; }
.primary-nav a:hover { background: var(--bg-soft); color: var(--blue-700); }
.primary-nav a[aria-current="page"] { color: var(--blue-700); }
/* Where you are: a short bar under the current section; it draws in from the centre on hover for the others */
@media (min-width: 961px) {
  .primary-nav a { position: relative; }
  .primary-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 1px; background: var(--blue-700); transform: scaleX(0); transition: transform 300ms var(--ease-out); }
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { background: transparent; }
  .primary-nav a:hover::after { transform: scaleX(.5); }
  .primary-nav a[aria-current="page"]:hover::after { transform: scaleX(1); }
}
.primary-nav .nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; padding: 8px 6px; font-variant-numeric: tabular-nums; }
.header-phone svg { width: 18px; height: 18px; color: var(--blue-700); }
.header-phone:hover { color: var(--blue-700); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; padding: 0; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

@media (max-width: 1080px) {
  .header-phone .num { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; padding: 0; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { width: 140px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(10,37,64,.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; display: none; }
  .js .menu-open .primary-nav { display: block; }
  .no-js .primary-nav:target { display: block; }
  .primary-nav ul { flex-direction: column; padding: 8px var(--gutter) 20px; gap: 0; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; }
  .primary-nav .nav-extra { display: block; }
}
@media (max-width: 400px) {
  .brand img { width: 118px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: .45em .8em; font-size: .875rem; }
}
@media (max-width: 359px) {
  .brand img { width: 100px; }
  .header-inner { gap: 6px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-sm { padding: .4em .65em; font-size: .8125rem; }
  .header-phone, .menu-toggle { width: 40px; height: 40px; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.section:not([class*="tone-"]) + .section:not([class*="tone-"]) { padding-top: 0; }
.hero + .section:not([class*="tone-"]), .page-hero + .section:not([class*="tone-"]) { padding-top: clamp(28px, 3.5vw, 56px); }
.tone-soft { background: var(--bg-soft); }
.tone-blue { background: var(--blue-50); }
.tone-navy { background: var(--navy); color: var(--on-dark-muted); }
.tone-navy h2, .tone-navy h3, .tone-navy strong { color: #fff; }
.tone-navy a:not(.btn) { color: var(--on-dark-accent); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head p.eyebrow { color: var(--blue-700); font-size: .9375rem; }
.tone-navy .section-head p { color: var(--on-dark-muted); }
.eyebrow { display: inline-block; font: 600 .9375rem/1.4 var(--font); letter-spacing: 0; color: var(--blue-700); margin: 0 0 .75rem; }
.tone-navy .eyebrow { color: var(--on-dark-accent); }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); color: var(--muted); line-height: 1.6; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; background: url("/img/mark.svg") center/contain no-repeat; opacity: .05; transform: rotate(8deg); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 40rem; margin-bottom: 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .9688rem; }
.hero-points li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--good); flex: none; }
.page-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); }
.page-hero .lead { max-width: 46rem; }
.page-hero-split .hero-grid { align-items: start; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 900px) { .hero-grid, .page-hero-split .hero-grid { grid-template-columns: 1fr; } .hero::before { display: none; } }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin-right: 2px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-700); text-decoration: underline; }

/* ---------- Seat card (hero aside) ---------- */
.seat-card { background: #fff; border: 1px solid rgba(10, 37, 64, .09); border-radius: 22px; box-shadow: 0 1px 2px rgba(10, 37, 64, .05), 0 10px 20px -12px rgba(10, 37, 64, .10), 0 36px 72px -28px rgba(10, 37, 64, .30); padding: clamp(22px, 3vw, 32px); position: relative; z-index: 1; }
.sr-head { display: flex; align-items: center; gap: 14px; margin-bottom: 2px; }
.sr-head .glyph { width: 44px; height: 44px; flex: none; }
.sr-head .seat-title { margin: 0; }
.seat-card .tag { position: absolute; top: -12px; left: 24px; }
.seat-card h2, .seat-card .seat-title { font-size: 1.25rem; margin: .25rem 0 .25rem; }
.seat-card .seat-price { font: 700 2.5rem/1 var(--display); color: var(--navy); letter-spacing: -.02em; margin: .75rem 0 .25rem; }
.seat-card .seat-price span { font: 500 1rem var(--font); color: var(--muted); letter-spacing: 0; }
.seat-card .seat-sub { color: var(--muted); font-size: .9375rem; margin-bottom: 1.1rem; }
.seat-card ul { list-style: none; padding: 0; margin: 0 0 1.25rem; border-top: 1px solid var(--line); }
.seat-card li { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; font-size: .9688rem; }
.seat-card li svg { width: 20px; height: 20px; color: var(--good); flex: none; margin-top: 2px; }
.seat-card .seat-foot { font-size: .875rem; color: var(--muted); margin: 0; }

.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; font: 600 .8125rem/1 var(--font); letter-spacing: .005em; padding: 6px 11px; border-radius: 999px; }
.tag-soft { background: var(--blue-100); color: var(--blue-800); }
.tag-example { background: var(--warn-bg); color: #6B4500; border: 1px solid var(--warn-line); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); position: relative; }
.tone-soft .card, .tone-blue .card { border-color: #D5DFEB; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .card-icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--blue-700); }
.card .card-icon svg { width: 40px; height: 40px; display: block; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: var(--blue-700); box-shadow: var(--shadow); color: inherit; }
.card-link:hover h3 { color: var(--blue-700); }
.card-link .card-foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; border-top: 1px solid var(--line); }
.card-link .card-foot .price { font-weight: 650; color: var(--navy); font-variant-numeric: tabular-nums; }
.card-link .card-foot .more { color: var(--blue-700); font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.card-link p { color: var(--muted); font-size: .9688rem; }
.card-link .card-body { flex: 1; padding-bottom: 18px; }
.tone-navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.12); color: var(--on-dark-muted); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--good-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230F7B4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/14px no-repeat; }
.x-list { list-style: none; padding: 0; margin: 0 0 1em; }
.x-list li { position: relative; padding-left: 30px; }
.x-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: #F1F4F8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 7l6 6M13 7l-6 6'/%3E%3C/svg%3E") center/14px no-repeat; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { position: relative; padding-left: 22px; margin: 0 0 .5em; }
.link-list li:last-child { margin-bottom: 0; }
.link-list li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 10px; height: 10px; background: var(--blue-700); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.2 1.8L8.4 6l-4.2 4.2' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.2 1.8L8.4 6l-4.2 4.2' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 260ms var(--ease-out); }
.link-list li:hover::before { transform: translate3d(2px, 0, 0); }
.tone-navy .check-list li::before { background-color: rgba(255,255,255,.12); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split.v-center { align-items: center; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .sticky-side { position: static; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Cards in a row share one set of row lines, so titles, prices and buttons sit level across the row */
@supports (grid-template-rows: subgrid) {
  .price-grid { row-gap: 0; }
  .price-grid > .price-card { display: grid; grid-template-rows: subgrid; grid-row: span 6; align-content: start; margin-bottom: 20px; }
  .price-card h3 { align-self: end; }
  .price-card .btn { align-self: end; }
}

@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-700), 0 1px 2px rgba(10, 37, 64, .05), 0 24px 48px -24px rgba(0, 82, 176, .35); }
.price-card > .tag { position: absolute; top: -12px; left: 24px; margin: 0; }
.price-card h3 { font-size: 1.1875rem; margin-bottom: .2em; }
.price-card .who { color: var(--muted); font-size: .9375rem; margin-bottom: 1rem; }
.price-card .amount { font: 700 2.25rem/1 var(--display); color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-card .amount.is-range { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.price-card .amount small { font: 500 .9375rem var(--font); color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.price-card .terms { color: var(--muted); font-size: .875rem; margin: .4rem 0 1.1rem; }
.price-card ul { font-size: .9375rem; margin-bottom: 1.25rem; }
.price-card .btn { margin-top: auto; align-self: stretch; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.price-row:last-of-type { border-bottom: 0; }
.price-row:first-child { padding-top: 0; }
.price-row .r-name { font-weight: 600; color: var(--navy); }
.price-row .r-note { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; }
.price-row .r-price { font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap:focus-visible { outline-offset: 2px; }
.data-table { font-size: .9688rem; min-width: 560px; }
.data-table caption { text-align: left; padding: 16px 18px 0; font-weight: 600; color: var(--navy); caption-side: top; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--bg-soft); font-size: .875rem; letter-spacing: 0; color: var(--muted); font-weight: 650; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 600; color: var(--navy); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table thead th.num { white-space: normal; }
.data-table .fine { display: inline-block; margin-top: 2px; font-weight: 400; line-height: 1.45; }
.data-table .hl { background: var(--blue-50); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 32px 64px; margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.0625rem/44px var(--display); text-align: center; }
.steps > li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 8px 0 .35em; }
.steps p { color: var(--muted); margin-bottom: .5em; }
.steps-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps-row > li { counter-increment: step; margin: 0; position: relative; padding-top: 60px; }
.steps-row > li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.0625rem/44px var(--display); text-align: center; }
.steps-row > li::after { content: ""; position: absolute; top: 21px; left: 56px; right: -8px; height: 2px; background: var(--line); }
.steps-row > li:last-child::after { display: none; }
.steps-row h3 { font-size: 1.0625rem; margin-bottom: .3em; }
.steps-row p { font-size: .9375rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps-row { grid-template-columns: 1fr 1fr; } .steps-row > li::after { display: none; } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font: 600 1.0625rem/1.4 var(--font); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230062CE' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform 320ms var(--ease-out), background-color 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq summary:hover { color: var(--blue-700); }
.faq .answer { padding: 0 0 20px; color: var(--ink); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Callouts and notes ---------- */
.callout { border-left: 4px solid var(--blue-700); background: var(--blue-50); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }
.callout.note { border-color: var(--warn-line); background: var(--warn-bg); }
.callout h3, .callout h4 { margin-bottom: .3em; }
.source-note { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.source-note a { color: var(--muted); }
.fine { font-size: .875rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(120% 160% at 0% 0%, #13385F 0%, var(--navy) 58%); color: var(--on-dark-muted); border-radius: 24px; padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -64px; bottom: -96px; width: 320px; height: 320px; background: url("/img/mark.svg") center/contain no-repeat; opacity: .26; pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; font-size: 1.0625rem; }
.cta-band .actions { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } .cta-band::after { width: 168px; height: 168px; right: -44px; bottom: -64px; opacity: .22; } }

/* ---------- Prose (articles, legal) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 1.875rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { padding-left: .2em; }
.prose .check-list, .prose .x-list, .prose .link-list { padding-left: 0; }
.prose .check-list li, .prose .x-list li { padding-left: 30px; }
.prose .link-list li { padding-left: 22px; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--line-2); color: var(--muted); }
.prose .table-wrap { margin: 1.5em 0; }
.prose .data-table { min-width: 0; font-size: .9375rem; }
.prose .data-table th, .prose .data-table td { padding: 12px 14px; }
.prose .data-table thead th { font-size: .8125rem; }
/* Phones: each table row becomes a small card, every value labelled with its column heading */
@media (max-width: 640px) {
  .data-table.stackable { min-width: 0; font-size: .9375rem; }
  .data-table.stackable caption { display: block; padding: 14px 16px 0; }
  .data-table.stackable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .data-table.stackable tbody, .data-table.stackable tr { display: block; }
  .data-table.stackable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .data-table.stackable tbody tr:last-child { border-bottom: 0; }
  .data-table.stackable th, .data-table.stackable td { display: block; padding: 0; border: 0; text-align: left; }
  .data-table.stackable tbody th { font-size: 1rem; margin-bottom: 6px; }
  .data-table.stackable td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 12px; padding: 5px 0; }
  .data-table.stackable td::before { content: attr(data-label); font-size: .8125rem; line-height: 1.5; font-weight: 600; color: var(--muted); }
  .data-table.stackable td:not([data-label]) { display: block; }
  .data-table.stackable td:not([data-label])::before { content: none; }
  .data-table.stackable .num { text-align: left; white-space: normal; }
}
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .9375rem; margin-top: 1rem; }
.article-cover { border-radius: var(--radius); border: 1px solid var(--line); margin: 0 0 2.5rem; aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; background: var(--bg-soft); }
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 24px; font-size: .9688rem; }
.toc h2 { font-size: 1rem; margin: 0 0 .6em; font-family: var(--font); letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 1.2em; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.2vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: .25em; }
.form-card > p { color: var(--muted); }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; color: var(--navy); font-size: .9688rem; }
.field .hint { font-size: .8438rem; color: var(--muted); margin-top: -2px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="number"], .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #9AA8B9; border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font); transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(0, 98, 206, .25); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field .error { color: #B42318; font-size: .875rem; font-weight: 500; display: none; }
.field.has-error .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid #9AA8B9; border-radius: 999px; background: #fff; font-size: .9375rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; user-select: none; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue-700); outline-offset: 2px; }
.choice span:hover { border-color: var(--blue-700); }
/* Job description templates */
.jd-card { padding: clamp(22px, 3vw, 36px); }
.jd-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.jd-head h2 { margin: 0; font-size: 1.375rem; }
.jd-text h3 { font-size: 1.5rem; margin-bottom: .6em; }
.jd-text h4 { font: 700 1rem/1.3 var(--display); color: var(--navy); margin: 1.6em 0 .5em; }
.jd-text ul { padding-left: 1.2em; margin: 0 0 1em; }
.jd-text li { margin-bottom: .35em; }
.ph { background: var(--blue-50); color: var(--blue-800); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.jd-note { margin: 1.4rem 0 0; }
.stat-inline { font: 700 1.75rem/1.1 var(--display); color: var(--navy); letter-spacing: -.02em; margin: .2rem 0 .5rem; font-variant-numeric: tabular-nums; }
.stat-inline span { font: 500 .9375rem var(--font); color: var(--muted); letter-spacing: 0; }
.card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.mt-1 { margin-top: 1rem; }
.qa-list { display: grid; gap: 14px; max-width: 860px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 20px; }
.qa-q { font-weight: 650; color: var(--navy); margin: 0 0 .4em; display: flex; gap: 12px; align-items: baseline; }
.qa-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8125rem; display: inline-grid; place-items: center; transform: translateY(-1px); }
.qa-a { margin: 0 0 0 38px; color: var(--muted); }
.no-js [data-copy] { display: none; }
.jd-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.script-sec { padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
.script-sec:last-child { border-bottom: 0; }
.script-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; }
.script-row p { margin: 0 0 .7em; }
/* Reading across: the English line and its Spanish line light up together */
@media (min-width: 721px) and (hover: hover) {
  .script-row { position: relative; }
  .script-row::before { content: ""; position: absolute; inset: -6px -14px 4px; border-radius: 10px; background: var(--blue-50); opacity: 0; transition: opacity 220ms var(--ease-out); pointer-events: none; }
  .script-row > * { position: relative; }
  .script-row:hover::before { opacity: 1; }
}
.script-head h3 { font: 700 1rem/1.3 var(--display); color: var(--navy); margin: 14px 0 8px; }
.script-cols p { font-size: .8125rem; letter-spacing: 0; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.script [lang="es"] { color: #334155; }
@media (max-width: 720px) {
  .script-row { grid-template-columns: 1fr; gap: 0; }
  .script-cols { display: none; }
  .script-row p[lang="es"] { padding-left: 12px; border-left: 3px solid var(--blue-50); margin-bottom: 1em; }
  .script-head h3[lang="es"] { margin-top: 0; font-weight: 600; color: #334155; }
}
/* Role picker */
.no-js .picker { display: none; }
.picker { padding: clamp(20px, 3vw, 32px); }
.picker h3 { margin-bottom: 1rem; }
.picker-grid { display: grid; gap: 20px; }
.picker-result:empty { display: none; }
.picker-out { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.picker-out .eyebrow { margin-bottom: .35rem; }
.picker-head { display: flex; align-items: center; gap: 16px; margin-bottom: .5rem; }
.picker-head .glyph { width: 48px; height: 48px; flex: none; animation: pop 460ms var(--ease-pop) 80ms both; }
.picker-head .picker-seat { margin-bottom: 0; }
.picker-seat { font: 700 1.375rem/1.2 var(--display); color: var(--navy); margin-bottom: .25rem; }
.picker-price { font: 700 1.75rem/1.1 var(--display); color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: .75rem; }
.picker-price span { font: 500 .9375rem var(--font); color: var(--muted); letter-spacing: 0; }
.picker-out .check-list { margin-bottom: 1.25rem; }
.picker-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .submit-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form .privacy { font-size: .8438rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form-status.ok { display: block; background: var(--good-bg); color: #0B5D3B; }
.form-status.err { display: block; background: #FEF3F2; color: #912018; }
.form[aria-busy="true"] .btn[type="submit"] { opacity: .7; pointer-events: none; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-out { background: var(--navy); color: var(--on-dark-muted); border-radius: 20px; padding: clamp(22px, 3vw, 34px); }
.calc-out h2 { color: #fff; font-size: 1.375rem; }
.calc-out .big { font: 700 clamp(2.25rem, 1.8rem + 2vw, 3.25rem)/1 var(--display); color: #fff; letter-spacing: -.02em; margin: .3rem 0 .4rem; font-variant-numeric: tabular-nums; }
.calc-out .sub { color: var(--on-dark-muted); margin-bottom: 1.4rem; }
.calc-out strong { color: #fff; }
.calc-out dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.calc-out dt, .calc-out dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.calc-out dd { text-align: right; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-out .fine { color: var(--on-dark-muted); margin-top: 1rem; }
.seg { display: inline-flex; border: 1px solid #9AA8B9; border-radius: 999px; padding: 3px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: .9375rem; cursor: pointer; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue-700); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: .9688rem; }
main > section:last-child:not(.section-sm):not([class*="tone-"]) { padding-bottom: clamp(56px, 7vw, 104px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { gap: 28px 20px; } .site-footer nav li { font-size: .875rem; } }
.footer-brand img { width: 200px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font: 600 .9375rem/1.4 var(--font); letter-spacing: 0; color: #fff; margin: 4px 0 12px; }
.site-footer h2.mt-2 { margin-top: 28px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact address { font-style: normal; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; }
.social a:hover { background: rgba(255,255,255,.08); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 12px; font-size: .875rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom p { margin: 0; max-width: 90ch; }

/* ---------- Misc ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }
.stat { border-top: 3px solid var(--blue); padding-top: 14px; }
.stat .n { font: 700 clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem)/1.1 var(--display); color: var(--navy); letter-spacing: -.02em; }
.stat p { color: var(--muted); font-size: .9375rem; margin: .4rem 0 0; }
.tone-navy .stat .n { color: #fff; }
.tone-navy .stat p { color: var(--on-dark-muted); }
.tone-navy .stat { border-top-color: var(--on-dark-accent); }
/* Where every figure is a share of a whole, the rule above it is drawn to that share */
.stat.has-meter { position: relative; border-top: 0; padding-top: 17px; }
.stat.has-meter::before, .stat.has-meter::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; border-radius: 2px; }
.stat.has-meter::before { right: 0; background: var(--blue-100); }
.stat.has-meter::after { width: var(--share); background: var(--blue); transform-origin: left center; }
.io .stat-row[data-seq] .has-meter::after { animation: draw-x 900ms var(--ease-io) both paused; animation-delay: calc(150ms + var(--i) * 160ms); }
.io .stat-row[data-seq].is-in .has-meter::after { animation-play-state: running; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .9063rem; color: var(--navy); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare .card.us { border: 2px solid var(--blue-700); }
.mini-log { font-size: .875rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.mini-log .row { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); align-items: center; }
.mini-log .row:last-child { border-bottom: 0; }
.mini-log .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-log .lang { font-size: .75rem; font-weight: 700; border-radius: 6px; padding: 2px 6px; background: var(--blue-50); color: var(--blue-800); }
.mini-log .st { font-size: .8125rem; font-weight: 600; color: var(--good); }
.mini-log .head { background: var(--bg-soft); font-weight: 600; color: var(--navy); grid-template-columns: 1fr auto; }
.not-found { text-align: center; padding: clamp(64px, 10vw, 140px) 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .center { text-align: center; }

/* =====================================================================
   Motion system. One orchestrated moment (the home hero), sequences only
   where the content is itself a sequence, and responses to the visitor.
   Hidden start states exist only under .io, which the head script sets when
   IntersectionObserver is available and reduced motion is not requested.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); --ease-pop: cubic-bezier(.34, 1.4, .64, 1); --ease-soft: cubic-bezier(.22, .61, .36, 1); --t-fast: 160ms; --t-ui: 280ms; }

@keyframes rise { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tick { from { stroke-dashoffset: 16; } to { stroke-dashoffset: 0; } }
@keyframes ring { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(2.8); } }
@keyframes br-in-l { from { opacity: 0; transform: translate3d(22px, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes br-in-r { from { opacity: 0; transform: translate3d(-22px, -22px, 0); } to { opacity: 1; transform: none; } }

/* ---------- Home hero: one seat, shown at work ---------- */
@media (min-width: 901px) { .hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); } }
.hero h1 { letter-spacing: -.025em; }
.hero-stage { position: relative; }
.seat-frame { position: relative; max-width: 520px; }
.seat-live { position: relative; z-index: 1; background: #fff; border: 1px solid rgba(10, 37, 64, .09); border-radius: 22px; padding: 28px; box-shadow: 0 1px 2px rgba(10, 37, 64, .05), 0 10px 20px -12px rgba(10, 37, 64, .10), 0 36px 72px -28px rgba(10, 37, 64, .30); }
.seat-live > .tag { position: absolute; top: -13px; left: 28px; }
.sl-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.sl-head .glyph { width: 48px; height: 48px; }
.sl-title { font: 700 1.1875rem/1.3 var(--display); color: var(--navy); margin: 1px 0 4px; letter-spacing: -.005em; }
.sl-sub { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.sl-price { margin: 0; text-align: right; }
.sl-price strong { display: block; font: 700 2rem/1 var(--display); color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sl-price span { display: block; margin-top: 7px; font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.sl-morning { margin: 22px 0 20px; padding: 14px 18px 18px; background: var(--bg-soft); border: 1px solid #E5EBF2; border-radius: 16px; }
.sl-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.sl-label .tag { font-size: .75rem; padding: 4px 9px; }
.ev { position: relative; padding-left: 32px; }
.ev + .ev { margin-top: 16px; }
.ev:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 26px; bottom: -12px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--blue), rgba(0, 120, 250, .35)); transform-origin: top; }
.ev:nth-last-child(2)::after { background: linear-gradient(180deg, rgba(0, 120, 250, .6), var(--good)); }
.ev-node { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue); }
.ev-live { border: 0; background: rgba(0, 120, 250, .14); }
.ev-live::before, .ev-live::after { content: ""; grid-area: 1 / 1; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.ev-live::after { opacity: 0; }
.ev-done .ev-node { border: 0; background: var(--good); }
.ev-node svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; }
.ev-top { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; font-size: .875rem; font-weight: 650; line-height: 1.5; color: var(--navy); }
.ev-t { margin-left: auto; font-size: .8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev-quote { margin: 0 0 6px; font: 600 1rem/1.4 var(--display); color: var(--navy); }
.ev-sub { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 0; }
@media (min-width: 521px) { .ev-chips { display: grid; grid-template-columns: repeat(2, max-content); } }
.ev-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8125rem; line-height: 1.3; color: var(--ink); }
.ev-chips span::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--good-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230F7B4F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 10.4l2.9 2.9 5.9-6.3'/%3E%3C/svg%3E") center/11px no-repeat; }
.lang { display: inline-block; font-size: .6875rem; font-weight: 700; line-height: 1; letter-spacing: .02em; border-radius: 5px; padding: 3px 5px; background: var(--blue-100); color: var(--blue-800); }
.sl-points { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(max-content, 1fr)); gap: 9px 18px; font-size: .9063rem; }
.sl-points li { margin: 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.sl-points svg { width: 18px; height: 18px; flex: none; color: var(--good); margin-top: 1px; }
.sl-foot { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.br { display: none; }
@media (min-width: 1140px) { .seat-frame { margin-left: auto; } }
/* The brackets need room to step out from behind the card, so they appear only where the page margin allows it */
@media (min-width: 1300px) {
  .hero::before { display: none; }
  .br { display: block; position: absolute; z-index: 0; width: 132px; pointer-events: none; }
  .br svg { display: block; width: 100%; height: auto; }
  .br-l { left: -58px; top: 46px; transform: translate3d(0, calc(var(--par, 0) * .07px), 0); }
  .br-r { right: calc(-1 * clamp(30px, (100vw - 1200px) / 2 - 12px, 60px)); bottom: 54px; transform: translate3d(0, calc(var(--par, 0) * -.05px), 0); }
}
@media (max-width: 900px) { .seat-frame { margin-top: 12px; } }
@media (max-width: 520px) {
  .seat-live { padding: 24px 18px 20px; border-radius: 18px; }
  .seat-live > .tag { left: 18px; }
  .sl-head { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .sl-head .glyph { width: 40px; height: 40px; }
  .sl-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .sl-price span { margin: 0; }
  .sl-morning { padding: 12px 14px 16px; margin: 18px 0; }
  .sl-points { grid-template-columns: 1fr; }
}

/* The orchestrated moment, played once when the seat comes into view */
.io .br-l svg { animation: br-in-l 1100ms var(--ease-out) 60ms both; }
.io .br-r svg { animation: br-in-r 1100ms var(--ease-out) 160ms both; }
.io [data-seq] .ev-node { animation: pop 520ms var(--ease-pop) both paused; animation-delay: calc(320ms + var(--i) * 760ms); }
.io [data-seq] .ev > p { animation: rise 640ms var(--ease-out) both paused; animation-delay: calc(400ms + var(--i) * 760ms); }
.io [data-seq] .ev:not(:last-child)::after { animation: draw-y 480ms var(--ease-io) both paused; animation-delay: calc(600ms + var(--i) * 760ms); }
.io [data-seq] .ev-chips span { animation: pop 420ms var(--ease-pop) both paused; animation-delay: calc(1360ms + var(--j) * 90ms); }
.io [data-seq] .ev-done svg { animation: tick 460ms var(--ease-out) both paused; animation-delay: 2120ms; }
.io [data-seq] .ev-live::after { animation: ring 1600ms var(--ease-out) 700ms 3 paused; }
.io [data-seq].is-in :is(.ev-node, .ev > p, .ev-chips span, .ev-done svg),
.io [data-seq].is-in :is(.ev:not(:last-child), .ev-live)::after { animation-play-state: running; }

/* ---------- Sequences in the page: each plays once, as it scrolls into view ---------- */
/* Intake log: the morning fills in, one inquiry at a time */
.io .mini-log[data-seq] .row:not(.head) { animation: rise 560ms var(--ease-out) both paused; animation-delay: calc(120ms + var(--i) * 130ms); }
.io .mini-log[data-seq] .st { animation: fade 480ms var(--ease-out) both paused; animation-delay: calc(380ms + var(--i) * 130ms); }
.io .mini-log[data-seq].is-in :is(.row, .st) { animation-play-state: running; }
/* Process steps: each number lands, then the line carries on to the next */
.io [data-seq] > li::before { animation: pop 520ms var(--ease-pop) both paused; animation-delay: calc(var(--i) * 260ms); }
.io [data-seq] > li > * { animation: rise 600ms var(--ease-out) both paused; animation-delay: calc(80ms + var(--i) * 260ms); }
.io .steps-row[data-seq] > li::after { transform-origin: left; animation: draw-x 420ms var(--ease-io) both paused; animation-delay: calc(240ms + var(--i) * 260ms); }
.io .steps[data-seq] > li::after { transform-origin: top; animation: draw-y 420ms var(--ease-io) both paused; animation-delay: calc(240ms + var(--i) * 260ms); }
.io [data-seq].is-in > li::before, .io [data-seq].is-in > li::after, .io [data-seq].is-in > li > * { animation-play-state: running; }

/* ---------- Interior heroes: the page's emblem ---------- */
.hero-emblem { display: none; }
.hero-emblem { position: relative; aspect-ratio: 1; }
.hero-emblem .em-br { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-emblem .pict { position: absolute; left: 50%; top: 50%; width: 40%; height: 40%; translate: -50% -50%; filter: drop-shadow(0 6px 10px rgba(10, 37, 64, .10)); }
.hero-emblem.is-mark img { width: 100%; height: auto; display: block; }
@media (min-width: 1000px) {
  .ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 96px); align-items: center; }
  .hero-emblem { display: block; width: clamp(216px, 20vw, 272px); margin-right: clamp(0px, 2vw, 24px); }
}
.nf-emblem .hero-emblem { display: block; width: clamp(136px, 18vw, 176px); margin: 0 auto 12px; }
@keyframes em-l { from { opacity: 0; transform: translate(12px, 12px); } to { opacity: 1; transform: none; } }
@keyframes em-r { from { opacity: 0; transform: translate(-12px, -12px); } to { opacity: 1; transform: none; } }
@keyframes em-glyph { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
.io .hero-emblem .em-l { animation: em-l 1000ms var(--ease-out) 80ms both; }
.io .hero-emblem .em-r { animation: em-r 1000ms var(--ease-out) 180ms both; }
.io .hero-emblem .pict, .io .hero-emblem.is-mark img { animation: em-glyph 760ms var(--ease-out) 320ms both; }

/* ---------- Cost calculator: the comparison, drawn ---------- */
/* In-house parts share one slate ramp (light to dark, validated against the navy panel); the seat wears the brand blue. */
.calc-out { --cv-pay: #C3D3E8; --cv-load: #8DA6C6; --cv-office: #5C7699; --cv-seat: #3D97FF; }
.cv { margin: 4px 0 26px; display: grid; gap: 30px; }
.cv-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 12px; }
.cv-name { font-size: .8125rem; font-weight: 600; color: var(--on-dark-muted); }
.cv-track { position: relative; height: 14px; }
.cv-bar { display: flex; height: 100%; width: 100%; }
.cv-seg { display: block; height: 100%; flex: none; border-right: 2px solid var(--navy); transition: width 640ms var(--ease-out), opacity var(--t-ui) var(--ease-out); }
.cv-seg.is-last { border-right: 0; border-radius: 0 4px 4px 0; }
.cv-seg.is-zero { border-right-width: 0; }
.k-pay { background: var(--cv-pay); } .k-load { background: var(--cv-load); } .k-office { background: var(--cv-office); }
.k-seat { background: var(--cv-seat); }
.k-range { background: repeating-linear-gradient(135deg, rgba(61, 151, 255, .55) 0 3px, rgba(61, 151, 255, .2) 3px 6px); }
.cv-gap { position: absolute; top: 50%; height: 0; border-top: 1px dashed rgba(255, 255, 255, .45); transition: left 640ms var(--ease-out), width 640ms var(--ease-out), opacity var(--t-ui); }
.cv-gap::before, .cv-gap::after { content: ""; position: absolute; top: -6px; width: 1px; height: 11px; background: rgba(255, 255, 255, .45); }
.cv-gap::before { left: 0; } .cv-gap::after { right: 0; }
.cv-gap-label { position: absolute; right: 0; bottom: 9px; white-space: nowrap; font-size: .8125rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.cv-gap.is-off { opacity: 0; }
.calc-out .key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 10px; vertical-align: 0; }
.calc-out dt, .calc-out dd { transition: background-color var(--t-fast) var(--ease-out); }
.calc-out .is-hl { background: rgba(255, 255, 255, .06); }
.calc-out .k-gap { width: 14px; height: 0; border-radius: 0; border-top: 1px dashed rgba(255, 255, 255, .7); vertical-align: 4px; }
.calc-out dt.is-total, .calc-out dd.is-total { color: #fff; font-weight: 650; }
.cv .is-dim { opacity: .35; }
.io .cv[data-seq] .cv-bar { clip-path: inset(0 100% 0 0); animation: cv-draw 1000ms var(--ease-io) both paused; }
.io .cv[data-seq] .cv-row + .cv-row .cv-bar { animation-delay: 220ms; }
.io .cv[data-seq] .cv-gap { animation: fade 480ms var(--ease-out) 1100ms both paused; }
.io .cv[data-seq].is-in :is(.cv-bar, .cv-gap) { animation-play-state: running; }
@keyframes cv-draw { to { clip-path: inset(0 0 0 0); } }

/* ---------- Answers to the visitor's actions ---------- */
/* FAQ: the answer opens with the height it needs, where the browser can animate to it; elsewhere it opens at once */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 420ms var(--ease-soft), content-visibility 420ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
  .faq .answer { opacity: 0; translate: 0 -6px; transition: opacity 320ms var(--ease-soft) 40ms, translate 420ms var(--ease-soft); }
  .faq details[open] .answer { opacity: 1; translate: 0 0; }
}
/* Phone menu: drops in, its links following a beat apart */
@keyframes menu-in { from { opacity: 0; transform: translate3d(0, -8px, 0); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .js .menu-open .primary-nav { animation: menu-in 240ms var(--ease-out) both; }
  .js .menu-open .primary-nav li { animation: rise 380ms var(--ease-out) both; }
  .js .menu-open .primary-nav li:nth-child(2) { animation-delay: 25ms; } .js .menu-open .primary-nav li:nth-child(3) { animation-delay: 50ms; }
  .js .menu-open .primary-nav li:nth-child(4) { animation-delay: 75ms; } .js .menu-open .primary-nav li:nth-child(5) { animation-delay: 100ms; }
  .js .menu-open .primary-nav li:nth-child(6) { animation-delay: 125ms; } .js .menu-open .primary-nav li:nth-child(7) { animation-delay: 150ms; }
  .js .menu-open .primary-nav li:nth-child(8) { animation-delay: 175ms; } .js .menu-open .primary-nav li:nth-child(9) { animation-delay: 200ms; }
  .menu-toggle svg { transition: transform 280ms var(--ease-out); }
  .menu-open .menu-toggle .i-close { animation: pop 300ms var(--ease-pop) both; }
}
/* Choices answer the press */
.choice span { transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out); }
.choice span:active { transform: scale(.97); }
/* The picker's answer arrives rather than appears */
.picker-out { animation: rise 520ms var(--ease-out) both; }
.picker-out .check-list li { animation: rise 460ms var(--ease-out) both; animation-delay: 140ms; }
/* Copy: the button confirms in place */
.btn.is-done { --b: var(--good); background: var(--good); color: #fff; }
.btn.is-done::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center/contain no-repeat; animation: pop 320ms var(--ease-pop) both; }
/* Sending: the button holds a quiet spinner while the request goes through */
@keyframes spin { to { transform: rotate(360deg); } }
form[aria-busy="true"] .submit-row .btn { pointer-events: none; }
form[aria-busy="true"] .submit-row .btn::after { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin 700ms linear infinite; }
/* Fields: the focus ring arrives softly */
.field input, .field select, .field textarea { transition: border-color 160ms var(--ease-out), box-shadow 220ms var(--ease-out); }

/* ---------- The first month, drawn as a month ---------- */
.month-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.month-scale span { position: relative; padding: 0 0 10px 12px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.month-scale span::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 1px; height: 12px; background: var(--line-2); }
.month-phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mo { position: relative; margin: 0; padding: 30px 28px 0 0; }
.mo-1 { grid-column: 1; } .mo-2 { grid-column: 2 / span 2; } .mo-3 { grid-column: 4; padding-right: 0; }
.mo-bar { position: absolute; top: 0; left: 0; right: 6px; height: 10px; border-radius: 5px; }
.mo-3 .mo-bar { right: 0; }
.mo-1 .mo-bar { background: #B5D5FF; } .mo-2 .mo-bar { background: #7DB8FF; } .mo-3 .mo-bar { background: var(--blue); }
.mo-body .pict { width: 40px; height: 40px; display: block; margin-bottom: 14px; }
.mo h3 { font-size: 1.1875rem; margin-bottom: .4em; }
.mo p { color: var(--muted); margin: 0; max-width: 34ch; }
.mo-2 p { max-width: 40ch; }
.mo-when { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.month { container: month / inline-size; }
@container month (max-width: 820px) {
  .month-scale { display: none; }
  .month-phases { grid-template-columns: 1fr; gap: 28px; }
  .mo, .mo-1, .mo-2, .mo-3 { grid-column: auto; padding: 0 0 0 30px; }
  .mo-bar, .mo-3 .mo-bar { top: 4px; bottom: 0; left: 0; right: auto; width: 8px; height: auto; border-radius: 4px; }
  .mo-when { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: block; font: 600 .8125rem/1.4 var(--font); color: var(--blue-700); margin-bottom: 4px; }
  .mo-body .pict { display: none; }
}
.io .month[data-seq] .mo-bar { transform-origin: left center; animation: draw-x 640ms var(--ease-io) both paused; animation-delay: calc(var(--i) * 420ms); }
.io .month[data-seq] .mo-body { animation: rise 640ms var(--ease-out) both paused; animation-delay: calc(180ms + var(--i) * 420ms); }
@container month (max-width: 820px) { .io .month[data-seq] .mo-bar { transform-origin: center top; animation-name: draw-y; } }
.io .month[data-seq].is-in :is(.mo-bar, .mo-body) { animation-play-state: running; }

/* ---------- Guarantee: the two promises, drawn ---------- */
.g-flow { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g-flow > li { position: relative; margin: 0; padding-top: 26px; font-size: .875rem; line-height: 1.45; }
.g-flow > li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-sizing: border-box; }
.g-flow > li:last-child::before { background: var(--good); border-color: var(--good); }
.g-flow > li::after { content: ""; position: absolute; top: 6px; left: 22px; right: -10px; height: 2px; border-radius: 1px; background: var(--blue-100); }
.g-flow > li:last-child::after { display: none; }
.g-flow b { display: block; color: var(--navy); font-weight: 650; }
.g-flow span { display: block; color: var(--muted); }
.io .g-flow[data-seq] > li::after { transform-origin: left; animation: draw-x 420ms var(--ease-io) both paused; animation-delay: calc(240ms + var(--i) * 260ms); }
.g-month { margin: 1.5rem 0 1.25rem; }
.gm-cap { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .875rem; font-weight: 600; color: var(--navy); }
.gm-cap .tag { font-size: .75rem; padding: 4px 9px; }
.gm-track { position: relative; display: flex; height: 14px; }
.gm-used { flex: 0 0 40%; background: #C3D3E8; border-radius: 4px 0 0 4px; border-right: 2px solid #fff; }
.gm-credit { flex: 1; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(135deg, var(--good) 0 4px, #2E9468 4px 8px); }
.gm-mark { position: absolute; left: 40%; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--navy); border-radius: 1px; }
.gm-scale { position: relative; height: 22px; margin-top: 8px; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.gm-scale span { position: absolute; top: 0; left: 0; }
.gm-scale span:last-child { left: auto; right: 0; }
.gm-scale .gm-12 { left: 40%; translate: -50% 0; color: var(--navy); font-weight: 600; }
.gm-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.gm-legend span { display: inline-flex; align-items: center; gap: 7px; }
.gm-legend i { width: 10px; height: 10px; border-radius: 2px; }
.gm-k-used { background: #C3D3E8; } .gm-k-credit { background: var(--good); }
.io .g-month[data-seq] .gm-track { clip-path: inset(0 100% 0 0); animation: cv-draw 1000ms var(--ease-io) 120ms both paused; }
.io .g-month[data-seq] .gm-mark { animation: fade 1ms linear 520ms both paused; }
.io .g-month[data-seq] :is(.gm-scale, .gm-legend) { animation: fade 520ms var(--ease-out) 900ms both paused; }
.io .g-month[data-seq].is-in :is(.gm-track, .gm-mark, .gm-scale, .gm-legend), .io .g-flow[data-seq].is-in > li::after { animation-play-state: running; }
.card:has(> .g-flow) { container: gcard / inline-size; }
@container gcard (max-width: 520px) { .g-flow { grid-template-columns: 1fr; gap: 14px; } .g-flow > li { padding: 0 0 0 26px; } .g-flow > li::before { top: 3px; } .g-flow > li::after { top: 21px; bottom: -12px; left: 6px; right: auto; width: 2px; height: auto; } .io .g-flow[data-seq] > li::after { transform-origin: top; animation-name: draw-y; } }

.post-card h2 { font-size: 1.3125rem; margin-bottom: .4em; }

/* A row of icon cards shares its row lines, so titles of one or two lines still leave every text starting level */
@supports (grid-template-rows: subgrid) {
  .grid:has(> .ic3):not(:has(> :not(.ic3))) { row-gap: 0; margin-bottom: calc(-1 * clamp(16px, 2vw, 24px)); }
  .grid:has(> .ic3):not(:has(> :not(.ic3))) > .ic3 { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; margin-bottom: clamp(16px, 2vw, 24px); }
  .ic3 > h3 { align-self: end; }
}

/* ---------- A case's path: workers' comp workflow ---------- */
.wf { list-style: none; margin: 0; padding: 0; position: relative; }
.wf-step { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; padding: 22px 0 22px 44px; align-items: start; }
.wf-step + .wf-step::after { content: ""; position: absolute; left: 44px; right: 0; top: 0; height: 1px; background: var(--line); }
.wf-step::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--blue-100); }
.wf-step:first-child::before { top: 30px; }
.wf-step:last-child::before { bottom: auto; height: 30px; }
.wf-node { position: absolute; left: 3px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-sizing: border-box; }
.wf-step:last-child .wf-node { background: var(--good); border-color: var(--good); }
.wf-step h3 { font-size: 1.0625rem; margin: 1px 0 0; }
.wf-what { margin: 0; color: var(--muted); font-size: .9688rem; }
.wf-help { margin: 0; font-size: .9688rem; color: var(--ink); padding: 12px 14px; border-radius: 10px; background: var(--blue-50); }
.wf-label { display: block; font-size: .75rem; font-weight: 650; color: var(--blue-800); margin-bottom: 3px; }
.wf-head { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 0 0 12px 44px; border-bottom: 1px solid var(--line-2); font-size: .8125rem; font-weight: 650; color: var(--muted); }
@media (min-width: 861px) { .wf-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .wf-help { padding: 10px 14px; margin-top: -8px; } }
@media (max-width: 860px) { .wf-head { display: none; } }
@media (max-width: 860px) {
  .wf-step { grid-template-columns: 1fr; gap: 6px; padding: 20px 0 20px 36px; }
  .wf-step + .wf-step::after { left: 36px; }
  .wf-help { margin-top: 6px; }
}
.io .wf[data-seq] .wf-node { animation: pop 460ms var(--ease-pop) both paused; animation-delay: calc(120ms + var(--i) * 110ms); }
.io .wf[data-seq] .wf-step::before { transform-origin: top; animation: draw-y 360ms var(--ease-io) both paused; animation-delay: calc(var(--i) * 110ms); }
.io .wf[data-seq] .wf-step > :not(.wf-node) { animation: rise 520ms var(--ease-out) both paused; animation-delay: calc(160ms + var(--i) * 110ms); }
.io .wf[data-seq].is-in :is(.wf-node, .wf-step > *), .io .wf[data-seq].is-in .wf-step::before { animation-play-state: running; }

/* ---------- Role glyphs ---------- */
.role-card .glyph { width: 44px; height: 44px; margin-bottom: 14px; transition: transform var(--t-ui) var(--ease-out); }
.role-card:hover .glyph { transform: translate3d(0, -3px, 0); }

/* ---------- Responses to the visitor ---------- */
.btn { transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), box-shadow var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.btn:hover { box-shadow: 0 8px 20px -8px rgba(0, 82, 176, .5); }
.btn-outline:hover, .btn-white:hover, .btn-ghost-white:hover { box-shadow: none; }
.btn:active { transform: translate3d(0, 1px, 0) scale(.985); box-shadow: none; }
.card-link { transition: border-color var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.card-link:hover { transform: translate3d(0, -2px, 0); box-shadow: 0 2px 4px rgba(10, 37, 64, .04), 0 20px 40px -20px rgba(10, 37, 64, .30); }
.card-link :is(h3, .more) { transition: color var(--t-fast) var(--ease-out); }
.card-link .more { display: inline-flex; align-items: center; gap: .35em; }
.card-link .more::after { content: ""; flex: none; width: .58em; height: .58em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.2 1.8L8.4 6l-4.2 4.2' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.2 1.8L8.4 6l-4.2 4.2' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 300ms var(--ease-out); }
.card-link:hover .more::after { transform: translate3d(3px, 0, 0); }
::selection { background: var(--blue-100); color: var(--navy); }
h1, h2, h3, .sl-title { text-wrap: balance; }
p, li { text-wrap: pretty; }
@media print { [data-seq] *, [data-seq] *::before, [data-seq] *::after, .br svg, .hero-emblem * { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .menu-toggle, .skip { display: none !important; } body { font-size: 11pt; } a { color: inherit; } }
