





@font-face { font-family: 'Nunito'; src: url('fonts/Nunito.ttf') format('truetype'); font-weight: 200 1000; font-display: swap; }

:root {
  color-scheme: light;
  --font: 'Nunito', -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #f4f5f8; --panel: #eaedf3; --card: #ffffff; --ink: #1b2130; --ink-2: #5a6274; --line: #d9deea;
  --primary: #34427a; --primary-ink: #ffffff; --low: #2b6cb0; --high: #b45309; --high-ink: #8a4b0f;
  --danger: #1b2130; --danger-ink: #ffffff; --ok: #2f6f4e;
  --primary-soft: color-mix(in oklab, var(--primary) 9%, var(--card));
  --low-soft: color-mix(in oklab, var(--low) 10%, var(--card));
  --high-soft: color-mix(in oklab, var(--high) 9%, var(--card));
  --danger-soft: color-mix(in oklab, var(--danger) 8%, var(--card));
  --line-strong: #7f8696;
  --shadow: 0 1px 2px color-mix(in oklab, var(--ink) 8%, transparent), 0 8px 24px color-mix(in oklab, var(--ink) 7%, transparent);
  --r: 14px; --r-ctl: 10px; --wrap: min(1180px, 100% - 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --band-bg: #1b2130; --help-bg: #f0b36b; --help-hover: #e59f4c; --on-help: #ffffff; --on-help-btn: #1b2130;
  --device: #11141c; --device-edge: #2b3244; --device-screen: #161a24; --scrim: rgb(0 0 0 / .5); --on-help-wash: rgb(255 255 255 / .14);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1d2333; --panel: #242b3d; --card: #2a3247; --ink: #e9ecf3; --ink-2: #b3b9c8; --line: #3c4660;
    --primary: #aab4ff; --primary-ink: #161a24; --low: #4a90e2; --high: #e9a04e; --high-ink: #f0b36b;
    --danger: #e9ecf3; --danger-ink: #161a24; --ok: #74d19d; --line-strong: #7a8399;
    --primary-soft: color-mix(in oklab, var(--primary) 13%, var(--card));
    --low-soft: color-mix(in oklab, var(--low) 16%, var(--card));
    --high-soft: color-mix(in oklab, var(--high) 14%, var(--card));
    --danger-soft: color-mix(in oklab, var(--danger) 12%, var(--card));
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
    --band-bg: #0d1017; --help-bg: #f0b36b;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
@media (max-width: 559px) { html { scroll-padding-top: 128px; } }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 400 18px/1.55 var(--font); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 .8em; text-wrap: pretty; } p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: var(--primary); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--high); outline-offset: 3px; }
main:focus { outline: none; }
svg { display: block; }
.ph { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.visually-hidden, .al-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 40; padding: 12px 18px; border-radius: var(--r-ctl); background: var(--primary); color: var(--primary-ink); font-weight: 800; }
.skip:focus { top: 70px; }
.narrow { display: none; }
@media (max-width: 419px) { .wide { display: none; } .narrow { display: inline; } }


