/* Apps by Onyx — product site.
   Concept: a bright product studio. Light paper ground with a fine dot grid, one hot orange from the logo,
   and near-black "hardware" panels (the logo's black) used for icons, the dark band and the footer.
   Real UI mockups carry the visual weight; type is big and tight. */
:root {
  --bg: #fafaf8;
  --card: #ffffff;
  --sunk: #f3f2ef;
  --line: #e9e8e4;
  --line-2: #dad9d3;
  --ink: #0f0f0f;
  --ink-2: #2f2f31;
  --muted: #6a6a70;
  --brand: #fe6801;
  --brand-2: #ff8a3d;
  --brand-ink: #b34700;
  --brand-soft: #fff1e6;
  --brand-glow: rgba(254, 104, 1, .22);
  --ok: #138556;
  --ok-soft: #e4f5ec;
  --warn: #c98a00;
  --night: #0f0f0f;
  --night-2: #1a1a1b;
  --night-line: #2c2c2e;
  --night-text: #c9c9cf;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 20px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, .05);
  --shadow: 0 1px 2px rgba(15, 15, 15, .04), 0 10px 30px -14px rgba(15, 15, 15, .16);
  --shadow-lg: 0 2px 6px rgba(15, 15, 15, .04), 0 40px 80px -30px rgba(15, 15, 15, .30);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: max(16px, 4vw); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 60ch; }
.hl { color: var(--brand); }
.hl-under { background: linear-gradient(transparent 62%, rgba(254, 104, 1, .28) 62%, rgba(254, 104, 1, .28) 92%, transparent 92%); padding-inline: .05em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.35rem; border-radius: 12px; font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-brand, .btn-sweep, .btn-pickup { background: var(--brand); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px -10px var(--brand); }
.btn-brand:hover, .btn-sweep:hover, .btn-pickup:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 30px -10px var(--brand); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262626; transform: translateY(-1px); }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: var(--night-line); }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-sm { padding: .6rem .9rem; font-size: .86rem; border-radius: 10px; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }

/* ---------- Marks & pills ---------- */
.mark { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: var(--night); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, var(--shadow-sm); }
.mark svg { width: 24px; height: 24px; }
.mark.lg { width: 60px; height: 60px; border-radius: 16px; }
.mark.lg svg { width: 32px; height: 32px; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font: 600 .76rem/1 var(--font-body); padding: .42rem .65rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); white-space: nowrap; }
.soon { display: inline-block; font: 600 .72rem/1 var(--font-body); color: #6a4d00; background: #fff3cf; border: 1px solid #f0dc9c; padding: .3rem .5rem; border-radius: 999px; white-space: nowrap; }
.made-for { display: inline-flex; align-items: center; gap: .5rem; font: 600 .86rem/1 var(--font-body); color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: .5rem .85rem .5rem .55rem; box-shadow: var(--shadow-sm); }
.made-for svg { width: 18px; height: 18px; color: var(--brand); }
.made-for .sep { width: 1px; height: 14px; background: var(--line-2); }
.made-for .mf-sub { color: var(--muted); font-weight: 500; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.7 2.6L14.5 7.5' fill='none' stroke='%23138556' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- Header ---------- */
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: .6rem .9rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(250, 250, 248, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(15, 15, 15, .06); }
.top-row { display: flex; align-items: center; gap: 1rem; min-height: 66px; }
.home { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font: 700 1.02rem/1 var(--font-display); letter-spacing: -.01em; }
.home .logo { width: 46px; height: auto; display: block; }
.nav { display: flex; gap: .2rem; margin-left: auto; align-items: center; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; padding: .55rem .8rem; border-radius: 10px; font-weight: 500; font-size: .95rem; display: flex; align-items: center; gap: .45rem; transition: background .15s; }
.nav a:not(.btn):hover { background: rgba(15, 15, 15, .05); }
.nav a[aria-current="page"] { background: rgba(15, 15, 15, .06); color: var(--ink); }
.nav-ico { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.nav .btn { margin-left: .5rem; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }
@media (max-width: 460px) { .home span { display: none; } .nav a:not(.btn) { padding: .5rem .55rem; font-size: .9rem; } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.band { padding-block: clamp(4.5rem, 10vw, 8rem); }
.band.tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.band.white { background: var(--card); border-block: 1px solid var(--line); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.dots-bg { background-image: radial-gradient(rgba(15, 15, 15, .09) 1px, transparent 1.2px); background-size: 22px 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem) 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 15, 15, .085) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 85%); mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 85%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 50%; top: 32%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--brand-glow), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-center { display: grid; justify-items: center; text-align: center; gap: 1.5rem; max-width: 920px; margin-inline: auto; }
.hero-center .lede { margin-inline: auto; }
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; color: var(--muted); font-size: .9rem; }
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--ok); }

