:root {
  --night: #12100E;
  --night-2: #1C1915;
  --night-line: rgba(245, 240, 232, .12);
  --paper: #F5F0E8;
  --paper-2: #EDE5D8;
  --surface: #FFFDF9;
  --ink: #1A1714;
  --muted: #6B6157;
  --muted-d: #A89D90;
  --line: rgba(26, 23, 20, .12);
  --accent: #E2643A;
  --accent-ink: #B4461D;
  --accent-soft: #FBE4D9;
  --teal: #1F8A8A;
  --gold: #F2B33D;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: 'Frank Ruhl Libre', 'David Libre', Georgia, serif;
  --sans: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
bdi[dir=ltr], .num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent, #fff); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.mute { color: var(--muted); }
.sec-dark .mute, .hero .mute { color: var(--muted-d); }
.fine { font-size: 13px; color: var(--muted); }
.ui-ic { display: block; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), opacity .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-primary { --bg: var(--accent); --fg: var(--on-accent, #fff); box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { --bg: color-mix(in srgb, var(--accent) 88%, #fff); box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn-ghost:hover { border-color: currentColor; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: transform .16s var(--ease), background-color .16s; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn::after { content: ''; position: absolute; inset: -4px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; color: var(--paper); transition: background-color .25s, backdrop-filter .25s, color .25s, box-shadow .25s; }
.nav.is-solid { background: rgba(18, 16, 14, .78); background: color-mix(in srgb, var(--night) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--night-line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-mark { display: grid; grid-template-columns: 9px 9px; gap: 3px; padding: 6px; border-radius: 9px; background: var(--paper); }
.brand-mark i { width: 9px; height: 9px; border-radius: 3px; background: var(--ink); }
.brand-mark i:first-child { background: var(--accent); }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 900; letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; opacity: .82; transition: opacity .15s, background-color .15s; }
.nav-links a:hover { opacity: 1; background: rgba(245, 240, 232, .08); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.wallet { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(245, 240, 232, .06); color: inherit; cursor: pointer; transition: background-color .2s, transform .18s var(--ease); }
.wallet:hover { background: rgba(245, 240, 232, .12); }
.wallet:active { transform: scale(.97); }
.wallet .ui-ic { filter: invert(1); opacity: .8; }
.wallet-n { font-family: var(--mono); font-weight: 600; font-size: 15px; }
.wallet-l { font-size: 13px; opacity: .7; }
.wallet.is-hit { animation: hit .5s var(--ease); }
@keyframes hit { 30% { transform: scale(1.08); background: color-mix(in srgb, var(--accent) 35%, transparent); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--night); color: var(--paper); overflow: hidden; padding-top: 68px; display: flex; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 55% at 30% 58%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
  radial-gradient(40% 40% at 18% 40%, rgba(242, 179, 61, .12), transparent 70%),
  linear-gradient(180deg, #12100E 0%, #17130F 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7.5fr); align-items: center; gap: 24px; min-height: calc(100svh - 68px); }
.hero-copy { padding-block: 40px; max-width: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 15px; color: var(--muted-d); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2.4s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
.h1 { margin: 0; font-family: var(--serif); font-weight: var(--h1-weight, 900); font-size: clamp(40px, 4.15vw, 62px); line-height: 1.04; letter-spacing: -.01em; }
.h1 .line { display: inline; }
.h1 .line.accent { display: block; }
.h1 .accent { color: var(--h1-accent, var(--accent)); }
.lede { margin: 24px 0 0; font-size: clamp(17px, 1.35vw, 19px); color: var(--lede, #D9D0C4); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-fact { margin: 18px 0 0; font-size: 14px; color: var(--muted-d); }
.office { position: relative; height: min(76svh, 780px); min-height: 440px; margin-inline-end: calc(var(--gut) * -1); border-radius: var(--r-lg); touch-action: pan-y; }
.office canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent); mask-composite: intersect; }
.office-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; padding: 24px; text-align: center; color: var(--muted-d); border: 1px dashed var(--night-line); border-radius: var(--r-lg); }
.office.has-gl .office-fallback { display: none; }
.fallback-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fallback-list button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(245, 240, 232, .06); cursor: pointer; }
.office-hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(18, 16, 14, .72); border: 1px solid var(--night-line); font-size: 14px; white-space: nowrap; pointer-events: none; transition: opacity .4s; backdrop-filter: blur(8px); }
.office-hint.is-gone { opacity: 0; }
.hint-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: live 1.8s infinite; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
.o3-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.o3-label { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; border: 1px solid rgba(245, 240, 232, .16); background: rgba(18, 16, 14, .62); color: var(--paper); font-size: 13px; line-height: 1.2; white-space: nowrap; pointer-events: auto; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .18s, border-color .18s, box-shadow .18s; will-change: transform; }
.o3-label:hover, .o3-label.is-on { background: rgba(18, 16, 14, .9); border-color: rgba(245, 240, 232, .45); }
.o3-label.is-on { box-shadow: 0 0 0 2px var(--accent); }
.o3-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.o3-name { font-weight: 600; }
.o3-role { opacity: .7; max-width: 0; overflow: hidden; transition: max-width .3s var(--ease); }
.o3-label:hover .o3-role, .o3-label.is-on .o3-role { max-width: 220px; }

/* hero entrance (JS-gated so content never hides without JS) */
.js [data-enter] .eyebrow, .js [data-enter] .h1, .js [data-enter] .lede, .js [data-enter] .hero-actions, .js [data-enter] .hero-fact { animation: rise .9s var(--ease) both; }
.js [data-enter] .h1 { animation-delay: .1s; }
.js [data-enter] .h1 .accent { display: block; animation: rise .9s var(--ease) .28s both; }
.js [data-enter] .lede { animation-delay: .34s; }
.js [data-enter] .hero-actions { animation-delay: .42s; }
.js [data-enter] .hero-fact { animation-delay: .5s; }
.js [data-enter] .office { animation: fadeIn 1.4s var(--ease) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } }

/* ---------- editor drawer ---------- */
.editor { position: fixed; z-index: 50; top: 80px; bottom: 12px; inset-inline-end: 12px; width: min(400px, calc(100vw - 24px)); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); display: flex; transform-origin: 0% 0%; }
.editor[hidden] { display: none; }
.js .editor.is-in { animation: drawerIn .38s var(--ease) both; }
@keyframes drawerIn { from { opacity: 0; transform: translateX(-16px) scale(.98); } }
.editor-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 22px; width: 100%; }
.ed-head { display: flex; align-items: center; gap: 12px; }
.ed-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; position: relative; overflow: hidden; }
.ed-title { flex: 1; min-width: 0; }
.ed-name { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 900; line-height: 1.05; }
.ed-role { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.ed-doing { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; padding: 8px 12px; border-radius: 12px; background: var(--paper); font-size: 14px; }
.ed-block { margin: 16px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.ed-block legend { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; float: right; }
.ed-block legend + * { clear: both; }
.cost { font-family: var(--sans); font-weight: 600; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.cost.free { background: #E3F1EA; color: #23704F; }
.field { display: grid; gap: 4px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.swatch-row, .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sw { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.sw::after { content: ''; position: absolute; inset: -6px -3px; }
.sw:hover { transform: scale(1.08); }
.sw[aria-pressed=true] { box-shadow: 0 0 0 2px var(--ink); }
.chip { position: relative; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s var(--ease); }
.chip::after { content: ''; position: absolute; inset: -5px -2px; }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--paper-2); }
.seg button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--muted); transition: background-color .18s, color .18s; }
.seg button[aria-pressed=true] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.editor .seg { display: flex; }
.editor .seg button { flex: 1; padding: 0 6px; }
.chat { display: grid; gap: 8px; margin: 12px 0; }
.bubble { margin: 0; max-width: 88%; padding: 9px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.bubble .who { display: block; font-size: 12px; font-weight: 600; opacity: .6; margin-bottom: 2px; }
.bubble.them { background: var(--paper); border-start-start-radius: 4px; }
.bubble.me { justify-self: end; background: var(--ink); color: var(--paper); border-start-end-radius: 4px; min-height: 58px; }
.caret::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; background: currentColor; vertical-align: -2px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ed-note { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.bench { display: grid; gap: 8px; }
.bench-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: start; cursor: pointer; transition: border-color .15s, transform .15s var(--ease), background-color .15s; }
.bench-item:hover { border-color: var(--ink); transform: translateY(-1px); }
.bench-item:active { transform: scale(.98); }
.bench-item .mini { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.bench-item b { display: block; font-size: 15px; }
.bench-item small { display: block; color: var(--muted); font-size: 13px; }
.bench-item .go { margin-inline-start: auto; font-size: 13px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.bench-item.is-new { border-color: var(--accent); background: var(--accent-soft); }
.ed-foot { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* avatar bust (CSS, no image) */
.av { --skin: #E2B08A; --hair: #2A1E17; --top: #2B4C8C; background: radial-gradient(circle at 50% 118%, var(--top) 0 44%, transparent 45%), radial-gradient(circle at 50% 46%, var(--skin) 0 25%, transparent 26%), radial-gradient(ellipse 34% 26% at 50% 26%, var(--hair) 0 98%, transparent 100%), #EDE5D8; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.sec-light { background: var(--paper); }
.sec-paper { background: var(--surface); }
.sec-dark { background: var(--night); color: var(--paper); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.h2 { margin: 0; font-family: var(--serif); font-weight: var(--h1-weight, 900); font-size: clamp(32px, 4vw, 56px); line-height: 1.06; letter-spacing: -.005em; }
.h2 .mute { display: block; font-weight: 700; }
.sec-lede { margin: 18px 0 0; font-size: 18px; color: var(--muted); max-width: 58ch; }
.sec-dark .sec-lede { color: var(--lede, #CFC5B8); }

/* connect */
.connect-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.nets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.net { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.net:first-child { grid-column: 1 / -1; padding: 22px; }
.net:first-child .net-name { font-size: 20px; }
.net:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(26, 23, 20, .35); }
.net-ic { width: 44px; height: 44px; display: grid; place-items: center; }
.net-ic img { max-width: 40px; max-height: 40px; width: auto; height: auto; }
.net-name { margin: 0; font-weight: 700; font-size: 16px; }
.net-what { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.net .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.net .btn-connect { --bg: var(--ink); --fg: var(--paper); }
.net-state { font-size: 13px; color: var(--muted); white-space: nowrap; }
.net.is-on { border-color: #3DAA74; }
.net.is-on .net-state { color: #23704F; font-weight: 600; }
.net-flow { grid-column: 1 / -1; display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; }
.net-flow li { display: flex; align-items: center; gap: 8px; color: var(--muted); transition: color .2s; }
.net-flow li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.net-flow li.is-done { color: var(--ink); }
.net-flow li.is-done i { background: #3DAA74; border-color: #3DAA74; }
.net-flow li.is-done i::after { content: ''; width: 6px; height: 3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.net-flow li.is-now i { border-color: var(--accent); border-top-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.perms { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.perm { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #E3F1EA; color: #23704F; font-size: 13px; font-weight: 500; }

.phone { position: sticky; top: 92px; border-radius: 36px; background: var(--night); padding: 14px; box-shadow: 0 40px 80px -30px rgba(26, 23, 20, .55), inset 0 0 0 1px rgba(255, 255, 255, .08); color: var(--paper); }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 12px; }
.phone-title { font-family: var(--serif); font-weight: 900; font-size: 20px; }
.phone-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent, #fff); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 470px; align-content: start; }
.fi { padding: 12px 14px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); font-size: 14px; line-height: 1.45; }
.js .fi { animation: fiIn .45s var(--ease) both; }
@keyframes fiIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.fi-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; color: var(--muted-d); }
.fi-top img { width: 16px; height: 16px; }
.fi-top .credit { margin-inline-start: auto; font-family: var(--mono); color: var(--gold); }
.fi q { quotes: none; font-weight: 500; }
.fi.wait { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--accent) 4%, transparent)); }
.fi-actions { display: flex; gap: 8px; margin-top: 10px; }
.fi-actions .btn { min-height: 40px; flex: 1; font-size: 14px; }
.fi-actions .btn-ghost { color: var(--paper); }
.fi.done { border-color: rgba(61, 220, 132, .4); }

/* builder */
.builder { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps button { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 14px; background: transparent; color: var(--muted-d); text-align: start; cursor: pointer; transition: background-color .18s, color .18s; }
.steps button::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--night-line); font-family: var(--mono); font-size: 13px; transition: background-color .2s, border-color .2s, color .2s; }
.steps button:hover { background: rgba(245, 240, 232, .05); color: var(--paper); }
.steps button[aria-current=step] { background: rgba(245, 240, 232, .08); color: var(--paper); }
.steps button[aria-current=step]::before { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }
.steps button.is-done::before { content: '✓'; background: #2E8B5E; border-color: #2E8B5E; color: #fff; }
.steps small { display: block; font-size: 12px; opacity: .75; }
.steps small bdi, .sl .v bdi { font-family: var(--mono); }
.step-panel { min-height: 520px; padding: clamp(18px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); }
.step-panel h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 28px; font-weight: 900; }
.step-panel > p { margin: 0 0 18px; color: var(--lede, #CFC5B8); }
.step-panel .field { color: var(--muted-d); }
.step-panel .field input, .step-panel .field textarea { background: var(--night); color: var(--paper); border-color: var(--night-line); }
.step-panel .chip { background: transparent; color: var(--paper); border-color: var(--night-line); }
.step-panel .chip[aria-pressed=true] { background: var(--paper); color: var(--ink); }
.out { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--night); border: 1px solid var(--night-line); font-size: 15px; line-height: 1.6; white-space: pre-line; color: var(--lede, #E8E0D4); min-height: 64px; }
.out:empty { display: none; }
.out .tag { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--gold); margin-bottom: 4px; }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.step-actions .btn-ghost { color: var(--paper); }
.step-cost { font-size: 14px; color: var(--muted-d); }
.files { display: grid; gap: 8px; }
.file { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--night-line); background: var(--night); }
.file .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file small { color: var(--muted-d); font-family: var(--mono); }
.file .prog { width: 70px; height: 4px; border-radius: 4px; background: var(--night-line); overflow: hidden; }
.file .prog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.2s var(--ease); }
.drop { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 12px; border: 1px dashed rgba(245, 240, 232, .3); color: var(--muted-d); cursor: pointer; transition: border-color .2s, color .2s; }
.drop:hover { border-color: var(--paper); color: var(--paper); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { filter: invert(1); opacity: .7; }
.examples { display: grid; gap: 8px; }
.example { padding: 10px 14px; border-radius: 14px; background: var(--night); border: 1px solid var(--night-line); font-size: 15px; }
.example small { display: block; color: var(--muted-d); font-size: 12px; }
.newbie { position: sticky; top: 92px; display: grid; gap: 14px; }
.nb-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--paper); color: var(--ink); }
.nb-avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.nb-name { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 900; line-height: 1.1; }
.nb-role { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.nb-skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nb-skills li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--lede, #CFC5B8); }
.nb-skills li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.js .nb-skills li { animation: fiIn .4s var(--ease) both; }
.meter { padding: 16px; border-radius: var(--r); border: 1px solid var(--night-line); background: var(--night-2); }
.meter p { margin: 0; }
.meter-l { font-size: 13px; color: var(--muted-d); }
.meter-n { font-family: var(--mono); font-size: 40px; font-weight: 600; line-height: 1.15; color: var(--paper); }
.meter-n span { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted-d); }
.meter-s { font-size: 13px; color: var(--muted-d); }
.meter-bar { margin-top: 12px; height: 6px; border-radius: 6px; background: var(--night-line); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--accent)); transition: width .8s var(--ease); }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.calc-in { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.c-mini { display: none; position: sticky; top: 64px; z-index: 5; justify-content: space-between; align-items: center; gap: 10px; margin: -6px -6px 14px; padding: 10px 14px; border-radius: 14px; background: var(--night); color: var(--paper); font-size: 14px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.c-mini b { font-family: var(--mono); font-size: 18px; }
.calc-top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-bottom: 18px; }
.seg-sm button { font-size: 14px; padding: 0 12px; }
.sliders { display: grid; gap: 4px; }
.sl { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sl:last-child { border-bottom: 0; }
.sl label { font-weight: 500; font-size: 15px; }
.sl .v { font-size: 14px; color: var(--muted); text-align: end; }
.sl .v b { color: var(--ink); font-weight: 600; }
.sl input { grid-column: 1 / -1; }
.sl.is-build { background: var(--accent-soft); margin: 6px -12px 0; padding: 12px; border-radius: 14px; border: 0; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to left, var(--accent) var(--p), var(--paper-2) var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--paper-2); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .15s var(--ease); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.calc-out { position: sticky; top: 92px; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--night); color: var(--paper); }
.calc-out p { margin: 0; }
.co-l { font-size: 14px; color: var(--muted-d); }
.co-n { font-family: var(--mono); font-weight: 600; font-size: clamp(44px, 5vw, 64px); line-height: 1.1; }
.co-n span { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--muted-d); }
.co-bar { position: relative; height: 10px; margin-top: 16px; border-radius: 10px; background: var(--night-line); }
.co-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 10px; background: linear-gradient(270deg, var(--accent), var(--gold)); transition: width .6s var(--ease), background .3s; }
.co-bar i.over { background: repeating-linear-gradient(45deg, var(--accent), var(--accent) 6px, #C8502A 6px, #C8502A 12px); }
.co-bar b { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--paper); opacity: .6; transition: inset-inline-start .6s var(--ease); }
.co-bar-l { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px !important; font-size: 13px; color: var(--muted-d); }
.co-plan { margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--night-2); border: 1px solid var(--night-line); }
.co-plan-l { font-size: 13px; color: var(--muted-d); }
.co-plan-n { font-family: var(--serif); font-size: 36px; font-weight: 900; line-height: 1.1; }
.co-price { font-size: 15px; color: var(--muted-d); }
.co-price bdi { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--paper); }
.co-note { margin-top: 8px !important; font-size: 14px; color: var(--lede, #E8E0D4); }
.co-who { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.co-who li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.co-who .mini { width: 22px; height: 22px; border-radius: 50%; }
.co-who .bar { grid-column: 2 / -1; height: 4px; border-radius: 4px; background: var(--night-line); overflow: hidden; margin-top: -4px; }
.co-who .bar i { display: block; height: 100%; background: var(--paper); opacity: .7; transition: width .6s var(--ease); }
.co-who .n { font-family: var(--mono); color: var(--muted-d); }

.plans { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; margin-top: clamp(28px, 4vw, 48px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.plan:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(26, 23, 20, .4); }
.plan.is-fit { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.plan.hot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan.hot .pc { color: var(--lede, #CFC5B8); }
.plan .pn { font-family: var(--serif); font-size: 26px; font-weight: 900; }
.plan .pp bdi { font-family: var(--mono); font-size: 32px; font-weight: 600; }
.plan .pp small { font-size: 13px; opacity: .7; }
.plan .pc { font-size: 14px; color: var(--muted); }
.plan .pfor { font-size: 14px; color: var(--muted); margin-top: -4px; }
.plan.hot .pfor { color: var(--lede, #CFC5B8); }
.plan .pf { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; color: var(--ink); flex: 1; align-content: start; }
.plan.hot .pf { border-top-color: rgba(245, 240, 232, .14); color: var(--paper); }
.plan .pf li { display: flex; align-items: flex-start; gap: 9px; }
.plan .pf svg { flex: none; margin-top: 4px; color: var(--accent); }
.plan .fit { position: absolute; top: -12px; inset-inline-start: 18px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent, #fff); font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); }
.plan.is-fit .fit { opacity: 1; transform: none; }
.plan .btn { margin-top: 10px; }
.plan.hot .btn-ghost { color: var(--paper); }
.pricelist { margin-top: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pricelist summary { min-height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 20px; cursor: pointer; font-weight: 600; list-style: none; }
.pricelist summary::-webkit-details-marker { display: none; }
.pricelist summary::after { content: '+'; margin-inline-start: auto; font-size: 22px; font-weight: 400; transition: transform .2s var(--ease); }
.pricelist[open] summary::after { transform: rotate(45deg); }
.table-wrap { overflow-x: auto; padding: 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: start; }
th { font-size: 13px; font-weight: 600; color: var(--muted); }
td.num, th.num { text-align: end; font-family: var(--mono); }
tr.is-build td { background: var(--accent-soft); }
.pricelist .fine { padding: 4px 20px 18px; margin: 0; }
.tag-m { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--paper-2); font-family: var(--mono); }

/* extras */
.extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.ex-col h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-family: var(--serif); font-size: 30px; font-weight: 900; }
.ex-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ex-col li { font-size: 15px; color: var(--muted); line-height: 1.5; }
.ex-col li b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }

/* close + footer */
.close { background: var(--night); color: var(--paper); padding-block: clamp(96px, 14vw, 180px); overflow: hidden; position: relative; }
.close::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); pointer-events: none; }
.close-inner { position: relative; }
.close-big { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(48px, 9vw, 140px); line-height: .98; letter-spacing: -.015em; max-width: 12ch; }
.close-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 40px; }
.close-row .hero-fact { margin: 0; }
.foot { background: var(--night); color: var(--muted-d); border-top: 1px solid var(--night-line); }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 28px; font-size: 14px; }
.foot-row p { margin: 0; }
.foot .fine { color: var(--muted-d); opacity: .7; }

/* toasts + dialog */
.toasts { position: fixed; z-index: 70; inset-inline-start: 50%; bottom: 20px; transform: translateX(50%); display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); white-space: nowrap; animation: toastIn .35s var(--ease) both; }
.toast b { font-family: var(--mono); color: var(--gold); }
.toast.out { animation: toastOut .3s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
.soon { border: 0; padding: 0; border-radius: var(--r-lg); max-width: min(420px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6); }
.soon::backdrop { background: rgba(18, 16, 14, .6); backdrop-filter: blur(4px); }
.soon-in { padding: 26px; }
.soon h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; }
.soon p { margin: 0 0 18px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive (after every base rule) ---------- */
@media (max-width: 1100px) {
  .builder { grid-template-columns: minmax(0, 1fr) 280px; }
  .steps { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps button { grid-template-columns: 1fr; justify-items: center; text-align: center; font-size: 13px; padding: 8px 4px; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; min-height: 0; }
  .hero { min-height: 0; }
  .hero-copy { padding-block: 28px 8px; max-width: none; }
  .office { height: 62svh; min-height: 400px; margin-inline: calc(var(--gut) * -1); border-radius: 0; }
  .connect-grid, .calc { grid-template-columns: minmax(0, 1fr); }
  .phone, .calc-out, .newbie { position: static; }
  .phone { max-width: 420px; width: 100%; justify-self: center; }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .newbie { grid-row: 2; }
  .step-panel { min-height: 0; }
  .feed { min-height: 420px; }
}
@media (max-width: 760px) {
  .editor { top: auto; bottom: 0; inset-inline: 0; width: 100%; max-height: 62svh; border-radius: 22px 22px 0 0; transform-origin: 50% 100%; }
  .js .editor.is-in { animation-name: sheetIn; }
  @keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
  .editor-scroll { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-row { gap: 10px; height: 60px; }
  .hero { padding-top: 60px; }
  .wallet-l { display: none; }
  .wallet { padding: 0 12px; }
  .nav .btn-sm { padding: 0 14px; }
  .brand-name { font-size: 21px; }
  .h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .nets { grid-template-columns: minmax(0, 1fr); }
  .net { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .net-ic img { max-width: 34px; max-height: 34px; }
  .net > .btn { min-height: 44px; }
  .c-mini { display: flex; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  .steps button { font-size: 0; min-height: 48px; }
  .steps button::before { font-size: 13px; }
  .steps button small { display: none; }
  .extras, .plans { grid-template-columns: minmax(0, 1fr); }
  .calc-top { flex-direction: column; align-items: stretch; }
  .calc-top .seg { display: flex; }
  .calc-top .seg button { flex: 1; }
  .step-actions .btn { width: 100%; }
  .close-row .btn { width: 100%; }
  .office-hint { font-size: 13px; }
  .toasts { width: calc(100% - 32px); }
  .toast { white-space: normal; border-radius: 16px; }
}
@media (pointer: fine) { .sw::after, .chip::after, .icon-btn::after { inset: 0; } }

/* ---------- accessibility menu ---------- */
/* accessibility button: site palette, 44px, out of the way. On the home hero it waits below the fold line (a11y.js adds
   .is-tucked) so it never sits on the price line or the stats; keyboard focus always brings it back. */
.a11y-btn { position: fixed; z-index: 60; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); background: var(--night); color: var(--paper); cursor: pointer; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6); transition: transform .16s var(--ease), opacity .2s var(--ease), background-color .2s; }
.a11y-btn svg { width: 22px; height: 22px; }
.a11y-btn:active { transform: scale(.96); }
.a11y-btn.is-tucked { opacity: 0; transform: translateY(8px); pointer-events: none; }
.a11y-btn.is-tucked:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) { .a11y-btn:hover { background: var(--night-2); } }
.a11y-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a11y-panel { position: fixed; z-index: 61; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(70px + env(safe-area-inset-bottom, 0px)); max-height: calc(100svh - 120px); overflow-y: auto; overscroll-behavior: contain; width: 240px; padding: 14px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); display: grid; gap: 6px; }
.a11y-panel[hidden] { display: none; }
.a11y-title { margin: 0 0 4px; font-weight: 700; }
.a11y-opt, .a11y-reset { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: start; cursor: pointer; font-size: 15px; }
.a11y-opt[aria-pressed=true] { background: var(--night); border-color: var(--night); color: var(--paper); }
.a11y-reset { background: var(--paper); }
.a11y-link { display: flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 14px; }
html.a11y-big { font-size: 118%; }
html.a11y-big body { font-size: 20px; }
html.a11y-big .lede, html.a11y-big .sec-lede, html.a11y-big .ex-col li, html.a11y-big .net-what, html.a11y-big .doc p, html.a11y-big .doc li { font-size: 1.15em; }
html.a11y-contrast { --muted: #2E2924; --muted-d: #F0E9DF; --line: rgba(0, 0, 0, .45); --night-line: rgba(255, 255, 255, .5); }
html.a11y-contrast .sec-lede, html.a11y-contrast .lede, html.a11y-contrast .sec-dark .sec-lede { color: inherit; }
html.a11y-contrast .btn-primary { --bg: #A9360F; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; background: #FFF3A6; color: #000 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-font, html.a11y-font * { font-family: Arial, 'Segoe UI', sans-serif !important; letter-spacing: 0 !important; }

/* ---------- legal / document pages ---------- */
.doc-page { background: var(--paper); }
.doc-page .nav { background: var(--night); }
.doc { max-width: 780px; margin-inline: auto; padding: 120px var(--gut) 96px; }
.doc h1 { margin: 0 0 8px; font-family: var(--serif); font-weight: 900; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; }
.doc .meta { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.doc .draft { margin: 0 0 32px; padding: 14px 18px; border-radius: 14px; background: #FFF4D6; border: 1px solid #E9C46A; font-size: 15px; }
.doc h2 { margin: 40px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 900; }
.doc h3 { margin: 24px 0 6px; font-size: 18px; }
.doc p, .doc li { font-size: 17px; line-height: 1.75; }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { margin: 12px 0; background: var(--surface); border-radius: 12px; overflow: hidden; }
.doc a { color: var(--accent-ink); }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.doc .toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: none; opacity: .85; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 600px) { .a11y-btn { left: calc(12px + env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } .a11y-panel { left: 12px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); } }
.brand { min-height: 44px; }
@media (max-width: 600px) { .seg button { min-height: 44px; } .chip { min-height: 40px; } }
@media (max-width: 380px) { .brand-name { display: none; } .nav-end { gap: 6px; } .wallet { padding: 0 10px; } }

/* ---------- language switch + left-to-right fixes ---------- */
.lang { display: inline-flex; align-items: center; text-decoration: none; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: inherit; font: 600 14px/1 var(--sans); cursor: pointer; transition: background-color .2s, transform .18s var(--ease); }
.lang:hover { background: rgba(245, 240, 232, .1); }
.lang:active { transform: scale(.97); }
.lang:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[dir=ltr] input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--accent) var(--p), var(--paper-2) var(--p)); }
[dir=ltr] .toasts { transform: translateX(-50%); }
[dir=ltr] .ed-block legend { float: left; }
[dir=ltr] .js .editor.is-in { animation-name: drawerInL; }
@keyframes drawerInL { from { opacity: 0; transform: translateX(16px) scale(.98); } }
[dir=ltr] .co-bar i { background: linear-gradient(90deg, var(--accent), var(--gold)); }
[dir=ltr] .h1, [dir=ltr] .h2 { letter-spacing: var(--h1-track, -.02em); }
[dir=ltr] .h1 { font-size: clamp(36px, 3.7vw, 56px); }
[dir=ltr] .h1 .line { display: block; }
.lang .l-short { display: none; }
@media (max-width: 600px) { .lang { height: 36px; padding: 0 10px; font-size: 13px; } .lang .l-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .lang .l-short { display: inline; } }
@media (max-width: 380px) { .lang { padding: 0 8px; } }
.brand-name { white-space: nowrap; }
.btn-sm .l-short { display: none; }
@media (max-width: 440px) { [dir=ltr] .brand-name { font-size: 17px; } [dir=ltr] .brand { gap: 8px; } [dir=ltr] .nav-end { gap: 5px; } [dir=ltr] .btn-sm { padding-inline: 11px; } [dir=ltr] .wallet { padding: 0 9px; gap: 5px; } [dir=ltr] .lang { padding: 0 8px; } .btn-sm .l-long { display: none; } .btn-sm .l-short { display: inline; } }
@media (max-width: 389px) { [dir=ltr] .brand-name { display: none; } }
/* ---------- invite link ---------- */
.invite { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.invite-k { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent-ink); }
.invite-h { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; line-height: 1.15; text-wrap: balance; }
.invite-copy p:last-child { margin: 0; color: var(--muted); }
.invite-card { padding: 18px; border-radius: var(--r); background: var(--ink); color: var(--paper); }
.invite-l { margin: 0 0 10px; font-size: 13px; color: var(--lede, #CFC5B8); }
.invite-row { display: flex; align-items: center; gap: 8px; padding: 6px; padding-inline-start: 12px; border-radius: 12px; background: rgba(245, 240, 232, .08); border: 1px solid rgba(245, 240, 232, .14); }
.invite-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1.4 var(--mono); }
.invite-row .btn-ghost { color: var(--paper); flex: none; }
.invite-s { margin: 12px 0 0; font-size: 14px; color: var(--lede, #CFC5B8); }
.invite-s b { color: var(--paper); font-family: var(--mono); }
@media (max-width: 900px) { .invite { grid-template-columns: minmax(0, 1fr); } }
/* ---------- hero upgrade: networks, stats, live work ---------- */
.hero-glow { background:
  radial-gradient(60% 55% at 30% 58%, var(--glow-1, color-mix(in srgb, var(--accent) 26%, transparent)), transparent 70%),
  radial-gradient(40% 40% at 18% 40%, var(--glow-2, rgba(242, 179, 61, .12)), transparent 70%),
  linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.lede { color: var(--lede, #D9D0C4); }
.hero-nets { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; font-size: 13px; color: var(--muted-d); }
.hero-nets-ic { display: inline-flex; gap: 10px; }
.hero-nets-ic { gap: 8px; }
.hero-nets-ic img { box-sizing: border-box; width: 32px; height: 32px; padding: 6px; border-radius: 9px; background: #fff; object-fit: contain; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); transition: transform .2s var(--ease); }
.hero-nets-ic img:hover { transform: translateY(-2px); }
.hero-fact { margin-top: 12px; }
.hero-stats { display: flex; gap: clamp(18px, 3vw, 36px); margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--night-line); }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats dt { font-size: 13px; color: var(--muted-d); }
.hero-stats dd { margin: 0; font: 600 clamp(22px, 2vw, 28px)/1.1 var(--mono); color: var(--paper); }
.live { position: absolute; z-index: 3; bottom: 64px; inset-inline-end: calc(var(--gut) + 8px); width: min(280px, 42%); display: flex !important; flex-direction: column-reverse; margin: 0; padding: 0; list-style: none; gap: 8px; pointer-events: none; }
.live li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(18, 16, 14, .78); background: color-mix(in srgb, var(--night) 80%, transparent); border: 1px solid var(--night-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); font-size: 13px; line-height: 1.35; color: var(--paper); }
.js .live li { animation: liveIn .5s var(--ease) both; }
.live li.out { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; }
@keyframes liveIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.live .lv-av { width: 28px; height: 28px; border-radius: 50%; position: relative; overflow: hidden; }
.live b { font-weight: 600; }
.live .lv-t { display: block; color: var(--muted-d); font-size: 12px; }
.live .lv-c { font: 600 12px/1 var(--mono); color: var(--gold); white-space: nowrap; }
@media (max-width: 900px) { .live { width: min(270px, 70%); } .live li:nth-child(n+2) { display: none; } }
@media (max-width: 600px) { .hero-stats dd { font-size: 20px; } .hero-stats { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .js .live li { animation: none; } }

/* ---------- light-hero palettes ---------- */
[data-hero=light] .office-hint { color: #F5F0E8; }
[data-hero=light] .wallet .ui-ic { filter: none; }
[data-hero=light] .nav-links a:hover { background: color-mix(in srgb, var(--paper) 8%, transparent); }
[data-hero=light] .live li { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }

/* English is the default: hide the Hebrew markup for the instant before i18n.js swaps it (removed by i18n.js, or after 2.5s by the head script) */
html.i18n-wait body { visibility: hidden; }

/* ===== Video: hero link + studio section ===== */
.hero-video { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px 8px 8px; padding-inline: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 8%, transparent); border: 1px solid var(--night-line); color: inherit; text-decoration: none; font-size: 15px; transition: background-color .2s, transform .18s var(--ease); }
.hero-video:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); transform: translateY(-1px); }
.hero-video:active { transform: translateY(0) scale(.98); }
.hv-play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #fff); flex: none; }
.hv-t b { color: var(--h1-accent, var(--accent)); margin-inline-end: 6px; font-weight: 700; }
.hv-arrow { transition: transform .2s var(--ease); }
[dir="ltr"] .hv-arrow { transform: scaleX(-1); }
.hero-video:hover .hv-arrow { transform: translateX(-3px); }
[dir="ltr"] .hero-video:hover .hv-arrow { transform: scaleX(-1) translateX(-3px); }

.video-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink, var(--accent)); }
.vsteps { list-style: none; counter-reset: v; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.vsteps li { counter-increment: v; position: relative; padding-inline-start: 46px; color: var(--muted); line-height: 1.5; }
.vsteps li::before { content: counter(v); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft, #F6DFD3); color: var(--accent-ink, var(--accent)); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.vsteps b { display: block; color: var(--ink); }
.vprice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 12px; }
.vp { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.vp-l { font-size: 14px; color: var(--muted); }
.vp-n { font-size: 22px; font-weight: 700; }
.vp-s { font-family: var(--mono); font-size: 14px; color: var(--muted); }

.vdemo { display: grid; justify-items: center; gap: 18px; }
.vd-phone { width: min(300px, 78vw); aspect-ratio: 9 / 16; border-radius: 38px; padding: 10px; background: #111; box-shadow: 0 40px 80px -30px rgba(26, 23, 20, .55), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.vd-screen { position: relative; height: 100%; border-radius: 29px; overflow: hidden; background: radial-gradient(120% 80% at 30% 20%, #F7D9B5, #D89A6A 55%, #8A4F33); }
.vd-clip, .vd-anim { position: absolute; inset: 0; }
.vd-you { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 78%; }
.vd-rec { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; font: 600 11px/1 var(--mono); letter-spacing: .06em; }
.vd-rec i { width: 7px; height: 7px; border-radius: 50%; background: #FF3B30; }
.vd-time::after { content: "0:04"; }
.vd-anim { background: var(--accent); overflow: hidden; }
.vs { position: absolute; border-radius: 50%; }
.vs1 { width: 46%; aspect-ratio: 1; top: 8%; inset-inline-end: -10%; background: var(--gold); }
.vs2 { width: 28%; aspect-ratio: 1; bottom: 22%; inset-inline-start: -6%; background: var(--teal); border-radius: 30%; }
.vs3 { width: 16%; aspect-ratio: 1; top: 30%; inset-inline-start: 18%; background: var(--paper); }
.vd-card { position: absolute; inset-inline: 12%; top: 26%; padding: 18px 16px 16px; border-radius: 22px; background: var(--surface); color: var(--ink); display: grid; justify-items: center; gap: 10px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); }
.vd-cake { width: 64px; height: 46px; border-radius: 10px 10px 6px 6px; background: linear-gradient(#F7E3C6 0 30%, #E86A8A 30% 44%, #F7E3C6 44% 70%, #C98E62 70%); position: relative; }
.vd-cake::before { content: ""; position: absolute; left: 50%; top: -14px; width: 4px; height: 12px; margin-left: -2px; border-radius: 2px; background: var(--accent); }
.vd-big { font-size: 30px; line-height: 1; font-weight: 800; color: var(--accent-ink, var(--accent)); }
.vd-cap { position: absolute; inset-inline: 10px; bottom: 14px; margin: 0; text-align: center; display: grid; justify-items: center; align-items: end; }
.vd-cap span { grid-area: 1 / 1; }
.vd-cap span { display: inline-block; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }
.vd-track { position: relative; width: min(300px, 78vw); display: grid; grid-template-columns: 4fr 9fr; gap: 4px; font-size: 12px; font-weight: 600; }
.vd-track span { padding: 7px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-you { background: color-mix(in srgb, #D89A6A 35%, var(--paper)); color: var(--ink); }
.vt-ai { background: var(--accent); color: var(--on-accent, #fff); }
.vt-head { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--ink); inset-inline-start: 0; }

/* the loop (13 units: 4 of you, 9 of animation) — CSS only, so it plays with no JS; still frame on reduced motion */
.vd-anim { clip-path: inset(0 0 0 100%); }
[dir="rtl"] .vd-anim { clip-path: inset(0 100% 0 0); }
.vd-cap .c2 { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .vd-anim { animation: vdWipe 9s var(--ease) infinite; }
  [dir="rtl"] .vd-anim { animation-name: vdWipeR; }
  .vd-cap .c1 { animation: vdC1 9s steps(1) infinite; }
  .vd-cap .c2 { display: inline-block; animation: vdC2 9s steps(1) infinite; }
  .vd-rec i { animation: vdBlink 1s steps(1) infinite; }
  .vd-time::after { animation: vdTime 9s steps(1) infinite; }
  .vs1 { animation: vdPop 9s var(--ease) infinite; }
  .vs2 { animation: vdPop 9s var(--ease) infinite .15s; }
  .vs3 { animation: vdPop 9s var(--ease) infinite .3s; }
  .vd-card { animation: vdCard 9s var(--ease) infinite; }
  .vt-head { animation: vdHead 9s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .vd-anim, [dir="rtl"] .vd-anim { clip-path: none; } .vd-cap .c1 { display: none; } .vd-cap .c2 { display: inline-block; } }
html.a11y-still .vd-anim { clip-path: none !important; }
html.a11y-still .vd-cap .c1 { display: none; } html.a11y-still .vd-cap .c2 { display: inline-block; }
@keyframes vdWipe { 0%, 30% { clip-path: inset(0 0 0 100%); opacity: 1; } 36%, 96% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes vdWipeR { 0%, 30% { clip-path: inset(0 100% 0 0); opacity: 1; } 36%, 96% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes vdC1 { 0% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; } }
@keyframes vdC2 { 0% { opacity: 0; } 33% { opacity: 1; } 99% { opacity: 1; } }
@keyframes vdBlink { 50% { opacity: 0; } }
@keyframes vdTime { 0% { content: "0:01"; } 8% { content: "0:02"; } 16% { content: "0:03"; } 24% { content: "0:04"; } }
@keyframes vdPop { 0%, 34% { transform: scale(0); } 44% { transform: scale(1.08); } 50%, 100% { transform: scale(1); } }
@keyframes vdCard { 0%, 38% { transform: translateY(40px) scale(.9); opacity: 0; } 48%, 100% { transform: none; opacity: 1; } }
@keyframes vdHead { from { inset-inline-start: 0; } to { inset-inline-start: 100%; } }
@media (max-width: 900px) { .video-grid { grid-template-columns: minmax(0, 1fr); } .vdemo { order: -1; } }
@media (max-width: 440px) { .vprice { grid-template-columns: minmax(0, 1fr); } }

/* send-a-video composer: mode, clip, written instructions, live bill */
.vcomp { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(26, 23, 20, .45); overflow: hidden; }
.vc-main { padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; min-width: 0; }
.vc-title { margin: 0; font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); }
.vc-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vc-mode { display: grid; gap: 2px; text-align: start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s var(--ease); }
.vc-mode span { font-size: 13px; color: var(--muted); }
.vc-mode:hover { border-color: var(--ink); }
.vc-mode:active { transform: scale(.98); }
.vc-mode[aria-pressed=true] { border-color: var(--accent); background: var(--accent-soft, #F6DFD3); box-shadow: inset 0 0 0 1px var(--accent); }
.vc-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px dashed rgba(26, 23, 20, .28); background: var(--surface); font-size: 14px; }
.vc-thumb { flex: none; width: 34px; height: 48px; border-radius: 7px; display: grid; place-items: center; background: radial-gradient(120% 80% at 30% 20%, #F7D9B5, #D89A6A 55%, #8A4F33); }
.vc-thumb i { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid #fff; margin-left: 2px; }
.vc-fname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 13px var(--mono); }
.vc-ok { margin-inline-start: auto; font-size: 13px; font-weight: 600; color: var(--teal); white-space: nowrap; }
.vc-label { font-weight: 600; margin-top: 4px; }
.vc-brief { width: 100%; min-height: 112px; resize: vertical; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; }
.vc-brief:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.vc-under { display: flex; align-items: flex-start; gap: 12px; }
.vc-chips { flex: 1; min-width: 0; margin: 0; }
.vc-count { padding-top: 8px; font: 12px var(--mono); color: var(--muted); }
.vc-bill { padding: clamp(20px, 3vw, 32px); background: var(--paper-2); border-inline-start: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; min-width: 0; }
.vc-bl { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vc-rows { margin: 0; display: grid; gap: 8px; }
.vc-rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.vc-rows dt { min-width: 0; color: var(--muted); }
.vc-rows dd { margin: 0; font-family: var(--mono); font-weight: 600; transition: color .2s; }
.vc-rows dd.bump { color: var(--accent-ink, var(--accent)); }
.vc-total { margin: 6px 0 0; font-size: clamp(34px, 4vw, 44px); font-weight: 800; line-height: 1; }
.vc-total > span { font-size: 16px; font-weight: 600; color: var(--muted); }
.vc-ils { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.vc-ils bdi { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.vc-note { margin: 0; }
.vc-prog { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.vc-prog li { display: flex; align-items: center; gap: 8px; color: var(--muted); opacity: .45; transition: opacity .3s, color .3s; }
.vc-prog li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; transition: background-color .3s, border-color .3s; }
.vc-prog li.on { opacity: 1; color: var(--ink); }
.vc-prog li.on::before { background: var(--accent); border-color: var(--accent); }
.vc-prog li.done { opacity: 1; }
.vc-prog li.done::before { background: var(--teal); border-color: var(--teal); }
@media (max-width: 900px) { .vcomp { grid-template-columns: minmax(0, 1fr); } .vc-bill { border-inline-start: 0; border-top: 1px solid var(--line); } }
@media (max-width: 440px) { .vc-modes { grid-template-columns: minmax(0, 1fr); } .vc-under { flex-direction: column; gap: 4px; } }
/* light heroes flip paper/ink inside the nav, so the logo dots take the hero colours */
[data-hero=light] #nav .brand-mark i { background: var(--night); }
[data-hero=light] #nav .brand-mark i:first-child { background: var(--h1-accent, var(--accent)); }

/* ===== default look: Graphite volt (chosen 23.11). ?palette=<key> still overrides for comparison ===== */
:root {
  --night: #0B0C0E; --night-2: #141518; --night-line: rgba(244, 244, 242, .10);
  --paper: #F4F4F2; --paper-2: #E9E9E6; --surface: #FFFFFF; --ink: #0B0C0E;
  --muted: #5A5D65; --muted-d: #8E929B; --line: rgba(11, 12, 14, .10);
  --accent: #C6F24E; --on-accent: #0B0C0E; --accent-ink: #4D6B00; --accent-soft: #EEF8D2;
  --teal: #7C93FF; --gold: #D6F77E; --lede: #B5B9C1; --h1-accent: #C6F24E;
  --glow-1: rgba(198, 242, 78, .10); --glow-2: rgba(124, 147, 255, .12);
  --serif: 'IBM Plex Sans Hebrew', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'IBM Plex Sans Hebrew', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --h1-weight: 500; --h1-track: -.03em;
}
/* volt on light sections: a lime pill on near-white has no edge, so the button turns ink with lime type */
[data-palette=volt] .sec-light .btn-primary, [data-palette=volt] .sec-paper .btn-primary { --bg: var(--ink); --fg: var(--accent); box-shadow: 0 6px 20px -10px rgba(11, 12, 14, .5); }
[data-palette=volt] .sec-light .btn-primary:hover, [data-palette=volt] .sec-paper .btn-primary:hover { --bg: #24262B; }
/* phones up to 440px: IBM Plex is wider than Rubik, so the top bar tightens to keep the 16px edge */
@media (max-width: 440px) { .nav-end { gap: 6px; } .wallet { padding: 0 10px; } .nav .btn-sm { padding: 0 12px; font-size: 14px; } .brand { gap: 8px; } .brand-name { font-size: 19px; } }

/* why a real person opens the video */
.vwhy { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.vwhy-h { margin: 0 0 20px; font: var(--h1-weight, 700) clamp(22px, 2.4vw, 30px)/1.2 var(--serif); text-wrap: balance; }
.vwhy-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); counter-reset: w; }
.vwhy-list li { counter-increment: w; color: var(--muted); line-height: 1.55; min-width: 0; }
.vwhy-list li::before { content: "0" counter(w); display: block; margin-bottom: 10px; font: 600 13px var(--mono); color: var(--accent-ink, var(--accent)); }
.vwhy-list b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; }
@media (max-width: 760px) { .vwhy-list { grid-template-columns: minmax(0, 1fr); } }
/* the free fix after a video is ready */
.vc-fix { margin: 0; }
.vc-fix[hidden] { display: none; }

/* ===== usage screen (Settings → Usage), credits only ===== */
.usage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: start; margin-top: clamp(56px, 8vw, 96px); }
.usage-copy { min-width: 0; }
.usage-copy p { color: var(--muted); line-height: 1.6; max-width: 46ch; }
.usage-h { margin: 6px 0 14px; font: var(--h1-weight, 700) clamp(26px, 3vw, 38px)/1.15 var(--serif); letter-spacing: var(--h1-track, 0); text-wrap: balance; }
.usage-try { margin-top: 18px; padding-inline-start: 14px; border-inline-start: 3px solid var(--accent); color: var(--ink) !important; font-weight: 500; }
.ucard { min-width: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11, 12, 14, .35); }
.ucard p { margin: 0; }
.ucard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.ucard-t { font-weight: 600; font-size: 16px; }
.ucard-upd { font-size: 12px; color: var(--muted); }
.u-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l n" "b b"; gap: 8px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.u-l { grid-area: l; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.u-l b { font-weight: 600; font-size: 15px; }
.u-l span { font-size: 13px; color: var(--muted); }
.u-n { grid-area: n; align-self: start; font: 500 13px var(--mono); color: var(--muted); text-align: end; white-space: nowrap; }
.u-n b { font-size: 15px; color: var(--ink); }
.u-bar { grid-area: b; position: relative; height: 8px; border-radius: 8px; background: var(--paper-2, #E9E9E6); overflow: hidden; }
.u-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 8px; background: var(--ink); transition: width .6s var(--ease), background-color .3s; }
.u-bar i.warn { background: #C77A0A; }
.u-bar i.full { background: #C2412D; }
.u-warn { margin-top: 12px !important; padding: 10px 12px; border-radius: var(--r-sm); background: #FFF4E0; color: #6B4300; font-size: 14px; line-height: 1.5; }
.u-warn.full { background: #FDE8E4; color: #7A2416; }
.u-extra { display: grid; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.u-extra-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.u-switch { position: relative; flex: none; width: 46px; height: 28px; border-radius: 28px; border: 0; padding: 0; background: var(--paper-2, #E9E9E6); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color .2s; }
.u-switch i { position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.u-switch[aria-checked=true] { background: var(--ink); }
.u-switch[aria-checked=true] i { transform: translateX(18px); }
[dir=rtl] .u-switch[aria-checked=true] i { transform: translateX(-18px); }
.u-switch:active i { width: 26px; }
.u-limit { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.u-limit[aria-disabled=true], .u-bar-x[aria-disabled=true] { opacity: .45; }
.u-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.u-step button { width: 40px; height: 36px; border: 0; background: transparent; font-size: 18px; color: var(--ink); cursor: pointer; }
.u-step button:hover { background: var(--paper); }
.u-step button:active { transform: scale(.94); }
.u-step button:disabled { opacity: .35; cursor: default; }
.u-step bdi { min-width: 64px; text-align: center; font: 600 14px var(--mono); color: var(--ink); }
.u-extra .u-n { text-align: start; }
.u-logh { margin-top: 16px !important; font-size: 13px; font-weight: 600; color: var(--muted); }
.u-log { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.u-log li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 0; font-size: 14px; border-top: 1px dashed var(--line); }
.u-log li:first-child { border-top: 0; }
.u-log li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-log li .n { font: 500 13px var(--mono); color: var(--ink); }
.u-log li .t { color: var(--muted); font-size: 12px; margin-inline-start: 6px; }
.u-log li.new { animation: ulog .9s var(--ease); }
@keyframes ulog { from { background: var(--accent-soft); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .u-log li.new { animation: none; } .u-bar i, .u-switch i { transition: none; } }
.vc-ils.short { color: #C2412D; }
@media (max-width: 900px) { .usage { grid-template-columns: minmax(0, 1fr); } }
.u-extra .u-bar, .u-extra .u-n, .u-extra .u-l { grid-area: auto; }
.u-extra .u-n { margin-top: -2px !important; }
.u-extra .u-n { font-family: var(--sans); }

/* link to the customer-journey simulation */
.hero-journey { display: inline-block; margin-top: 14px; font-size: 15px; color: inherit; opacity: .8; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 4px; transition: opacity .2s, text-decoration-color .2s; }
.hero-journey:hover { opacity: 1; text-decoration-color: var(--accent); }
@media (max-width: 400px) { .brand-name { font-size: 17px; letter-spacing: -.01em; } .brand { gap: 6px; } .wallet { padding: 0 8px; gap: 6px; } }

/* screen-reader-only text */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* contrast fixes (axe, 23.11) */
.vc-ok { color: var(--accent-ink, #4D6B00); }
.steps button small, .steps button small bdi { color: var(--muted-d); }
.calc-out .mute, .co-who .mute { color: var(--muted-d); }
.foot-row > .fine { color: var(--muted-d); }
.steps small { opacity: 1; }
.foot .fine { opacity: 1; }

/* ---------- extra credits: buy, monthly limit, auto-reload (23.11) ---------- */
.u-x { display: grid; gap: 14px; padding-top: 4px; }
.u-x[hidden] { display: none; }
.u-bal { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.u-bal .u-l b { font-size: 17px; }
.u-bal bdi { font-family: var(--mono); }
.u-buy-btn, .u-go { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: var(--surface, #fff); font: 600 15px var(--sans); cursor: pointer; transition: transform .15s var(--ease), opacity .15s; }
.u-buy-btn:hover, .u-go:hover { opacity: .88; }
.u-buy-btn:active, .u-go:active { transform: scale(.97); }
.u-ghost { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 15px var(--sans); cursor: pointer; }
.u-ghost:hover { background: var(--paper); }
.u-buy { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.u-buy[hidden] { display: none; }
.u-buy-h { margin: 0; font-weight: 600; font-size: 15px; }
.u-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.u-chips button { display: grid; gap: 2px; justify-items: center; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s var(--ease); }
.u-chips button b { font: 600 15px var(--mono); }
.u-chips button small { font-size: 12px; color: var(--muted); }
.u-chips button:hover { border-color: var(--ink); }
.u-chips button:active { transform: scale(.97); }
.u-chips button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--surface, #fff); }
.u-chips button[aria-pressed=true] small { color: inherit; opacity: .8; }
.u-row2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.u-lim .u-l b { color: var(--ink); }
.u-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.u-sum div { padding: 10px 12px; border-radius: 10px; background: var(--surface, #fff); border: 1px solid var(--line); }
.u-sum dt { font-size: 12px; color: var(--muted); }
.u-sum dd { margin: 2px 0 0; font: 600 17px var(--mono); color: var(--ink); }
.u-sum dd small { font: 400 12px var(--sans); color: var(--muted); }
.u-chk { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink); cursor: pointer; }
.u-chk[hidden] { display: none; }
.u-chk input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.u-buy-fine { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.u-buy-act { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.u-auto { display: grid; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.u-auto-f { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; color: var(--muted); }
.u-auto-f[hidden] { display: none; }
.u-auto-f label { display: inline-flex; align-items: center; gap: 8px; }
.u-auto-f select { min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink); font: 500 14px var(--mono); }
.u-log li.plus .n { color: var(--accent-ink, #4D6B00); }
.u-log .tag { display: inline-block; margin-inline-start: 6px; padding: 0 6px; border-radius: 6px; background: var(--paper); font-size: 11.5px; color: var(--muted); }
@media (max-width: 420px) { .u-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .u-sum { grid-template-columns: 1fr; } .u-buy-act > * { flex: 1; } }

/* the pinned notice, like Claude Code's limit messages */
.lim-note { position: fixed; z-index: 75; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); inset-inline: max(16px, calc(50% - 280px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--surface, #fff); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(11, 12, 14, .45); animation: toastIn .35s var(--ease) both; }
[dir=rtl] .lim-note { padding: 12px 16px 12px 12px; }
.lim-note[hidden] { display: none; }
.lim-note p { margin: 0; flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; }
.lim-note-a { display: flex; align-items: center; gap: 6px; flex: none; }
.lim-note-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.lim-note-x:hover { background: var(--paper); color: var(--ink); }
body.has-note .toasts { bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
  .lim-note { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: stretch; }
  .lim-note-a .u-go { flex: 1; }
  body.has-note .toasts { bottom: calc(230px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .lim-note { animation: none; } }
@media (max-width: 420px) { .u-buy-act { flex-direction: column-reverse; } .u-buy-act > * { width: 100%; } }

/* ---------- touch hit areas (design review 24.11, P1-14) ----------
   Controls that stay visually small get an invisible ::after so a finger gets 44px. Only for coarse pointers, so with a
   mouse the hit area is exactly what you see and a neighbour never takes the click. Inline growth only where the
   neighbours have room; rows of controls grow vertically. */
.fi-actions .btn { min-height: 44px; }
@media (max-width: 600px) { .lang { min-width: 44px; justify-content: center; } }
@media (pointer: coarse) {
  .lang, .wallet, .hero-journey, .seg button, .brand, .doc .toc a, .u-buy-btn, .u-go, .u-ghost { position: relative; }
  .lang::after, .wallet::after, .btn-sm::after, .seg button::after, .nav-links a::after, .net .btn::after, .doc .toc a::after, .u-buy-btn::after, .u-go::after, .u-ghost::after { content: ''; position: absolute; inset: -4px 0; }
  .hero-journey::after { content: ''; position: absolute; inset: -10px 0; }
  .o3-label::after { content: ''; position: absolute; inset: -9px -4px; }
  .u-switch::after { content: ''; position: absolute; inset: -8px -2px; }
  .brand::after { content: ''; position: absolute; inset: 0 -6px; }
}
/* the fixed accessibility button sits bottom-left; keep the page's last footer line clear of it where it can reach the text */
@media (max-width: 1340px) { .foot { padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); } }

/* =====================================================================
   v2 (24.11): English-first, the approve card in the hero, the office on the visitor's clock,
   a calmer page (6 screens), pricing with the calculator one click away.
   Every rule below comes after the base rules it overrides.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --approved: var(--accent); }
[data-palette=volt] .btn-approve, .btn-approve { --bg: var(--accent); --fg: var(--on-accent, #0B0C0E); }
.btn-approve:hover { --bg: color-mix(in srgb, var(--accent) 86%, #fff); }
.btn-quiet { --fg: var(--paper); border-color: rgba(244, 244, 242, .22); }
@media (hover: none) { .btn:hover, .plan:hover, .bench-item:hover { transform: none; } }

/* nav: a quiet "Log in" next to the primary action */
.nav-login { padding: 8px 10px; border-radius: 999px; font-size: 15px; text-decoration: none; opacity: .86; transition: opacity .15s, background-color .15s; }
.nav-login:hover { opacity: 1; background: rgba(244, 244, 242, .08); }
@media (max-width: 600px) { .nav-login { display: none; } }

/* ---------- hero: copy | office, the approve card overlapping the seam ---------- */
.hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hero-copy { grid-column: 1; grid-row: 1; }
.office { grid-column: 2; grid-row: 1; }
.hero .lede { max-width: 40ch; }
.approve { grid-column: 2; grid-row: 1; align-self: end; justify-self: start; position: relative; z-index: 4; width: min(352px, 100%); margin-block-end: 40px; margin-inline-start: -64px;
  padding: 14px; border-radius: 20px; background: rgba(20, 21, 24, .9); background: color-mix(in srgb, var(--night-2) 92%, transparent); border: 1px solid var(--night-line);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--paper); }
.ap-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 10px; }
.ap-top p { margin: 0; }
.ap-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--paper); }
.ap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--approved); box-shadow: 0 0 0 4px color-mix(in srgb, var(--approved) 22%, transparent); }
.ap-count { font-size: 13px; color: var(--muted-d); white-space: nowrap; }
.ap-count bdi { font-family: var(--mono); color: var(--paper); }
.ap-card { min-height: 168px; padding: 12px 12px 14px; border-radius: 14px; background: rgba(244, 244, 242, .04); border: 1px solid var(--night-line); transition: border-color .2s, box-shadow .25s var(--ease-out), opacity .25s, transform .25s var(--ease-out); }
.ap-card p { margin: 0; }
.ap-src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-d); }
.ap-src img { width: 16px; height: 16px; flex: none; }
.ap-q { margin: 6px 0 12px !important; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--paper); }
.ap-draft { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; padding-top: 12px; border-top: 1px dashed var(--night-line); }
.ap-av { width: 30px; height: 30px; border-radius: 50%; position: relative; overflow: hidden; }
.ap-who { font-size: 13px; color: var(--muted-d); }
.ap-who b { color: var(--paper); font-weight: 600; }
.ap-text { margin-top: 3px !important; font-size: 15px; line-height: 1.5; color: var(--lede); border-radius: 8px; overflow-wrap: anywhere; }
.ap-text[contenteditable=true] { outline: 2px dashed color-mix(in srgb, var(--approved) 70%, transparent); outline-offset: 4px; color: var(--paper); }
.ap-actions { display: flex; gap: 8px; margin-top: 12px; }
.ap-actions .btn { min-height: 44px; font-size: 15px; }
.ap-actions .btn-approve { flex: 1; }
.ap-actions .btn[hidden] { display: none; }
.ap-card.is-posted { border-color: var(--approved); box-shadow: 0 0 0 1px var(--approved), 0 0 40px -12px color-mix(in srgb, var(--approved) 60%, transparent); transform: scale(.985); }
.js .ap-card.is-swap { animation: apIn .32s var(--ease-out) both; }
@keyframes apIn { from { opacity: 0; transform: translateY(6px); } }
.ap-done-t { font-size: 18px; font-weight: 600; color: var(--paper); }
.ap-done-s { margin-top: 6px !important; font-size: 15px; line-height: 1.5; color: var(--lede); }
.js [data-enter] .approve { animation: rise .7s var(--ease-out) .3s both; }

/* the 3D office, re-laid around the card: the clock top-start, live work top-end, the hint bottom-end */
.o3-clock { position: absolute; z-index: 3; top: 16px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 999px;
  background: rgba(11, 12, 14, .72); border: 1px solid var(--night-line); color: var(--paper); font-size: 13px; pointer-events: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.o3-clock[hidden] { display: none; }
.o3-clock bdi { font-family: var(--mono); font-weight: 600; }
.live { top: 16px; bottom: auto; flex-direction: column; inset-inline-end: calc(var(--gut) + 8px); width: min(290px, 44%); }
.live li:nth-child(n+2) { display: none; }
.office-hint { z-index: 3; left: auto; transform: none; inset-inline-end: calc(var(--gut) + 8px); bottom: 24px; }
.o3-label.is-approved { background: var(--approved); color: var(--on-accent, #0B0C0E); border-color: var(--approved); box-shadow: 0 0 0 4px color-mix(in srgb, var(--approved) 30%, transparent); }
.o3-label.is-approved .o3-dot { background: var(--on-accent, #0B0C0E) !important; }

/* ---------- approvals section: three steps as a line, not boxes ---------- */
.connect-grid { align-items: center; }
.how { list-style: none; counter-reset: h; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; gap: 0; max-width: 520px; }
.how li { counter-increment: h; position: relative; padding: 0 0 26px; padding-inline-start: 52px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.how li:last-child { padding-bottom: 0; }
.how li::before { content: counter(h); position: absolute; inset-inline-start: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); font: 600 14px/1 var(--mono); }
.how li:last-child::before { background: var(--accent); color: var(--on-accent, #0B0C0E); }
.how li::after { content: ''; position: absolute; inset-inline-start: 15px; top: 34px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.how li:last-child::after { display: none; }
.how b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 18px; font-weight: 600; }
.nets-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: clamp(28px, 4vw, 40px); font-size: 14px; color: var(--muted); }
.nets-ic { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nets-ic img { box-sizing: border-box; display: block; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); object-fit: contain; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nets-ic img:hover { transform: translateY(-2px); } }
.fi-done { margin: 8px 0 0; color: var(--accent); font-weight: 600; }
.phone-badge { color: var(--on-accent, #0B0C0E); }

/* ---------- video ---------- */
.vwhy-line { margin: 4px 0 0; padding-inline-start: 14px; border-inline-start: 2px solid var(--accent); font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }

/* ---------- pricing ---------- */
.plans-note { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.calc-d { margin-top: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.calc-d > summary { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.calc-d > summary::-webkit-details-marker { display: none; }
.calc-d > summary::after { content: '+'; margin-inline-start: 4px; font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s var(--ease-out); }
.calc-d[open] > summary::after { transform: rotate(45deg); }
.calc-d-peek { margin-inline-start: auto; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.calc-d-peek bdi { font-family: var(--mono); color: var(--ink); }
.calc-d[open] .calc-d-peek { visibility: hidden; }
.calc-d .calc { padding: 0 clamp(12px, 2vw, 20px) clamp(12px, 2vw, 20px); }
.calc-d .calc-in { border: 0; background: var(--paper); }
.plan .pp bdi { font-variant-numeric: tabular-nums; }

/* ---------- close + footer ---------- */
.close-clock { margin: 0 0 18px; font-size: 16px; color: var(--muted-d); }
.close-clock bdi { font-family: var(--mono); color: var(--paper); }
.close-clock[hidden] { display: none; }
.foot-row { display: grid; gap: 10px; padding-block: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--muted-d); font-size: 14px; text-decoration: underline; text-decoration-color: rgba(142, 146, 155, .4); text-underline-offset: 3px; }
.foot-links a:hover { color: var(--paper); }

/* ---------- tablet + phone (after every v2 base rule) ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
  .approve { margin-inline-start: -32px; width: min(320px, 100%); }
  .live { display: none !important; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .office, .approve { grid-column: 1; grid-row: auto; }
  .approve { justify-self: stretch; width: auto; max-width: 520px; margin: 18px 0 0; }
  .office { margin-top: 20px; }
  .office-hint { inset-inline-end: auto; left: 50%; transform: translateX(-50%); }
  [dir=rtl] .office-hint { left: 50%; }
  .vdemo { order: 0; }
  .calc-d-peek { display: none; }
}
@media (max-width: 600px) {
  .live { display: none !important; }
  .o3-clock { inset-inline-start: 16px; top: 12px; }
  .calc-d > summary { padding: 12px 16px; font-size: 16px; }
  .how b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .js [data-enter] .approve, .js .ap-card.is-swap { animation: none; } }
/* LCP: the headline and lede are the largest text on the first screen, so they never start invisible
   (an opacity-0 start hides them from the browser's paint timing). They only rise into place. */
@keyframes riseText { from { transform: translateY(14px); } }
.js [data-enter] .h1, .js [data-enter] .h1 .accent, .js [data-enter] .lede, .js [data-enter] .ap-text { animation-name: riseText; }
.js [data-enter] .approve { animation-name: riseText; }

/* Contact line, the checkout terms line under the plans, and company details still to fill (legal-src/company.py) */
.foot-contact a { color: var(--paper); text-underline-offset: 3px; }
.plans-terms { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.plans-terms a { color: inherit; text-underline-offset: 3px; }
.doc mark, .foot mark { padding: 0 4px; border-radius: 4px; background: #FFE58A; color: #0B0C0E; }
/* Hebrew in a monospace fallback renders as spaced-out letters: the "Example" tag uses the text font in Hebrew */
[dir=rtl] .tag-m { font-family: var(--sans); letter-spacing: 0; }

/* 3E trust pages (legal-src/trust_build.py): security, sub-processors, changelog, help */
.doc .help-crumb { margin: 0 0 10px; font-size: 14px; }
.doc .help-crumb a { color: var(--muted); }
.doc .help-desc { margin: 0 0 6px; font-size: 19px; line-height: 1.5; color: var(--ink); }
.doc .help-list { list-style: none; padding: 0; margin: 0 0 8px; border-top: 1px solid var(--line); }
.doc .help-list li { display: grid; gap: 2px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc .help-list a { font-weight: 600; }
.doc .help-list span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.doc .tr-scroll { margin: 12px 0; }
.doc .tr-table { width: 100%; border-collapse: collapse; }
.doc .tr-table th, .doc .tr-table td { padding: 10px 12px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.doc .tr-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.doc .tr-status { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #E4F0EA; color: #1E5B45; font-size: 13px; font-weight: 600; white-space: nowrap; }
.doc .tr-status.is-planned { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.doc .cl-list li { margin-bottom: 8px; }
.doc .cl-not { padding: 10px 14px; border-inline-start: 3px solid var(--line); color: var(--muted); font-size: 15px; }
/* Phones: each table row becomes a block with its labels, so nothing scrolls sideways. */
@media (max-width: 720px) {
  .doc .tr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc .tr-table, .doc .tr-table tbody, .doc .tr-table tr, .doc .tr-table td { display: block; width: 100%; }
  .doc .tr-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .doc .tr-table td { border: 0; padding: 3px 12px; overflow-wrap: anywhere; }
  .doc .tr-table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
}
/* 3E plan cards: a feature that is not built yet (data.js SHIPPED, from platform/src/lib/features/stages.ts) */
.plan .pf li.is-coming { color: var(--muted); }
.plan.hot .pf li.is-coming { color: rgba(245, 240, 232, .62); }
.plan .pf li.is-coming svg { opacity: .35; }
.plan .pf .soon { flex: none; margin-inline-start: auto; align-self: center; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.pl-f .is-coming { color: #6B6E75; }
.pl-f .is-coming .soon { padding: 0; background: none; font-weight: 600; color: inherit; }
