/* Buggie — marketing site. Light only, like the app (Theme.swift, BuggieAppearance.swift). */

@font-face {
  font-family: "Figtree";
  src: url("assets/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #ffffff;
  --soft: #f5f5f7;
  --card: #f2f1f4;
  --ink: #1c1b1f;
  --ink-2: #47444d;
  --muted: #6d6a73;
  --faint: #9b98a1;
  --line: #e7e5ea;
  --line-2: #d9d7dd;

  --red: #e5484d;
  --red-ink: #c4353b;
  --violet: #7856d8;
  --amber: #b86b0c;
  --green: #218a4f;

  /* App tokens (Theme.swift / ProjectStyle.swift) for the drawn Buggie UI. */
  --b-ink: #242327;
  --b-graphite: #39343d;
  --b-selected: #ece9ed;
  --b-panel: #f9f9fa;
  --b-bar: #f8f6f2;
  --b-hair: #dedde1;
  --b-side: #ebe9ec;

  --max: 1240px;
  --gutter: clamp(16px, 3.2vw, 32px);
  --r-xl: 28px;
  --r-l: 22px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid #4f7cff; outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(920px + 2 * var(--gutter)); }

.ic { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------------ type */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--red-ink); margin-bottom: 14px;
}
h2 {
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.022em;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 640px; text-wrap: pretty; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333138; }
.btn-quiet { background: var(--card); color: var(--ink); }
.btn-quiet:hover { background: #e9e7ec; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; gap: 7px; }
.btn-sm .ic { width: 16px; height: 16px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta-row.left { justify-content: flex-start; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 28px; margin: 0 auto; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ------------------------------------------------------------------ hero */
.hero { padding-top: clamp(36px, 5.2vw, 72px); }
.hero-copy { text-align: center; }
.rotor { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.04; font-weight: 600; letter-spacing: -0.028em; }
.rl { display: grid; justify-items: center; }
.rl-1, .rl-3 { color: var(--ink); }
.rv {
  grid-area: 1 / 1; display: block; text-align: center;
  opacity: 0; transform: translateY(.28em); filter: blur(6px);
  transition: opacity .55s ease, transform .6s cubic-bezier(.2, .8, .2, 1), filter .55s ease;
  text-wrap: balance;
}
.rv.is-on { opacity: 1; transform: none; filter: none; }
.rv.is-out { opacity: 0; transform: translateY(-.28em); filter: blur(6px); }
.rl-2 .rv > span { padding-bottom: .04em; }
.rl-2 .rv[data-i="0"] { color: var(--red-ink); }
.rl-2 .rv[data-i="1"] { color: var(--violet); }
.rl-2 .rv[data-i="2"] { color: var(--amber); }
.tchip {
  display: inline-grid; place-items: center; width: .82em; height: .82em; border-radius: .24em;
  background: currentColor; vertical-align: -0.1em; margin-right: .2em;
}
.tchip svg { width: .56em; height: .56em; color: #fff; }
.tchip svg use { stroke-width: 2.4; }
.hero-lead { margin: 30px auto 0; text-align: center; max-width: 660px; }

.stage { margin: clamp(36px, 4.6vw, 60px) 0 0; }
.stage figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.pause {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink-2);
}
.pause svg { width: 14px; height: 14px; }
.pause:hover { background: var(--soft); }

.works { margin: clamp(36px, 5vw, 56px) auto 0; }
.works p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; font-size: 15px; color: var(--muted); }
.works b { font-weight: 600; color: var(--ink-2); font-size: 16.5px; letter-spacing: -0.005em; }
.works .sep { width: 1px; height: 20px; background: var(--line-2); }

/* ------------------------------------------------------------------ scaled pictures */
.fit { position: relative; width: 100%; overflow: hidden; }
.fit > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* ------------------------------------------------------------------ hero scene */
.scene {
  --s-ink: #1f1e23;
  border-radius: 26px; overflow: hidden; font-family: var(--sys); color: var(--s-ink);
  box-shadow: inset 0 0 0 1px rgba(28, 27, 31, .06);
}
.wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 12% 8%, #e4dcff 0%, transparent 60%),
    radial-gradient(55% 65% at 92% 18%, #ffe0d2 0%, transparent 62%),
    radial-gradient(70% 70% at 70% 100%, #d9ecff 0%, transparent 65%),
    linear-gradient(180deg, #f3f0f8, #f6f2ef);
}
.menubar {
  position: absolute; left: 0; right: 0; top: 0; height: 28px; display: flex; align-items: center; gap: 18px; padding: 0 18px;
  font-size: 13px; background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.menubar b { font-weight: 700; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.mb-bug { position: relative; width: 16px; height: 16px; }
.mb-bug svg { width: 16px; height: 16px; }
.mb-bug i { position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1.5px rgba(255,255,255,.8); }

.win { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 24px 60px -20px rgba(47, 30, 80, .35), 0 6px 18px -8px rgba(0,0,0,.12); overflow: hidden; }
.browser { left: 70px; top: 62px; width: 980px; height: 562px; }
.tb { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #f4f3f5; border-bottom: 1px solid #e4e2e7; }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.navs { color: #9a98a0; font-size: 18px; letter-spacing: 6px; }
.url { margin-left: 110px; width: 420px; height: 28px; border-radius: 8px; background: #fff; border: 1px solid #e3e1e6; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #5d5a63; }
.url .ic { width: 12px; height: 12px; }

/* Forma — the demo shop */
.forma { --f-ink: #22201d; --f-muted: #7b766f; color: var(--f-ink); font-family: var(--font); height: calc(100% - 44px); }
.f-head { height: 60px; display: flex; align-items: center; padding: 0 36px; border-bottom: 1px solid #efedea; }
.f-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.f-logo i { width: 18px; height: 18px; border-radius: 50% 50% 50% 4px; background: #c9774a; }
.f-nav { display: flex; gap: 26px; margin-left: 48px; font-size: 14.5px; color: var(--f-muted); font-weight: 500; }
.f-icons { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.f-icons svg { width: 20px; height: 20px; }
.f-cart { position: relative; }
.f-cart i { position: absolute; right: -7px; top: -6px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--f-ink); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.f-main { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding: 28px 36px; }
.f-title { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.f-title span { font-size: 14px; color: var(--f-muted); font-weight: 500; letter-spacing: 0; margin-left: 8px; }
.f-item { display: grid; grid-template-columns: 76px 1fr auto 90px; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid #efedea; }
.f-item:last-of-type { border-bottom: 1px solid #efedea; }
.f-thumb { width: 76px; height: 76px; border-radius: 12px; position: relative; overflow: hidden; }
.f-thumb.vase { background: linear-gradient(160deg, #f1e7da, #e5d5c0); }
.f-thumb.vase i { position: absolute; left: 26px; top: 14px; width: 24px; height: 50px; border-radius: 12px 12px 14px 14px / 10px 10px 20px 20px; background: linear-gradient(90deg, #c9a37a, #b88a5e); }
.f-thumb.throw { background: linear-gradient(160deg, #e3eadf, #cfdcc9); }
.f-thumb.throw i { position: absolute; inset: 18px 14px; border-radius: 6px; background: repeating-linear-gradient(90deg, #7f9a74 0 6px, #93ad88 6px 12px); transform: rotate(-8deg); }
.f-name b { display: block; font-size: 16px; font-weight: 600; }
.f-name small { font-size: 13.5px; color: var(--f-muted); }
.f-qty { display: inline-flex; align-items: center; gap: 14px; border: 1px solid #e6e3df; border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.f-qty i { font-style: normal; color: var(--f-muted); }
.f-price { text-align: right; font-weight: 600; font-size: 16px; }
.f-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; height: 40px; }
.f-link { font-size: 14px; color: var(--f-muted); font-weight: 500; }
.f-save {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--f-ink); font-size: 14.5px; font-weight: 600;
  opacity: 0; transform: scale(.9); transition: opacity .5s ease, transform .6s cubic-bezier(.2,1.4,.3,1);
}
.f-save svg { width: 17px; height: 17px; }
.f-ship { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #d3d0cc; padding: 8px 0; border-radius: 10px; transition: color .6s, background-color .6s, padding .6s; }
.f-ship svg { width: 19px; height: 19px; flex: none; }
.f-sum { background: #f7f5f2; border-radius: 16px; padding: 22px; align-self: start; font-size: 14.5px; }
.f-sum-h { display: block; font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.f-row { display: flex; justify-content: space-between; padding: 7px 0; }
.f-row span:first-child { color: var(--f-muted); }
.f-code { display: flex; gap: 8px; margin: 8px 0; }
.f-input { flex: 1; height: 36px; border-radius: 8px; border: 1px solid #e1ddd8; background: #fff; display: flex; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.f-applied { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-weight: 600; font-size: 13.5px; }
.f-applied svg { width: 15px; height: 15px; }
.f-disc span:last-child { color: var(--green); font-weight: 600; }
.f-total { border-top: 1px solid #e6e2dd; margin-top: 8px; padding-top: 14px; align-items: baseline; }
.f-total span:first-child { color: var(--f-ink); font-weight: 600; }
.f-amount { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; display: inline-grid; justify-items: end; border-radius: 8px; transition: background-color .6s; padding: 0 4px; margin-right: -4px; }
.f-amount > span { grid-area: 1 / 1; transition: opacity .45s ease, transform .5s ease; }
.f-amount .now { opacity: 0; transform: translateY(8px); color: var(--green); }
.f-btn { display: grid; place-items: center; height: 46px; margin-top: 16px; border-radius: 12px; background: var(--f-ink); color: #fff; font-weight: 600; font-size: 15px; }

/* Fixed states, applied one by one as the demo goes */
.forma.fx-bug .f-amount .was { opacity: 0; transform: translateY(-8px); }
.forma.fx-bug .f-amount .now { opacity: 1; transform: none; }
.forma.fx-feat .f-save { opacity: 1; transform: none; }
.forma.fx-impr .f-ship { color: #2d5b3d; background: #e9f6ee; padding: 8px 14px; font-weight: 600; }
.forma.fx-impr .f-ship svg { color: var(--green); }
.forma .glow { box-shadow: 0 0 0 6px rgba(33, 138, 79, .16); }

/* Buggie's capture bar */
.capbar {
  position: absolute; display: flex; gap: 6px; padding: 6px; border-radius: 16px;
  background: rgba(250, 249, 247, .94); box-shadow: 0 0 0 .5px rgba(0,0,0,.14), 0 14px 34px -14px rgba(52, 28, 90, .45);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
#capbar { right: 92px; top: 40px; z-index: 3; }
.cb-btn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--b-ink); position: relative; }
.cb-btn svg { width: 20px; height: 20px; }
.cb-stop { color: var(--red); }
.cb-mic { color: var(--b-ink); }
.cb-mic .lv { display: none; }
.cb-mic.hot, .scene.listening .cb-mic { background: #fde6e7; color: var(--red); }
.cb-mic.hot .lv, .scene.listening .cb-mic .lv { display: flex; position: absolute; left: 5px; bottom: 9px; gap: 1.5px; align-items: flex-end; height: 12px; }
.lv i { width: 2px; border-radius: 1px; background: var(--red); height: 4px; animation: lv 0.9s ease-in-out infinite; }
.lv i:nth-child(2) { animation-delay: .15s; }
.lv i:nth-child(3) { animation-delay: .3s; }
@keyframes lv { 0%, 100% { height: 3px; } 50% { height: 11px; } }

/* Buggie's quick window */
.quick {
  position: absolute; width: 640px; border-radius: 20px; padding: 12px;
  background: rgba(250, 249, 247, .96); color: var(--b-ink); font-family: var(--sys);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.16), 0 0 0 5px rgba(120, 86, 216, .10), 0 28px 60px -22px rgba(52, 28, 90, .55);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
#quick { left: 240px; bottom: 30px; z-index: 4; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.9,.3,1); }
#quick.on { opacity: 1; transform: none; }
.q-top { display: flex; align-items: center; gap: 12px; padding: 2px 4px 10px; }
.q-mic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; box-shadow: 0 0 0 1px var(--b-hair); color: var(--b-ink); }
.q-mic svg { width: 19px; height: 19px; }
.q-mic.hot, .scene.listening .q-mic { background: #fde6e7; box-shadow: none; color: var(--red); }
.q-text { min-width: 0; display: grid; gap: 1px; padding-left: 12px; border-left: 1px solid var(--b-hair); }
.q-text small { font-size: 12px; color: #807d86; font-weight: 500; }
.q-text > span { font-size: 16.5px; line-height: 1.35; font-weight: 500; min-height: 22px; }
.q-listen { font-style: normal; color: #a4a1a9; font-weight: 400; margin-left: 4px; }
.scene:not(.listening) #quick .q-listen { display: none; }
.q-bar { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--b-hair); padding: 10px 4px 0; }
.q-logo svg { width: 24px; height: 24px; color: var(--b-ink); }
.q-seg { display: inline-flex; border-radius: 10px; box-shadow: 0 0 0 1px var(--b-hair); background: #fff; overflow: hidden; margin-left: 4px; }
.q-seg > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: #3b3840; }
.q-seg > span + span { border-left: 1px solid var(--b-hair); }
.q-seg svg { width: 15px; height: 15px; }
.q-fix { display: inline-flex; align-items: center; border-radius: 10px; background: var(--b-graphite); color: #fff; font-size: 13px; font-weight: 600; transition: transform .15s, box-shadow .2s; }
.q-fix > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 7px 12px; }
.q-fix svg { width: 15px; height: 15px; }
.q-fix .q-chev { width: 26px; height: 30px; padding: 0 6px; border-left: 1px solid rgba(255,255,255,.18); }
.q-fix.press { transform: scale(.95); box-shadow: 0 0 0 4px rgba(57, 52, 61, .18); }
.q-fix.open { box-shadow: 0 0 0 4px rgba(57, 52, 61, .14); }
.q-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.q-ico svg { width: 22px; height: 22px; color: #56535b; }
.q-send { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px var(--b-hair); display: grid; place-items: center; background: #fff; }
.q-send svg { width: 17px; height: 17px; color: #3b3840; }

.fit:not(.compact) .scene.q-high #quick { top: 92px; bottom: auto; transform: translateY(-18px) scale(.98); }
.fit:not(.compact) .scene.q-high #quick.on { transform: none; }
.fit:not(.compact) .scene.q-high .toast { top: 240px; bottom: auto; }

.marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.marks path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 1; filter: drop-shadow(0 1px 1px rgba(150, 30, 35, .25)); }
.marks path.draw { transition: stroke-dashoffset .8s cubic-bezier(.5,.1,.3,1); stroke-dashoffset: 0; }
.marks path.fade { transition: opacity .4s ease; opacity: 0; stroke-dashoffset: 0; }

.toast {
  position: absolute; left: 50%; bottom: 196px; z-index: 5; transform: translate(-50%, 10px); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(36, 35, 39, .92); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.9,.3,1);
}
.toast svg { width: 16px; height: 16px; color: #7ee2a3; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.result {
  position: absolute; left: 50%; bottom: 44px; z-index: 5; opacity: 0; transform: translate(-50%, 8px) scale(.96);
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: #1f3d2b; font-size: 15px; font-weight: 600; padding: 9px 18px 9px 9px;
  box-shadow: 0 0 0 1px rgba(33, 138, 79, .22), 0 14px 30px -14px rgba(20, 70, 40, .45);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,1.2,.3,1);
}
.result i { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.result i svg { width: 13px; height: 13px; color: #fff; }
.result.on { opacity: 1; transform: translate(-50%, 0); }
.cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 6; color: #111; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); transition: transform .7s cubic-bezier(.5,.05,.25,1), opacity .3s; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.click { animation: click .25s ease; }
@keyframes click { 50% { scale: .82; } }

/* ------------------------------------------------------------------ sections */
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.sec-tight { padding-top: 0; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { max-width: 780px; }
.sec-head .lead { margin-top: 18px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .sec-head { flex-direction: column; align-items: flex-start; } .sec-head.center { align-items: center; } }

/* ------------------------------------------------------------------ accordion */
.acc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.acc { border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-item h3 { font-size: inherit; }
.acc-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  background: none; border: 0; padding: 26px 0; cursor: pointer;
  font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.012em; color: var(--ink-2);
}
.acc-item.is-open button, .acc-item button:hover { color: var(--ink); }
.pm { width: 22px; height: 22px; flex: none; transition: transform .3s ease; color: var(--ink-2); }
.acc-item.is-open .pm, details[open] .pm { transform: rotate(45deg); }
.acc-body { padding: 0 0 28px; }
.acc-body p { color: var(--ink-2); font-size: 17px; max-width: 460px; }
.acc-item.is-open .acc-body { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.acc-pics { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(70% 60% at 0% 0%, #ebe5ff 0%, transparent 60%),
    radial-gradient(70% 60% at 100% 100%, #ffe7dc 0%, transparent 60%),
    linear-gradient(160deg, #f6f4fa, #f7f4f1);
}
.pic { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.pic.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.pic-in { font-family: var(--sys); color: var(--b-ink); }
@media (max-width: 860px) {
  .acc-grid { grid-template-columns: 1fr; }
  .acc-pics { position: relative; top: 0; order: -1; }
}

/* picture 0 · talk */
.capbar-static { left: 50%; top: 42px; transform: translateX(-50%); }
.quick-static { position: absolute; }
.p-talk-q { left: 40px; right: 40px; width: auto; top: 118px; }
.p-talk-q .q-top { padding-bottom: 4px; align-items: flex-start; }
.p-talk-q .q-text > span { font-size: 16px; }
.p-split { position: absolute; left: 0; right: 0; top: 262px; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 13.5px; color: #75727b; font-weight: 500; }
.p-split svg { width: 16px; height: 16px; }
.items { position: absolute; left: 64px; right: 64px; top: 300px; display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 10px 24px -16px rgba(52, 28, 90, .4); font-size: 14.5px; }
.item b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item small { color: #8b8891; font-size: 12.5px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.t-bug.tag { background: #fde8e8; color: var(--red-ink); }
.t-impr.tag { background: #fcf0dc; color: var(--amber); }
.t-feat.tag { background: #eee8ff; color: var(--violet); }

/* picture 1 · point */
.markbar { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 16px; background: rgba(250, 249, 247, .96); box-shadow: 0 0 0 .5px rgba(0,0,0,.14), 0 14px 34px -14px rgba(52, 28, 90, .45); white-space: nowrap; }
.mk { display: grid; justify-items: center; gap: 2px; width: 62px; padding: 6px 0 5px; border-radius: 10px; font-size: 11.5px; color: #4a4750; }
.mk svg { width: 20px; height: 20px; }
.mk.on { background: #fff; box-shadow: 0 0 0 1px var(--b-hair), 0 2px 6px -2px rgba(0,0,0,.15); color: var(--b-ink); }
.mk-colors { display: flex; gap: 7px; padding: 0 10px; margin: 0 4px; border-left: 1px solid var(--b-hair); border-right: 1px solid var(--b-hair); }
.mk-colors i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.mk-colors i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c); }
.sum-big { position: absolute; left: 96px; top: 138px; width: 340px; padding: 22px; border-radius: 18px; background: #fff; font-family: var(--font); font-size: 14.5px; color: #22201d; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 44px -22px rgba(52, 28, 90, .45); }
.sum-big .f-row span:first-child { color: #7b766f; }
.sum-big .f-total span:first-child { color: #22201d; }
.sum-big .f-btn { background: #22201d; }
.sum-big .f-total { position: relative; }
.ink-target { position: relative; }
.ink-circle { position: absolute; left: -24px; top: -16px; width: calc(100% + 44px); height: calc(100% + 30px); overflow: visible; }
.ink-circle path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ink-note { position: absolute; left: calc(100% + 40px); top: 50%; transform: translateY(-60%) rotate(-7deg); color: var(--red) !important; font-family: "Marker Felt", "Bradley Hand", "Segoe Print", cursive; font-size: 23px; font-weight: 700; white-space: nowrap; }

/* picture 2 · hand off */
.p-hand-q { left: 36px; right: 36px; width: auto; top: 318px; }
.menu { position: absolute; background: rgba(250, 249, 247, .98); border-radius: 14px; padding: 8px; box-shadow: 0 0 0 .5px rgba(0,0,0,.16), 0 24px 50px -20px rgba(52, 28, 90, .5); font-size: 14.5px; }
.menu p { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8f8c95; padding: 8px 10px 4px; }
.targets { left: 250px; top: 38px; width: 260px; }
.mi { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-weight: 500; }
.mi.on { background: var(--b-selected); }
.mi-ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--b-hair); }
.mi-ico svg { width: 15px; height: 15px; }
.mi-ico.dark { background: var(--b-graphite); color: #fff; box-shadow: none; }
.mi-check { width: 17px; height: 17px; margin-left: auto; }

/* picture 3 · review */
.latest { position: absolute; left: 50px; right: 50px; top: 26px; background: rgba(250, 249, 247, .97); border-radius: 18px; padding: 10px 18px; box-shadow: 0 0 0 .5px rgba(0,0,0,.14), 0 26px 56px -24px rgba(52, 28, 90, .5); }
.lt-sec { display: flex; align-items: center; gap: 8px; padding: 10px 0 6px; font-size: 14.5px; border-top: 1px solid var(--b-hair); }
.lt-sec:first-child { border-top: 0; }
.lt-sec .n { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--b-ink); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.lt-row { display: flex; gap: 12px; align-items: center; padding: 4px 0 8px; }
.lt-thumb { width: 62px; height: 42px; border-radius: 9px; background: #e6e4e9; display: grid; place-items: center; color: #9794a0; flex: none; }
.lt-thumb svg { width: 20px; height: 20px; }
.lt-main { display: grid; gap: 1px; min-width: 0; font-size: 13.5px; }
.lt-main b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.lt-main .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.lt-main span { color: #45424b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-main small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #807d86; font-weight: 500; }
.lt-main small.warn { color: var(--red-ink); font-weight: 600; }
.lt-main small.ok { color: var(--green); font-weight: 600; }
.lt-main small.ok svg { width: 14px; height: 14px; }
.lt-chat { margin: 0 0 10px 74px; display: grid; gap: 6px; justify-items: start; }
.bub { font-size: 13.5px; padding: 7px 12px; border-radius: 12px; max-width: 400px; line-height: 1.35; }
.bub.ai { background: #fff; box-shadow: 0 0 0 1px var(--b-hair); border-top-left-radius: 4px; }
.bub.me { background: var(--b-graphite); color: #fff; justify-self: end; border-top-right-radius: 4px; }
.lt-input { justify-self: stretch; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 10px 0 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--b-hair); font-size: 13px; color: #a09da6; }
.lt-input svg { width: 15px; height: 15px; color: #6d6a73; }
.spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #cfccd4; border-top-color: #56535b; animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ compare */
.compare { max-width: 1080px; margin: 0 auto; }
.seg { display: flex; width: max-content; margin: 0 auto 28px; padding: 4px; border-radius: 999px; background: #e9e8ec; }
.seg button { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cmp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.session { background: #fff; border-radius: var(--r-l); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 30px 60px -36px rgba(40, 30, 70, .35); overflow: hidden; }
.s-head { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #faf9fb; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.s-body { padding: clamp(16px, 2.4vw, 28px); min-height: 460px; display: grid; align-content: start; }
.compare[data-mode="with"] .only-without, .compare[data-mode="without"] .only-with { display: none; }
.only-with, .only-without { display: grid; gap: 18px; animation: rise .4s ease both; }
.task { border-radius: 16px; background: var(--b-panel); box-shadow: 0 0 0 1px var(--line); padding: clamp(16px, 2vw, 22px); }
.task-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.task-top .muted { color: var(--muted); font-weight: 500; }
.clip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 4px 10px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.clip svg { width: 15px; height: 15px; }
.task h4 { font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 12px 0 14px; }
.task small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.task p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.task-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.tl li { display: grid; grid-template-columns: 48px 76px 1fr; align-items: center; gap: 8px; color: var(--ink-2); }
.tl time { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
.k { justify-self: start; font-family: var(--mono); font-size: 11.5px; padding: 2px 7px; border-radius: 6px; font-weight: 600; }
.k-click { background: #e8efff; color: #3659c9; }
.k-net { background: #fdf0dc; color: #9a5d0a; }
.k-voice { background: #fde8e8; color: var(--red-ink); }
.k-draw { background: #eee8ff; color: var(--violet); }
.reply { display: flex; gap: 12px; align-items: flex-start; }
.r-ico { width: 30px; height: 30px; border-radius: 9px; background: #d97757; color: #fff; display: grid; place-items: center; flex: none; }
.r-ico svg { width: 17px; height: 17px; }
.reply p { font-size: 15.5px; line-height: 1.55; color: var(--ink); padding-top: 3px; }
.reply code { font-family: var(--mono); font-size: 13.5px; background: var(--soft); padding: 1px 5px; border-radius: 5px; }
.reply .ok { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; white-space: nowrap; }
.reply .ok svg { width: 15px; height: 15px; }
.only-without .reply p { color: var(--ink-2); }
.plain { border-radius: 16px; background: var(--soft); padding: 16px 18px; justify-self: start; max-width: 440px; }
.plain small { font-size: 12.5px; color: var(--faint); font-weight: 500; }
.plain p { font-size: 16px; margin-top: 4px; }
.sources { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; background: #fff; border-radius: var(--r-l); box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.sources li { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: opacity .35s ease, filter .35s ease; }
.sources i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--ink); flex: none; }
.sources i svg { width: 18px; height: 18px; }
.sources b { display: block; font-size: 15px; font-weight: 600; }
.sources span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.compare[data-mode="without"] .sources li { opacity: .35; filter: grayscale(1); }
.compare[data-mode="without"] .sources b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
@media (max-width: 900px) { .cmp-grid { grid-template-columns: 1fr; } .s-body { min-height: 0; } }
@media (max-width: 560px) {
  .task-cols { grid-template-columns: 1fr; gap: 12px; }
  .tl li { grid-template-columns: 42px 1fr; }
  .tl li .k { grid-column: 2; grid-row: 1; }
  .tl li { grid-template-areas: none; }
  .tl time { grid-row: 1 / span 2; align-self: start; padding-top: 2px; }
  .clip { margin-left: 0; }
}

/* ------------------------------------------------------------------ agents (dark) */
.sec-dark { background: #141316; color: #f4f3f6; }
.sec-dark .eyebrow { color: #ff8a8e; }
.sec-dark .lead { color: #b9b6bf; }
.ag-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ag { background: #1f1e22; border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 28px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.ag h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.012em; margin-top: 24px; }
.ag p { color: #b3b0b9; font-size: 16px; margin-top: 8px; max-width: 560px; }
.ag-local { grid-column: span 7; }
.ag-cloud { grid-column: span 5; display: flex; flex-direction: column; }
.ag-cloud .ag-pic { flex: 1; display: grid; align-content: center; }
.ag-file { grid-column: span 12; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ag-file h3 { margin-top: 0; }
.trackers { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.trackers li { padding: 10px 18px; border-radius: 999px; background: #2a292e; font-weight: 600; font-size: 15px; color: #e6e4ea; }
.term { background: #0d0c0f; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); overflow: hidden; }
.term-head { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12.5px; color: #8d8a93; white-space: nowrap; overflow: hidden; }
.term-head > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .term pre { font-size: 12px; padding: 14px; } }
.term pre { margin: 0; padding: 16px 18px 18px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #e9e7ee; overflow-x: auto; }
.term .p { color: #8d8a93; }
.term .b { color: #ff8a8e; }
.term .d { color: #8d8a93; }
.term .g { color: #6fdb9a; }
.term .r { color: #ff8a8e; }
.runs { display: grid; gap: 10px; }
.run { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: #28272c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.run-ico { width: 34px; height: 34px; border-radius: 10px; background: #3a3740; display: grid; place-items: center; color: #fff; flex: none; }
.run-ico svg { width: 18px; height: 18px; }
.run-main { display: grid; min-width: 0; }
.run-main b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-main small { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #a3a0a9; }
.run-main small.ok { color: #6fdb9a; font-weight: 600; }
.run-main small.ok svg { width: 14px; height: 14px; }
.run .spin { border-color: #4b4851; border-top-color: #e9e7ee; }
@media (max-width: 960px) {
  .ag-local, .ag-cloud { grid-column: span 12; }
  .ag-file { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ privacy */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust article { background: var(--soft); border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); }
.trust h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.trust h3 i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.trust h3 i svg { width: 20px; height: 20px; }
.trust p { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 520px; }
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.35; }
.facts svg { width: 20px; height: 20px; flex: none; color: var(--ink); }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ download */
.dl { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.dl-pic { border-radius: var(--r-xl); overflow: hidden; }
.dl-copy .lead { margin-top: 16px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.desk2 {
  background:
    radial-gradient(65% 80% at 15% 10%, #cfd8ff 0%, transparent 60%),
    radial-gradient(60% 70% at 95% 90%, #ffd9cc 0%, transparent 62%),
    linear-gradient(150deg, #dfe3fb, #efe6f3 55%, #f7ece6);
}
.pw { position: absolute; left: 56px; top: 44px; right: 56px; bottom: 44px; display: grid; grid-template-columns: 190px 1fr; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 30px 60px -24px rgba(40, 30, 80, .45); font-size: 13px; }
.pw-side { background: var(--b-side); padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.pw-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; margin: 4px 6px 14px; }
.pw-brand img { border-radius: 7px; }
.pw-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-weight: 500; color: #3b3840; }
.pw-item svg { width: 15px; height: 15px; color: #6c6972; }
.pw-item > svg:last-child:not(:first-child) { margin-left: auto; transform: rotate(-90deg); }
.pw-item.on { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pw-item i { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; background: var(--b-selected); padding: 1px 7px; border-radius: 8px; }
.pw-item.sm { font-size: 12.5px; padding: 5px 8px; }
.pw-side small { font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #8f8c95; margin: 14px 8px 4px; }
.pw-main { padding: 22px 26px; background: var(--b-panel); }
.pw-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8f8c95; }
.pw-title { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 2px; }
.pw-sub { display: block; color: #75727b; margin-bottom: 14px; }
.pw-card { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--b-hair); margin-bottom: 12px; overflow: hidden; }
.pw-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 600; border-bottom: 1px solid var(--b-hair); }
.pw-h i { font-style: normal; font-size: 11px; font-weight: 700; background: var(--b-selected); padding: 1px 7px; border-radius: 8px; }
.pw-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; }
.pw-r + .pw-r { border-top: 1px solid #efeef1; }
.pw-r span { display: grid; min-width: 0; }
.pw-r b { font-size: 12.5px; font-weight: 600; }
.pw-r small { color: #56535b; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-r em { font-style: normal; font-size: 11.5px; color: #807d86; white-space: nowrap; }
.pw-r em.warn { color: var(--red-ink); font-weight: 600; }
.pw-r em.ok { color: var(--green); font-weight: 600; }

/* ------------------------------------------------------------------ faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-grid h2 { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid h2 { position: static; } }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer;
  padding: 24px 0; font-size: clamp(19px, 1.9vw, 24px); font-weight: 500; letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 17px; max-width: 760px; }
.faq details[open] p { animation: rise .35s ease both; }

/* ------------------------------------------------------------------ cta band */
.band {
  position: relative; overflow: hidden; border-radius: var(--r-xl); text-align: center;
  padding: clamp(72px, 10vw, 120px) 24px;
  background:
    radial-gradient(55% 80% at 10% 20%, #e6dfff 0%, transparent 60%),
    radial-gradient(55% 80% at 90% 80%, #ffe3d6 0%, transparent 60%),
    radial-gradient(40% 60% at 60% 0%, #dbeeff 0%, transparent 65%),
    #f6f4f8;
}
.band > *:not(.floaters) { position: relative; }
.band-icon { margin: 0 auto 22px; border-radius: 15px; box-shadow: 0 16px 34px -14px rgba(28, 27, 31, .55); }
.band h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 30px; }
.band .eyebrow { color: var(--ink-2); }
.floaters { position: absolute; inset: 0; pointer-events: none; }
.fl {
  position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); color: var(--b-ink);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 20px 40px -18px rgba(52, 28, 90, .45);
  animation: float 7s ease-in-out infinite;
}
.fl svg { width: 28px; height: 28px; }
.fl.pill { width: auto; height: 46px; padding: 0 18px; border-radius: 14px; display: inline-flex; gap: 8px; font-weight: 600; font-size: 16px; }
.fl.pill svg { width: 18px; height: 18px; }
.fl-1 { left: 7%; top: 18%; color: var(--red); transform: rotate(-8deg); }
.fl-2 { left: 16%; bottom: 16%; animation-delay: -2s; transform: rotate(6deg); }
.fl-3 { right: 9%; top: 16%; background: var(--b-graphite); color: #fff; animation-delay: -1s; transform: rotate(5deg); }
.fl-4 { right: 18%; bottom: 20%; color: var(--red); animation-delay: -3s; transform: rotate(-6deg); }
.fl-5 { left: 25%; top: 10%; color: var(--green); animation-delay: -4s; transform: rotate(-4deg); }
.fl-6 { right: 4%; bottom: 36%; animation-delay: -5s; transform: rotate(8deg); }
.fl-7 { left: 3%; bottom: 40%; animation-delay: -2.5s; transform: rotate(-10deg); }
.fl-8 { right: 27%; top: 8%; color: var(--red-ink); animation-delay: -3.5s; transform: rotate(3deg); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 900px) { .band .fl-5, .band .fl-8, .band .fl-6, .band .fl-7 { display: none; } .fl-1 { left: 5%; top: 6%; } .fl-3 { right: 5%; top: 6%; } .fl-2 { left: 6%; bottom: 6%; } .fl-4 { right: 6%; bottom: 6%; } }
@media (max-width: 520px) { .fl { width: 48px; height: 48px; border-radius: 14px; } .fl svg { width: 22px; height: 22px; } .fl.pill { height: 38px; font-size: 14px; padding: 0 12px; } }

/* ------------------------------------------------------------------ footer */
.foot { margin-top: clamp(72px, 10vw, 120px); border-top: 1px solid var(--line); padding: 48px 0 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.foot-cols { display: flex; gap: clamp(40px, 8vw, 120px); }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols b { font-size: 14px; font-weight: 600; }
.foot-cols a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }

/* ------------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
  .rv, .pic, .f-save, .f-ship, .f-amount > span, #quick, .toast, .result, .cursor { transition: none !important; }
  .lv i, .fl, .spin { animation: none !important; }
  .acc-item.is-open .acc-body, .only-with, .only-without, .faq details[open] p { animation: none !important; }
}

/* ------------------------------------------------------------------ phone layouts of the drawn UI */
.compact .menubar > span:nth-of-type(n+3):not(.mb-right) { display: none; }
.compact .browser { left: 16px; top: 44px; width: 568px; height: 880px; }
.compact .url { margin-left: 18px; width: 290px; }
.compact .f-head { padding: 0 20px; }
.compact .f-nav { display: none; }
.compact .f-main { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
.compact .f-item { grid-template-columns: 64px 1fr auto; gap: 14px; }
.compact .f-thumb { width: 64px; height: 64px; }
.compact .f-thumb.vase i { left: 21px; top: 10px; width: 22px; height: 44px; }
.compact .f-thumb.throw i { inset: 14px 11px; }
.compact .f-qty { display: none; }
.compact #capbar { right: 22px; top: 36px; }
.compact #quick { left: 16px; right: 16px; width: auto; top: 104px; bottom: auto; transform: translateY(-14px) scale(.98); }
.compact #quick.on { transform: none; }
.compact .toast { top: 262px; bottom: auto; }
.compact .result { top: 112px; bottom: auto; }

.compact .markbar .mk:nth-child(2), .compact .markbar .mk:nth-child(5), .compact .markbar .mk:last-child { display: none; }
.compact .sum-big { left: 60px; width: 400px; }
.compact .ink-note { display: none; }
.compact .targets { left: 130px; }
.compact .p-talk-q, .compact .p-hand-q { left: 16px; right: 16px; }
.compact .p-talk-q { top: 108px; }
.compact .p-split { top: 270px; }
.compact .items { left: 20px; right: 20px; top: 304px; }
.compact .latest { left: 16px; right: 16px; }