.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent; background: var(--primary); color: var(--primary-ink); font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; transition: background-color 150ms ease, transform 150ms var(--ease); }
.btn:hover { background: color-mix(in oklab, var(--primary) 86%, var(--ink)); }
.btn:active { transform: translateY(1px); }
.btn.danger { background: var(--help-bg); color: var(--on-help-btn); }
.btn.danger:hover { background: var(--help-hover); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.quiet:hover { background: var(--panel); }


.band { position: sticky; top: 0; z-index: 30; background: var(--band-bg); color: var(--on-help); font-weight: 800; padding: 6px 16px; }
.band-in { width: var(--wrap); margin: 0 auto; min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.band p { margin: 0; font-size: 17px; }
.band a { color: inherit; font-size: 19px; display: inline-block; padding: 10px 1px; line-height: 24px; font-variant-numeric: tabular-nums; }
.leave { min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.leave:hover { background: var(--on-help-wash); }
.band :focus-visible { outline-color: var(--on-help); }
@media (max-height: 500px) { .band { position: static; } }


.top { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; min-height: 48px; white-space: nowrap; }
.mark { width: 36px; height: 36px; flex: none; }
.m-body { fill: var(--primary); } .m-pane { fill: var(--high); }
.nav-top { display: none; margin-left: auto; }
.nav-top ul { display: flex; gap: 2px; }
.nav-top a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; transition: background-color 150ms ease; }
.nav-top a:hover { background: var(--panel); }
.help-now { margin-left: auto; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--help-bg); color: var(--on-help-btn); font-weight: 800; text-decoration: none; white-space: nowrap; }
.help-now:hover { background: var(--help-hover); }
@media (min-width: 1100px) { .nav-top { display: block; } .help-now { margin-left: 6px; } }


main > section { width: var(--wrap); margin: 0 auto; }
.sect { padding: 96px 0 0; }
.sect-head { max-width: 46rem; margin-bottom: 32px; }
.sect-head h2 { font-weight: 900; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -0.025em; line-height: 1.02; margin-bottom: 14px; }
.intro { font-size: 20px; color: var(--ink-2); }
.draft { display: block; margin-top: 10px; color: var(--high-ink); font-size: 15px; font-weight: 800; }


.hero { padding: 28px 0 0; }
.hero-head { text-align: center; max-width: 44rem; margin: 0 auto 24px; }
.hero h1 { font-weight: 900; font-size: clamp(2.8rem, 1.6rem + 4.6vw, 5rem); letter-spacing: -0.04em; line-height: .95; margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); margin: 0 auto; max-width: 40rem; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.product-bar { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--panel); font-size: 15px; font-weight: 800; }
.pb-mark .mark { width: 24px; height: 24px; }
.pb-s { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; }
.product-body { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .product-body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } .sources { border-left: 1px solid var(--line); border-top: 0 !important; } }
.under { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 14px; }