/* ---------- Showcase (big product window) ---------- */
.showcase { margin-top: clamp(3rem, 6vw, 4.5rem); position: relative; }
.switcher { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.switcher-in { display: inline-flex; gap: 4px; padding: 5px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); }
.switcher button { position: relative; display: flex; align-items: center; gap: .55rem; border: 0; background: none; cursor: pointer; font: 600 .95rem var(--font-body); color: var(--muted); padding: .65rem 1.1rem; border-radius: 10px; overflow: hidden; }
.switcher button svg { width: 18px; height: 18px; }
.switcher button[aria-selected="true"] { background: var(--night); color: #fff; }
.switcher button[aria-selected="true"] svg { color: var(--brand); }
.switcher button .prog { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.switcher button .prog i { display: block; height: 100%; width: 0; background: var(--brand); }
.switcher button[aria-selected="true"] .prog i { animation: prog 7s linear forwards; }
.showcase.paused .switcher button .prog i { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

.window { background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: #f6f5f2; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dddcd6; display: block; }
.window-bar .url { margin-inline: auto; display: flex; align-items: center; gap: .45rem; font: 500 .8rem/1 var(--font-body); color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: .4rem .9rem; min-width: 0; }
.window-bar .url svg { width: 12px; height: 12px; }
.window-bar .tag { font: 600 .72rem/1 var(--font-body); color: var(--muted); }
.adm { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 470px; }
@media (max-width: 760px) { .adm { grid-template-columns: 1fr; } .adm-side { display: none; } }
.adm-side { background: #f7f6f3; border-right: 1px solid var(--line); padding: 1rem .75rem; display: grid; gap: .2rem; align-content: start; font-size: .88rem; }
.adm-side .app { display: flex; align-items: center; gap: .6rem; padding: .3rem .4rem .9rem; font-weight: 700; font-family: var(--font-display); font-size: 1rem; }
.adm-side .app .mark { width: 30px; height: 30px; border-radius: 9px; }
.adm-side .app .mark svg { width: 17px; height: 17px; }
.adm-side a { display: flex; align-items: center; gap: .55rem; color: var(--ink-2); text-decoration: none; padding: .5rem .6rem; border-radius: 8px; }
.adm-side a.on { background: var(--card); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--ink); }
.adm-side a i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.adm-side a.on i { background: var(--brand); }
.adm-main { padding: clamp(1rem, 2.5vw, 1.6rem); display: grid; gap: 1.1rem; align-content: start; min-width: 0; background: var(--card); }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.adm-head h4 { font-size: 1.25rem; letter-spacing: -.02em; }
.status { display: inline-flex; align-items: center; gap: .4rem; font: 600 .78rem/1 var(--font-body); color: var(--ok); background: var(--ok-soft); padding: .4rem .6rem; border-radius: 999px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(19, 133, 86, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(19, 133, 86, 0); } }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis > :last-child { display: none; } }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: .85rem .95rem; display: grid; gap: .25rem; min-width: 0; }
.kpi small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.kpi b { font: 700 1.55rem/1.1 var(--font-display); letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--ok); }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem .6rem; display: grid; gap: .6rem; }
.chart-h { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); opacity: .9; transform-origin: bottom; }
.bars span:nth-child(odd) { opacity: .65; }
.showcase.live .bars span { animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleY(.15); } }
.rows { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .86rem; }
.rows div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: .75rem; padding: .6rem .9rem; border-top: 1px solid var(--line); align-items: center; }
.rows div:first-child { border-top: 0; background: #f8f7f4; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rows .src { justify-self: start; }
.src { font-size: .74rem; font-weight: 600; padding: .25rem .5rem; border-radius: 6px; background: var(--sunk); color: var(--ink-2); }
.src.o { background: var(--brand-soft); color: var(--brand-ink); }
.adm-2col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .9rem; }
@media (max-width: 900px) { .adm-2col { grid-template-columns: 1fr; } }
.pane { display: none; }
.pane.on { display: block; animation: fadein .45s ease; }
@keyframes fadein { from { opacity: .3; transform: translateY(6px); } }

