/* TryBadgey landing page: bold, clean, warm. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../app/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../app/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../app/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700 900; font-display: swap; src: url('../app/assets/fonts/inter-700.woff2') format('woff2'); }

:root {
  --bg: #fbf9f6;
  --bg-2: #f4f0ea;
  --paper: #ffffff;
  --ink: #16130f;
  --ink-2: #3b3630;
  --muted: #6f685f;
  --line: #e9e3da;
  --orange: #da552f;
  --orange-2: #c4461f;
  --orange-soft: #fdeee7;
  --indigo: #4432f4;
  --indigo-soft: #eeecfe;
  --green: #15803d;
  --green-soft: #e3f6e9;
  --red: #c0392b;
  --shadow: 0 1px 2px rgba(22, 19, 15, .04), 0 12px 32px rgba(22, 19, 15, .08);
  --shadow-lg: 0 2px 4px rgba(22, 19, 15, .05), 0 30px 70px rgba(22, 19, 15, .14);
  --r: 18px;
}
* { box-sizing: border-box; }
section[id] { scroll-margin-top: 80px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
svg { display: block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 880px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 11px 20px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 0 var(--orange-2), 0 12px 24px rgba(218, 85, 47, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--orange-2), 0 16px 30px rgba(218, 85, 47, .3); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--orange-2); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 0 6px 0 var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn-ghost:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 246, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--orange); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-login { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-cta .btn { padding: 9px 16px; box-shadow: 0 4px 0 var(--orange-2); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; background: radial-gradient(600px 300px at 85% 20%, rgba(218, 85, 47, .12), transparent 70%), radial-gradient(500px 300px at 10% 0%, rgba(68, 50, 244, .08), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 0 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.02; letter-spacing: -.045em; font-weight: 900; margin: 0 0 22px; }
.scribble { position: relative; white-space: nowrap; color: var(--orange); }
.scribble::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 40 4, 80 4, 110 10 S 170 16, 198 6' fill='none' stroke='%23DA552F' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; transform-origin: left; animation: draw 1s .5s both cubic-bezier(.6, 0, .2, 1); }
.scribble.light { color: #ffd2c2; }
.scribble.light::after { filter: brightness(1.4); }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.lead { font-size: 20px; color: var(--ink-2); max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { line-height: 1.9; font-size: 14px; color: var(--muted); font-weight: 500; margin: 0; }
.hero-note svg { width: 15px; height: 15px; color: var(--green); display: inline-block; vertical-align: -2px; margin-right: 2px; }

.hero-visual { position: relative; }
.browser { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: rotate(-1.2deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f6f3ee; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e5ded3; }
.browser-bar i:nth-child(1) { background: #ff6b5f; } .browser-bar i:nth-child(2) { background: #ffbf3d; } .browser-bar i:nth-child(3) { background: #2bca5f; }
.url { margin-left: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 12px; font-size: 12.5px; color: var(--muted); flex: 1; max-width: 260px; }
.browser-body { padding: 26px 24px 18px; }
.sk { background: #efe9e0; border-radius: 8px; height: 12px; margin-bottom: 10px; }
.sk-title { height: 22px; width: 62%; margin-bottom: 16px; background: #e7dfd3; }
.sk-line { width: 92%; } .sk-line.short { width: 70%; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 22px; }
.sk-card { height: 64px; border-radius: 12px; margin: 0; background: #f4efe7; }
.site-footer { border-top: 1px dashed var(--line); padding-top: 14px; }
.site-footer.small { padding-top: 10px; margin-top: 14px; }
.wall-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.wall-track { display: flex; gap: 8px; overflow: hidden; height: 40px; align-items: center; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.wall-credit { text-align: right; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.wb { flex: none; height: 36px; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); border-radius: 9px; padding: 0 10px 0 8px; background: #fff; font-size: 11px; font-weight: 800; line-height: 1.05; animation: pop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
.wb small { display: block; font-size: 7.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.wb .wb-ico { width: 20px; height: 20px; border-radius: 6px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 10px; }
.wb img.wb-logo { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }
img.wb-img { flex: none; height: 36px; width: auto; border-radius: 6px; animation: pop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.7); } to { opacity: 1; transform: none; } }
.toast { position: absolute; left: -18px; bottom: -22px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 11px 16px 11px 12px; border-radius: 14px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.toast.show { opacity: 1; transform: none; }
.toast-ico { width: 24px; height: 24px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.toast-ico svg { width: 14px; height: 14px; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; box-shadow: 0 4px 0 var(--ink); animation: bob 5s ease-in-out infinite; }
.float-chip svg { width: 16px; height: 16px; color: var(--orange); }
.chip-a { top: -20px; right: 30px; }
.chip-b { top: 46%; right: -26px; animation-delay: -2.5s; background: var(--indigo); color: #fff; border-color: var(--indigo); box-shadow: 0 4px 0 #2c1fc0; }
.chip-b svg { color: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ticker { margin-top: 84px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tick img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.tick em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); padding: 2px 7px; border-radius: 999px; }
.tick-ph { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-size: 14px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.04em; font-weight: 900; margin: 0 0 16px; }
.sub { font-size: 19px; color: var(--muted); margin: 0; }
h3 { font-size: 19px; letter-spacing: -.02em; font-weight: 800; margin: 0 0 6px; }
p { margin: 0 0 12px; }

/* pain */
.pain { background: var(--bg-2); }
.pain-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.editor { position: relative; background: #17140f; color: #e9e3da; border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; min-height: 470px; display: flex; flex-direction: column; }
.editor-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #221e17; font-size: 13px; color: #a69d90; }
.editor-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a342b; }
.editor-bar span:first-of-type { margin-left: 10px; }
.editor-count { margin-left: auto; background: #3a1d14; color: #ff9c7a; padding: 2px 9px; border-radius: 999px; font-weight: 700; font-size: 12px; transition: background .3s, color .3s; }
.editor-count.is-done { background: #163a24; color: #6ee7a0; }
.editor-code { margin: 0; padding: 18px 20px; font: 12.5px/1.75 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; flex: 1; overflow: hidden; max-height: 420px; transition: opacity .4s, filter .4s, transform .5s; }
.editor-code .t { color: #ff9c7a; } .editor-code .a { color: #8ab4ff; } .editor-code .s { color: #b6e3a1; } .editor-code .c { color: #6f685f; }
.editor-code.is-gone { opacity: 0; filter: blur(6px); transform: scale(.96); }
.editor-after { position: absolute; inset: 46px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px; opacity: 0; transform: scale(.96); transition: opacity .5s .2s, transform .5s .2s; pointer-events: none; text-align: center; }
.editor-after.show { opacity: 1; transform: none; }
.editor-after code { display: block; background: #241f18; border: 2px solid var(--orange); border-radius: 12px; padding: 14px 16px; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; color: #fff; word-break: break-all; }
.editor-after code b { color: #ff9c7a; }
.editor-after p { font-size: 22px; font-weight: 800; color: #fff; margin: 0; letter-spacing: -.02em; }
.after-tag { display: inline-flex; align-items: center; gap: 6px; background: #163a24; color: #6ee7a0; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.after-tag svg { width: 14px; height: 14px; }
.editor-replay { position: absolute; right: 14px; bottom: 14px; background: #2a251d; color: #d6cfc4; border: 1px solid #3a342b; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.editor-replay:hover { background: #3a342b; }
.pains { display: grid; gap: 14px; }
.pain-card { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pain-card:hover { transform: translateX(6px); border-color: var(--orange); box-shadow: var(--shadow); }
.pain-card h3 { font-size: 17px; }
.pain-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.pain-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; }
.pain-ico svg { width: 20px; height: 20px; }

/* how */
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 18px; padding: 22px 24px; border-radius: 18px; border: 2px solid transparent; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step.is-active { background: var(--paper); border-color: var(--ink); box-shadow: 0 6px 0 var(--ink); }
.step-num { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--bg-2); color: var(--ink); font-weight: 900; font-size: 18px; display: grid; place-items: center; transition: background .25s, color .25s; }
.step.is-active .step-num { background: var(--orange); color: #fff; }
.how-stage { position: sticky; top: 110px; min-height: 420px; }
.stage { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s, transform .45s; pointer-events: none; }
.stage.is-active { opacity: 1; transform: none; pointer-events: auto; }
.mock { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 16px; }
.pill-n { background: var(--indigo-soft); color: var(--indigo); font-weight: 800; font-size: 13px; padding: 4px 11px; border-radius: 999px; }
.pill-ok { background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 13px; padding: 4px 11px; border-radius: 999px; opacity: 0; transition: opacity .3s; }
.pill-ok.show, .stage[data-stage="3"] .pill-ok { opacity: 1; }
.pick-list { list-style: none; margin: 0; padding: 0; }
.pick-list li { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid var(--line); font-weight: 600; }
.pick-list li:last-child { border-bottom: 0; }
.pick-list img, .pick-list .tick-ph { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; border: 1px solid var(--line); }
.pick-name { flex: 1; }
.box { width: 22px; height: 22px; border: 2px solid #cfc6b8; border-radius: 6px; display: grid; place-items: center; color: transparent; transition: all .25s; }
.box svg { width: 14px; height: 14px; }
.pick-list li.on .box { background: var(--orange); border-color: var(--orange); color: #fff; transform: scale(1.1); }
.ring { --v: 50; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--indigo) calc(var(--v) * 1%), #ece8e1 0); }
.ring span { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.code-dark { background: #17140f; color: #fff; border-radius: 12px; padding: 18px; font: 14px/1.6 ui-monospace, Menlo, Consolas, monospace; min-height: 84px; word-break: break-all; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--orange); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.platforms span { border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; background: var(--bg); animation: pop .5s both; }
.platforms span:nth-child(2) { animation-delay: .06s; } .platforms span:nth-child(3) { animation-delay: .12s; } .platforms span:nth-child(4) { animation-delay: .18s; } .platforms span:nth-child(5) { animation-delay: .24s; } .platforms span:nth-child(6) { animation-delay: .3s; } .platforms span:nth-child(7) { animation-delay: .36s; } .platforms span:nth-child(8) { animation-delay: .42s; }
.mini-site { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.notice { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; background: var(--orange-soft); color: var(--orange-2); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 12px; opacity: 0; transform: translateY(6px); transition: all .35s; }
.notice svg { width: 16px; height: 16px; }
.notice.show { opacity: 1; transform: none; }

/* features */
.features { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; position: relative; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d9d0c3; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile-wide { grid-column: span 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.tile-wide p { color: #c9c1b5; max-width: 520px; }
.tile-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: 16px; }
.tile-ico svg { width: 21px; height: 21px; }
.tile-wide .tile-ico { background: rgba(255, 255, 255, .1); color: #ff9c7a; }
.counter-row { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.big-num { font-size: 64px; font-weight: 900; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-num.accent { color: #ff9c7a; }
.counter-label { color: #a69d90; font-weight: 600; }
.mini-code { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 8px; background: #17140f; color: #e9e3da; border-radius: 10px; padding: 10px 12px; font: 12.5px/1.5 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.mini-code b { color: #b6e3a1; font-weight: 400; }
.fake-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 700; background: #fff; box-shadow: 0 3px 0 var(--ink); }
.fake-btn svg { width: 16px; height: 16px; }
.weight { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; margin-top: 6px; }
.weight svg { width: 20px; height: 20px; color: var(--muted); }
.w-old { color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; }
.w-new { color: var(--green); font-variant-numeric: tabular-nums; }
.health { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.health li { display: flex; align-items: center; gap: 10px; }
.st { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #ece8e1; color: var(--muted); min-width: 66px; text-align: center; transition: all .3s; }
.st.ok { background: var(--green-soft); color: var(--green); }
.st.bad { background: #fde3df; color: var(--red); }
.live-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; margin-top: 4px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.pro { display: inline-block; vertical-align: 3px; margin-left: 6px; font-size: 11px; font-weight: 800; background: var(--indigo-soft); color: var(--indigo); padding: 2px 8px; border-radius: 999px; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 6px; }
.bars span { flex: 1; height: 0; background: var(--indigo); border-radius: 5px 5px 2px 2px; transition: height .9s cubic-bezier(.2, .9, .3, 1); }
.bars span:nth-child(2n) { background: #8f84ff; }
.bars.in span { height: var(--h); }
.bars span:nth-child(2) { transition-delay: .06s; } .bars span:nth-child(3) { transition-delay: .12s; } .bars span:nth-child(4) { transition-delay: .18s; } .bars span:nth-child(5) { transition-delay: .24s; } .bars span:nth-child(6) { transition-delay: .3s; } .bars span:nth-child(7) { transition-delay: .36s; }
.type-demo { display: inline-flex; align-items: center; margin-top: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 16px; min-width: 150px; }
.tile-span2 { grid-column: span 2; }
.tile-theme { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; }
.theme-demo { border-radius: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); transition: background .6s, border-color .6s; }
.td-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; transition: color .6s; }
.td-row { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-demo .wb { animation: none; transition: background .6s, color .6s, border-color .6s; }
.theme-demo .wb small { transition: color .6s; }
.tile-theme.flip .theme-demo { background: #17140f; border-color: #17140f; }
.tile-theme.flip .td-label { color: #a69d90; }
.tile-theme.flip .theme-demo .wb { background: #17140f; color: #fff; border-color: #fff; }
.tile-theme.flip .theme-demo .wb small { color: #a69d90; }

/* compare */
.table { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 0 8px 0 var(--ink); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.tr > span { padding: 16px 20px; font-size: 15.5px; }
.tr.th { border-top: 0; background: var(--bg-2); font-weight: 800; }
.tr.th span:last-child { color: var(--orange); }
.tr .us { background: var(--orange-soft); font-weight: 700; }
.tr.th .us, .tr.th > span:last-child { background: var(--orange); color: #fff; }
.hand { color: var(--muted); }
.yes, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.yes { background: var(--green); color: #fff; } .no { background: #f1ece5; color: #b3a99b; }
.yes svg, .no svg { width: 16px; height: 16px; }

/* pricing */
.pricing { background: var(--bg-2); }
.billing-toggle { display: inline-flex; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 4px; margin-top: 18px; box-shadow: 0 4px 0 var(--ink); }
.billing-toggle button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 15px; padding: 8px 18px; border-radius: 10px; cursor: pointer; color: var(--ink-2); }
.billing-toggle button.is-on { background: var(--ink); color: #fff; }
.billing-toggle em { font-style: normal; font-size: 12px; background: var(--orange); color: #fff; padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.plan { background: var(--paper); border: 2px solid var(--line); border-radius: 24px; padding: 32px; position: relative; }
.plan h3 { font-size: 22px; }
.plan-pro { border-color: var(--ink); box-shadow: 0 10px 0 var(--ink); }
.plan-flag { position: absolute; top: -15px; left: 32px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 13px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
.amount { font-size: 54px; font-weight: 900; letter-spacing: -.04em; }
.per { color: var(--muted); font-weight: 600; }
.plan-sub { color: var(--muted); font-size: 15px; min-height: 24px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-weight: 500; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.price-fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* faq */
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 800; font-size: 17.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa-ico { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: transform .25s, background .25s; }
.qa-ico svg { width: 16px; height: 16px; }
.qa[open] .qa-ico { transform: rotate(45deg); background: var(--orange); color: #fff; }
.qa p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

/* cta */
.cta { padding: 40px 0 110px; }
.cta-in { width: calc(100% - 48px); max-width: 1152px; background: var(--ink); color: #fff; border-radius: 32px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-in::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(218, 85, 47, .45), transparent); pointer-events: none; }
.cta-in h2 { max-width: 860px; margin: 0 auto 16px; position: relative; }
.cta-in p { color: #c9c1b5; font-size: 19px; margin-bottom: 30px; position: relative; }
.cta-in .btn { position: relative; box-shadow: 0 6px 0 #8f2f13; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.foot nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.foot nav a:hover { color: var(--ink); }
.copy { color: var(--muted); font-size: 14px; margin: 0; width: 100%; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .pain-grid, .how-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .chip-b { right: -6px; }
  .how-stage { position: relative; top: 0; min-height: 400px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .wrap { padding: 0 18px; }
  .nav-login { display: none; }
  .lead { font-size: 18px; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide, .tile-span2 { grid-column: auto; }
  .tile-theme { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 1.3fr .9fr .9fr; }
  .tr > span { padding: 12px 10px; font-size: 14px; }
  .chip-a { right: 6px; }
  .toast { left: 6px; right: 6px; font-size: 13px; }
  .cta-in { width: calc(100% - 36px); padding: 56px 22px; border-radius: 24px; }
  .big-num { font-size: 48px; }
}

/* People who turn off motion get a calm page: everything visible, nothing looping. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scribble::after { clip-path: none; }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track [aria-hidden="true"] { display: none; }
  .bars span { height: var(--h); }
}
html:not(.js) .stage[data-stage="1"] { opacity: 1; transform: none; }
