/* Public website. Builds on theme.css tokens; brand colors arrive at runtime from firm.js via brand.js. */
:root {
  --deep: color-mix(in srgb, var(--brand-ink) 78%, #000);
  --deep-2: color-mix(in srgb, var(--brand-ink) 90%, #000);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --hdr: 68px;
}
html { scroll-padding-top: calc(var(--hdr) + 12px); overflow-x: hidden; }
body.site { background: var(--surface); overflow-x: hidden; font-size: 16px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
section { position: relative; }
.sec { padding: var(--sec) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.sec-head p { margin-top: 14px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.kicker i { width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--flame), var(--accent)); }
.why { margin-top: 18px; max-width: 760px; }
.why-row { margin-top: clamp(28px, 3vw, 40px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------------- demo bar ---------------- */
.demo-bar { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; padding: 8px var(--gut); background: #0B1020; position: relative; z-index: 60; }
.demo-bar .db-txt { color: #AEB8CC; }
.demo-bar .db-links { display: inline-flex; gap: 14px; align-items: center; }
.demo-bar a { font-weight: 700; text-decoration: none; color: #fff; }
.demo-bar a:hover { text-decoration: underline; }
.why-sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #fff; font-weight: 700; user-select: none; }
.why-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.why-sw .sw { width: 34px; height: 20px; border-radius: 20px; background: #3A4256; position: relative; transition: background .2s; flex: none; }
.why-sw .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.why-sw input:checked + .sw { background: var(--why); }
.why-sw input:checked + .sw::after { transform: translateX(14px); }
.why-sw input:focus-visible + .sw { outline: 3px solid #A78BFA; outline-offset: 2px; }

/* ---------------- header ---------------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.brand-link { display: flex; align-items: center; flex: none; }
.brand-link img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 650; color: var(--ink-2); text-decoration: none; position: relative; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.on { color: var(--brand); }
.nav a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--flame), var(--accent)); }
.hdr-cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; place-items: center; margin-left: auto; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }
@media (max-width: 1140px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: grid; }
  .mnav { display: block; position: fixed; left: 0; right: 0; top: var(--mnav-top, var(--hdr)); z-index: 49; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-3); padding: 10px var(--gut) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
  .mnav.open { opacity: 1; transform: none; pointer-events: auto; }
  .mnav a:not(.btn) { display: block; padding: 14px 4px; font-size: 17px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
  .mnav .btn { width: 100%; margin-top: 16px; }
}
@media (max-width: 420px) { .brand-link img { height: 38px; } }

/* ---------------- hero ---------------- */
.hero { background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(48px, 6.5vw, 88px) 0 clamp(72px, 8vw, 112px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--brand) 85%, transparent), transparent 60%),
  linear-gradient(180deg, var(--deep-2), var(--deep)); }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero-bg .b-flame { width: 620px; height: 620px; left: -180px; bottom: -320px; background: radial-gradient(circle, var(--flame), color-mix(in srgb, var(--accent) 70%, transparent) 45%, transparent 70%); animation: drift1 16s ease-in-out infinite alternate; }
.hero-bg .b-ice { width: 680px; height: 680px; right: -200px; top: -260px; background: radial-gradient(circle, var(--ice), color-mix(in srgb, var(--ice) 30%, transparent) 50%, transparent 70%); animation: drift2 19s ease-in-out infinite alternate; opacity: .45; }
.hero-bg .b-mid { width: 420px; height: 420px; left: 38%; top: 30%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 90%, #fff 10%), transparent 70%); animation: drift3 22s ease-in-out infinite alternate; opacity: .5; }
.hero-bg .grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.2px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hero-bg .ribbon { position: absolute; left: -5%; right: -5%; bottom: -6px; width: 110%; height: 140px; opacity: .55; }
.hero-bg .ribbon path { animation: ribbon 9s ease-in-out infinite alternate; transform-origin: center; }
.hero-bg .ribbon path:nth-child(2) { animation-duration: 12s; animation-delay: -3s; }
@keyframes drift1 { to { transform: translate(140px, -90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-160px, 110px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-120px, -60px) scale(1.25); } }
@keyframes ribbon { to { transform: translateX(-4%) scaleY(1.25); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 600; color: #DCE6F8; margin-bottom: 24px; max-width: 100%; }
.hero-tag .fi { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--flame), var(--accent)); flex: none; }
.hero-tag .fi svg { width: 14px; height: 14px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; animation: lineUp .9s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; background: linear-gradient(92deg, #fff 0%, #CFE9F8 35%, var(--ice) 60%, #FFD3A1 85%, var(--flame) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: lineUp .9s .24s var(--ease) both, shimmer 7s 1.2s ease-in-out infinite alternate; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes shimmer { to { background-position: 100% 0; } }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.7vw, 20px); color: #C7D3EA; max-width: 54ch; line-height: 1.55; animation: fadeUp .8s .35s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.ask { margin-top: 32px; animation: fadeUp .8s .5s var(--ease) both; }
.ask-box { position: relative; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 18px; padding: 7px 7px 7px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .25); }
.ask-box::before { content: ''; position: absolute; inset: -2px; border-radius: 20px; padding: 2px; background: conic-gradient(from var(--ang, 0deg), var(--flame), var(--accent), var(--ice), var(--brand), var(--flame)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; animation: spin 6s linear infinite; opacity: .9; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.ask-box svg.mag { width: 22px; height: 22px; color: var(--brand); flex: none; }
.ask-box input { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; background: transparent; font-size: 17px; font-weight: 550; color: var(--ink); }
.ask-box input::placeholder { color: #7C8AA5; }
.ask-box .btn .lbl-short { display: none; }
.ask-box .btn { height: 52px; padding: 0 22px; border-radius: 13px; font-size: 15.5px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ask-chips .lbl { font-size: 13px; color: #9FB0CF; font-weight: 600; align-self: center; margin-right: 2px; }
.gchip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #E6EEFB; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.gchip:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .35); transform: translateY(-1px); }
.gchip.pa { border-color: color-mix(in srgb, var(--flame) 60%, transparent); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 26px; animation: fadeUp .8s .65s var(--ease) both; }
.stat { padding-right: 16px; }
.stat + .stat { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; white-space: nowrap; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.stat b small { font-size: .5em; font-weight: 800; letter-spacing: -.01em; color: #A9C9EA; margin-left: 4px; vertical-align: .55em; }
.stat > span { display: block; margin-top: 8px; font-size: 13.5px; color: #A9B8D6; font-weight: 550; line-height: 1.35; }

/* Hero live preview */
.preview { position: relative; animation: fadeUp 1s .45s var(--ease) both; }
.pv-card { position: relative; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 24px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .4); overflow: hidden; }
.pv-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.pv-top .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-ink)); display: grid; place-items: center; }
.pv-top .mark svg { width: 16px; height: 16px; }
.pv-top b { font-size: 14.5px; }
.pv-top .live { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
.pv-top small { display: none; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; margin-left: auto; }
.pv-top small i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } }
.pv-body { height: 430px; padding: 18px 18px 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; background: linear-gradient(180deg, #F7F9FC, #fff); mask-image: linear-gradient(180deg, transparent 0, #000 70px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 70px); }
.pv-q { align-self: flex-end; max-width: 85%; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 14px; font-weight: 600; animation: pop .35s var(--ease) both; }
.pv-q .caret { display: inline-block; width: 2px; height: 1em; background: #fff; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pv-a { align-self: flex-start; width: 92%; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--tone, var(--brand)); border-radius: 4px 16px 16px 16px; padding: 12px 14px; box-shadow: var(--sh-2); animation: pop .45s var(--ease) both; font-size: 13.5px; }
.pv-a b { display: block; font-size: 14px; margin-bottom: 4px; }
.pv-a .pv-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-2); }
.pv-a .pv-row .avatar { width: 26px; height: 26px; font-size: 10.5px; }
.pv-a .pv-row a, .pv-a .pv-row .tel { margin-left: auto; font-weight: 700; color: var(--brand); white-space: nowrap; }
.pv-a .pv-kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin-top: 6px; font-size: 13px; }
.pv-a .pv-kv dt { color: var(--muted); }
.pv-a .pv-kv dd { margin: 0; font-weight: 650; }
.pv-a .pv-sent { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--ok); }
.pv-typing { align-self: flex-start; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.pv-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); font-size: 13px; font-weight: 650; animation: floaty 6s ease-in-out infinite; }
.pv-float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.pv-float .ic svg { width: 16px; height: 16px; }
.pv-float small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.pv-f1 { right: -18px; top: -30px; }
.pv-f1 .ic { background: linear-gradient(135deg, var(--flame), var(--accent)); }
.pv-f2 { left: -30px; bottom: -28px; animation-delay: -3s; }
.pv-f2 .ic { background: linear-gradient(135deg, var(--ice), var(--brand)); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* typing indicator */
.typing { display: inline-flex; gap: 5px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; box-shadow: var(--sh-1); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: .35; animation: dots 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: .35; transform: none; } }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .preview { max-width: 560px; }
  .preview { margin-top: 12px; }
  .pv-f1 { right: 12px; top: -26px; }
  .pv-f2 { left: 12px; bottom: -24px; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .ask-box { padding-left: 14px; border-radius: 16px; }
  .ask-box input { font-size: 16px; height: 48px; }
  .ask-box .btn { height: 46px; padding: 0 16px; }
  .ask-box .btn .lbl-long { display: none; }
  .ask-box .btn .lbl-short { display: inline; }
  .pv-body { height: 380px; padding: 14px; }
  .pv-float { display: none; }
}

/* ---------------- Rep Desk ---------------- */
.desk { background: var(--surface); }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.thread-card { display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-3); overflow: hidden; }
.thread-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #FAFBFD); }
.thread-top .mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-ink)); display: grid; place-items: center; flex: none; }
.thread-top .mark svg { width: 20px; height: 20px; }
.thread-top b { display: block; font-size: 16px; }
.thread-top small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 550; }
.thread-top .clear { margin-left: auto; }
.thread { min-height: 360px; max-height: 620px; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 16px; background: radial-gradient(800px 300px at 100% 0, var(--brand-50), transparent 70%), #fff; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg-q { align-self: flex-end; max-width: 80%; background: var(--brand); color: #fff; padding: 11px 16px; border-radius: 18px 18px 4px 18px; font-weight: 600; font-size: 15px; animation: pop .3s var(--ease) both; overflow-wrap: anywhere; }
.msg-a { align-self: flex-start; display: flex; gap: 10px; width: 100%; max-width: 640px; animation: pop .45s var(--ease) both; }
.msg-a > .bot { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-ink)); display: grid; place-items: center; flex: none; margin-top: 2px; }
.msg-a > .bot svg { width: 15px; height: 15px; }
.msg-a > .stack { flex: 1; min-width: 0; display: grid; gap: 10px; }
.ask-bar { padding: 14px; border-top: 1px solid var(--line); background: #FAFBFD; }
.ask-bar form { display: flex; gap: 8px; }
.ask-bar .input { height: 48px; border-radius: 14px; font-size: 15.5px; }
.ask-bar .btn { height: 48px; border-radius: 14px; }
.ask-sugg { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; scrollbar-width: none; }
.ask-sugg::-webkit-scrollbar { display: none; }
.ask-sugg .chip { flex: none; background: #fff; }

/* answer cards */
.a-card { --t: var(--brand); --tbg: var(--brand-50); background: #fff; border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; box-shadow: var(--sh-2); overflow: hidden; }
.a-card.tone-ok { --t: #15803D; --tbg: #E7F6EC; }
.a-card.tone-no { --t: var(--accent); --tbg: color-mix(in srgb, var(--accent) 9%, white); }
.a-card.tone-hand { --t: color-mix(in srgb, var(--flame) 80%, #8a3b00); --tbg: color-mix(in srgb, var(--flame) 12%, white); }
.a-card.tone-info, .a-card.tone-team { --t: var(--brand); --tbg: var(--brand-50); }
.a-head { display: flex; gap: 12px; padding: 14px 16px; background: linear-gradient(90deg, var(--tbg), #fff 80%); border-bottom: 1px solid var(--line); }
.a-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--t); color: #fff; flex: none; }
.a-ic svg { width: 17px; height: 17px; }
.a-headline b { display: block; font-size: 15.5px; line-height: 1.35; color: var(--ink); }
.a-headline span { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.a-body { padding: 14px 16px; display: grid; gap: 10px; font-size: 14px; }
.a-body:empty { display: none; }
.a-lead { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.a-sub { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.a-note { font-size: 13.5px; color: var(--ink-2); background: var(--surface-2); border-radius: 10px; padding: 8px 12px; }
.a-note.warn { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.a-hint { font-size: 13px; color: var(--muted); }
.a-route { font-size: 13.5px; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; border: 1px dashed var(--line-2); }
.a-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.a-body + .a-actions { padding-top: 0; }
.a-head + .a-actions { padding-top: 14px; }
.a-src { padding: 10px 16px; border-top: 1px solid var(--line); background: #FAFBFD; }
.src-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--muted); }
.src-chip svg { width: 13px; height: 13px; }
.a-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.a-dl > div { display: contents; }
.a-dl dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.a-dl dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.a-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.a-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 11px; text-align: left; line-height: 1.3; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 650; color: var(--ink-2); cursor: pointer; transition: border-color .15s, background .15s; }
.a-chip:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.a-chip i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.a-cats { display: grid; gap: 10px; }
.a-cat-h, .cat-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.a-cat-h i, .cat-tag i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.cat-tag { margin: 0; }
.a-line { display: grid; gap: 8px; }
.a-line-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.a-reps { display: grid; gap: 8px; }
.rep-mini { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.rep-mini .avatar { width: 34px; height: 34px; font-size: 12px; }
.rep-mini .avatar.alt { background: linear-gradient(135deg, var(--flame), var(--accent)); }
.rep-mini b { display: block; font-size: 14px; }
.rep-mini small { display: block; font-size: 12.5px; color: var(--muted); }
.rep-mini > div { min-width: 0; flex: 1; }
.rep-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; font-size: 13px; font-weight: 700; }
.a-grid { display: grid; grid-template-columns: minmax(110px, auto) repeat(var(--cols), 40px); gap: 6px; align-items: center; font-size: 13px; }
.a-grid .gh { font-weight: 800; text-align: center; color: var(--muted); }
.a-grid .gl { font-weight: 650; }
.a-grid .gc { width: 30px; height: 30px; margin: 0 auto; border-radius: 9px; display: grid; place-items: center; }
.a-grid .gc svg { width: 15px; height: 15px; }
.a-grid .gc.y { background: #E7F6EC; color: #15803D; }
.a-grid .gc.n { background: var(--surface-2); color: var(--faint); }
.a-grid .gc.q { background: var(--warn-bg); color: var(--warn); font-weight: 800; }

.pills { display: flex; flex-wrap: wrap; gap: 4px; }
.pill { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 5px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em; background: transparent; color: #B8C2D3; border: 1px dashed #D5DCE7; }
.pill.on { background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.pill.hit { background: var(--brand); color: #fff; border-color: var(--brand); }

.desk-side { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 20px); }
.side-card { padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.side-card h3 { font-size: 16px; margin-bottom: 12px; }
.can { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.can li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.can li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #15803D; }
.never { background: linear-gradient(160deg, color-mix(in srgb, var(--flame) 10%, white), #fff 70%); border-color: color-mix(in srgb, var(--flame) 35%, white); }
.never .can li svg { color: var(--accent); }
.never p { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.logged { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 0; }
.logged .num { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.logged p { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 1060px) { .desk-grid { grid-template-columns: 1fr; } .desk-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 640px) {
  .thread { min-height: 320px; max-height: 560px; padding: 16px 12px; }
  .msg-a > .bot { display: none; }
  .msg-q { max-width: 90%; }
  .thread-top .clear .lbl-long { display: none; }
  .a-grid { grid-template-columns: minmax(90px, auto) repeat(var(--cols), 34px); }
}

/* ---------------- Line card ---------------- */
.lines { background: var(--bg); }
.lines::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: var(--line); }
.filters { grid-template-columns: minmax(0, 1fr); position: sticky; top: calc(var(--hdr) - 1px); z-index: 20; display: grid; gap: 12px; padding: 16px; margin: 0 calc(var(--gut) * -0.25) 24px; border-radius: 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.f-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.f-row .f-lbl { font-size: 12.5px; font-weight: 750; color: var(--muted); width: 72px; flex: none; }
.f-scroll { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; flex: 1; }
.f-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.f-search { position: relative; flex: 1 1 260px; min-width: 0; }
.f-search svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.f-search .input { padding-left: 40px; height: 44px; border-radius: 12px; }
.f-count { font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.f-count b { color: var(--brand); font-size: 16px; }
.chip .sw-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.chip.on .sw-dot { background: #fff; }
.chip.st { min-width: 44px; justify-content: center; }
.f-reset { margin-left: auto; }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lc { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; animation: pop .4s var(--ease) both; }
.lc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); opacity: .85; }
.lc:hover { box-shadow: var(--sh-3); transform: translateY(-3px); border-color: var(--line-2); }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lc h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.lc .makes { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.lc .lnote { font-size: 13px; color: var(--muted); background: var(--surface-2); padding: 7px 10px; border-radius: 9px; }
.lc .confirm-txt { font-size: 13px; color: var(--warn); font-weight: 600; }
.lc-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; padding-top: 4px; }
.lc-foot .site { font-size: 13.5px; font-weight: 700; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.lc-foot .site .host { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-foot .btn { flex: none; }
.lc-foot .site svg { width: 14px; height: 14px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border: 2px dashed var(--line-2); border-radius: 20px; color: var(--ink-2); }
.empty b { display: block; font-size: 18px; margin-bottom: 6px; }
.lines-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 760px) {
  .filters { position: static; margin: 0 0 20px; padding: 14px; }
  .f-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .f-row .f-lbl { width: auto; }
  .f-scroll { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: thin; }
  .f-scroll .chip { flex: none; }
}

/* ---------------- Find your rep ---------------- */
.reps-sec { background: var(--surface); }
.reps-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.map-card { padding: clamp(18px, 3vw, 32px); border-radius: 28px; background: radial-gradient(500px 300px at 20% 0%, color-mix(in srgb, var(--ice) 22%, transparent), transparent 70%), radial-gradient(500px 300px at 100% 100%, color-mix(in srgb, var(--flame) 18%, transparent), transparent 70%), var(--deep); color: #fff; box-shadow: var(--sh-3); position: relative; overflow: hidden; }
.map-card h3 { color: #fff; font-size: 15px; font-weight: 700; color: #B9C7E2; margin-bottom: 18px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tmap { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(6px, 1vw, 10px); }
.tile { aspect-ratio: 1; border-radius: clamp(10px, 1.4vw, 16px); display: grid; place-content: center; text-align: center; gap: 2px; border: 0; font: inherit; color: #fff; cursor: pointer; position: relative; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 92%, #fff 8%), color-mix(in srgb, var(--brand) 70%, #000 30%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 16px rgba(0, 0, 0, .25); transition: transform .2s var(--ease), box-shadow .2s, background .2s; animation: tileIn .55s var(--ease) both; animation-play-state: paused; }
.in-view .tile { animation-play-state: running; }
@keyframes tileIn { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }
.tile b { font-size: clamp(16px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.tile small { font-size: clamp(9.5px, 1vw, 11.5px); font-weight: 650; color: rgba(255, 255, 255, .72); }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 24px rgba(0, 0, 0, .35); }
.tile[aria-pressed="true"] { background: linear-gradient(150deg, var(--flame), var(--accent)); box-shadow: 0 0 0 3px #fff, 0 16px 34px color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-3px) scale(1.04); z-index: 1; }
.tile[aria-pressed="true"] small { color: rgba(255, 255, 255, .92); }
.tile.ghost { background: transparent; box-shadow: none; border: 1.5px dashed rgba(255, 255, 255, .16); cursor: default; color: rgba(255, 255, 255, .3); }
.tile.ghost:hover { transform: none; }
.tile.hl { box-shadow: 0 0 0 2px var(--ice), 0 8px 20px rgba(0, 0, 0, .3); }
.map-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 12.5px; color: #A9B8D6; font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--brand); }
.map-legend i.sel { background: linear-gradient(150deg, var(--flame), var(--accent)); }
.map-legend i.gh { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .3); }
.map-pick { margin-top: 16px; display: none; }
.map-pick .select { background: #fff; color: var(--ink); }
.st-panel { display: grid; gap: 14px; animation: pop .35s var(--ease) both; }
.st-panel h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.st-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rep-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s; }
.rep-card:hover { border-color: var(--brand-100); box-shadow: var(--sh-2); }
.rep-card .avatar { width: 48px; height: 48px; font-size: 16px; grid-row: span 2; background: linear-gradient(135deg, var(--brand), var(--brand-ink)); }
.rep-card.lead .avatar { background: linear-gradient(135deg, var(--flame), var(--accent)); }
.rep-card b { font-size: 16.5px; }
.rep-card .ttl { font-size: 13.5px; color: var(--muted); }
.rep-card .acts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rep-card .acts .btn { height: 36px; }
.cs-card { padding: 16px; border-radius: 18px; background: var(--surface-2); font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.cs-card b { color: var(--ink); }
@media (max-width: 900px) { .reps-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tile small { display: none; } .map-pick { display: block; } }

/* ---------------- Request form ---------------- */
.req-sec { background: var(--bg); }
.req-sec::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: var(--line); }
.req-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.form-card { padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.form-card.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--flame) 60%, transparent), var(--sh-2); } 40% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--flame) 20%, transparent), var(--sh-2); } 100% { box-shadow: var(--sh-2); } }
.fs { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.fs legend { padding: 0; font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.fs legend .n { width: 24px; height: 24px; border-radius: 8px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 12.5px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.field .req { color: var(--accent); }
.field .err { font-size: 12.5px; color: var(--bad); font-weight: 600; display: none; }
.field.bad .input, .field.bad .select, .bad .input { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg); }
.field.bad .err { display: block; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2364748B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 34px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.seg input:checked + span { background: #fff; color: var(--brand); box-shadow: var(--sh-1); }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.items { display: grid; gap: 10px; }
.item-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 90px 40px; gap: 10px; align-items: end; padding: 12px; border-radius: 14px; background: var(--surface-2); animation: pop .3s var(--ease) both; }
.item-row .field > span { font-size: 12px; }
.item-row .rm { width: 40px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.item-row .rm:hover { color: var(--bad); border-color: var(--bad); }
.item-row .rm svg { width: 16px; height: 16px; }
.item-row .rm[disabled] { opacity: .35; pointer-events: none; }
.item-row .iw { grid-column: 1 / -1; font-size: 12.5px; color: var(--warn); font-weight: 650; }
.item-row .iw:empty { display: none; }
.prefilled { animation: prefill 1.6s var(--ease); }
@keyframes prefill { 0%, 30% { background: color-mix(in srgb, var(--flame) 22%, white); border-color: var(--flame); } 100% { background: #fff; } }
.add-item { margin-top: 10px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form-foot .fine { font-size: 13px; color: var(--muted); max-width: 46ch; }
.req-side { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 20px); }
.route-card { padding: 22px; border-radius: 22px; background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.route-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ice) 45%, transparent), transparent 70%); }
.route-card h3 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.route-card .rsub { font-size: 13px; color: #A9B8D6; margin-bottom: 16px; }
.route-flow { display: grid; gap: 0; position: relative; z-index: 1; }
.rnode { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); animation: pop .35s var(--ease) both; }
.rnode .avatar { width: 34px; height: 34px; font-size: 12px; background: rgba(255, 255, 255, .15); }
.rnode.to .avatar { background: linear-gradient(135deg, var(--flame), var(--accent)); }
.rnode b { display: block; font-size: 14px; color: #fff; }
.rnode small { display: block; font-size: 12px; color: #A9B8D6; overflow-wrap: anywhere; }
.rnode .tag { margin-left: auto; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); color: #DCE6F8; flex: none; }
.rline { width: 2px; height: 16px; margin-left: 28px; background: linear-gradient(var(--ice), transparent); }
.route-empty { font-size: 13.5px; color: #A9B8D6; padding: 12px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 14px; }
.next-card { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.next-card h3 { font-size: 15px; margin-bottom: 12px; }
.next-card ol { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 10px; }
.next-card li { counter-increment: n; display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.next-card li::before { content: counter(n); width: 22px; height: 22px; border-radius: 7px; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }
.success { text-align: left; animation: pop .5s var(--ease) both; }
.success .check { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #22C55E, #15803D); display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 14px 30px rgba(21, 128, 61, .3); }
.success .check svg { width: 36px; height: 36px; }
.success .check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.success p { margin-top: 8px; color: var(--ink-2); }
.sum { margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sum-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.sum-b { padding: 14px 16px; display: grid; gap: 8px; font-size: 14px; }
.sum-b .it { display: flex; gap: 10px; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.sum-b .it:last-child { border: 0; padding: 0; }
.success .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.demo-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 12px; background: var(--why-bg); color: var(--why); border: 1px dashed var(--why-line); }
.demo-link small { font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: var(--why); color: #fff; }
@media (max-width: 1060px) { .req-grid { grid-template-columns: 1fr; } .req-side { position: static; } }
@media (max-width: 640px) {
  .g2, .g3 { grid-template-columns: 1fr; }
  .item-row { grid-template-columns: 1fr 90px; }
  .item-row .f-part { grid-column: 1 / -1; }
  .item-row .rm { grid-column: 2; grid-row: 3; justify-self: end; width: 100%; }
  .item-row .f-line { grid-column: 1 / -1; }
  .item-row .f-qty { grid-column: 1; grid-row: 3; }
}

/* ---------------- How it works ---------------- */
.how { background: var(--surface); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: step; }
.flow::before { content: ''; position: absolute; left: 6%; right: 6%; top: 74px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.flow .pulse-dot { position: absolute; top: 69px; left: 6%; width: 13px; height: 13px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 5px color-mix(in srgb, var(--flame) 25%, transparent), 0 0 20px var(--flame); animation: travel 5s var(--ease) infinite; animation-play-state: paused; }
.in-view .pulse-dot { animation-play-state: running; }
@keyframes travel { 0% { left: 6%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 93%; opacity: 0; } }
.step { position: relative; padding: 0 4px; }
.step .ill { width: 148px; height: 148px; margin-bottom: 18px; border-radius: 32px; display: grid; place-items: center; position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.step .ill svg { width: 100px; height: 100px; }
.step .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-size: 13px; font-weight: 800; color: #fff; background: var(--brand); margin-bottom: 10px; }
.step h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.step .who { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before, .flow .pulse-dot { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; }
  .step .ill { width: 96px; height: 96px; border-radius: 24px; grid-row: span 4; margin: 0; }
  .step .ill svg { width: 66px; height: 66px; }
}
.sub-h { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.03em; margin: clamp(64px, 8vw, 96px) 0 8px; }
.sub-p { color: var(--ink-2); font-size: 16.5px; max-width: 64ch; margin-bottom: 24px; }
.ba { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--sh-1); }
.ba-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.ba-row:first-child { border-top: 0; }
.ba-row > div { padding: 16px 20px; font-size: 14.5px; line-height: 1.45; }
.ba-row .t { font-weight: 750; color: var(--ink); }
.ba-row .b { color: var(--ink-2); background: #FBFBFC; border-left: 1px solid var(--line); }
.ba-row .a { color: var(--ink); border-left: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, #22C55E 6%, white), #fff); font-weight: 550; }
.ba-head > div { font-size: 13px; font-weight: 800; color: var(--muted); padding-top: 14px; padding-bottom: 14px; background: var(--surface-2) !important; }
.ba-head .a { color: #15803D; }
.ba-row .lbl-m { display: none; }
@media (max-width: 760px) {
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-row > div { border-left: 0 !important; padding: 10px 16px; }
  .ba-row .t { padding-top: 16px; }
  .ba-row .a { padding-bottom: 16px; }
  .ba-row .lbl-m { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
  .ba-row .a .lbl-m { color: #15803D; }
}
.adopt { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ad-card { border-radius: 24px; border: 1px solid var(--line); background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh-1); }
.ad-vis { position: relative; aspect-ratio: 16 / 8; background: var(--deep); overflow: hidden; display: grid; place-items: center; }
.ad-vis.call { aspect-ratio: auto; min-height: 220px; background: linear-gradient(135deg, color-mix(in srgb, var(--flame) 14%, white), color-mix(in srgb, var(--ice) 14%, white)); padding: 18px; place-items: stretch; }
.ad-body { padding: 22px; }
.ad-body h4 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ad-body p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.ad-body ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 4px; }
.vid { position: absolute; inset: 14% 10% 0; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); overflow: hidden; }
.vid .vbar { height: 22px; display: flex; gap: 5px; align-items: center; padding: 0 10px; background: var(--surface-2); }
.vid .vbar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.vid .vbody { padding: 14px; display: grid; gap: 8px; }
.vid .sk { height: 9px; border-radius: 5px; background: var(--surface-2); }
.vid .sk.n { background: var(--brand-100); width: 60%; }
.vid .vin { height: 28px; border-radius: 9px; border: 1.5px solid var(--brand-100); }
.play { position: absolute; z-index: 2; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--flame), var(--accent)); box-shadow: 0 0 0 10px rgba(255, 255, 255, .15), 0 14px 30px rgba(0, 0, 0, .35); animation: ping 2.4s ease-in-out infinite; }
.play svg { width: 26px; height: 26px; margin-left: 4px; }
@keyframes ping { 50% { box-shadow: 0 0 0 18px rgba(255, 255, 255, .05), 0 14px 30px rgba(0, 0, 0, .35); } }
.vlen { position: absolute; z-index: 2; right: 14px; bottom: 12px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .55); padding: 3px 8px; border-radius: 6px; }
.callflow { display: grid; gap: 8px; align-content: center; }
.bub { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13px; font-weight: 600; box-shadow: var(--sh-1); }
.bub.them { background: #fff; color: var(--ink-2); border-radius: 14px 14px 14px 4px; }
.bub.us { justify-self: end; background: var(--brand); color: #fff; border-radius: 14px 14px 4px 14px; }
.mail { justify-self: end; display: flex; gap: 10px; align-items: center; max-width: 90%; padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: var(--sh-2); font-size: 12.5px; }
.mail .ic { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--ice), var(--brand)); display: grid; place-items: center; flex: none; }
.mail .ic svg { width: 15px; height: 15px; }
.mail b { display: block; font-size: 12.5px; }
.mail small { color: var(--muted); }
@media (max-width: 860px) { .adopt { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--sh-2); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 750; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23334155' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .ans { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; max-width: 70ch; }

/* ---------------- Manufacturers ---------------- */
.mfr { background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.mfr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--flame) 26%, transparent), transparent 70%), radial-gradient(700px 500px at 100% 0%, color-mix(in srgb, var(--ice) 22%, transparent), transparent 70%); }
.mfr .kicker { color: #FFC58A; }
.mfr .sec-head h2 { color: #fff; }
.mfr .sec-head p { color: #C7D3EA; }
.mfr-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 0 0 26px; }
.tl li::before { content: ''; position: absolute; left: 96px; margin-left: -1px; top: 10px; bottom: -10px; width: 2px; background: rgba(255, 255, 255, .15); }
.tl li:last-child::before { display: none; }
.tl .yr { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; text-align: right; padding-right: 18px; line-height: 1.2; }
.tl .tx { position: relative; padding-left: 18px; color: #C7D3EA; font-size: 15.5px; padding-top: 3px; }
.tl .tx::before { content: ''; position: absolute; left: -23px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--deep); border: 3px solid var(--flame); }
.tl li:last-child .tx::before { border-color: var(--ice); background: var(--ice); }
.mfr-points { display: grid; gap: 12px; margin-top: 10px; }
.mpt { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.mpt .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .1); }
.mpt .ic svg { width: 19px; height: 19px; }
.mpt b { display: block; color: #fff; font-size: 15.5px; }
.mpt span { display: block; color: #B9C7E2; font-size: 14px; margin-top: 2px; }
.mfr .why { background: rgba(167, 139, 250, .12); border-color: rgba(167, 139, 250, .35); color: #E4DAFE; }
.mfr .why .why-pain { color: #C4B5FD; }
.mfr .why b { color: #fff; }
.report { background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); overflow: hidden; }
.rp-top { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.rp-top h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.rp-top p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.rp-top .rp-ctl { margin-left: auto; display: flex; gap: 8px; align-items: center; min-width: 0; }
.rp-top .select { height: 38px; font-size: 14px; width: auto; max-width: 220px; min-width: 0; }
.badge.sample { background: var(--warn-bg); color: var(--warn); }
.rp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.kpi { padding: 16px 18px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.kpi span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.kpi .d { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #15803D; }
.rp-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.rp-chart { padding: 18px 22px; border-right: 1px solid var(--line); position: relative; }
.rp-chart h4, .rp-list h4 { font-size: 13.5px; font-weight: 750; margin-bottom: 12px; color: var(--ink); }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 34px 1fr 30px; gap: 10px; align-items: center; font-size: 12.5px; cursor: default; border-radius: 6px; }
.bar .k { font-weight: 800; color: var(--ink-2); }
.bar .trk { height: 14px; border-radius: 4px; position: relative; }
.bar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 0 4px 4px 0; background: var(--brand); transform-origin: left; animation: grow 1s var(--ease) both; animation-play-state: paused; }
.in-view .bar .fill { animation-play-state: running; }
.bar:hover .fill, .bar:focus .fill { background: var(--brand-ink); }
.bar .v { font-weight: 700; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.bar.zero .fill { display: none; }
.bar.zero .v { color: var(--faint); }
@keyframes grow { from { transform: scaleX(0); } }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #fff; font-size: 12.5px; padding: 8px 10px; border-radius: 9px; box-shadow: var(--sh-3); white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.tip.on { opacity: 1; transform: none; }
.tip b { display: block; }
.rp-list { padding: 18px 22px; }
.rp-list ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rp-list li { font-size: 13.5px; color: var(--ink-2); padding: 9px 12px; border-radius: 10px; background: var(--surface-2); display: flex; justify-content: space-between; gap: 10px; }
.rp-list li span:last-child { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-list .acc { margin-top: 16px; }
.rp-foot { padding: 12px 22px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1060px) { .mfr-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .rp-kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rp-body { grid-template-columns: 1fr; }
  .rp-chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .rp-top .rp-ctl { margin-left: 0; width: 100%; }
  .rp-top .select { max-width: none; flex: 1; }
  .tl li { grid-template-columns: 70px 1fr; }
  .tl li::before { left: 70px; }
  .tl .yr { font-size: 18px; }
}

/* ---------------- Footer ---------------- */
.ftr { background: #070F2B; color: #A9B8D6; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 14.5px; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.ftr .logo-tile { display: inline-block; background: #fff; border-radius: 16px; padding: 10px 14px; }
.ftr .logo-tile img { height: 56px; width: auto; }
.ftr p.tag { margin-top: 16px; max-width: 36ch; line-height: 1.5; }
.ftr h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a { color: #DCE6F8; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .pr b { display: block; color: #fff; font-weight: 700; }
.ftr .pr small { display: block; font-size: 13px; }
.ftr-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.ftr-bot .by b { color: #fff; }
@media (max-width: 960px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; gap: 28px; } }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .hero-bg .blob, .ask-box::before { animation: none !important; }
}


/* ===================================================================== Phase 1 pages (11/4) */
.nav a { padding: 8px 10px; font-size: 14px; }
.nav a.on { color: var(--brand); }
.nav a.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--flame), var(--accent)); }
.mnav { max-height: calc(100vh - var(--mnav-top, var(--hdr))); overflow-y: auto; }
.page { animation: pageIn .35s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page > .sec:first-child { padding-top: clamp(40px, 6vw, 80px); }
.badge.feat { background: linear-gradient(90deg, var(--flame), var(--accent)); color: #fff; }

/* Featured line */
.feat-sec { padding: clamp(40px, 5vw, 64px) 0 0; }
.feat-band { display: grid; grid-template-columns: 240px 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: linear-gradient(120deg, #fff 0%, #fff 55%, color-mix(in srgb, var(--accent) 7%, #fff) 100%); border: 1px solid var(--line); box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.feat-band::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--flame), var(--accent)); }
.feat-logo { display: grid; place-items: center; padding: 18px; border-radius: 18px; background: var(--surface-2); min-height: 120px; }
.feat-logo img { max-height: 84px; width: auto; }
.feat-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.feat-copy p { margin-top: 8px; color: var(--ink-2); max-width: 60ch; }
.feat-copy .kicker { margin-bottom: 8px; }
.feat-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.feat-states { display: grid; grid-template-columns: repeat(2, auto); gap: 6px; }
.feat-states .pill { min-width: 46px; height: 34px; font-size: 13px; }
@media (max-width: 900px) { .feat-band { grid-template-columns: 1fr; } .feat-logo { justify-self: start; min-height: 0; } .feat-states { grid-template-columns: repeat(4, auto); justify-content: start; } }

/* Scrolling manufacturer bar */
.logobar { padding: clamp(40px, 5vw, 64px) 0 clamp(8px, 2vw, 16px); }
.lb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.lb-head p { font-weight: 700; color: var(--ink-2); }
.lb-head a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.lb-head a svg { width: 14px; height: 14px; }
.lb-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lb-row { display: flex; gap: 18px; padding: 6px 9px; flex: none; animation: lbScroll 70s linear infinite; }
.lb-track:hover .lb-row, .lb-track:focus-within .lb-row { animation-play-state: paused; }
.lb-track.static { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }
.lb-track.static .lb-row { flex-wrap: wrap; justify-content: center; animation: none; }
.lb-item { flex: none; width: 168px; height: 84px; display: grid; place-items: center; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s; }
.lb-item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.lb-item img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
@keyframes lbScroll { to { transform: translateX(-100%); } }

/* Quick links */
.quick { padding-top: clamp(48px, 6vw, 80px); }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qt { position: relative; display: grid; gap: 6px; padding: 22px 22px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); color: var(--ink); text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.qt:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-100); }
.qt b { font-size: 18px; letter-spacing: -.01em; }
.qt span { color: var(--muted); font-size: 14.5px; }
.qt .qt-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 6px; }
.qt .qt-ic svg { width: 21px; height: 21px; }
.qt .qt-go { position: absolute; right: 18px; top: 22px; color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.qt .qt-go svg { width: 18px; height: 18px; }
.qt:hover .qt-go { color: var(--accent); transform: translateX(3px); }
@media (max-width: 900px) { .quick-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .quick-grid { grid-template-columns: 1fr; } }

/* Line card logos + featured */
.lc-logo { height: 46px; display: flex; align-items: center; margin: 4px 0 2px; }
.lc-logo img { max-height: 42px; max-width: 160px; width: auto; object-fit: contain; }
.lc.lc-feat { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent), var(--sh-2); }
.lc-top { gap: 6px; flex-wrap: wrap; }

/* Lines by state */
.bs-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bs-chip { height: auto; padding: 8px 14px; flex-direction: column; align-items: flex-start; gap: 0; min-width: 92px; }
.bs-chip b { font-size: 16px; }
.bs-chip span { font-size: 12px; font-weight: 600; opacity: .8; }
.bs-card { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); animation: pageIn .3s var(--ease) both; }
.bs-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bs-top h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-top: 8px; }
.bs-top .a-note { margin-top: 8px; }
.bs-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.bs-cat { margin-top: 18px; }
.bs-cat h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 10px; }
.bs-cat h4 i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.bs-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.bs-lines li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.bs-lines li.feat { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--accent) 4%, #fff); }
.bs-logo { flex: none; width: 92px; height: 44px; display: grid; place-items: center; }
.bs-logo img { max-height: 40px; max-width: 92px; width: auto; object-fit: contain; }
.bs-txt { flex: 1; min-width: 0; }
.bs-txt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.bs-txt small.lnote { color: var(--warn); }
.bs-lines .site { color: var(--faint); }
.bs-lines .site svg { width: 16px; height: 16px; }
.bs-reps { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.bs-reps h4 { margin-bottom: 12px; }
.bs-rep-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.print-card { display: none; }
@media print {
  body.site > *:not(#app) { display: none !important; }
  #app > *:not(main), main > .page:not([data-page="/lines-by-state"]), .page[data-page="/lines-by-state"] > section { display: none !important; }
  .print-card { display: block !important; font-size: 11px; color: #000; }
  .pc-head { display: flex; align-items: center; gap: 18px; border-bottom: 3px solid var(--brand); padding-bottom: 10px; margin-bottom: 10px; }
  .pc-head img { height: 54px; width: auto; }
  .pc-head h1 { font-size: 20px; }
  .pc-head p { color: #444; }
  .pc-t { width: 100%; border-collapse: collapse; }
  .pc-t th { text-align: left; font-size: 10px; text-transform: uppercase; border-bottom: 1px solid #999; padding: 4px; }
  .pc-t td { border-bottom: 1px solid #ddd; padding: 5px 4px; vertical-align: middle; }
  .pc-t td small { display: block; color: #555; }
  .pc-logo { display: flex; align-items: center; gap: 8px; }
  .pc-logo img { height: 22px; width: 64px; object-fit: contain; }
  .pc-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; padding-top: 8px; border-top: 2px solid var(--brand); }
  .pc-foot span { display: block; }
  .pc-note { color: #555; font-style: italic; }
  @page { margin: 12mm; }
}

/* Training & events */
.tr-lines { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-chip { cursor: pointer; position: relative; }
.tr-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tr-chip:has(input:checked) { background: var(--brand); color: #fff; border-color: var(--brand); }
.tr-chip:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.tr-chip.feat { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2)); }
.seg-sm label span { padding: 7px 14px; font-size: 13.5px; }
.files-field .hint { font-size: 12.5px; color: var(--muted); }
.files-field input[type=file] { padding: 8px; height: auto; }

/* About, team, contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-plain { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.card-plain h3 { font-size: 20px; margin-bottom: 14px; }
.about .tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about .tl li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.about .tl .yr { font-weight: 800; color: var(--accent); }
.ab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-stats div { padding: 14px; border-radius: 14px; background: var(--surface-2); }
.ab-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); }
.ab-stats small { font-size: 14px; }
.ab-stats span { font-size: 13.5px; color: var(--muted); }
.ab-pr { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ab-pr li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ab-pr span { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.tm-group { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 8px 0 14px; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 36px; }
.tm { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; gap: 4px; align-content: start; }
.tm-av, .tm-ph { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 10px; }
.tm-av { display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-ink)); }
.tm-ph { object-fit: cover; }
.tm h3 { font-size: 18px; }
.tm-t { font-weight: 700; color: var(--brand); font-size: 14px; }
.tm-a { color: var(--muted); font-size: 14px; }
.tm-c { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; }
.tm-c a { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.tm-c svg { width: 15px; height: 15px; flex: none; }
.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-card { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; gap: 8px; align-content: start; }
.ct-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.ct-ic svg { width: 20px; height: 20px; }
.ct-big { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ct-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ct-list li { display: grid; }
.ct-list span { font-size: 13px; color: var(--muted); }
.ct-list a { overflow-wrap: anywhere; font-weight: 600; }
.ct-card .btn { justify-self: start; margin-top: 6px; }
.ct-cta { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--deep); color: #fff; }
.ct-cta h3 { color: #fff; font-size: 22px; }
.ct-cta p { color: #C7D3EA; margin-top: 6px; }
.ct-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } }
.ftr-portal { color: #A9B8D6; }

/* spam trap: hidden from people, bots fill it in */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Headshots in rep avatars (11/9, Jodi): same circle, photo fills it. */
.avatar.has-ph { padding: 0; overflow: hidden; background: var(--line, #dfe5ef); }
.avatar.has-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; border-radius: inherit; }
