/* Front Door shared parts. The v5 system (9 Nov, carried site-wide from the sign-up modal):
   the site's teal as the one accent (primary gradient #2B7A82 → --teal, hover --teal-ink, tint
   --teal-soft), cool-grey neutrals, white surfaces, Geist for every word. Rust only as a light accent; no cream or tan.
   One button system: .btn-primary (shaded teal, pearl sheen) · .btn-light/.btn-secondary
   (shaded white) · text links. 6px buttons, 8px cards and rows, 12px large panels.
   The modal (.q-modal in site.css) reads these tokens. The concepts/ pages keep their own copy. */
:root {
  /* Neutrals: cool grey. */
  --ink: #0e1417;
  --ink-2: #2c363c;
  --muted: #5b6670;
  --ink-3: #8a949c;
  --line: #e3e7ea;
  --line-strong: #d5dbdf;
  --line-edge: #c9d0d5;
  --fill: #f4f6f7;
  --fill-2: #eceff1;
  --fill-soft: #f8f9fa;
  --surface: #ffffff;
  /* The accent: the site's own teal. */
  --teal-hi: #2b7a82;
  --teal: #1f5c63;
  --teal-ink: #174a50;
  --teal-deep: #0f3338;
  --teal-soft: #e3f4f6;
  --teal-tint: #e8f2f2;
  --teal-wash: #eef6f6;
  /* Rust: a light accent only (Dan, 9 Nov) — the record's marks, one hero underline, small dots, a rollout pill, thin rules.
     Never on buttons, never a large surface. #B4462A is 5.6:1 on white. */
  --rust: #b4462a;
  --rust-line: rgba(180,70,42,.32);
  --rust-ring: rgba(180,70,42,.14);
  /* Rust for the problem section only (Dan, 10 Nov): its lines and all its header language. 7.8:1 on white. */
  --rust-deep: #8f3520;
  /* A restrained second accent, used only where two marks must differ (the network's tools, a rollout). */
  --slate: #3e4f61;
  --blue: #106ee8;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: var(--font);
  --body: var(--font);

  /* Spacing scale, 4px base. */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(96px, 11vw, 176px);
  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1560px;
  --measure: 60ch;

  /* Radii: buttons, cards and rows, large panels. */
  --r-btn: 6px; --r-card: 8px; --r-panel: 12px;
  /* Depth: cool, layered, soft. */
  --shadow-1: 0 1px 2px rgba(14,20,23,.05), 0 2px 6px -2px rgba(14,20,23,.07);
  --shadow-2: 0 1px 2px rgba(14,20,23,.04), 0 4px 8px -2px rgba(14,20,23,.05), 0 16px 32px -12px rgba(14,20,23,.14);
  --shadow-3: 0 2px 4px rgba(14,20,23,.04), 0 28px 56px -24px rgba(14,20,23,.22);
  --lift-1: var(--shadow-1);
  --lift-2: 0 2px 4px rgba(14,20,23,.05), 0 12px 24px -10px rgba(14,20,23,.2);
  --teal-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(31,92,99,.28), 0 4px 12px -2px rgba(31,92,99,.3);
  /* Pearl: very low-alpha white → pale aqua → pale lilac, laid over with soft-light. Primary buttons and icon tiles only. */
  --pearl: linear-gradient(115deg, rgba(255,255,255,0) 18%, rgba(255,255,255,.24) 36%, rgba(190,240,238,.22) 48%, rgba(220,208,250,.2) 60%, rgba(255,255,255,0) 80%);
  --tile-pearl: radial-gradient(120% 90% at 25% 15%, rgba(205,240,238,.75), rgba(205,240,238,0) 55%), radial-gradient(110% 90% at 85% 95%, rgba(226,218,248,.7), rgba(226,218,248,0) 55%), linear-gradient(180deg, #fbfcfc, #eceff1);
  --tile-pearl-teal: radial-gradient(110% 80% at 25% 10%, rgba(200,245,242,.35), rgba(200,245,242,0) 55%), radial-gradient(100% 80% at 90% 100%, rgba(215,205,250,.22), rgba(215,205,250,0) 60%), linear-gradient(180deg, var(--teal-hi), var(--teal));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
/* Hard guarantee (Dan, 9 Nov): the page must never scroll horizontally at any width or zoom, no
   matter what causes an element to overrun — a safety net on top of each component's own fix.
   overflow-y stays explicit 'visible' on both so the x-only clip doesn't get auto-paired into a
   second scroll container (which would break the header's position: sticky against the viewport). */
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 18px/1.65 var(--body); font-feature-settings: "ss01" 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; caret-color: var(--teal); }
::selection { background: var(--teal-soft); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
img { max-width: 100%; }
small { font-size: 13px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.q-serif { font-family: var(--body); font-weight: 500; letter-spacing: -.01em; }
.accent { color: var(--teal); }
.q-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 72px; }
.q-logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; border-radius: 4px; }
.q-logo svg { display: block; height: 24px; width: auto; fill: currentColor; }
.nav-links { display: flex; gap: var(--s-6); font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); padding-block: 6px; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); border-color: var(--rust); }
.nav-doors { display: flex; align-items: center; gap: var(--s-4); }
.q-login { font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; text-decoration-thickness: 1px; transition: color .12s, text-decoration-color .12s; }
.q-login:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Buttons: the modal's one system (v5). Primary = shaded teal with an inner top highlight, a darker
   bottom edge, a teal drop shadow and the pearl sheen; secondary = shaded white with a hairline. */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid transparent; font-weight: 500; font-size: 16px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform .12s, background-color .12s, border-color .12s, box-shadow .15s, color .12s; }