.al-chat { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.al-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.al-chat__head h2 { font-size: 19px; }
.al-clear { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 700; cursor: pointer; }
.al-clear:hover { background: var(--panel); }
.al-notice { font-size: 14px; color: var(--ink-2); margin: 0; }
.al-notice strong { color: var(--ink); }
.al-log { margin-top: 4px; display: flex; flex-direction: column; gap: 18px; max-height: min(56vh, 520px); min-height: 220px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 16px; }
.al-empty { color: var(--ink-2); font-size: 15px; text-align: center; padding: 40px 8px; }
.al-msg { display: flex; flex-direction: column; gap: 10px; }
.al-msg--you { align-items: flex-end; }
.al-msg--you .al-msg__text { margin: 0; max-width: 85%; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--primary); color: var(--primary-ink); font-weight: 700; overflow-wrap: anywhere; }
.al-msg__lead { margin: 0; color: var(--ink-2); font-size: 15px; }
.al-passage { padding: 2px 0 2px 0; }
.al-passage + .al-passage { border-top: 1px solid var(--line); padding-top: 12px; }
.al-passage__head { font-size: 17px; margin-bottom: 4px; }
.al-passage p { margin: 0 0 6px; font-size: 16px; overflow-wrap: anywhere; }
.al-passage__bullet { position: relative; padding-left: 18px; }
.al-passage__bullet::before { content: ""; position: absolute; left: 4px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--low); }
.al-passage mark { background: var(--high-soft); color: inherit; border-radius: 2px; padding: 0 1px; }
.al-passage .al-passage__src { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.al-passage__src cite { font-style: normal; font-weight: 800; color: var(--primary); }
.al-crisis { border-top: 3px solid var(--danger); border-bottom: 3px solid var(--danger); padding: 12px 0; }
.al-crisis__title { font-size: 19px; color: var(--danger); margin-bottom: 8px; }
.al-crisis__list { padding-left: 20px; list-style: disc; display: grid; gap: 6px; font-size: 16px; }
.al-crisis__call { color: var(--danger); font-weight: 800; display: inline-block; padding: 12px 2px; line-height: 22px; }
.al-crisis__note { margin: 8px 0 0; font-size: 15px; }
.al-suggest__label { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.al-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.al-chips button { font: 700 15px/1.2 var(--font); color: var(--primary); background: var(--primary-soft); border: 1px solid transparent; border-radius: 999px; padding: 10px 14px; min-height: 44px; cursor: pointer; text-align: left; transition: border-color 150ms ease, background-color 150ms ease; }
.al-chips button:hover { border-color: var(--primary); }
.al-form { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.al-form__label { font-weight: 800; font-size: 16px; }
.al-form__row { display: flex; gap: 8px; }
.al-form input { flex: 1; min-width: 0; min-height: 52px; padding: 10px 14px; font: 400 17px var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); }
.al-form input::placeholder { color: var(--ink-2); opacity: 1; }
.al-form input:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
.al-send { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; font: 800 17px var(--font); color: var(--primary-ink); background: var(--primary); border: 0; border-radius: var(--r-ctl); cursor: pointer; transition: background-color 150ms ease; }
.al-send:hover { background: color-mix(in oklab, var(--primary) 86%, var(--ink)); }
.al-form__hint { margin: 0; font-size: 13px; color: var(--ink-2); }
.al-noscript { margin: 0; padding: 12px; border: 2px solid var(--danger); border-radius: var(--r-ctl); }
.typing::after { content: "|"; margin-left: 1px; animation: caret 900ms steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }


.sources { padding: 22px; border-top: 1px solid var(--line); background: color-mix(in oklab, var(--panel) 45%, var(--card)); }
.sources h2 { font-size: 17px; margin-bottom: 12px; }
.src-list { display: grid; gap: 8px; counter-reset: src; }
.src-empty { color: var(--ink-2); font-size: 15px; }
.src { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-ctl); background: var(--card); border: 1px solid var(--line); }
a.src { color: var(--ink); text-decoration: none; transition: border-color 150ms ease, transform 150ms var(--ease); }
a.src:hover { border-color: var(--primary); transform: translateX(3px); }
.src-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.src b { display: block; font-size: 15px; } .src span.k { display: block; font-size: 13px; color: var(--ink-2); }
.src-bar { display: none;  grid-column: 2; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.src-bar i { display: block; height: 100%; background: var(--low); border-radius: 4px; transform-origin: left; }
.limits-h { font-size: 15px; margin: 22px 0 8px; color: var(--ink-2); }
.limits { display: grid; gap: 6px; font-size: 15px; }
.limits li { display: flex; gap: 8px; align-items: flex-start; }
.limits .ph { color: var(--ink-2); margin-top: 2px; }
.motion:not(.gsap) .src { animation: in-up 380ms var(--ease) both; }
.motion:not(.gsap) .src:nth-child(2) { animation-delay: 90ms; } .motion .src:nth-child(3) { animation-delay: 180ms; } .motion .src:nth-child(4) { animation-delay: 270ms; }
.motion:not(.gsap) .src-bar i { animation: bar 700ms var(--ease) both; animation-delay: 200ms; }
@keyframes in-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bar { from { transform: scaleX(0); } }
.motion:not(.gsap) .al-msg { animation: in-up 320ms var(--ease) both; }


.now { padding: 72px 0 0; }
.now h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 900; margin-bottom: 18px; }
.numbers { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.number { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 16px 18px; min-height: 64px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 150ms ease, transform 150ms var(--ease); }
.number:hover { border-color: var(--primary); transform: translateY(-2px); }
.number .ic { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 20px; }
.number .num { font-weight: 900; font-size: 26px; line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.number .what { color: var(--ink-2); font-size: 15px; }
.n988 .ic, .n911 .ic { background: var(--danger-soft); color: var(--danger); }
.n988 .num, .n911 .num { color: var(--danger); }


.lv-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 16px; background: var(--panel); }
.lv-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 96px; padding: 14px; border: 0; border-radius: 12px; background: transparent; text-align: left; font-weight: 800; font-size: 16px; line-height: 1.25; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.lv-tabs button:hover { background: color-mix(in oklab, var(--card) 70%, transparent); }
.lv-tabs button[aria-selected="true"] { background: var(--card); color: var(--primary); box-shadow: var(--shadow); }
.lv-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--card); color: var(--primary); font-size: 20px; }
.lv-tabs button[aria-selected="true"] .lv-ic { background: var(--primary); color: var(--primary-ink); }
@media (max-width: 899px) { .lv-tabs { grid-template-columns: minmax(0, 1fr); } .lv-tabs button { flex-direction: row; align-items: center; min-height: 56px; } }
.lv-panels { margin-top: 20px; }
.lv-panel { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); padding: 26px 4px 6px; view-transition-name: lv-panel; }
@media (min-width: 760px) { .lv-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lv-col h3 { font-size: 15px; font-weight: 800; color: var(--ink-2); margin-bottom: 8px; }
.lv-col p { font-size: 19px; }
.ask-col li { position: relative; padding: 0 0 8px 28px; font-weight: 700; }
.ask-col li::before { content: "?"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--high-soft); color: var(--high-ink); font-size: 13px; font-weight: 900; }
.matrix-wrap { margin-top: 32px; padding: 4px 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.matrix th, .matrix td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th { font-size: 15px; color: var(--ink-2); font-weight: 800; }
.matrix tbody th { font-weight: 800; color: var(--ink-2); font-size: 15px; width: 18%; }
.matrix [data-col].on { background: var(--primary-soft); color: var(--ink); }
.matrix thead [data-col].on { color: var(--primary); box-shadow: inset 0 3px 0 var(--primary); }
.matrix td { transition: background-color 200ms ease; }
.dots { display: flex; gap: 3px; margin-bottom: 6px; }
.dots::before { content: ""; display: block; height: 8px; border-radius: 4px; background: var(--low); width: calc(var(--n) * 18px); }
.dots::after { content: ""; display: block; height: 8px; border-radius: 4px; background: var(--line); width: calc((5 - var(--n)) * 18px); }
.d1 { --n: 1; } .d2 { --n: 2; } .d3 { --n: 3; } .d4 { --n: 4.4; } .d5 { --n: 5; }
.where { margin-top: 20px; color: var(--ink-2); }


.both-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .both-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .loop-fig { position: sticky; top: 90px; } }
.loop-fig { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 12px; view-transition-name: loop-fig; }
.loop { width: 100%; height: auto; }
.loop text { font-family: var(--font); }
.node rect { fill: var(--panel); stroke: var(--line-strong); stroke-width: 2; transition: fill 300ms ease, stroke 300ms ease; }
.node text { font-weight: 800; font-size: 20px; fill: var(--ink); }
.arc { fill: none; stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; transition: stroke 300ms ease; stroke-dasharray: 260; stroke-dashoffset: 0; }
.ah { fill: none; stroke: var(--line-strong); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[data-step="1"] .ah, [data-step="2"] .ah, [data-step="4"] .ah { stroke: var(--ink-2); }
.tag rect { fill: var(--card); stroke: var(--line); stroke-width: 1.5; opacity: 0; transition: opacity 250ms ease; }
.tag text { font-weight: 800; font-size: 16px; fill: var(--ink-2); opacity: 0; transition: opacity 250ms ease; }
.care-ring { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 10 8; opacity: 0; transition: opacity 300ms ease; }
.care-t { font-weight: 800; font-size: 17px; fill: var(--ok); opacity: 0; transition: opacity 300ms ease; }
.hide-veil rect { fill: var(--card); opacity: 0; transition: opacity 300ms ease; }

[data-step="1"] .node-a rect { fill: var(--primary-soft); stroke: var(--primary); }
[data-step="1"] .arc-top { stroke: var(--primary); } [data-step="1"] .tag-top rect, [data-step="1"] .tag-top text { opacity: 1; }

[data-step="2"] .node-b rect { fill: var(--low-soft); stroke: var(--low); }
[data-step="2"] .arc-bot { stroke: var(--low); } [data-step="2"] .tag-bot rect, [data-step="2"] .tag-bot text { opacity: 1; }
[data-step="2"] .arc-top { stroke: var(--primary); }

[data-step="3"] .node-a rect { fill: var(--primary-soft); stroke: var(--primary); }
[data-step="3"] .hide-veil rect { opacity: .82; }

[data-step="4"] .node-a rect { fill: var(--primary-soft); stroke: var(--primary); } [data-step="4"] .node-b rect { fill: var(--low-soft); stroke: var(--low); }
[data-step="4"] .care-ring, [data-step="4"] .care-t { opacity: 1; }
.motion [data-step="1"] .arc-top, .motion [data-step="2"] .arc-bot { animation: draw 900ms var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
.step-ctl { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.step-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; font-size: 20px; transition: background-color 150ms ease; }
.step-btn:hover { background: var(--panel); }
.step-btn[disabled] { background: var(--panel); color: var(--ink-2); border-color: var(--line); cursor: not-allowed; }
.step-dots { display: flex; gap: 6px; }
.step-dots i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); transition: background-color 200ms ease; }
.step-dots i.on { background: var(--primary); }
.step-n { margin-left: auto; margin-right: 4px; font-weight: 800; font-size: 15px; color: var(--ink-2); }
#stepNext { margin-left: 0; }
.steps { display: grid; gap: 12px; }
@media (min-width: 960px) { .steps { gap: 16vh; padding: 4vh 0 14vh; } }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); transition: border-color 250ms ease, background-color 250ms ease; }
.step .sn { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--panel); font-weight: 900; }
.step h3 { font-size: 20px; margin-bottom: 4px; }
.step p { color: var(--ink-2); }
.step.on { border-color: var(--primary); }
.step.on .sn { background: var(--primary); color: var(--primary-ink); }
@media (min-width: 960px) { .js .step:not(.on) { border-color: transparent; background: transparent; } }