/* board mock */
.mboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 640px) { .mboard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mcol { background: var(--sunk); border-radius: 12px; padding: .55rem; display: grid; gap: .5rem; align-content: start; min-height: 270px; }
.mcol h5 { margin: 0; display: flex; justify-content: space-between; font: 600 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .3rem .2rem .2rem; }
.mt { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem; display: grid; gap: .22rem; font-size: .8rem; box-shadow: var(--shadow-sm); }
.mt b { font-family: var(--font-data); font-weight: 500; font-size: .82rem; }
.mt small { color: var(--muted); font-size: .74rem; }
.mt .chip { justify-self: start; font: 600 .68rem/1 var(--font-body); padding: .28rem .45rem; border-radius: 6px; background: var(--sunk); }
.mt.here { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 10px 24px -14px var(--brand); }
.mt.here .chip { background: var(--night); color: var(--brand); }
.mt.done { opacity: .6; }
.toast-mock { position: absolute; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); display: flex; gap: .75rem; align-items: center; background: var(--night); color: #fff; border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow-lg); font-size: .86rem; max-width: 300px; }
.toast-mock .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--ink); }
.toast-mock .mark svg { width: 18px; height: 18px; }
.toast-mock small { display: block; color: var(--night-text); }
.pane-pickup { position: relative; }
.showcase.live .pane.on .toast-mock { animation: pop .5s .6s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes pop { from { transform: translateY(10px) scale(.96); } }
@media (max-width: 640px) { .toast-mock { position: static; margin-top: .75rem; max-width: none; } }

/* ---------- Works-with strip ---------- */
.works { padding-block: clamp(2.5rem, 5vw, 3.5rem) 0; }
.works p { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.works li { font: 600 .92rem/1 var(--font-body); color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem; }

/* ---------- App cards (home) ---------- */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } }
.app-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.app-art { position: relative; height: 270px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #fff6ee 0%, #ffe6d3 55%, #ffd2b2 100%); border-bottom: 1px solid var(--line); }
.app-art.dark { background: radial-gradient(120% 90% at 50% 0%, #2a2a2c 0%, #151516 60%, #0f0f0f 100%); }
.app-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 15, 15, .10) 1px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.app-art.dark::before { background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.2px); }
.app-body { padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1.1rem; align-content: start; }
.app-title { display: flex; align-items: center; gap: .9rem; }
.app-title h3 { font-size: 1.8rem; font-weight: 700; letter-spacing: -.025em; }
.app-title .muted { font-size: .95rem; }
.app-body .one { font-size: 1.1rem; line-height: 1.5; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: .3rem; }
.price-tag { font: 700 1.75rem/1 var(--font-display); letter-spacing: -.02em; }
.price-tag small { font: 500 .88rem var(--font-body); color: var(--muted); letter-spacing: 0; }

/* art: floating mini UI */
.float { position: absolute; background: var(--card); border: 1px solid rgba(15, 15, 15, .08); border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(15, 15, 15, .35); font-size: .82rem; }
.float.dk { background: #1e1e20; border-color: #333336; color: #fff; }
.f-entry { left: 9%; top: 15%; width: 64%; padding: .9rem 1rem; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: .7rem; align-items: center; }
.f-entry .th { width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #2a2a2a, #555); }
.f-entry b { display: block; font-weight: 600; }
.f-entry small { color: var(--muted); }
.f-badge { right: 8%; top: 46%; padding: .65rem .85rem; display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--brand-ink); }
.f-badge svg { width: 18px; height: 18px; color: var(--brand); }
.f-win { left: 14%; bottom: 10%; padding: .75rem .95rem; display: flex; align-items: center; gap: .7rem; }
.f-win .n { font: 700 1.35rem/1 var(--font-display); color: var(--brand); }
.f-win small { display: block; color: var(--muted); }
.f-ticket { left: 8%; top: 14%; width: 58%; padding: .85rem .95rem; display: grid; gap: .25rem; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 24px 48px -18px rgba(254, 104, 1, .55); }
.f-ticket .r { display: flex; justify-content: space-between; align-items: center; }
.f-ticket b { font-family: var(--font-data); font-weight: 500; }
.f-ticket .chip { font: 600 .68rem/1 var(--font-body); background: var(--brand); color: var(--ink); padding: .28rem .45rem; border-radius: 6px; }
.f-ticket small { color: #a5a5ad; }
.f-slot { right: 7%; top: 38%; padding: .7rem .8rem; display: grid; gap: .4rem; width: 40%; }
.f-slot .s { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem .55rem; border-radius: 8px; background: #2a2a2d; font-size: .76rem; }
.f-slot .s.on { background: var(--brand); color: var(--ink); font-weight: 700; }
.f-done { left: 18%; bottom: 9%; padding: .65rem .85rem; display: flex; gap: .55rem; align-items: center; font-weight: 600; }
.f-done svg { width: 18px; height: 18px; color: #4ade80; }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 6s ease-in-out infinite; }
  .float:nth-child(2) { animation-delay: -2s; }
  .float:nth-child(3) { animation-delay: -4s; }
  @keyframes bob { 50% { transform: translateY(-6px); } }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile { position: relative; grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: grid; gap: .55rem; align-content: start; overflow: hidden; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.dark { background: var(--night); border-color: var(--night); color: #fff; }
.tile.dark p { color: var(--night-text); }
.tile p { color: var(--muted); font-size: .97rem; }
.tile h3 { font-size: 1.15rem; }
.tile .vis { margin: -.25rem -.25rem .9rem; border-radius: 14px; background: var(--sunk); min-height: 132px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 1rem; }
.tile.dark .vis { background: var(--night-2); }
.band.white .tile { background: var(--bg); }
.band.white .tile.dark { background: var(--night); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile, .tile.w3, .tile.w4 { grid-column: span 1; } .tile.wide-m { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4, .tile.wide-m { grid-column: auto; } }

/* bento visuals */
.v-invoice { width: min(100%, 260px); background: var(--card); border-radius: 10px; box-shadow: var(--shadow); padding: .8rem .9rem; font-size: .8rem; display: grid; gap: .4rem; }
.v-invoice div { display: flex; justify-content: space-between; gap: 1rem; }
.v-invoice div:last-child { border-top: 1px dashed var(--line-2); padding-top: .4rem; font-weight: 700; }
.v-invoice .hl { font-weight: 700; }
.v-code { font: 500 .78rem/1.7 var(--font-data); color: #9a9aa2; text-align: left; width: min(100%, 300px); }
.v-code s { text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.v-code .ok { color: #4ade80; }
.v-chat { width: min(100%, 300px); display: grid; gap: .5rem; font-size: .82rem; }
.v-chat span { padding: .55rem .75rem; border-radius: 12px; max-width: 85%; }
.v-chat .q { background: var(--card); justify-self: start; box-shadow: var(--shadow-sm); border-bottom-left-radius: 4px; }
.v-chat .a { background: var(--night); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.v-chat .a b { color: var(--brand); }
.v-price { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.v-price span { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .75rem; font: 700 1.05rem/1 var(--font-display); box-shadow: var(--shadow-sm); }
.v-price small { display: block; font: 500 .7rem var(--font-body); color: var(--muted); margin-top: .25rem; }
.v-trash { display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--night-text); }
.v-trash .b { width: 54px; height: 54px; border-radius: 14px; background: var(--brand); color: var(--ink); display: grid; place-items: center; }
.v-trash svg { width: 26px; height: 26px; }

/* ---------- Dark band ---------- */
.night { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 80%); }
.night::after { content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(254, 104, 1, .25), transparent); pointer-events: none; }
.night > .wrap { position: relative; z-index: 1; }
.night .lede { color: var(--night-text); }
.night .eyebrow { color: var(--brand-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; position: relative; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 1.6rem; display: grid; gap: .6rem; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 700 2.6rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--brand); letter-spacing: -.02em; margin-bottom: .4rem; }
.steps h3 { color: #fff; }
.steps p { color: var(--night-text); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { display: grid; gap: .6rem; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.25rem; transition: border-color .2s, box-shadow .2s; }
details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sunk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 8v10M8 13h10' stroke='%230f0f0f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/26px no-repeat; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-soft); }
details p { color: var(--muted); padding-bottom: 1.15rem; max-width: 68ch; }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--night); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.cta::before { content: ""; position: absolute; left: 50%; bottom: -60%; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(254, 104, 1, .45), transparent); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 22px 22px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: var(--night-text); max-width: 52ch; }
.cta img { width: 84px; height: auto; }

/* ---------- App page hero ---------- */
.app-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); }
.app-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 15, 15, .08) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 30%, transparent 80%); }
.app-hero::after { content: ""; position: absolute; right: -10%; top: 0; width: 800px; height: 600px; background: radial-gradient(closest-side, var(--brand-glow), transparent 70%); pointer-events: none; }
.app-hero > .wrap { position: relative; z-index: 1; }
.app-hero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 960px) { .app-hero-in { grid-template-columns: 1fr; } }
.app-hero-copy { display: grid; gap: 1.3rem; justify-items: start; min-width: 0; }
.app-hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.crumbs { font-size: .9rem; color: var(--muted); display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.app-name { display: flex; align-items: center; gap: .75rem; font: 700 1.2rem/1 var(--font-display); }
.app-name .mark { width: 40px; height: 40px; border-radius: 11px; }
.app-name .mark svg { width: 22px; height: 22px; }
.price-note { color: var(--muted); font-size: .92rem; }
.price-note b { color: var(--ink); }

/* plain-English strip */
.plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 820px) { .plain { grid-template-columns: 1fr; } }
.plain > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; display: grid; gap: .55rem; align-content: start; }
.plain .k { font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.plain p { font-size: 1.04rem; }

/* demo frame */
.demo { background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-body { padding: clamp(1rem, 3vw, 1.6rem); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .demo-body { grid-template-columns: 1fr; } }
.demo-side { display: grid; gap: .9rem; align-content: start; }
.scroll-x { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: #f8f7f4; }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--font-data); font-size: .86rem; }
tr.win td { background: var(--brand-soft); }
tr.win td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.draw-out { background: var(--night); color: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; gap: .3rem; }
.draw-out .eyebrow { color: var(--brand-2); }
.draw-out .eyebrow::before { background: var(--brand-2); }
.draw-num { font: 700 2.6rem/1 var(--font-display); color: var(--brand); letter-spacing: -.02em; }
.draw-out .small { color: var(--night-text); }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 640px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.col { background: var(--sunk); border-radius: 12px; padding: .6rem; display: grid; gap: .5rem; align-content: start; min-height: 240px; min-width: 0; }
.col-h { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .2rem .15rem .3rem; }
.ticket { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem; display: grid; gap: .25rem; font-size: .85rem; animation: land .3s ease; min-width: 0; box-shadow: var(--shadow-sm); }
@keyframes land { from { transform: translateY(-5px); } }
.ticket b { font-family: var(--font-data); font-weight: 500; }
.ticket .meta { color: var(--muted); font-size: .8rem; }
.ticket .btn { margin-top: .25rem; justify-self: start; }
.ticket.arrived { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.ticket.done { opacity: .6; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .88rem; max-height: 190px; overflow: auto; }
.feed li { display: flex; gap: .6rem; color: var(--muted); }
.feed time { font-family: var(--font-data); font-size: .8rem; color: var(--brand-ink); flex-shrink: 0; padding-top: .1rem; }

/* compare */
.compare td:first-child { white-space: normal; min-width: 200px; color: var(--ink-2); }
.compare td.us { font-weight: 600; background: #fff8f2; }
.compare th.us { color: var(--brand-ink); background: var(--brand-soft); }
.yes { color: var(--ok); font-weight: 700; }
.no { color: #a8a8ae; }
.cite { margin-top: .75rem; color: var(--muted); font-size: .85rem; }
.vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 860px) { .vs { grid-template-columns: 1fr; } }
.vs-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: grid; gap: .45rem; align-content: start; }
.vs-card .big { font: 700 2rem/1.05 var(--font-display); letter-spacing: -.02em; }
.vs-card p { color: var(--muted); font-size: .95rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; max-width: 880px; margin-inline: auto; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; display: grid; gap: 1.1rem; grid-template-rows: auto auto auto 1fr auto; min-width: 0; box-shadow: var(--shadow-sm); }
.plan.pick { background: var(--night); color: #fff; border-color: var(--night); box-shadow: var(--shadow-lg); }
.plan.pick .muted, .plan.pick .price small { color: var(--night-text); }
.plan.pick .ticks li::before { background-color: rgba(254, 104, 1, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.7 2.6L14.5 7.5' fill='none' stroke='%23fe6801' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan.pick .pill { background: var(--brand); color: var(--ink); }
.plan.pick .btn-line { background: transparent; color: #fff; border-color: var(--night-line); }
.plan.pick .small.muted span { color: var(--night-text); }
.plan-h { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 28px; }
.plan-h h3 { font-size: 1.3rem; }
.price { font: 700 3rem/1 var(--font-display); letter-spacing: -.03em; }
.price small { font: 500 .95rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.plan .ticks { font-size: .97rem; }
.plan .btn { width: 100%; }
.px { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.sub { font: 700 1.35rem/1.2 var(--font-display); letter-spacing: -.02em; margin-bottom: 1.25rem; }
.px-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .px-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .px-groups { grid-template-columns: 1fr; } }
.px-groups > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.25rem; }
.band.white .px-groups > div { background: var(--bg); }
.px-groups h4 { margin: 0 0 .8rem; font: 600 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.px-groups .ticks { font-size: .95rem; }
.px-soon ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 2rem; }
@media (max-width: 620px) { .px-soon ul { grid-template-columns: 1fr; } }
.px-soon li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line-2); color: var(--muted); min-width: 0; }
.px-soon li b { font-weight: 500; color: var(--ink); }
.px-soon li span { font-size: .85rem; white-space: nowrap; }

/* ---------- Reveal on scroll (JS adds .rv; content is visible without JS) ---------- */
.js .rv { transform: translateY(18px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { transform: none; }

/* ---------- Footer ---------- */
footer { background: var(--night); color: var(--night-text); padding-block: 4rem 2rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--brand); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.foot h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.email { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.email code { font-family: var(--font-data); color: #fff; user-select: all; font-size: .92rem; }
.email .btn { background: transparent; color: #fff; border-color: var(--night-line); }
.legal { border-top: 1px solid var(--night-line); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--night); color: #fff; padding: .75rem 1.15rem; border-radius: 12px; font-size: .9rem; z-index: 60; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); }

/* ---------- Legal documents ---------- */
.doc-page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 2rem; } }
.doc-toc { position: sticky; top: 90px; display: grid; gap: .75rem; font-size: .92rem; }
@media (max-width: 900px) { .doc-toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; } }
.doc-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; color: var(--muted); }
.doc-toc a { color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: var(--brand-ink); text-decoration: underline; }
.doc { max-width: 72ch; min-width: 0; }
.doc-head { display: grid; gap: .9rem; padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.doc-summary { background: var(--brand-soft); border-left: 3px solid var(--brand); padding: 1rem 1.15rem; border-radius: 0 12px 12px 0; }
.doc h2 { font-size: 1.4rem; margin: 2.5rem 0 .8rem; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.doc p, .doc li { color: #2e2f33; line-height: 1.75; }
.doc p + p { margin-top: .8rem; }
.doc ul { padding-left: 1.2rem; display: grid; gap: .45rem; margin: .6rem 0; }
.doc-table { margin: .8rem 0; font-size: .95rem; }
.doc-table td { white-space: normal; }

/* ---------- 404 ---------- */
.nf { position: relative; overflow: hidden; padding-block: clamp(5rem, 14vw, 9rem); }
.nf-in { display: grid; gap: 1.3rem; justify-items: center; text-align: center; max-width: 640px; margin-inline: auto; }
.nf-in .lede { margin-inline: auto; }

/* ---------- Feature illustrations ---------- */
.mini { width: min(100%, 330px); background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: .85rem 1rem; font-size: .84rem; }
.calc { display: grid; gap: .45rem; }
.calc div { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.calc div b { color: var(--ink); font-weight: 600; }
.calc .res { border-top: 1px dashed var(--line-2); padding-top: .5rem; color: var(--ink); font-weight: 600; }
.calc .res b { color: var(--brand-ink); font: 700 1.2rem/1 var(--font-display); }
.dk-lines { background: #1f1f21; color: #fff; display: grid; gap: .1rem; padding: .5rem .9rem; box-shadow: none; border: 1px solid #333336; }
.dk-lines div { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid #333336; }
.dk-lines .th { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #444, #6b6b6b); }
.dk-lines .th.alt { background: linear-gradient(135deg, #e7e5df, #b9b6ad); }
.dk-lines em { font-style: normal; font-weight: 700; font-size: .74rem; color: var(--ink); background: var(--brand); padding: .25rem .45rem; border-radius: 6px; }
.dk-lines .tot { grid-template-columns: 1fr auto; border-bottom: 0; color: var(--night-text); }
.dk-lines .tot b { color: var(--brand); }
.chips-v { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.cv { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .75rem; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.cv.o { background: var(--brand-soft); border-color: #ffd9bd; color: var(--brand-ink); }
.ref { display: grid; gap: .5rem; justify-items: center; }
.ref .link { font: 500 .8rem/1 var(--font-data); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: .55rem .7rem; box-shadow: var(--shadow-sm); }
.ref .plus { font-size: .78rem; font-weight: 700; color: var(--brand-ink); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .82rem; width: min(100%, 220px); }
.checks li { display: flex; align-items: center; gap: .5rem; background: var(--card); border-radius: 8px; padding: .38rem .6rem; box-shadow: var(--shadow-sm); }
.checks li::before { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; font-weight: 800; flex-shrink: 0; }
.checks .y::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.checks .x::before { content: "✕"; background: #fde8e8; color: #c0392b; }
.checks .x { color: var(--muted); text-decoration: line-through; }
.slots { display: grid; gap: .6rem; }
.slots .lbl { font-size: .74rem; font-weight: 600; color: var(--muted); }
.slots .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.slots .s { border: 1px solid var(--line); border-radius: 8px; padding: .45rem .5rem; font-weight: 700; font-size: .85rem; display: grid; }
.slots .s small { font-weight: 500; font-size: .68rem; color: var(--muted); }
.slots .s.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
.slots .s.on small { color: var(--brand-ink); }
.slots .s.full, .slots .s.closed { opacity: .45; text-decoration: line-through; }
.phone { width: 170px; background: #fff; color: var(--ink); border-radius: 22px; border: 5px solid #2c2c2e; padding: .7rem .8rem .9rem; display: grid; gap: .25rem; justify-items: center; text-align: center; font-size: .8rem; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); }
.ph-top { font-size: .62rem; color: var(--muted); margin-bottom: .3rem; }
.phone small { color: var(--muted); }
.ph-btn { margin-top: .5rem; width: 100%; background: var(--brand); color: var(--ink); font-weight: 700; border-radius: 10px; padding: .55rem; }
.status-v { display: grid; gap: .25rem; width: min(100%, 230px); }
.status-v .ok { color: var(--ok); }
.status-v small { color: var(--muted); }
.toggle-v { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .3rem .6rem; align-items: center; width: min(100%, 250px); }
.toggle-v .th { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #e7e5df, #b9b6ad); grid-row: span 2; }
.toggle-v .tg { display: inline-flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 600; color: var(--brand-ink); }
.toggle-v .tg i { width: 28px; height: 16px; border-radius: 999px; background: var(--brand); position: relative; }
.toggle-v .tg i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.tile.dark .v-chat .q { background: #232325; color: #fff; }
.v-chat .q b { color: var(--ink); }

/* =========================================================
   Home v3: Logbase-style layout, done properly
   ========================================================= */
.lb-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff4ea 0%, #fffaf5 55%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.lb-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 15, 15, .07) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%); pointer-events: none; }
.lb-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; min-height: 640px; }
@media (max-width: 980px) { .lb-hero-in { grid-template-columns: 1fr; min-height: 0; } }
.lb-copy { display: grid; gap: 1.5rem; justify-items: start; padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; z-index: 2; }
.lb-copy h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); }
.lb-facts { display: flex; gap: clamp(1.25rem, 4vw, 2.75rem); margin: .5rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(15, 15, 15, .08); }
.lb-facts div { display: grid; gap: .2rem; }
.lb-facts dt { font: 700 2rem/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.lb-facts dd { margin: 0; color: var(--muted); font-size: .9rem; }

/* moving collage */
.collage { position: relative; height: 640px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); }
@media (max-width: 980px) { .collage { height: 420px; margin-bottom: 2rem; } }
.collage-in { position: absolute; inset: -18% -12%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; transform: rotate(-11deg); }
.cc { display: grid; align-content: start; }
.ccs { display: grid; gap: 18px; padding-bottom: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .cc.up { animation: col-up 38s linear infinite; }
  .cc.down { animation: col-down 44s linear infinite; }
  .cc.slow { animation-duration: 52s; }
  .collage:hover .cc { animation-play-state: paused; }
}
@keyframes col-up { to { transform: translateY(-50%); } }
@keyframes col-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.cardx { background: var(--card); border: 1px solid rgba(15, 15, 15, .07); border-radius: 16px; padding: 1rem 1.05rem; display: grid; gap: .5rem; font-size: .86rem; box-shadow: 0 1px 2px rgba(15,15,15,.04), 0 18px 36px -20px rgba(15, 15, 15, .28); }
.cardx.dark { background: var(--night); color: #fff; border-color: var(--night); }
.cardx.dark small { color: var(--night-text); }
.cardx small { color: var(--muted); }
.cardx b { font-weight: 600; }
.cx-lbl { font: 600 .68rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cardx.dark .cx-lbl, .za-card.dark .cx-lbl { color: #8d8d95; }
.cx-line { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: .55rem; align-items: center; }
.cx-line .th, .za-prod .th { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #2a2a2a, #5a5a5a); }
.cx-line em { font-style: normal; font: 700 .72rem/1 var(--font-body); color: var(--brand-ink); background: var(--brand-soft); padding: .3rem .45rem; border-radius: 6px; }
.cx-tot { display: flex; justify-content: space-between; gap: .75rem; border-top: 1px dashed var(--line-2); padding-top: .5rem; }
.za-card .cx-tot { border-top: 0; padding-top: 0; }
.cx-tot b { color: var(--brand-ink); }
.cx-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.za-card .cx-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-slots span { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: .4rem 0; font-weight: 600; font-size: .78rem; }
.cx-slots .on { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.cx-slots .off { opacity: .4; text-decoration: line-through; }
.cx-big { font: 700 1.7rem/1 var(--font-display) !important; letter-spacing: -.02em; color: var(--brand); }
.cx-field { border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; color: #a3a3a9; font-size: .78rem; }
.cx-btn { text-align: center; background: var(--brand); color: var(--ink); font-weight: 700; border-radius: 9px; padding: .55rem; font-size: .82rem; }
.cardx.here { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 18px 36px -18px rgba(254, 104, 1, .55); }
.cx-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.cx-row b { font-family: var(--font-data); font-weight: 500; }
.chip { font: 600 .68rem/1 var(--font-body); background: var(--night); color: var(--brand); padding: .3rem .5rem; border-radius: 6px; }
.phone-x { justify-items: center; text-align: center; border-radius: 24px; border: 5px solid #232325; padding: .9rem .9rem 1rem; }
.phone-x .cx-btn { width: 100%; }
.cx-mono { font: 500 .78rem/1 var(--font-data); background: var(--sunk); border-radius: 7px; padding: .5rem .55rem; }
.cardx small.o { color: var(--brand-ink); font-weight: 600; }
.ok { color: var(--ok); }
.cx-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.cx-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); }
.cx-chk { display: flex; align-items: center; gap: .45rem; font-size: .8rem; }
.cx-chk::before { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; font-weight: 800; }
.cx-chk.y::before { content: "\2713"; background: var(--ok-soft); color: var(--ok); }
.cx-chk.x::before { content: "\2715"; background: #fde8e8; color: #c0392b; }
.cx-chk.x { color: var(--muted); text-decoration: line-through; }
.cx-tog { display: inline-flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 600; color: var(--brand); }
.cx-tog i { width: 28px; height: 16px; border-radius: 999px; background: var(--brand); position: relative; }
.cx-tog i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }

/* marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--card); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: slide 36s linear infinite; } .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee ul { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; gap: .75rem; padding-right: .75rem; }
.marquee li { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; font-weight: 600; font-size: .95rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.05rem; }
.marquee li svg { width: 18px; height: 18px; color: var(--brand); }

/* zig-zag app rows */
.zig { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.zig + .zig { margin-top: clamp(4rem, 9vw, 7rem); }
.zig.flip .zig-art { order: 2; }
@media (max-width: 900px) { .zig { grid-template-columns: 1fr; } .zig.flip .zig-art { order: 0; } }
.zig-art { position: relative; aspect-ratio: 5 / 4; max-width: 100%; border-radius: 28px; }
.zig-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.2px); background-size: 18px 18px; pointer-events: none; }
.zig-art.orange { background: linear-gradient(145deg, #ff8a3d 0%, #fe6801 55%, #e85a00 100%); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(254, 104, 1, .7); }
.zig-art.black { background: linear-gradient(145deg, #2a2a2c 0%, #121213 70%); color: var(--brand); box-shadow: 0 40px 80px -40px rgba(15, 15, 15, .6); }
.za-card { position: absolute; z-index: 1; background: var(--card); border-radius: 16px; padding: 1rem 1.1rem; display: grid; gap: .55rem; font-size: .88rem; box-shadow: 0 2px 4px rgba(15,15,15,.06), 0 24px 48px -18px rgba(15, 15, 15, .45); min-width: 0; }
.za-card.dark { background: var(--night); color: #fff; }
.za-card.dark small { color: var(--night-text); }
.za-card small { color: var(--muted); }
.za-1 { left: 7%; top: 9%; width: 58%; }
.za-2 { right: -4%; top: 42%; width: 50%; }
.za-3 { left: 12%; bottom: -6%; width: 46%; }
.zig.flip .za-1 { left: auto; right: 7%; }
.zig.flip .za-2 { right: auto; left: -4%; width: 40%; top: 32%; }
.zig.flip .za-3 { left: auto; right: 8%; bottom: 10%; }
@media (max-width: 560px) { .za-card { font-size: .76rem; padding: .7rem .8rem; } .za-2 { right: 3%; } .zig.flip .za-2 { left: 3%; } .za-3 { bottom: 4%; } }
.za-prod { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .7rem; align-items: center; }
.za-prod .th { width: 44px; height: 44px; border-radius: 10px; }
.za-prod b { display: block; }
.za-prod .pill { margin-top: .35rem; }
.doodle { position: absolute; z-index: 2; width: 110px; pointer-events: none; }
.d1 { right: 8%; top: 6%; }
.d2 { left: 6%; bottom: 8%; }
.spark { width: 34px; left: 4%; bottom: 32%; }
.spark.s2 { left: auto; right: 6%; bottom: auto; top: 6%; }
@media (prefers-reduced-motion: no-preference) {
  .za-card { animation: bob 7s ease-in-out infinite; }
  .za-2 { animation-delay: -2.3s; }
  .za-3 { animation-delay: -4.6s; }
}
.zig-copy { display: grid; gap: 1.2rem; justify-items: start; min-width: 0; }
.cat { font: 600 .82rem/1 var(--font-body); color: var(--brand-ink); letter-spacing: .02em; }
.wordmark { display: flex; align-items: center; gap: .8rem; font: 700 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-display); letter-spacing: -.035em; }
.wordmark .mark { width: 52px; height: 52px; border-radius: 14px; }
.wordmark .mark svg { width: 28px; height: 28px; }
.zig-one { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.easy { list-style: none; counter-reset: e; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; width: 100%; }
@media (max-width: 480px) { .easy { grid-template-columns: 1fr; } }
.easy li { counter-increment: e; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .85rem .9rem; display: grid; gap: .15rem; font-size: .9rem; align-content: start; }
.easy li::before { content: counter(e); width: 24px; height: 24px; border-radius: 50%; background: var(--night); color: var(--brand); display: grid; place-items: center; font: 700 .76rem/1 var(--font-body); margin-bottom: .35rem; }
.easy li span { color: var(--muted); font-size: .84rem; }
.zig-foot { display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap; margin-top: .3rem; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* simple by design */
.simple-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .simple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .simple-grid { grid-template-columns: 1fr; } }
.sg { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 1.6rem; display: grid; gap: .3rem; align-content: start; }
.sg b { font: 700 clamp(3.5rem, 7vw, 5rem)/.9 var(--font-display); letter-spacing: -.05em; color: var(--brand); }
.sg span { font: 600 1.15rem/1.2 var(--font-display); color: #fff; }
.sg p { color: var(--night-text); font-size: .93rem; margin-top: .4rem; }
.collage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fff9f3 0%, rgba(255, 249, 243, 0) 22%); }
@media (min-width: 981px) { .collage { margin-right: calc(-1 * (max(16px, 4vw) + max(0px, (100vw - 1200px) / 2))); } }
