/* Teleforce CX: mobile-first, no framework. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  --navy: #0B1F3A; --navy-deep: #06122A; --navy-2: #11305a; --teal: #19C2C2; --teal-dark: #0E8F8F;
  --green: #4CB749; --green-dark: #2F8A2D; --amber: #F4B63F;
  --ink: #142238; --muted: #52627a; --line: #dfe5ee; --off: #F5F7FA; --white: #fff;
  --radius: 14px; --shadow: 0 10px 30px rgba(6, 18, 42, .10);
  --header-h: 68px; --mobile-bar-h: 62px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: var(--white); padding-bottom: var(--mobile-bar-h); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, .h2, .h3, .h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; }
h2, .h2 { font-size: clamp(1.55rem, 3.6vw, 2.25rem); font-weight: 800; }
h3, .h3 { font-size: 1.25rem; font-weight: 800; }
h4, .h4 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center-text { text-align: center; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.sr-only { 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-link { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.25em;
  border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 800; font-size: .98rem;
  text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-teal { background: var(--teal); color: var(--navy-deep); }
.btn-teal:hover { background: #3fd3d3; color: var(--navy-deep); }
.btn-green { background: var(--green); color: var(--navy-deep); }
.btn-green:hover { background: #63c860; color: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.btn-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--teal-dark); }
.text-link:hover { gap: .6em; }

/* Badges */
.badge { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .3em .7em; border-radius: 999px; vertical-align: middle; }
.badge-teal { background: rgba(25,194,194,.15); color: var(--teal-dark); }
.badge-illustrative { background: var(--amber); color: var(--navy-deep); }
.eyebrow { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .7em; }
.eyebrow-light { color: var(--teal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo { display: inline-flex; margin-right: auto; }
.logo img { width: 128px; height: auto; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn span { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav.open { display: block; }
.no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.site-nav a { display: block; padding: 12px 4px; font-family: var(--font-head); font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--teal-dark); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(25,194,194,.22), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 48px 0 56px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead, .page-hero .lead { font-size: 1.15rem; color: #d3deee; max-width: 640px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 6px; color: #e4ecf7; }
.hero-points .icon { color: var(--green); margin-right: 6px; }
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 40px 0 44px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); max-width: 900px; }
.light-muted { color: #c2cfe2; }
.lead-dark { font-size: 1.15rem; color: var(--muted); }

/* Phone visual */
.phone-wrap { margin: 0 auto; max-width: 320px; text-align: center; }
.hero-video { margin: 0 auto; max-width: 440px; text-align: center; }
.hero-video-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: #0f1d33; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video-sound { display: none; position: absolute; top: 12px; right: 12px; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: rgba(8,18,34,.72); color: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.js .hero-video-sound { display: inline-flex; }
.hero-video-sound:hover, .hero-video-sound:focus-visible { background: rgba(8,18,34,.92); }
.hero-video-sound:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.hero-video-sound .icon { width: 16px; height: 16px; }
.hero-video figcaption { font-size: .78rem; color: #9fb2cc; margin-top: 10px; }
.phone-wrap figcaption { font-size: .78rem; color: #9fb2cc; margin-top: 10px; }
.phone { position: relative; background: #0f1d33; border: 10px solid #1d2f4d; border-radius: 40px; padding: 16px 12px 22px; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.phone-notch { width: 90px; height: 18px; background: #1d2f4d; border-radius: 0 0 14px 14px; margin: -16px auto 10px; }
.phone-screen { background: var(--off); border-radius: 24px; padding: 12px; color: var(--ink); text-align: left; }
.phone-bar { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.phone-dots { width: 36px; height: 8px; border-radius: 4px; background: #c9d3e1; }
.post-card { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 4px 12px rgba(6,18,42,.08); }
.post-head { display: flex; gap: 10px; align-items: center; font-size: .82rem; line-height: 1.3; margin-bottom: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; }
.muted-s { color: var(--muted); font-size: .72rem; }
.post-line { height: 8px; border-radius: 4px; background: #e3e8f0; margin: 0 0 7px; }
.w90 { width: 90%; } .w85 { width: 85%; } .w75 { width: 75%; } .w40 { width: 40%; }
.post-tag { display: inline-block; margin-top: 6px; font-size: .7rem; font-weight: 800; color: var(--teal-dark); background: rgba(25,194,194,.14); padding: 3px 8px; border-radius: 999px; }
.timer-card { display: flex; gap: 10px; align-items: center; margin-top: 10px; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px; }
.timer-card .icon { width: 30px; height: 30px; color: var(--teal); }
.timer-label, .timer-sub { display: block; font-size: .7rem; color: #b8c7dc; }
.timer { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--green); letter-spacing: .04em; line-height: 1.1; }
.flow-chips { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 10px; font-size: .72rem; font-weight: 800; color: var(--navy); }
.flow-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; }
.flow-chips .icon { width: 14px; height: 14px; color: var(--teal-dark); }

/* Sections */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-alt { background: var(--off); }
.section-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.split { display: grid; gap: 36px; align-items: center; }
.split-top { align-items: start; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--teal); margin-bottom: 10px; }
.step-icon .icon { width: 24px; height: 24px; }
.step-no { display: block; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); }

/* Cards */
.card-grid { display: grid; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.card h2 a, .card h3 a { color: var(--navy); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--teal-dark); }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; }
.card-core { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.card .badge { align-self: flex-start; }

/* Practice area grid */
.area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.area-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 800; }
.area-grid a:hover { border-color: var(--teal); color: var(--teal-dark); }
.area-grid .icon { color: var(--teal-dark); }

/* Funnel + cost table */
.funnel-figure { margin: 0; text-align: center; }
.funnel-figure figcaption, .phone-wrap figcaption { font-size: .82rem; color: var(--muted); }
.funnel { width: 100%; max-width: 440px; }
.cost-card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--amber); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cost-card h3 { margin-top: .6em; }
.cost-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.cost-table th, .cost-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.cost-table thead th { font-family: var(--font-head); font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cost-table td { font-variant-numeric: tabular-nums; font-weight: 700; }
.cost-table .total th, .cost-table .total td { background: var(--off); color: var(--navy); font-weight: 900; }

/* Videos */
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(25,194,194,.92); color: var(--navy-deep); display: grid; place-items: center; }
.video-thumb .duration { position: absolute; right: 8px; bottom: 8px; background: rgba(6,18,42,.85); color: #fff; font-size: .78rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.video-body { padding: 16px 18px 18px; }
.video-body h3 { font-size: 1.08rem; margin: .5em 0 .3em; }
.video-body h3 a { color: var(--navy); text-decoration: none; }
.video-layout { display: grid; gap: 28px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chapters ol { list-style: none; margin: 0; padding: 0; }
.chapters li a { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ch-time { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--teal-dark); min-width: 3em; }
.transcript h3 { font-size: 1.05rem; margin-top: 1.6em; }
.note { background: #fff8e6; border-left: 4px solid var(--amber); padding: 12px 14px; border-radius: 8px; font-size: .95rem; }

/* Prose + aside layout */
.layout-aside { display: grid; gap: 32px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose .toc + h2 { margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; }
.check-list .icon { color: var(--green-dark); margin-top: .25em; }
.disclaimer { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; }
.toc { background: var(--off); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; }
.toc-title { font-family: var(--font-head); font-weight: 800; margin: 0 0 .4em; color: var(--navy); }
.toc ol { margin: 0; padding-left: 1.2em; }
.aside { display: grid; gap: 18px; align-content: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.aside-card .btn-row { flex-direction: column; }
.aside-card .btn { width: 100%; }
.aside-dark { background: var(--navy); border-color: var(--navy); color: #d3deee; }
.aside-dark h2 { color: #fff; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.icon-list li { display: flex; gap: 10px; align-items: center; }
.icon-list .icon { color: var(--teal-dark); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 700; color: var(--teal-dark); }
.faq-item[open] summary::after { content: "–"; }
.faq-q { font-size: 1.04rem; margin: 0; display: inline; }
.faq-a { padding: 0 18px 6px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #d3deee; padding: 52px 0; }
.cta-band h2 { color: #fff; }
.cta-inner { display: grid; gap: 12px; }
.cta-copy { max-width: 620px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #b9c4d4; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--teal-dark); outline: 3px solid rgba(25,194,194,.3); }
[aria-invalid="true"] { border-color: #c0392b !important; }
.field-error { color: #b42318; font-size: .92rem; font-weight: 600; margin: 6px 0 0; }
.error-summary { border: 2px solid #b42318; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; background: #fff5f4; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .93rem; }
.check input { margin-top: .3em; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { margin-top: 24px; }

/* Breadcrumbs */
.breadcrumbs { font-size: .85rem; padding-top: 12px; padding-bottom: 12px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c7da; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #e2eaf5; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-grid { display: grid; gap: 28px; }
.footer-logo img { width: 160px; }
.footer-h { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .8em; }
.site-footer ul { list-style: none; margin: 0 0 1.4em; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer-story strong { color: var(--teal); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 16px; padding-top: 18px; font-size: .82rem; color: #8ea0b9; }

/* Sticky mobile CTA */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--mobile-bar-h); display: grid; grid-template-columns: 1fr 1.6fr 1fr;
  background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.12); }
.mb-btn { display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: .85rem; }
.mb-wa { background: var(--teal); color: var(--navy-deep); }
.mb-btn:hover { color: var(--teal); }
.mb-wa:hover { color: var(--navy-deep); background: #3fd3d3; }

/* Consent */
.consent-banner { position: fixed; left: 12px; right: 12px; bottom: calc(var(--mobile-bar-h) + 8px); z-index: 70; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; max-height: 40vh; overflow: auto; font-size: .92rem; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.privacy-dialog { border: 0; border-radius: 14px; padding: 22px; max-width: 460px; box-shadow: var(--shadow); }
.privacy-dialog::backdrop { background: rgba(6,18,42,.5); }

/* Admin */
.admin { background: var(--off); padding-bottom: 0; }
.admin-header { background: var(--navy); color: #fff; }
.admin-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.admin-header a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.admin-header nav { display: flex; gap: 14px; }
.admin-header nav a[aria-current="page"] { color: var(--teal); }
.admin-header .inline { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.admin-header .btn-outline { color: #fff; border-color: #fff; }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.admin-filters input[type=search] { max-width: 320px; }
.status-tabs { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.status-tabs a { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: .88rem; }
.status-tabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.admin-grid { display: grid; gap: 16px; }
.facts-list { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0; }
.facts-list dt { font-weight: 700; color: var(--muted); }
.facts-list dd { margin: 0; }
.pre { white-space: pre-wrap; }
.break { word-break: break-all; }
.auth-card { max-width: 420px; margin: 40px auto; }
.notice { background: #e8f8f8; border: 1px solid var(--teal); padding: 10px 14px; border-radius: 10px; }
.status { font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--off); }

/* Larger screens */
@media (min-width: 640px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn span { display: inline; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .consent-banner { bottom: 16px; left: auto; right: 16px; max-width: 460px; }
  .nav-toggle { display: none; }
  .logo img { width: 146px; }
  .site-nav, .no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; background: transparent; }
  .site-nav ul { display: flex; gap: 2px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 10px; font-size: .92rem; border-radius: 8px; }
  .site-nav a:hover { background: var(--off); }
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; }
  .page-hero { padding: 56px 0 60px; }
  .section { padding: 80px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .aside { position: sticky; top: calc(var(--header-h) + 20px); }
  .video-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .cta-inner { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .admin-grid { grid-template-columns: 1.2fr 1fr; }
}
@media (min-width: 1100px) {
  .area-grid { grid-template-columns: repeat(5, 1fr); }
  .site-nav a { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Grid children never force the page wider than the viewport on phones */
.hero-grid, .split, .layout-aside, .video-layout, .card-grid, .cta-inner, .footer-grid, .admin-grid { grid-template-columns: minmax(0, 1fr); }
.prose, .faq-a, .toc { overflow-wrap: break-word; }
@media (min-width: 640px) {
  .card-grid-2, .card-grid-3, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; }
  .video-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .cta-inner { grid-template-columns: 1.3fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .admin-grid { grid-template-columns: 1.2fr 1fr; }
}

/* Contact form: preferred reply method */
.choice-group { border: 0; padding: 0; margin: 0 0 1.1rem; }
.choice-group legend { font-weight: 600; margin-bottom: .5rem; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choice-card { display: flex; align-items: center; gap: .6rem; border: 2px solid #d7dde8; border-radius: 12px; padding: .8rem 1rem; cursor: pointer; font-weight: 600; background: #fff; }
.choice-card span { display: inline-flex; align-items: center; gap: .5rem; }
.choice-card svg { width: 20px; height: 20px; }
.choice-card:has(input:checked) { border-color: #4CB749; background: #f1faf0; }
.choice-card input { accent-color: #4CB749; }

/* Sample commercial (home) */
.delivery-video { margin: 0; }
.delivery-video video, .vsl-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px;
  background: #0b1f3a; box-shadow: 0 18px 40px rgba(11, 31, 58, 0.18); }

/* Sales video (home): 16:9 at any width, the STORY buttons directly below it */
.vsl-video { margin: 0 auto; max-width: 960px; }
.vsl .btn-row { margin: 24px 0 10px; }
.vsl-note { margin: 0; }

/* Presenter Short (home): a navy band with the 9:16 video beside the copy */
.short-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #d3deee; }
.short-band h2 { color: #fff; }
.short-band .btn-row { margin: 22px 0 12px; }
.short-note { margin: 0; color: rgba(211, 222, 238, 0.72); }
.short-video { margin: 0 auto; width: 100%; max-width: 300px; }
.short-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px;
  background: #0b1f3a; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }

/* Nationwide metro list (home) */
.metro-list { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px; }
.metro-list li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(11, 31, 58, 0.12);
  font-weight: 600; font-size: 0.95rem; color: #0b1f3a; }

/* Pricing page (/pricing). The plans come first: the cards rise into the navy heading band, so visitors see
   them without scrolling. flow-root stops the grid's negative margin collapsing through the section. */
.pricing-hero { padding: 36px 0 92px; }
.pricing-hero h1 { margin-bottom: .35em; }
.pricing-hero .lead { margin: 0; max-width: 760px; }
.plans-section { display: flow-root; padding-top: 0; scroll-margin-top: 92px; }
.plans-section .plan-grid { margin-top: -64px; }
.plan-help { text-align: center; margin: 10px 0 0; color: var(--muted); }
.plan-help a { font-weight: 800; }
.explainer-section { padding-top: 0; }
.explainer-video { max-width: 1040px; margin: 0 auto; }
.explainer-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: #0b1f3a;
  box-shadow: var(--shadow); }
.explainer-note { margin-top: 14px; }
.card-grid-4 { grid-template-columns: minmax(0, 1fr); }
.feature-card h3 { font-size: 1.1rem; margin: .3em 0 .2em; }
.feature-card p { margin: 0; }
.pillar-note { margin-top: 20px; }
.channel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.channel-list a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--navy); text-decoration: none; font-family: var(--font-head); font-weight: 800; }
.channel-list a:hover { border-color: var(--teal); color: var(--teal-dark); }
.channel-list .icon { width: 28px; height: 28px; color: var(--teal-dark); }
.channel-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .82rem; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 22px 22px; box-shadow: var(--shadow); }
.plan-recommended { border: 2px solid var(--teal); }
.plan-badge { position: absolute; top: -13px; left: 22px; margin: 0; background: var(--teal); color: var(--navy-deep); font-family: var(--font-head);
  font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan-name { font-size: 1.35rem; margin: 0 0 .25em; }
.plan-price { margin: 0 0 .5em; color: var(--navy); line-height: 1.1; }
.plan-amount { font-family: var(--font-head); font-weight: 900; font-size: 2.5rem; letter-spacing: -.02em; }
.plan-per { color: var(--muted); font-weight: 600; font-size: .95rem; }
.plan-tagline { color: var(--muted); }
.plan-facts { margin: 0 0 18px; border-top: 1px solid var(--line); }
.plan-facts div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.plan-facts dt { color: var(--muted); font-weight: 600; }
.plan-facts dd { margin: 0; color: var(--navy); font-weight: 700; }
.plan-includes-h { font-family: var(--font-head); font-weight: 800; color: var(--navy); margin: 0 0 .6em; font-size: .95rem; }
.plan-list { font-size: .95rem; gap: 8px; margin-bottom: 22px; }
.plan-cta { margin-top: auto; }
.plan-note { text-align: center; margin: 26px 0 0; color: var(--muted); font-weight: 600; }
@media (min-width: 640px) {
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-hero { padding: 44px 0 108px; }
  .pricing-hero h1 { font-size: clamp(2.2rem, 4.2vw, 2.75rem); max-width: none; }
  .plans-section .plan-grid { margin-top: -76px; }
}
@media (min-width: 1100px) {
  .card-grid-4, .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* About: CEO photo */
.ceo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 1em; }
.ceo-photo { margin: 0; max-width: 300px; }
.ceo-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--off); }
.ceo-bio p:last-child { margin-bottom: 0; }
@media (min-width: 640px) {
  .ceo { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; }
}

/* "Talk to an agent" chat: launcher bottom right, above the phone contact bar; hidden while the cookie banner shows */
.chat-wrap { position: fixed; right: 14px; bottom: calc(var(--mobile-bar-h) + 14px); z-index: 65; }
.no-js .chat-wrap, body.chat-open .chat-wrap, body:has(#consent-banner:not([hidden])) .chat-wrap { display: none; }
.chat-launcher { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 54px; height: 54px; padding: 0;
  border: 2px solid rgba(255,255,255,.18); border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: .95rem; box-shadow: 0 10px 26px rgba(6,18,42,.3); cursor: pointer; }
.chat-launcher .icon { width: 24px; height: 24px; color: var(--teal); }
.chat-launcher:hover { background: var(--navy-2); }
.chat-launcher[aria-busy="true"] { opacity: .75; cursor: progress; }
.chat-launcher-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body:has(.chat-wrap) .footer-bottom { padding-bottom: 84px; }  /* the launcher never covers the last line */
.chat-panel { position: fixed; z-index: 80; inset: 0; display: flex; flex-direction: column; background: #fff; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px 14px 16px; background: var(--navy); color: #d3deee; }
.chat-titles { min-width: 0; }
.chat-title { color: #fff; font-size: 1.05rem; margin: 0 0 3px; }
.chat-note { margin: 0; font-size: .84rem; line-height: 1.4; color: #c9d6e8; }
.chat-close { margin-left: auto; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,.2); }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--off); }
.chat-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg-agent { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.chat-msg-visitor { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-consent { background: #fff8e6; border-color: #f0d28a; }
.chat-msg-error { background: #fff5f4; border-color: #f2b8b5; }
.chat-msg a { color: var(--teal-dark); font-weight: 700; }
.chat-typing { display: flex; gap: 5px; padding: 14px 16px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa9be; animation: chat-dot 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 0; background: #fff; border-top: 1px solid var(--line); }
.chat-chips:empty { display: none; }
.chat-chip { min-height: 40px; padding: 7px 13px; border: 1.5px solid var(--teal-dark); border-radius: 999px; background: #fff; color: var(--teal-dark);
  font: inherit; font-size: .88rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.chat-chip:hover { background: var(--teal-dark); color: #fff; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: #fff; }
.chat-chips:empty + .chat-form { border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; min-height: 46px; max-height: 120px; resize: none; overflow-y: hidden; padding: 11px 12px; border-radius: 12px;
  font-size: 1rem; line-height: 1.4; }
.chat-send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--teal);
  color: var(--navy-deep); cursor: pointer; }
.chat-send:hover { background: #3fd3d3; }
.chat-foot { margin: 0; padding: 0 14px 10px; background: #fff; font-size: .76rem; color: var(--muted); }
.chat-foot a { color: var(--muted); }
@media (max-width: 639px) { body.chat-open { overflow: hidden; } }
@media (min-width: 640px) {
  .chat-launcher { width: auto; padding: 0 18px 0 14px; }
  .chat-launcher-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .chat-panel { inset: auto; right: 16px; bottom: 16px; width: 390px; height: min(640px, calc(100vh - 32px)); border: 1px solid var(--line);
    border-radius: 18px; box-shadow: 0 24px 60px rgba(6,18,42,.32); }
}
@media (min-width: 900px) {
  .chat-wrap { right: 20px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .chat-typing span { animation: none; } }

/* Header: the eight nav links (Pricing added) stay on one line from 900px. Between 900 and 1059px the
   "Message STORY" button shows its icon only; the label stays available to screen readers. */
@media (min-width: 900px) { .site-nav a { white-space: nowrap; } }
@media (min-width: 900px) and (max-width: 1179px) { .site-nav a { padding: 8px 7px; font-size: .88rem; } }
@media (min-width: 900px) and (max-width: 1059px) {
  .site-nav a { padding: 8px 5px; font-size: .85rem; }
  .header-cta .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta .btn-sm { width: 44px; min-height: 44px; padding: 0; }
}

/* SEO collection pages (/marketing, /guides) and page-standard blocks on service and practice-area pages
   (templates/collections/_blocks.html). Built from the site's own tokens and components. */
.byline { font-size: .9rem; color: var(--muted); margin: 0 0 1.2em; }
.key-facts { background: var(--off); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px;
  padding: 18px 20px; margin: 0 0 28px; }
.key-facts h2 { margin: 0 0 .6em; }
.key-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.key-facts li { display: flex; gap: 10px; }
.key-facts .icon { color: var(--teal-dark); margin-top: .25em; }
.src-ref { font-size: .8em; text-decoration: none; white-space: nowrap; }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.6em; display: grid; gap: 14px; }
.step-list li { counter-increment: step; position: relative; padding: 16px 18px 16px 66px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; }
.step-list li::before { content: counter(step); position: absolute; left: 16px; top: 15px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--teal); font-family: var(--font-head); font-weight: 900; display: grid; place-items: center; }
.step-list h3 { font-size: 1.05rem; margin: 0 0 .25em; }
.step-list p { margin: 0; }
.data-table { margin: 0 0 1.4em; }
.data-table .badge { margin-bottom: 8px; }
.data-table caption { caption-side: top; text-align: left; font-family: var(--font-head); font-weight: 800; color: var(--navy); padding: 12px 12px 4px; }
.data-table .cost-table { margin: 0; }
.data-table .cost-table th, .data-table .cost-table td { padding: 10px 12px; vertical-align: top; }
.data-table .cost-table td { font-weight: 600; }
.data-table figcaption { margin-top: 8px; }
.example-card { margin: 0 0 1.6em; }
.video-figure { margin: 0 0 1.6em; }
.video-figure figcaption { margin-top: 8px; }
.source-list { font-size: .92rem; color: var(--muted); padding-left: 1.3em; margin: 0; display: grid; gap: 6px; }
.aside-dark .text-link { color: var(--teal); }
.aside-chat { margin: 0; }
/* Phones: page-standard tables stack into labelled rows instead of scrolling sideways. */
@media (max-width: 639px) {
  .data-table .table-wrap { overflow-x: visible; }
  .data-table .cost-table thead { display: none; }
  .data-table .cost-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .data-table .cost-table tbody tr:last-child { border-bottom: 0; }
  .data-table .cost-table th, .data-table .cost-table td { display: block; border: 0; padding: 3px 12px; }
  .data-table .cost-table th[scope="row"] { color: var(--navy); font-family: var(--font-head); font-weight: 800; }
  .data-table .cost-table td[data-label]:not([data-label=""])::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}