.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 23px; top: 24px; width: 3px; border-radius: 3px; background: var(--primary); height: calc(100% - 48px); transform-origin: top; transform: scaleY(var(--tl, 1)); }
.tl { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
.tl-ic { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 3px solid var(--primary); color: var(--primary); font-size: 22px; }
.tl-call .tl-ic { border-color: var(--danger); color: var(--danger); }
.tl-body { padding: 8px 0 10px; }
.tl-body h3 { font-size: 22px; margin-bottom: 8px; }
.tl-body > ul li { position: relative; padding: 0 0 6px 20px; }
.tl-body > ul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--low); }
.call-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .call-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.call-now, .call-today { padding: 18px; border-radius: var(--r); }
.call-now { background: var(--danger-soft); border: 2px solid var(--danger); }
.call-today { background: var(--card); border: 2px solid var(--high-ink); }
.call-now h4 { color: var(--danger); font-size: 19px; margin-bottom: 6px; } .call-today h4 { color: var(--high-ink); font-size: 19px; margin-bottom: 6px; }
.call-now .btn { margin-top: 10px; }
@supports (animation-timeline: view()) {
  .motion .timeline::after { animation: fill-line linear both; animation-timeline: view(); animation-range: entry 30% cover 70%; }
  .motion .tl { animation: in-up linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
@keyframes fill-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }


.say-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .say-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.say-form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.say-form legend { font-weight: 800; font-size: 17px; margin-bottom: 10px; padding: 0; }
.seg { display: grid; gap: 8px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: flex; align-items: center; min-height: 52px; padding: 10px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--card); font-weight: 700; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.seg label:hover { border-color: var(--primary); }
.seg input:checked + label { border: 2px solid var(--primary); background: var(--primary-soft); color: var(--primary); }
.seg input:focus-visible + label { outline: 3px solid var(--high); outline-offset: 3px; }
.say-out { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.say-out h3 { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.script { margin: 0 0 16px; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 700; line-height: 1.55; view-transition-name: say-script; }
.say-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.say-out h4 { font-size: 16px; margin-bottom: 8px; }
.avoid li { position: relative; padding: 0 0 6px 22px; color: var(--ink-2); }
.avoid li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 2px; background: var(--ink-2); }
.fine { font-size: 15px; color: var(--ink-2); margin-top: 12px; }


.app-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .app-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.app-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.app-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font-weight: 800; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.app-tabs button:hover { border-color: var(--primary); }
.app-tabs button[aria-selected="true"] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.device { justify-self: center; width: min(340px, 82vw); aspect-ratio: 390 / 844; padding: 12px; border-radius: 46px; background: var(--device); box-shadow: var(--shadow), inset 0 0 0 2px var(--device-edge); }
.device-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--device-screen); view-transition-name: app-screen; }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.scr-dark { display: none; }
@media (prefers-color-scheme: dark) { .scr-dark { display: block; } .scr-light { visibility: hidden; } }