.btn .q-ico { transition: transform .25s var(--ease-out); }
.btn:hover .q-ico-r { transform: translateX(3px); }
.btn:hover .q-ico-d { transform: translateY(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary, .ask-go { overflow: hidden; color: #fff; border: 1px solid #1c565d; border-bottom-color: var(--teal-ink); background: linear-gradient(180deg, var(--teal-hi), var(--teal)); box-shadow: var(--teal-shadow); text-shadow: 0 -1px 0 rgba(15,51,56,.25); }
.btn-primary::before, .ask-go::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: soft-light; background: var(--pearl), radial-gradient(90% 140% at 20% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%); background-size: 260% 100%, 100% 100%; background-position: 100% 0, 0 0; }
.btn-primary:active { background: linear-gradient(180deg, var(--teal-ink), var(--teal-ink)); box-shadow: inset 0 1px 2px rgba(15,51,56,.45), 0 1px 1px rgba(31,92,99,.2); }
.btn-light, .btn-secondary { color: var(--ink); background: linear-gradient(180deg, #fff, #f3f5f6); border-color: var(--line-strong); border-bottom-color: var(--line-edge); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(14,20,23,.06); }
.btn-light:active, .btn-secondary:active { background: var(--fill-2); box-shadow: inset 0 1px 2px rgba(14,20,23,.1); }
.btn-ghost { color: var(--ink); padding-inline: 14px; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--r-btn); }
/* Hover only where a pointer hovers. The sheen sweeps in over the darker hover teal only, so white text stays ≥ 4.5:1. */
@media (hover: hover) {
  .btn-primary:hover { background: linear-gradient(180deg, var(--teal), var(--teal-ink)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(31,92,99,.3), 0 6px 16px -4px rgba(31,92,99,.38); }
  .btn-primary:hover::before { background-position: 0 0, 0 0; transition: background-position 1.1s var(--ease-out); }
  .btn-light:hover, .btn-secondary:hover { background: linear-gradient(180deg, #fff, #eef1f3); border-color: var(--line-edge); box-shadow: inset 0 1px 0 #fff, 0 2px 6px -2px rgba(14,20,23,.12); }
  .btn-ghost:hover { color: var(--teal); }
}
@media (prefers-reduced-motion: reduce) { .btn-primary::before, .ask-go::before { transition: none !important; } }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Phone */
.q-phone { position: relative; width: min(100%, 360px); height: 780px; margin-inline: auto; display: flex; flex-direction: column; padding: 11px; border-radius: 56px; background: linear-gradient(145deg, #3a3b3f 0%, #1c1d20 38%, #0f1012 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), inset 0 0 0 2.5px #0b0b0c, 0 2px 3px rgba(14,20,23,.18), 0 30px 60px -22px rgba(14,20,23,.42), 0 70px 110px -50px rgba(14,20,23,.35); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: #111; }
.q-phone::before, .q-phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #2a2b2e, #4a4b50); }
.q-phone::before { left: -3px; top: 132px; height: 34px; box-shadow: 0 56px 0 0 #2f3034, 0 56px 0 0 #2f3034; }
.q-phone::after { right: -3px; top: 168px; height: 72px; background: linear-gradient(270deg, #2a2b2e, #4a4b50); }
.q-screen { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; border-radius: 45px; overflow: hidden; }
.q-phone-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 6px 34px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.q-island { width: 96px; height: 28px; background: #000; border-radius: 16px; }
.q-sys { display: inline-flex; align-items: center; gap: 5px; }
.q-sys svg { display: block; height: 11px; width: auto; fill: #111; }
.q-phone-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 2px 14px 10px; background: rgba(246,246,248,.96); border-bottom: 1px solid #e5e5e8; font-size: 11.5px; }
.q-back { display: inline-flex; align-items: center; gap: 2px; color: var(--blue); }
.q-back svg { width: 11px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.q-back b { background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; min-width: 19px; padding: 1px 6px; border-radius: 10px; text-align: center; }
.q-contact { display: grid; justify-items: center; gap: 3px; color: #111; }
.q-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2c7781, var(--teal) 70%); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.q-avatar svg { width: 21px; height: 21px; fill: #fff; }
.q-video { justify-self: end; color: var(--blue); }
.q-video svg { display: block; width: 24px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linejoin: round; }
.q-thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; padding: 14px 12px; overscroll-behavior: contain; scrollbar-width: none; }
.q-thread::-webkit-scrollbar { display: none; }
.q-bubble { max-width: 82%; padding: 9px 14px; border-radius: 18px; font-size: 15px; line-height: 1.33; letter-spacing: -.005em; animation: q-pop .35s var(--ease-out); }
.q-me { align-self: flex-end; background: var(--blue); color: #fff; }
.q-them { align-self: flex-start; background: #e9e9eb; }
.q-typing { display: flex; gap: 4px; padding-block: 12px; }
.q-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9e; animation: q-blink 1s infinite; }
.q-typing i:nth-child(2) { animation-delay: .15s; } .q-typing i:nth-child(3) { animation-delay: .3s; }
.q-input { display: flex; align-items: center; gap: 8px; padding: 6px 12px 8px; }
.q-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ececee; color: #666; }
.q-plus svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.q-field { flex: 1; padding: 6px 13px; border: 1px solid #d4d4d8; border-radius: 18px; font-size: 14px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-field.is-hint { border-color: var(--blue); }
.q-suggest { display: flex; min-height: 48px; background: #d5d7dc; padding: 5px; }
.q-suggest button { flex: 1; min-width: 0; padding: 8px 2px; background: none; border: 0; border-right: 1px solid #b9bbc0; font-size: 14px; color: #111; border-radius: 0; }
.q-suggest button:last-child { border-right: 0; }
.q-suggest button:hover { background: #e9eaed; border-radius: 7px; }
.q-suggest button:focus-visible { outline-offset: -2px; }
.q-home { height: 22px; background: #d5d7dc; position: relative; }
.q-home::after { content: ""; position: absolute; left: 50%; top: 8px; width: 36%; height: 5px; background: #111; border-radius: 3px; transform: translateX(-50%); }
@keyframes q-pop { from { transform: translateY(6px) scale(.97); opacity: 0; } }
@keyframes q-blink { 50% { opacity: .3; } }

.q-note h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.q-note p { font-size: 15px; color: var(--muted); }

/* Slider */
.q-tag { position: absolute; bottom: 14px; padding: 6px 10px; font-size: 11px; font-weight: 600; letter-spacing: .1em; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 6px; box-shadow: var(--shadow-1); }
.q-tag-l { left: 14px; } .q-tag-r { right: 14px; }
.q-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.15); }
.q-handle i { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 40px; height: 40px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--teal); font-style: normal; box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 10px 22px -8px rgba(0,0,0,.35); }
.q-handle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.q-slider-label { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-4); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.q-slider-label input { flex: 1; min-width: 80px; accent-color: var(--teal); }

/* Cards */
.q-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; box-shadow: var(--shadow-1); }
.q-card header { display: flex; align-items: center; gap: 10px; }
.q-card header em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.q-card header small { display: block; color: var(--muted); }
.q-card hr { width: 100%; margin: 2px 0; border: 0; border-top: 1px solid var(--line); }
.q-chip-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.q-chip-mark img { width: 15px; height: 15px; display: block; }
.q-av { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--fill-2); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.q-msg { display: flex; gap: 10px; }
.q-msg small { color: var(--muted); }
.q-private { padding: 14px 16px; background: var(--fill); border: 1px solid var(--line); border-radius: 8px; }
.q-private small { color: var(--muted); }
.q-private.is-kept { background: var(--teal-soft); border-color: color-mix(in srgb, var(--teal) 40%, transparent); color: var(--teal-ink); }
.q-private.is-kept small { color: var(--teal-ink); font-weight: 600; }
.q-keep { display: flex; gap: 6px; margin-top: 10px; }
.q-keep .q-btn-keep { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 600; }
.q-also { margin-top: 8px; }
.q-also small { color: var(--teal-ink); }
.q-also a { color: inherit; text-decoration: underline; }
.q-label, .q-muted { color: var(--muted); }
.q-noticed { padding: 16px; background: var(--teal-soft); border-radius: 8px; font-size: 14px; color: var(--teal-ink); }
.q-eyebrow { color: var(--teal-ink); font-weight: 600; letter-spacing: .08em; }
.q-meter { height: 6px; background: var(--fill); border-radius: 3px; overflow: hidden; }
.q-meter i { display: block; width: 55%; height: 100%; background: linear-gradient(90deg, var(--teal-hi), var(--teal)); border-radius: 3px; }

/* Tools: the chips, the strings and the panel (the 05633d4 composition). Each tool is its own
   step: its string runs into its own panel, which shows what happens in that tool and what gets kept. */
.q-flow { position: relative; display: grid; grid-template-columns: minmax(200px, 250px) minmax(48px, 1fr) minmax(0, 580px); align-items: start; }
.q-tools { display: grid; gap: 6px; justify-items: end; align-content: start; }
.q-tool-step { display: flex; white-space: nowrap; align-items: center; gap: 8px; margin: 14px 2px 2px 0; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.q-tool-step:first-child { margin-top: 0; }
.q-tool-step span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--fill-2); color: var(--ink-2); font-size: 10.5px; letter-spacing: 0; }
.q-tool { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; background: #fff; border: 1px solid var(--line-strong); border-bottom-color: var(--line-edge); border-radius: 999px; background: linear-gradient(180deg, #fff, #f3f5f6); text-align: left; font-size: 15px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .2s, transform .3s var(--ease-out); }
.q-logo-glyph { width: 20px; height: 20px; display: block; flex: none; object-fit: contain; }
.q-tool:hover, .q-tool.is-on { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.q-tool.is-on { transform: translateX(-2px); }
.q-wirebox { min-width: 0; }
.q-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.q-wires path { fill: none; stroke: #8fa3a4; stroke-width: 1.25; stroke-dasharray: 3 5; transition: stroke .35s; }
.q-wires path.q-wire-live { stroke: var(--teal); stroke-width: 1.75; stroke-dasharray: 1; stroke-dashoffset: 0; }
.q-wires path.q-wire-live.is-drawing { animation: q-draw .7s var(--ease-out) both; }
.q-wires circle { fill: var(--teal); }
@keyframes q-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.q-tool-panel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-2); overflow: hidden; }
.q-tool-panel > * { animation: q-fade .35s var(--ease-out); }
@keyframes q-fade { from { opacity: 0; } }
.q-tool-panel header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.q-tool-panel header b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.q-tool-panel header small { color: var(--muted); }
.q-chip-lg { width: 36px; height: 36px; border-radius: 8px; }
.q-chip-lg img { width: 20px; height: 20px; }
.q-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.q-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.q-status-live { background: var(--teal-soft); color: var(--teal-ink); }
.q-status-rollout { background: var(--fill); color: var(--rust); }
.q-tp-sec { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.q-tp-sec:last-child { border-bottom: 0; }
.q-tp-label { display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.q-tool-job { font-size: 18px; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.q-tool-scene { margin: 0; display: flex; flex-direction: column; background: var(--fill); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.q-tool-scene figcaption { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.q-tool-scene figcaption img { width: 14px; height: 14px; }
.q-tool-scene-in { display: flex; flex-direction: column; gap: 8px; padding: 14px; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.q-tool-scene-in .q-bubble { font-size: 14px; max-width: 90%; animation: none; }
.q-tool-scene-in .q-them { background: #fff; border: 1px solid var(--line); }
.q-bubble.is-tg { background: #2aabee; }
.q-doc { padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.q-fy { padding: 10px 12px; background: var(--teal-soft); border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent); border-radius: 6px; color: var(--teal-ink); font-family: var(--body); font-size: 14px; line-height: 1.45; }
.q-fy b { display: block; font-size: 12px; letter-spacing: .02em; }
.q-tool-panel .q-row { border-bottom: 1px solid var(--line); }
.q-tool-panel .q-row.q-tp-kept { padding: 16px 22px 16px 30px; }
.q-tool-panel .q-row p { font-size: 17px; }
.q-tool-private { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.q-tool-private svg, .q-tool-panel header small svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.q-tool-steps { margin: 0 0 var(--s-3); padding: 0 0 0 20px; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.q-tool-copy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-3); padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 8px; font-size: 14px; color: var(--muted); }
.q-tool-copy label { font-weight: 600; color: var(--ink-2); }
.q-tool-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.q-tool-cta small { color: var(--muted); font-size: 13.5px; }
.q-rec { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-2); overflow: hidden; }
.q-rec header { display: flex; align-items: center; gap: 8px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-weight: 600; }
.q-rec header b { font-weight: 600; }
.q-rec header small { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 500; color: var(--muted); }
.q-rec header small svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.q-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 22px 16px 30px; border-bottom: 1px solid var(--line); transition: background-color .35s; }
.q-row::before { content: ""; position: absolute; left: 16px; top: 22px; width: 7px; height: 1.5px; background: var(--line-strong); transition: background-color .35s; }
.q-row:last-child { border-bottom: 0; }
.q-row small { grid-column: 1 / -1; color: var(--muted); }
.q-row p { font-size: 18px; line-height: 1.4; }
.q-row.is-on { background: #f0f7f8; }
.q-row.is-on > p, .q-tool-panel .q-tp-kept > p { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.q-row.is-on::before { background: var(--teal); }
.q-state { align-self: center; font-size: 13px; font-weight: 600; }
.q-state-kept { color: var(--teal-ink); }
.q-state-used { color: var(--ink); }
.q-flow-foot { margin-top: var(--s-5); color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 860px) {
  .q-flow { grid-template-columns: 1fr; gap: var(--s-5); }
  .q-wirebox, .q-wires { display: none; }
  .q-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .q-tool-step { flex-basis: 100%; justify-content: center; margin: 10px 0 0; }
  .q-tool-step:first-child { margin-top: 0; }
  .q-tool { height: 40px; padding: 0 14px 0 10px; font-size: 14px; }
  .q-tool.is-on { transform: none; }
  .q-status { margin-left: 0; }
  .q-tp-sec, .q-tool-panel header { padding-inline: 18px; }
}

.btn-chat { color: #fff; border-color: #1c565d; border-bottom-color: var(--teal-ink); background: linear-gradient(180deg, var(--teal-hi), var(--teal)); box-shadow: var(--teal-shadow); }
.btn-chat:hover { background: linear-gradient(180deg, var(--teal), var(--teal-ink)); }

/* Privacy */
.q-privacy { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.q-privacy li { position: relative; padding: 18px 0 18px 30px; border-bottom: 1px solid var(--line-strong); font-size: 19px; line-height: 1.4; }
.q-privacy li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 10px; height: 10px; border-radius: 2px; background: var(--teal); }
.q-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s-4); }
.q-side { display: grid; align-content: start; gap: var(--s-3); padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.q-side > small { font-weight: 600; color: var(--muted); }
.q-side > .q-serif { font-size: 18px; line-height: 1.45; }
.q-side-out { border-color: var(--line-strong); }
.q-side-out > small { color: var(--ink); }
.q-side-note { color: var(--muted); font-size: 14px; }
.q-promise { margin: 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.q-promise small { display: block; margin-bottom: 10px; font-weight: 600; color: var(--teal-ink); }
.q-promise p { font-size: 17px; line-height: 1.6; max-width: 72ch; color: var(--ink-2); }

/* FAQ */
.q-faq { border-bottom: 1px solid var(--line-strong); }
.q-faq:first-child { border-top: 1px solid var(--line-strong); }
.q-faq summary { position: relative; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; border-radius: 4px; transition: color .2s; }
.q-faq summary:hover { color: var(--teal-ink); }
.q-faq summary::-webkit-details-marker { display: none; }
.q-faq i { position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: var(--r-btn); border: 1px solid var(--line-strong); border-bottom-color: var(--line-edge); background: linear-gradient(180deg, #fff, #f3f5f6); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(14,20,23,.06); transition: border-color .15s, box-shadow .2s; }
.q-faq i::before, .q-faq i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; margin: -.875px 0 0 -6px; border-radius: 1px; background: var(--teal); }
.q-faq i::after { transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.q-faq[open] i::after { transform: rotate(0); }
.q-faq summary:hover i { border-color: var(--line-edge); box-shadow: inset 0 1px 0 #fff, 0 2px 6px -2px rgba(14,20,23,.12); }
.q-faq p { padding-bottom: 24px; max-width: 62ch; color: var(--ink-2); }

/* Closing and footer */
.closing { position: relative; overflow: hidden; padding-block: clamp(80px, 9vw, 130px); background: var(--teal); color: #fff; text-align: center; isolation: isolate; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 0%, rgba(255,255,255,.14), transparent 70%), radial-gradient(50% 70% at 50% 120%, rgba(14,20,23,.35), transparent 70%); }
.closing h2 { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -.022em; line-height: 1.02; }
.closing h2 .v { color: #cfe6e8; }
.closing h2 span { color: #cfe6e8; }
.closing p { margin: var(--s-5) 0 var(--s-6); font-size: 19px; color: #dcedef; }
.site-foot { background: var(--teal-deep); color: #c3ccd1; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); padding-block: var(--s-6); font-size: 14px; color: #a3adb4; }
.site-foot nav { display: flex; gap: var(--s-5); }
.site-foot nav a { text-decoration: none; font-weight: 500; color: #d5dbdf; }
.site-foot nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.site-foot .q-logo { color: #fff; }
.site-foot .q-logo svg { height: 20px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
