/* Piskes Buff — light theme with the Buff mascot crew. No build step. */
:root {
  --bg: #faf9f6;
  --paper: #ffffff;
  --ink: #14151a;
  --ink-2: #2b2d35;
  --muted: #5b6070;
  --line: #e7e4dc;
  --line-2: #d9d5cb;
  --soft: #efede7;

  /* one accent: Buff tangerine (fills only); --accent-text passes AA on cream */
  --accent: #ff7a2f;
  --accent-text: #b8420a;
  --ok: #1a8a57;

  /* pastels for frames and cards */
  --lav: #ece8ff;
  --peach: #ffe9dc;
  --mint: #dcf3e6;
  --butter: #fff2c7;
  --sky: #dfedff;
  --rose: #ffe4ee;
  --aqua: #d8f3f4;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 21, 26, .05), 0 12px 32px -12px rgba(20, 21, 26, .16);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Mascot motion (respecting reduced motion at the bottom) ---------- */
.eye { transform-box: fill-box; transform-origin: center; animation: blink 6s 4; animation-delay: var(--blink, 0s); }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.12); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 10px 24px -10px rgba(20,21,26,.55); }
.btn--soft { background: var(--soft); color: var(--ink); }
.btn--soft:hover { background: #e6e3db; }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--soft); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.nav.is-stuck { background: rgba(250, 249, 246, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { width: 34px; height: 34px; }
.logo__txt { font-weight: 700; font-size: 21px; letter-spacing: -.035em; display: inline-flex; align-items: baseline; gap: 6px; }
.logo__txt small { font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.nav__links { display: flex; gap: 24px; margin-left: 8px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.nav__links a { transition: color .15s; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; gap: 6px; }
.nav__toggle { display: none; width: 42px; height: 42px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; position: relative; flex: none; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,21,26,.04); transition: border-color .15s; }
.pill:hover { border-color: var(--line-2); }
.pill__new { background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill__arrow { color: var(--muted); }
h1 { font-size: clamp(52px, 9vw, 112px); line-height: 1; letter-spacing: -.055em; margin: 28px 0 22px; display: flex; align-items: center; justify-content: center; gap: .18em; }
.h1__m { width: 1em; height: 1em; flex: none; margin-top: -.08em; animation: bob 3.2s ease-in-out 4; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40em; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }

/* ---------- Hero stage + chat mockup ---------- */
.stage {
  margin-top: 64px; padding: clamp(14px, 3.4vw, 44px); border-radius: var(--r-lg);
  background: linear-gradient(150deg, #e8e3ff 0%, #f0e6ff 45%, #ffe6d8 100%);
}
.app { display: grid; grid-template-columns: 272px 1fr; background: var(--paper); border-radius: 18px; box-shadow: 0 2px 4px rgba(20,21,26,.04), 0 30px 60px -28px rgba(56,40,120,.35); overflow: hidden; text-align: left; }
.app__side { background: #f7f6f2; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; }
.app__top { padding: 2px 8px 14px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #28c840; }
.app__label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 0 8px 8px; display: flex; justify-content: space-between; }
.app__label span { background: var(--soft); border-radius: 999px; padding: 0 8px; letter-spacing: 0; }
.team { display: grid; gap: 2px; }
.app__add { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 8px 4px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.app__add span { width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; font-size: 18px; }
.team li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.team li.is-active { background: var(--paper); box-shadow: 0 1px 3px rgba(20,21,26,.08); }
.team div { min-width: 0; line-height: 1.3; }
.team b { display: block; font-size: 13.5px; font-weight: 600; }
.team span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 34px; height: 34px; flex: none; }
.av--me { display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }

.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.chan { font-weight: 600; font-size: 15px; }
.chan span { color: var(--muted); }
.stack { display: flex; margin-left: auto; }
.stack svg { width: 26px; height: 26px; margin-left: -6px; background: var(--paper); border-radius: 50%; padding: 1px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--butter); color: #6b4b00; white-space: nowrap; }

.thread { padding: 18px 24px 8px; display: grid; gap: 18px; align-content: start; flex: 1; }
.thread__day { justify-self: center; font-size: 12px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 2px 12px; border-radius: 999px; }
.post { display: flex; gap: 12px; }
.post .av { width: 36px; height: 36px; }
.post__body { min-width: 0; font-size: 14.5px; line-height: 1.55; }
.post__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-size: 14px; }
.post__meta time { font-size: 12px; color: var(--muted); }
.badge { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 5px; background: var(--soft); color: var(--muted); }
.at { color: #2f56d8; background: #e8eeff; border-radius: 5px; padding: 0 4px; font-weight: 500; }

.run { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 9px; background: #fcfbf9; max-width: 460px; }
.run li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.run li.is-on { color: var(--ink); }
.run__ic { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); position: relative; transition: background .25s, border-color .25s; }
.run li.is-on:not(.is-done) .run__ic { border-color: var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.run li.is-done .run__ic { background: var(--ok); border-color: var(--ok); }
.run li.is-done .run__ic::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.result { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 14px 16px; border-radius: 14px; background: var(--mint); margin-left: 48px; }
.result__ic { width: 30px; height: 30px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.result__ic::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.result__txt b { display: block; font-size: 16px; letter-spacing: -.01em; }
.result__txt span { font-size: 13.5px; color: #3e5a4b; }
.replay { margin-left: auto; background: var(--paper); border: 1px solid rgba(20,21,26,.12); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 500; transition: border-color .15s, background .15s; }
.replay:hover { border-color: var(--ink); }

.composer { margin: 10px 20px 18px; border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 12px 11px 16px; display: flex; align-items: center; justify-content: space-between; color: #767a86; font-size: 14px; }
.composer i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }

/* step reveal */
[data-step] { transition: opacity .45s ease, transform .45s ease; }
/* hidden start states only when JS runs (.js is set inline in <head>) */
.js .post[data-step], .js .result[data-step] { opacity: 0; transform: translateY(8px); }
.js .run li[data-step] { opacity: .35; }
.js .post.is-on, .js .result.is-on { opacity: 1; transform: none; }
.js .run li.is-on { opacity: 1; }

/* ---------- Mascot row ---------- */
.team-row { padding: 112px 0 40px; }
.team-row__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.team-row__head p { color: var(--muted); font-size: 18px; max-width: 34em; }
.crew { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; margin-top: 64px; }
.crew li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.crew svg { width: 100%; max-width: 120px; aspect-ratio: 1; animation: bob 3.6s ease-in-out 4; animation-delay: calc(var(--i) * -.45s); --blink: calc(var(--i) * .7s); transition: scale .2s; }
.crew li:hover svg { scale: 1.08; }
.crew span { font-size: 13.5px; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.3; }

/* ---------- Metrics ---------- */
.metrics { padding: 96px 0 40px; }
.metrics__title { font-size: clamp(26px, 3.1vw, 38px); max-width: 22em; letter-spacing: -.035em; line-height: 1.15; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.metric { padding: 28px 24px 8px 0; }
.metric + .metric { padding-left: 24px; border-left: 1px solid var(--line); }
.metric__n { font-size: clamp(48px, 6.4vw, 88px); font-weight: 600; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric__n .pre { font-size: .6em; font-weight: 500; color: var(--muted); margin-right: .05em; position: relative; top: -.3em; }
.metric__n sup { font-size: .32em; color: var(--accent-text); vertical-align: top; position: relative; top: .25em; margin-left: .06em; letter-spacing: 0; }
.metric p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 26ch; }
.metrics__note { color: var(--muted); font-size: 13px; margin-top: 32px; }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; }
.sec--tight { padding: 72px 0; }
.sec__head { max-width: 880px; margin-bottom: 48px; }
.sec__head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.sec__head--center { margin-inline: auto; text-align: center; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Feature cards ---------- */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { background: var(--tint); border-radius: var(--r-lg); padding: 32px 32px 0; display: flex; flex-direction: column; overflow: hidden; min-height: 380px; }
.feat__txt h3 { font-size: 21px; }
.feat__txt p { color: var(--ink-2); opacity: .82; margin-top: 6px; max-width: 36em; }
.feat__vis { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.feat__vis > * { box-shadow: var(--shadow); }

/* 1 toast */
.toast { display: flex; gap: 12px; background: var(--paper); border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.5; position: relative; z-index: 1; margin: 0 8px -10px; }
.toast .av { width: 32px; height: 32px; }
.ghost-list { background: rgba(255,255,255,.6); border-radius: 16px 16px 0 0; padding: 26px 18px 18px; display: grid; gap: 10px; box-shadow: none !important; }
.ghost-list li { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.ghost-list span { height: 8px; width: var(--w); border-radius: 99px; background: #e9e5de; }
.ok { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); position: relative; display: inline-block; }
.ok::after { content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 2 computer */
.pc { background: var(--paper); border-radius: 18px 18px 0 0; padding: 14px 14px 0; }
.pc__label > span:first-child { white-space: nowrap; }
.pc__label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 0 4px 12px; }
.ctrl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #8a3b0a; background: var(--peach); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ctrl i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.browser { border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #f4f2ed; border-bottom: 1px solid var(--line); }
.browser__bar .dots i { width: 8px; height: 8px; }
.url { flex: 1; font-size: 12px; color: var(--muted); background: var(--paper); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__body { padding: 16px 16px 22px; position: relative; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 14px; }
.chip { font-size: 11.5px; font-weight: 600; color: #1d5ccf; background: var(--sky); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.sk { display: grid; gap: 10px; }
.sk span { height: 10px; width: var(--w); border-radius: 99px; background: #eeebe5; }
.cursor { position: absolute; right: 26%; bottom: 18px; width: 14px; height: 20px; background: var(--ink); clip-path: polygon(0 0, 100% 70%, 55% 68%, 75% 100%, 60% 100%, 42% 72%, 0 95%); }

/* 3 record */
.rec { background: var(--paper); border-radius: 18px 18px 0 0; padding: 14px 16px 20px; }
.rec__bar { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; padding: 8px 10px; background: #fff5f4; border-radius: 10px; }
.rec__bar b { font-variant-numeric: tabular-nums; }
.rec__dot { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; animation: pulse 1.4s ease-in-out 5; }
@keyframes pulse { 50% { opacity: .35; } }
.rec__stop { margin-left: auto; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid #f2c2c3; color: #b42328; }
.rec__steps { display: grid; gap: 8px; margin-top: 12px; font-size: 14px; }
.rec__steps li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.rec__steps li span { width: 22px; height: 22px; border-radius: 7px; background: var(--soft); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.rec__steps li.is-live { border-color: #f4c9a9; background: #fff8f2; }
.rec__steps li.is-live span { background: var(--accent); color: #fff; }

/* 4 memory */
.mem { background: var(--paper); border-radius: 18px 18px 0 0; padding: 18px 18px 22px; display: grid; gap: 12px; }
.bubble { justify-self: end; background: var(--ink); color: #fff; font-size: 14px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 85%; }
.saved { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 13px; font-weight: 600; color: #155f3d; background: var(--mint); padding: 5px 12px 5px 6px; border-radius: 999px; }
.mem__list { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; }
.mem__list li::before { content: "•"; color: #8b5cf6; margin-right: 8px; }

/* 5 apps */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: var(--paper); border-radius: 18px 18px 0 0; padding: 18px 18px 22px; }
.apps li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 12px; background: #f7f6f2; }
.apps li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.apps .apps__buff { background: var(--peach); justify-content: center; padding: 4px; }
.apps .apps__buff::before { display: none; }
.apps__buff svg { width: 36px; height: 36px; }

/* 6 team */
.mini-thread { background: var(--paper); border-radius: 18px 18px 0 0; padding: 18px 18px 22px; display: grid; gap: 14px; }
.mini-post { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.mini-post .av { width: 32px; height: 32px; }
.mini-post b { display: block; font-size: 13.5px; }

/* ---------- Roles ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip-tab { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s; }
.chip-tab svg { width: 28px; height: 28px; }
.chip-tab:hover { border-color: var(--ink); }
.chip-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.role-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; background: var(--tint); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); animation: fade .35s ease; }
.role-card[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.role-card__m { width: 76px; height: 76px; margin-bottom: 22px; }
.role { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.role-card h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 14px; }
.role-card__story > p:not(.role) { color: var(--ink-2); max-width: 38em; }
.ticks { margin-top: 22px; display: grid; gap: 10px; font-size: 15px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); }
.ticks li::after { content: ""; position: absolute; left: 7.5px; top: 7px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ba { background: var(--paper); border-radius: var(--r); padding: 32px; display: grid; align-content: center; gap: 26px; box-shadow: var(--shadow); }
.ba__row span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.ba__row b { display: block; font-size: 24px; letter-spacing: -.025em; margin: 2px 0 10px; font-weight: 600; }
.bar { height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #b9b5ab; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.ba__row--after .bar i { background: var(--accent); }
@keyframes grow { from { width: 0; } }
.ba small { color: var(--muted); font-size: 12.5px; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.flow__step { padding: 24px 28px 8px 0; }
.flow__step + .flow__step { padding-left: 28px; border-left: 1px solid var(--line); }
.flow__n { display: block; font-size: 14px; font-weight: 600; color: var(--accent-text); margin-bottom: 48px; font-variant-numeric: tabular-nums; }
.flow__step h3 { margin-bottom: 8px; }
.flow__step p { color: var(--muted); font-size: 15px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; background: var(--butter); border-radius: var(--r-lg); padding: clamp(24px, 5vw, 64px); }
.calc__copy p { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 30em; }
.calc__crew { display: flex; gap: 6px; margin-top: 32px; }
.calc__crew svg { width: 64px; height: 64px; animation: bob 3.4s ease-in-out 4; }
.calc__crew svg:nth-child(2) { animation-delay: -1.1s; }
.calc__crew svg:nth-child(3) { animation-delay: -2.2s; }
.calc__box { min-width: 0; background: var(--paper); border-radius: var(--r); padding: 32px; display: grid; gap: 24px; box-shadow: var(--shadow); }
.calc__box label { display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.range { display: flex; align-items: center; gap: 16px; }
.range output { min-width: 84px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 99px; background: #959185; outline-offset: 6px; accent-color: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); cursor: grab; }
.num { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #8f8b80; background: var(--bg); color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.calc__out span { display: block; font-size: 13px; color: var(--muted); }
.calc__out b { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-weight: 600; }
.calc__money { grid-column: 1 / -1; padding: 16px 18px; border-radius: 14px; background: var(--peach); }
.calc__money span { color: #6b3a1a; }
.calc__money b { font-size: clamp(28px, 3.4vw, 40px); }
.calc__note { font-size: 12.5px; color: var(--muted); }

/* ---------- Versus ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin-inline: auto; }
.vs__col { padding: 36px; border-radius: var(--r-lg); border: 1px solid var(--line-2); }
.vs__col h3 { margin-bottom: 22px; color: var(--muted); display: flex; align-items: center; gap: 10px; min-height: 36px; }
.vs__col h3 svg { width: 36px; height: 36px; }
.vs__col ul { display: grid; gap: 14px; }
.vs__col li { padding-left: 28px; position: relative; color: var(--muted); }
.vs__col li::before { content: "–"; position: absolute; left: 6px; color: #9a9ea9; }
.vs__col--buff { background: var(--paper); border-color: transparent; box-shadow: var(--shadow); }
.vs__col--buff h3 { color: var(--ink); }
.vs__col--buff li { color: var(--ink); }
.vs__col--buff li::before { content: ""; left: 5px; top: 6px; width: 6px; height: 11px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Control ---------- */
.control { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.control__lead { color: var(--muted); font-size: 18px; margin-top: 18px; }
.guard { margin-top: 36px; display: grid; border-top: 1px solid var(--line); }
.guard li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.guard h3 { font-size: 17px; }
.guard p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.control__vis { background: var(--sky); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); display: grid; gap: 16px; }
.approve, .log { background: var(--paper); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.approve__head { display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.approve__head .av { width: 38px; height: 38px; }
.approve__head b { display: block; font-size: 15px; }
.approve__head span:not(.tag) { font-size: 13.5px; color: var(--muted); }
.approve__head .tag { margin-left: auto; }
.approve__mail { margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; font-size: 14px; }
.approve__mail p { display: flex; gap: 12px; padding: 8px 0; }
.approve__mail p + p { border-top: 1px solid var(--line); }
.approve__mail span { width: 76px; flex: none; color: var(--muted); }
.approve__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fake-btn { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: var(--soft); }
.fake-btn--dark { background: var(--ink); color: #fff; }
.log__title { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.log ol { display: grid; gap: 6px; font-size: 14px; }
.log li { display: flex; gap: 14px; }
.log time { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.log b { color: var(--accent-text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; position: relative; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: rotate .2s, background .2s; }
.faq summary:hover::after { background: #e4e1d8; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 96px; }
.cta__box { text-align: center; border-radius: 36px; padding: clamp(48px, 8vw, 96px) 24px; background: linear-gradient(160deg, #ffe6d8 0%, #ffeef4 40%, #e8e3ff 100%); }
.cta__crew { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin-bottom: 28px; }
.cta__crew svg { width: 60px; height: 60px; animation: bob 3.4s ease-in-out 4; animation-delay: calc(var(--i) * -.6s); }
.cta__crew .cta__lead-m { width: 92px; height: 92px; }
.cta h2 { font-size: clamp(36px, 5.6vw, 68px); }
.cta p { color: var(--ink-2); font-size: 18px; max-width: 36em; margin: 18px auto 0; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--muted); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.foot .logo { color: var(--ink); }
.foot__tag { margin-top: 10px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; }
.foot__links a:hover { color: var(--ink); }
.foot__copy { grid-column: 1 / -1; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__cta .btn--ghost { display: none; }
  .nav__links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); box-shadow: 0 20px 30px -20px rgba(20,21,26,.2); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
}
@media (max-width: 1000px) {
  .team-row__head, .control, .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .control { gap: 40px; }
  .crew { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { padding-left: 0; border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow__step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .role-card, .calc { grid-template-columns: 1fr; }
  .app { grid-template-columns: 220px 1fr; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .feats { grid-template-columns: 1fr; }
  .feat { min-height: 0; }
}
@media (max-width: 640px) {
  .nav__in { gap: 10px; }
  .nav__cta { margin-left: auto; }
  .logo__txt small { display: none; }
  .hero { padding-top: 40px; }
  h1 { margin: 22px 0 16px; }
  .actions .btn { flex: 1 1 100%; }
  .stage { margin-top: 44px; border-radius: 22px; }
  .app__head { padding: 12px 14px; gap: 8px; }
  .stack { display: none; }
  .tag { margin-left: auto; }
  .thread { padding: 14px 14px 4px; gap: 14px; }
  .post .av { width: 30px; height: 30px; }
  .post__body { font-size: 14px; }
  .run { padding: 10px 12px; }
  .run li { font-size: 13.5px; align-items: flex-start; }
  .run__ic { margin-top: 1px; }
  .result { margin-left: 0; }
  .replay { margin-left: 0; }
  .composer { margin: 8px 14px 14px; }
  .sec { padding: 80px 0; }
  .sec--tight { padding: 48px 0; }
  .team-row { padding-top: 80px; }
  .crew { grid-template-columns: repeat(4, 1fr); gap: 12px; row-gap: 24px; margin-top: 40px; }
  .crew span { font-size: 12px; }
  .metrics { padding-top: 64px; }
  .metrics__grid { grid-template-columns: 1fr; }
  .metric, .metric + .metric { padding: 22px 0 10px; border-left: 0; }
  .metric + .metric { border-top: 1px solid var(--line); margin-top: 0; }
  .feat { padding: 24px 20px 0; border-radius: 22px; }
  .flow { grid-template-columns: 1fr; }
  .flow__step, .flow__step + .flow__step { padding: 20px 0 16px; border-left: 0; }
  .flow__step + .flow__step { border-top: 1px solid var(--line); }
  .flow__n { margin-bottom: 14px; }
  .ba, .calc__box { padding: 22px; }
  .calc__out { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs__col { padding: 26px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 8px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip-tab { flex: none; }
  .apps { grid-template-columns: repeat(3, 1fr); padding: 14px; gap: 8px; }
  .apps li { padding: 9px 8px; font-size: 13px; }
  .faq summary { font-size: 16.5px; }
  .cta__crew svg { width: 46px; height: 46px; }
  .pc__label { font-size: 12px; }
  .ctrl { font-size: 11px; padding: 3px 8px; }
  .role-card__m { width: 60px; height: 60px; margin-bottom: 16px; }
  .cta__crew .cta__lead-m { width: 72px; height: 72px; }
  .foot__in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .js .reveal, .js .post[data-step], .js .result[data-step], .js .run li[data-step] { opacity: 1; transform: none; }
}

/* ---------- Review fixes ---------- */
.calc__out b { overflow-wrap: anywhere; }
.nav__signin { display: none; }
@media (max-width: 1080px) { .nav__signin { display: block; } }
