
/* Layout: marketing page with left-weighted hero + live preview; app = top bar, business sub-nav, content column with side rail */
:root {
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --surface-2: #EFEDE7;
  --line: #E2DFD7;
  --line-strong: #CBC7BC;
  --fg: #19191C;
  --muted: #5E5C56;
  --accent: #C2410C;
  --accent-hover: #9A3412;
  --accent-soft: #FCEEE5;
  --on-accent: #FFFFFF;
  --ink: #19191C;
  --on-ink: #FFFFFF;
  --ok: #15803D; --ok-soft: #E8F7EE;
  --warn: #B45309; --warn-soft: #FEF4E2; --warn-line: #EBC48B;
  --info: #1D4ED8; --info-soft: #EAEFFD;
  --bad: #B91C1C; --bad-soft: #FDECEC;
  --shadow: 0 24px 60px -32px rgba(25,25,28,.28);
  --f-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111113; --surface: #19191D; --surface-2: #232328; --line: #2C2C32; --line-strong: #3E3E46;
  --fg: #EEEDEA; --muted: #A6A49E; --accent: #F2884B; --accent-hover: #F8A574; --accent-soft: #3A2116; --on-accent: #1A0B03;
  --ink: #EEEDEA; --on-ink: #111113;
  --ok: #4ADE80; --ok-soft: #13291B; --warn: #F5B451; --warn-soft: #2E2210; --warn-line: #6B4C1B;
  --info: #8EA9FF; --info-soft: #18203A; --bad: #F87171; --bad-soft: #351616;
  --shadow: 0 24px 60px -30px rgba(0,0,0,.7); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #111113; --surface: #19191D; --surface-2: #232328; --line: #2C2C32; --line-strong: #3E3E46;
  --fg: #EEEDEA; --muted: #A6A49E; --accent: #F2884B; --accent-hover: #F8A574; --accent-soft: #3A2116; --on-accent: #1A0B03;
  --ink: #EEEDEA; --on-ink: #111113;
  --ok: #4ADE80; --ok-soft: #13291B; --warn: #F5B451; --warn-soft: #2E2210; --warn-line: #6B4C1B;
  --info: #8EA9FF; --info-soft: #18203A; --bad: #F87171; --bad-soft: #351616;
  --shadow: 0 24px 60px -30px rgba(0,0,0,.7); color-scheme: dark; }

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 11px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { opacity: .88; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-plain { background: transparent; color: var(--fg); padding: 0 12px; }
.btn-plain:hover { background: var(--surface-2); }
.btn-ok { background: var(--ok); color: var(--surface); }
.btn-danger { background: var(--surface); border-color: var(--line-strong); color: var(--bad); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 13px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon { width: 18px; height: 18px; flex: none; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-ok { background: var(--ok-soft); color: var(--ok); }
.p-warn { background: var(--warn-soft); color: var(--warn); }
.p-info { background: var(--info-soft); color: var(--info); }
.p-bad { background: var(--bad-soft); color: var(--bad); }
.p-neutral { background: var(--surface-2); color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.pad { padding: 22px; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrapr { flex-wrap: wrap; }
.g4 { gap: 4px; } .g8 { gap: 8px; } .g12 { gap: 12px; } .g16 { gap: 16px; } .g20 { gap: 20px; } .g24 { gap: 24px; } .g32 { gap: 32px; }
.av { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 600; width: 36px; height: 36px; font-size: 14px; }
.av-sm { width: 26px; height: 26px; font-size: 11.5px; }
.av-lg { width: 48px; height: 48px; font-size: 19px; }
.av-xl { width: 84px; height: 84px; font-size: 34px; }
.avstack { display: flex; }
.avstack .av { border: 2px solid var(--surface); margin-left: -8px; }
.avstack .av:first-child { margin-left: 0; }
.bar { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--ok); transition: width .5s ease; }
label.lbl { font-weight: 500; font-size: 14px; }
.field { min-height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); width: 100%; font-size: 15px; }
textarea.field { padding: 12px 14px; line-height: 1.55; resize: vertical; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; padding: 11px 14px; background: var(--surface-2); white-space: nowrap; }
td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
td:has(> button), td:has(> .row > button) { vertical-align: middle; }
td.num, th.num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ============ LANDING ============ */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; padding-block: 14px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; color: var(--fg); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
.site-nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.site-nav button { background: none; border: 0; padding: 10px 12px; min-height: 44px; color: var(--muted); font-weight: 500; cursor: pointer; border-radius: 9px; }
.site-nav button:hover { color: var(--fg); background: var(--surface-2); }
.hero { padding-block: 64px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: .98; letter-spacing: -0.05em; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--muted); align-self: flex-start; }
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.preview { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.preview-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.preview-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.pv-step { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pv-mark { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; transition: all .3s; }
.pv-mark.done { background: var(--ok); border-color: var(--ok); }
.pv-mark.active { border-color: var(--info); box-shadow: 0 0 0 3px var(--info-soft); }
.pv-feed { display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
.pv-item { display: flex; gap: 10px; align-items: flex-start; animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.section { padding-block: 88px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; }
.section-head p { font-size: 18px; color: var(--muted); line-height: 1.6; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.steps4 > div { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); }
.steps4 > div:first-child { border-left: 0; }
.steps4 .n { font-family: var(--f-mono); font-size: 13px; color: var(--accent); font-weight: 500; }
.steps4 h3 { font-size: 19px; }
.steps4 p { color: var(--muted); font-size: 15px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.team-card { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink .muted, .band-ink .section-head p { color: color-mix(in srgb, var(--on-ink) 70%, var(--ink)); }
.band-ink .ctl { border: 1px solid color-mix(in srgb, var(--on-ink) 18%, var(--ink)); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.learn-item { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14.5px; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check svg { color: var(--ok); margin-top: 3px; }
.cta-band { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 28px; padding: 64px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-top: 10px; max-width: 62ch; }
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; color: var(--muted); font-size: 14px; align-items: center; }

/* ============ APP ============ */
.app-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.app-head .wrap { max-width: 1320px; display: flex; align-items: center; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.switcher { position: relative; }
.switcher select { appearance: none; min-height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 600; cursor: pointer; max-width: 260px; }
.switcher svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.balance-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 10px; background: var(--surface-2); font-family: var(--f-mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.balance-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.balance-chip.low .dot { background: var(--warn); }
.iconbtn { position: relative; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.iconbtn .count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; border-radius: 999px; background: var(--warn); color: var(--surface); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.me { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav .wrap { max-width: 1320px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 13px 12px 11px; min-height: 46px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.subnav button:hover { color: var(--fg); }
.subnav button[aria-current="page"] { color: var(--fg); font-weight: 600; border-bottom-color: var(--fg); }
.main { max-width: 1320px; margin: 0 auto; padding-block: 32px 96px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 24px; }
.page-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.page-title h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; }
.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat .v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.biz-card { text-align: left; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s, transform .15s; }
.biz-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.biz-new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 210px; border: 1.5px dashed var(--line-strong); border-radius: 18px; background: transparent; color: var(--muted); font-weight: 500; cursor: pointer; }
.biz-new:hover { color: var(--fg); border-color: var(--fg); }
.agent-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.agent-opt { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.agent-opt[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.agent-opt .tick { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: transparent; }
.agent-opt[aria-pressed="true"] .tick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chooser { display: flex; flex-wrap: wrap; gap: 10px; }
.chooser button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 128px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.chooser button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.wizard-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.wizard-steps span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.wizard-steps span b { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.wizard-steps span.on { color: var(--fg); border-color: var(--fg); }
.wizard-steps span.on b, .wizard-steps span.done b { background: var(--ink); color: var(--on-ink); }
.summary-side { background: var(--ink); color: var(--on-ink); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); }
.summary-side .muted { color: color-mix(in srgb, var(--on-ink) 65%, var(--ink)); }
.summary-side hr { border: 0; border-top: 1px solid color-mix(in srgb, var(--on-ink) 18%, var(--ink)); margin: 0; width: 100%; }
.tchip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: color-mix(in srgb, var(--on-ink) 10%, var(--ink)); font-size: 14px; }
.team-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.team-tile { text-align: left; display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.team-tile:hover { border-color: var(--line-strong); }
.obj-row { width: 100%; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; }
.obj-row:first-of-type { border-top: 0; }
.feed { display: flex; flex-direction: column; }
.feed-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.feed-item:first-child { border-top: 0; }
.feed-item.new { animation: rise .4s ease both; }
.handoff { align-self: flex-start; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 7px; background: var(--info-soft); color: var(--info); }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-item { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plan-n { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.who-chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 500; }
.progress-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.progress-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.mark { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--surface); }
.mark.done { background: var(--ok); border-color: var(--ok); }
.mark.active { border-color: var(--info); box-shadow: 0 0 0 3px var(--info-soft); }
.mark.waiting { border-color: var(--warn); }
.approval { border: 2px solid var(--warn-line); background: var(--surface); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.quote { background: var(--surface-2); border-radius: 12px; padding: 14px; font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.doc { padding: 40px 44px; display: flex; flex-direction: column; gap: 18px; }
.doc h2 { font-size: 28px; line-height: 1.2; }
.doc h3 { font-size: 18px; padding-top: 6px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; max-width: 68ch; }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--info-soft); color: var(--info); font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 500; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.learn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.learn-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px 11px 14px; border-radius: 12px; background: var(--surface-2); }
.learn-list li.fresh { background: var(--ok-soft); }
.learn-list .x { margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.learn-list .x:hover { background: var(--surface); color: var(--bad); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tool { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tool-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.switch { position: relative; width: 46px; height: 28px; flex: none; border-radius: 999px; background: var(--line-strong); border: 0; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.setting { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); }
.setting:first-child { border-top: 0; }
.hbar { display: grid; grid-template-columns: 74px minmax(0, 1fr) 70px; align-items: center; gap: 10px; font-size: 13.5px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 40px 20px; color: var(--muted); }
.toast-wrap { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(460px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 13px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow); font-size: 14px; animation: rise .3s ease both; width: 100%; }
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,12,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--surface); border-radius: 18px; padding: 24px; width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 56px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 > div:nth-child(3) { border-left: 0; }
  .steps4 > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .team-grid, .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .price { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .summary-side { position: static; }
}
@media (max-width: 600px) {
  .steps4, .team-grid, .who-grid { grid-template-columns: minmax(0, 1fr); }
  .steps4 > div { border-left: 0; border-top: 1px solid var(--line); }
  .steps4 > div:first-child { border-top: 0; }
  .section { padding-block: 64px; }
  .doc { padding: 26px 20px; }
  .site-nav { display: none; }
  .hide-sm { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Homepage: hire → connect → describe → report example */
.hx-tabs { gap: 4px; padding: 10px 12px; }
.hx-tabs button { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 7px 12px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.hx-tabs button:hover { color: var(--fg); background: var(--surface-2); }
.hx-tabs button[aria-selected="true"] { color: var(--fg); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.hx-stages { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hx-stages .pv-step { font-size: 13px; gap: 7px; }
.hx-stages .pv-mark { width: 11px; height: 11px; }
.hx-feed { display: flex; flex-direction: column; gap: 14px; }
.hx-row { display: flex; gap: 12px; align-items: flex-start; transition: opacity .4s; }
.hx-row.now { animation: rise .45s ease both; }
.hx-row.later { opacity: .22; filter: saturate(0); }
.hx-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--muted); }
.hx-ico .icon { width: 15px; height: 15px; }
.hx-ico.ok { background: var(--ok-soft); color: var(--ok); }
.hx-quote { font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); }
.hx-tool { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.hx-dot.live { background: var(--ok); } .hx-dot.beta { background: var(--info); } .hx-dot.soon { background: var(--line-strong); }
.hx-approve { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); border: 1px solid var(--warn-line); }
.uc-ask { font-size: 14.5px; }
.conn-col { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); }
.conn-chip { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.conn-chip.live { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.conn-chip.beta { border-color: color-mix(in srgb, var(--info) 35%, var(--line)); }
.conn-chip.soon { border-style: dashed; color: var(--muted); }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) { .hx-tabs button { padding: 6px 10px; font-size: 13px; } }


.type-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 7px; background: var(--surface-2); color: var(--fg); }
.type-tag i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
pre.code { margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--surface-2); font-family: var(--f-mono); font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.sim-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--muted); }
.demo-biz { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.dept { display: flex; flex-direction: column; gap: 10px; }
.goal-card { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.coord-note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
@media (max-width: 900px) { .run-side { order: -1; } }
@media (max-width: 600px) {
  .app-head .wrap { flex-wrap: nowrap; gap: 8px; }
  .switcher { min-width: 0; flex: 1 1 0; }
  .switcher select { width: 100%; max-width: none; text-overflow: ellipsis; }
  .app-head .wrap > .head-gap { display: none; }
  .app-head .btn-sm[data-a="to-market"] { padding-inline: 10px; }
  .balance-chip { padding: 0 10px; }
  .me { width: 34px; height: 34px; flex: none; }
  .app-head .iconbtn { flex: none; }
}
.stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