.tool-list { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .tool-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 76px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color 150ms ease, transform 150ms var(--ease); }
.tool:hover { border-color: var(--primary); transform: translateY(-2px); }
.tool-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 20px; }
.tool b { display: block; } .tool span span { display: block; font-size: 14px; color: var(--ink-2); }
.go { color: var(--ink-2); }


.about h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 900; margin-bottom: 16px; }
.about-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.plain { font-size: 24px; font-weight: 800; line-height: 1.4; }
.facts { display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; } .facts .ph { color: var(--primary); margin-top: 3px; }
.foot { width: var(--wrap); margin: 80px auto 0; padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; display: grid; gap: 8px; }
.foot .brand { font-size: 18px; } .foot .mark { width: 28px; height: 28px; }


dialog.crisis { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--bg); color: var(--ink); }
dialog.crisis::backdrop { background: var(--scrim); }
.crisis-in { max-width: 640px; margin: 0 auto; padding: 22px 18px 32px; }
.prov { background: var(--high-soft); color: var(--high-ink); font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: var(--r-ctl); }
.crisis-in h2 { font-size: 30px; margin-bottom: 6px; }
.lead2 { color: var(--ink-2); margin-bottom: 16px; }
.call { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border-radius: var(--r); text-decoration: none; font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.call .ph { width: 26px; height: 26px; }
.call small { display: block; font-weight: 600; font-size: 14px; }
.call.c911 { background: var(--help-bg); color: var(--on-help-btn); } .call.c988 { background: var(--primary); color: var(--primary-ink); }
.call.t988 { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.real { font-size: 14px; color: var(--ink-2); }
.crisis-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.crisis-top { display: flex; justify-content: flex-end; margin-bottom: 8px; }


.js.motion .rv { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js.motion .rv.in { opacity: 1; transform: none; }
::view-transition-old(lv-panel), ::view-transition-old(say-script), ::view-transition-old(app-screen) { animation: vt-out 180ms ease both; }
::view-transition-new(lv-panel), ::view-transition-new(say-script), ::view-transition-new(app-screen) { animation: vt-in 320ms var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (forced-colors: active) { .dots::before { background: CanvasText; } .step.on, .lv-tabs button[aria-selected="true"] { outline: 2px solid CanvasText; } }

[hidden] { display: none !important; }



.divider { display: block; width: var(--wrap); height: 28px; margin: 88px auto 0; }
.gb { fill: var(--line); } .gb1 { fill: color-mix(in oklab, var(--low) 35%, var(--line)); } .gb2 { fill: color-mix(in oklab, var(--primary) 30%, var(--line)); }
.dv-stopping .gb1, .dv-family .gb1 { fill: color-mix(in oklab, var(--high) 35%, var(--line)); }
.divider + .sect { padding-top: 40px; }


.head-split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: end; margin-bottom: 32px; }
.head-split .sect-head { margin-bottom: 0; }
@media (min-width: 900px) { .head-split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.intensity { margin: 0; }
.intensity svg { width: 100%; height: 150px; }
.ib { fill: color-mix(in oklab, var(--low) 60%, var(--panel)); transition: fill 250ms ease; }
.ib.on { fill: var(--primary); }
.intensity figcaption { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.intensity figcaption span:nth-child(2) { text-align: center; } .intensity figcaption span:nth-child(3) { text-align: right; }


.fld { fill: none; stroke-width: 1.2; }
.fld-a { stroke: var(--primary); } .fld-b { stroke: var(--low); }
.fk0 { opacity: .10; } .fk1 { opacity: .14; } .fk2 { opacity: .18; } .fk3 { opacity: .22; } .fk4 { opacity: .26; }
[data-step="2"] .fld-a, [data-step="3"] .fld-b { opacity: .04; }
.rough { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.rough-circle { stroke: var(--high); } .rough-bracket { stroke: var(--ok); }
[data-step="3"] .rough-circle, [data-step="4"] .rough-bracket { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease); }
.care-t { font-size: 18px; }


.band-full { width: 100% !important; max-width: none; background: var(--panel); color: var(--ink); padding-bottom: 72px !important; margin-top: 0; }
.dv-stopping + .band-full { margin-top: 0; }
.band-inner { width: var(--wrap); margin: 0 auto; }
.wd-fig { margin: 0 0 40px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px 18px; }
.wd-scroll { overflow-x: auto; }
.wd-chart { width: 100%; min-width: 760px; height: auto; font-family: var(--font); font-size: 14px; color: var(--ink-2); }
.wd-chart text { fill: var(--ink-2); }
.wd-chart g[aria-label="y-axis tick label"] text { fill: var(--ink); font-weight: 800; font-size: 15px; }
.wd-chart line, .wd-chart path { stroke: var(--line); }
.wd-911 { fill: var(--danger); } .wd-doc { fill: var(--high); } .wd-sup { fill: var(--low); } .wd-chk { fill: var(--primary); }
rect.wd-911, rect.wd-doc, rect.wd-sup, rect.wd-chk { stroke: none; }
.wd-chart .wd-peak { stroke: var(--ink); } .wd-chart .wd-rule { stroke: var(--ink-2); }
g.wd-peak line { stroke: var(--ink); } g.wd-rule line { stroke: var(--line-strong); }
.wd-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.wd-key li { display: inline-flex; align-items: center; gap: 8px; }
.wd-key i { width: 18px; height: 10px; border-radius: 5px; }
.k-911 { background: var(--danger); } .k-doc { background: var(--high); } .k-sup { background: var(--low); } .k-chk { background: var(--primary); }
.k-peak { width: 3px !important; height: 16px !important; border-radius: 1px !important; background: var(--ink); }
.cite { font-size: 13px; color: var(--ink-2); margin: 0 0 8px; }
.wd-table summary { min-height: 44px; display: flex; align-items: center; font-weight: 800; color: var(--primary); cursor: pointer; }
.wd-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wd-table th, .wd-table td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
@media (min-width: 1100px) {
  .stopping .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .stopping .timeline::before, .stopping .timeline::after { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 3px; transform-origin: left; }
  .stopping .timeline::after { transform: scaleX(var(--tl, 1)); height: 3px; width: calc(100% - 48px); }
  .stopping .tl { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stopping .tl-call { grid-column: span 1; }
  .stopping .call-grid { grid-template-columns: minmax(0, 1fr); }
}
@supports (animation-timeline: view()) { @media (min-width: 1100px) { .motion .stopping .timeline::after { animation-name: fill-x; } } }
@keyframes fill-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.call-now h4 { position: relative; display: inline-block; }
.ul { display: block; width: 100%; height: 12px; margin-top: 2px; }
.rough-line { stroke: var(--danger); stroke-dashoffset: 0; }


@media (min-width: 960px) { .say-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.say-out { padding: 34px; }
.script { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.95rem); }


@media (min-width: 900px) { .app-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); } }
.app-feats { display: grid; gap: 18px; align-self: center; }
.app-feats li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
.app-feats .ph { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.app-feats b { display: block; font-size: 18px; } .app-feats span { color: var(--ink-2); font-size: 16px; }


@media (min-width: 760px) { .tool-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


.src-n { font-variant-numeric: tabular-nums; }


@media (max-width: 399px) { .top .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.matrix-wrap:focus-visible, .wd-scroll:focus-visible, .al-log:focus-visible { outline: 3px solid var(--high); outline-offset: 2px; }

.wd-table { overflow-x: auto; max-width: 100%; }
.wd-table th, .wd-table td { overflow-wrap: anywhere; }
.matrix-wrap, .wd-scroll, .wd-table { position: relative; }


main > section { padding-bottom: 24px; }
.al-chat__head h2 { font-size: 19px; } .sources h2 { font-size: 17px; margin-bottom: 12px; } .limits-h { font-size: 15px; margin: 22px 0 8px; color: var(--ink-2); }
@media (min-width: 960px) { .steps { padding-top: 0; } .product-body { align-items: start; } }
.st-ic { display: inline-flex; vertical-align: -3px; margin-right: 8px; color: var(--primary); }
.step h3 { font-size: 19px; }
.al-chips button { white-space: nowrap; }
.band-full { padding: 48px 16px 48px !important; }
.band-full .band-inner { width: min(1180px, 100%); }

.wd-chart { font-size: 17.5px; }
.wd-chart g[aria-label="y-axis tick label"] text { font-size: 18px; }
.wd-chart g[aria-label="x-axis label"] text { font-weight: 800; fill: var(--ink-2); }
@media (max-width: 600px) {
  .node text { font-size: 25px; }
  .tag text { font-size: 25.5px; }
  .tag-top rect { x: 208px; width: 184px; }
  .tag-bot rect { x: 192px; width: 216px; }
  .care-t { font-size: 26px; }
}
.wd-hint { display: none; margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 799px) { .wd-hint { display: block; } .wd-scroll { padding-bottom: 8px; } }
