/* WhipClip landing — light theme ("Lagoon" palette from the Claude Design file) */
:root {
  --bg: #EFF8FC;
  --accent: #1B1784;
  --soft: #A8E0FF;
  --glow: rgba(142, 227, 245, 0.55);
  --cta: #2A24B8;
  --mark: #FFE98A;

  --ink: #141517;
  --ink-2: #2A2B2F;
  --ink-3: #4A4D53;
  --muted: #55585E;
  --muted-2: #6B6E75;
  --faint: #9A9DA3;
  --line: rgba(20, 21, 23, 0.08);
  --glass: rgba(255, 255, 255, 0.72);
  --gutter: clamp(20px, 4vw, 48px);
  --font: 'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #000; }
button { font: inherit; }
input::placeholder { color: var(--muted-2); }
.accent { color: var(--accent); }

@keyframes wcTrain { 0%, 100% { opacity: .15; transform: translateX(-2px); } 40% { opacity: 1; transform: translateX(2px); } }
@keyframes wcWord { 0%, 22% { color: #FFE98A; transform: scale(1.08); } 30%, 100% { color: #FFFFFF; transform: scale(1); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.hero-glow { position: absolute; z-index: 0; left: 50%; top: -20%; width: min(1200px, 140vw); height: 900px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }

.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px; color: var(--ink-3); }
.nav-link { padding: 8px 14px; border-radius: 999px; white-space: nowrap; flex: none; color: var(--ink-3); }
.nav-link:hover { color: #000; background: rgba(20, 21, 23, 0.05); }
.nav-sep { width: 1px; height: 20px; margin: 0 4px; background: rgba(20, 21, 23, 0.12); flex: none; }
.nav-cta { padding: 10px 18px; font-size: 14px; font-weight: 500; border-radius: 999px; white-space: nowrap; flex: none; background: var(--accent); color: #FFF; }
.nav-cta:hover { filter: brightness(0.9); color: #FFF; }

.hero-main { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px var(--gutter) 72px; text-align: center; }
.for-pill { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; white-space: nowrap; border-radius: 999px; background: var(--glass); border: 1px solid rgba(20, 21, 23, 0.09); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.for-tag { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #FFF; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.hero-title { margin: 0; max-width: 980px; font-size: clamp(40px, 7vw, 88px); line-height: 1.02; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.hero-sub { margin: 24px 0 0; max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }

.drop { margin-top: 44px; width: 100%; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.drop-row { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 10px; }
.linkbox { flex: 1 1 440px; min-width: 0; display: flex; align-items: center; gap: 12px; height: 64px; padding: 4px 4px 4px 24px; border-radius: 999px; background: #FFF; border: 1px solid rgba(20, 21, 23, 0.3); transition: border-color .2s; }
.linkbox svg { flex: none; }
.drop.is-drag .linkbox { border-color: var(--accent); }
.linkbox input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 16px; }
.btn-cta { flex: none; height: 100%; padding: 0 28px; border-radius: 999px; background: var(--cta); border: 0; color: #FFF; font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; box-shadow: 0 8px 24px -8px var(--cta); }
.btn-cta:hover { filter: brightness(0.9); }
.or { font-size: 16px; color: var(--muted-2); }
.btn-upload { flex: none; height: 64px; padding: 0 32px; border-radius: 999px; background: #FFF; border: 1px solid rgba(20, 21, 23, 0.3); color: var(--ink); font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-upload:hover { background: #F3F4F6; }
.status { font-size: 13px; color: var(--muted-2); }
.status.has { color: #3A3C40; }

.trust { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 13px; color: var(--muted-2); }
.trust .dot { color: #C4C6CA; }
.export { display: flex; align-items: center; gap: 10px; }
.export img { width: 18px; height: 18px; display: block; }

/* preview: full video -> 3 clips */
.preview { position: relative; margin-top: 64px; width: 100%; max-width: 1120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; text-align: left; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 28px; background: var(--glass); border: 1px solid rgba(20, 21, 23, 0.09); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset; min-width: 0; }
.card-label { display: flex; align-items: center; gap: 10px; padding: 4px 6px 0; font-size: 13px; color: var(--muted); }
.card-label-split { justify-content: space-between; }
.muted-sm { font-size: 12px; color: var(--muted-2); }
.arrow { position: absolute; z-index: 3; left: calc(100% + 28px); top: 50%; transform: translate(-50%, -50%); width: 48px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--accent); pointer-events: none; }
.arrow-train { display: flex; align-items: center; }
.arrow-train svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: wcTrain 1.2s ease-in-out infinite; }
.arrow-train svg + svg { margin-left: -4px; }
.arrow-train svg:nth-child(2) { animation-delay: .2s; }
.arrow-train svg:nth-child(3) { animation-delay: .4s; }
.full-video { position: relative; flex: 1; min-height: 300px; border-radius: 18px; overflow: hidden; background: #E9E9E6; border: 1px solid rgba(20, 21, 23, 0.06); }
.full-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.preview.is-stacked .arrow { left: 50%; top: calc(100% + 28px); transform: translate(-50%, -50%) rotate(90deg); }
.preview.is-stacked .full-video { min-height: 0; aspect-ratio: 16 / 9; }

/* hero clips carousel: 3 visible, centre one enlarged, auto-advances */
.hero-vp { overflow: hidden; padding: 26px 0 14px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero-vp.is-drag { cursor: grabbing; }
.hero-track { display: flex; gap: 10px; transform: translate3d(0, 0, 0); will-change: transform; }
.clip-tile { flex: 0 0 calc((100% - 20px) / 3); transform: scale(0.9); z-index: 1; position: relative; aspect-ratio: 9 / 16; border-radius: 16px; background: #E9E9E6; border: 1px solid rgba(20, 21, 23, 0.08); }
.clip-tile.is-focus { transform: scale(1.06); z-index: 2; }
.clip-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 15px; pointer-events: none; }
.plat { position: absolute; z-index: 4; top: -15px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: #FFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px -2px rgba(20, 21, 23, 0.3); border: 1px solid rgba(20, 21, 23, 0.06); }
.plat img { width: 16px; height: 16px; display: block; pointer-events: none; }
.cap-wrap { position: absolute; left: 6%; right: 6%; bottom: 22%; display: flex; justify-content: center; pointer-events: none; }
.cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.28em; font-weight: 800; line-height: 1.15; text-align: center; letter-spacing: -0.01em; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9); }
.cap > span { display: inline-block; color: #FFF; animation-name: wcWord; animation-timing-function: ease-out; animation-iteration-count: infinite; }
.cap-hero { font-size: clamp(11px, 1.3vw, 15px); }
.cap-car { font-size: 12px; }
.clip-meta { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 6px 8px; border-radius: 10px; background: rgba(20, 21, 23, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 11px; white-space: nowrap; }
.clip-meta .score { color: #ECEDEE; font-weight: 600; }
.clip-meta .dur { color: var(--faint); }

/* ---------- Shared section bits ---------- */
.sec { padding: 96px var(--gutter); display: flex; justify-content: center; }
.wrap { width: 100%; max-width: 1120px; display: flex; flex-direction: column; }
.gap20 { gap: 20px; } .gap40 { gap: 40px; } .gap48 { gap: 48px; }
.sec-head { display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); }
.eyebrow-sm { font-size: 12px; color: var(--muted-2); }
.h2 { margin: 0; max-width: 820px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.h2-center { margin: 0; text-align: center; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.mark { color: var(--ink); font-weight: 600; background: var(--mark); padding: 0 6px; border-radius: 6px; }
.mark-sm { color: var(--ink); font-weight: 600; background: var(--mark); padding: 0 4px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Pains ---------- */
.pains-inner { width: 100%; max-width: 880px; display: flex; flex-direction: column; gap: 28px; }
.pain-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pain { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pain .num { font-size: 13px; color: var(--accent); }
.pain p { margin: 0; font-size: clamp(16px, 2.4vw, 24px); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.hl { color: var(--ink); background-image: linear-gradient(var(--soft), var(--soft)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%; padding: 0 6px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; will-change: background-size; }
.hl1 { transition: background-size 1.4s cubic-bezier(.22, 1, .36, 1) 1s, color 1.1s cubic-bezier(.22, 1, .36, 1) 1.15s; }
.hl2 { transition: background-size 1.4s cubic-bezier(.22, 1, .36, 1) 2s, color 1.1s cubic-bezier(.22, 1, .36, 1) 2.15s; }
.hl3 { transition: background-size 1.4s cubic-bezier(.22, 1, .36, 1) 3s, color 1.1s cubic-bezier(.22, 1, .36, 1) 3.15s; }
.pains.hl-on .hl { background-size: 100% 100%; color: var(--accent); }
.pains-foot { margin: 0; font-size: 18px; color: var(--muted); }

/* ---------- Benefits ---------- */
.sec-head + .ben-grid { margin-top: 28px; }
.ben-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.ben-main { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--glass); border: 1px solid rgba(20, 21, 23, 0.09); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset; }
.ben-copy { display: flex; flex-direction: column; gap: 14px; }
.ben-copy h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.ben-copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.car-wrap { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.car { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
.car::-webkit-scrollbar { display: none; }
.car-item { flex: 0 0 calc((100% - 20px) / 2.6); scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.car-thumb { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background-color: #E9E9E6; background-size: cover; background-position: center; border: 1px solid rgba(20, 21, 23, 0.08); box-shadow: 0 12px 30px -14px rgba(20, 21, 23, 0.35); }
.badge { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 12px; font-weight: 700; }
.badge-top { background: var(--mark); }
.car-cap { bottom: 26%; }
.car-score { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; flex-direction: column; gap: 5px; padding: 7px 8px; border-radius: 10px; background: rgba(20, 21, 23, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.car-score-row { display: flex; justify-content: space-between; font-size: 10px; color: #ECEDEE; font-weight: 600; }
.bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.bar > div { height: 100%; background: var(--mark); }
.car-title { font-size: 12px; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ben-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.ben-card h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.ben-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---------- How it works ---------- */
.how { padding-bottom: 120px; }
.how-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.steps { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.step { position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 16px; background: transparent; border: 1px solid transparent; color: var(--ink); cursor: pointer; transition: background .3s, border-color .3s; }
.step.is-active { background: rgba(255, 255, 255, 0.85); border-color: rgba(20, 21, 23, 0.12); }
.step-n { font-size: 13px; font-weight: 600; color: var(--faint); padding-top: 3px; }
.step.is-active .step-n { color: var(--accent); }
.step-body { display: flex; flex-direction: column; gap: 6px; }
.step-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step-text { font-size: 14px; line-height: 1.5; color: var(--muted); }

.appwin { flex: 999 1 560px; min-width: 0; max-width: 740px; padding: 10px; border-radius: 28px; background: var(--glass); border: 1px solid rgba(20, 21, 23, 0.1); box-shadow: 0 40px 100px -30px rgba(20, 21, 23, 0.18); }
.appwin-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 12px; }
.appwin-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(20, 21, 23, 0.14); }
.appwin-bar em { margin-left: 10px; font-style: normal; font-size: 11px; color: var(--muted-2); }
.app { position: relative; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; background: #F6F6F4; border: 1px solid rgba(20, 21, 23, 0.06); display: flex; flex-direction: column; font-size: 13px; color: var(--ink); text-align: left; }
.app-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(20, 21, 23, 0.07); background: #FFF; }
.app-logo { font-weight: 700; letter-spacing: -0.02em; }
.app-tabs { margin-left: auto; display: flex; gap: 4px; }
.app-tabs span { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #8A8D93; transition: background .3s, color .3s; }
.app-tabs span.is-active { background: var(--soft); color: var(--accent); }
.app-body { position: relative; flex: 1; min-height: 0; }
.app-screen { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.app-screen.is-active { opacity: 1; }
.app-box { background: #FFF; border: 1px solid var(--line); border-radius: 14px; }
.app-urlrow { display: flex; gap: 8px; }
.app-url { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 12px; height: 40px; background: #FFF; border: 1px solid var(--line); border-radius: 14px; font-size: 12px; color: var(--ink-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-btn { display: flex; align-items: center; padding: 0 16px; height: 40px; border-radius: 12px; background: var(--accent); color: #FFF; font-weight: 600; font-size: 12px; white-space: nowrap; }
.app-panel { flex: 1; min-height: 0; display: flex; gap: 14px; padding: 12px; background: #FFF; border: 1px solid var(--line); border-radius: 14px; }
.app-panel img { width: 46%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; align-self: flex-start; }
.app-panel-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.app-panel-info .t { font-weight: 600; font-size: 14px; line-height: 1.3; }
.app-panel-info .m { font-size: 12px; color: var(--muted-2); }
.app-progress { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.app-progress .row { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); }
.app-progress b { font-weight: 600; color: var(--accent); }
.app-progress .track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.app-progress .track div { width: 64%; height: 100%; border-radius: 999px; background: var(--accent); }
.app-found { display: flex; align-items: baseline; justify-content: space-between; }
.app-found span { font-weight: 600; font-size: 14px; }
.app-found em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.app-clipgrid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-clip { position: relative; border-radius: 12px; overflow: hidden; background: #DDD center / cover no-repeat; }
.app-clip .s { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 10px; font-weight: 700; color: var(--accent); }
.app-clip .d { position: absolute; bottom: 8px; right: 8px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); font-size: 10px; color: #FFF; }
.app-edit { flex: 1; min-height: 0; display: flex; gap: 12px; }
.app-edit-preview { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #DDD; flex: none; }
.app-edit-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-edit-cap { position: absolute; left: 8%; right: 8%; bottom: 16%; text-align: center; font-weight: 800; font-size: 12px; line-height: 1.2; color: #FFF; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); }
.app-edit-cap span { color: #FFD54A; }
.app-edit-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.app-check { display: flex; align-items: center; gap: 8px; padding: 7px 8px; background: #FFF; border: 1px solid var(--line); border-radius: 14px; }
.app-check .box { width: 16px; height: 16px; border-radius: 5px; flex: none; background: transparent; border: 1.5px solid rgba(20, 21, 23, 0.25); color: #FFF; font-size: 10px; line-height: 13px; text-align: center; }
.app-check .box.on { background: var(--accent); border-color: var(--accent); }
.app-check .t, .app-ready-row .t { flex: 1; min-width: 0; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-check b { font-size: 11px; font-weight: 600; color: var(--accent); }
.app-trim { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.app-trim > span { font-size: 11px; color: var(--muted-2); }
.trim { position: relative; height: 22px; border-radius: 6px; background: rgba(20, 21, 23, 0.06); }
.trim div { position: absolute; left: 12%; right: 20%; top: 0; bottom: 0; border-radius: 6px; border: 2px solid var(--accent); background: var(--soft); }
.app-ready { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
.app-ready-row { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; background: #FFF; border: 1px solid var(--line); border-radius: 14px; }
.app-ready-row .th { width: 20px; height: 32px; border-radius: 5px; flex: none; background-size: cover; background-position: center; }
.app-ready-row .ok { font-size: 11px; color: #2F7A57; font-weight: 600; }
.app-download { flex: none; display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 12px; background: var(--accent); color: #FFF; font-weight: 600; font-size: 13px; }

/* animated cursor driving the demo */
.demo-cur { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; transform: translate3d(70%, 80%, 0); will-change: transform; }
.demo-cur svg { position: relative; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); transform-origin: 2px 2px; }
.demo-rip { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); opacity: 0; }
.appwin-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 8px 4px; font-size: 13px; color: var(--muted); }
.appwin-foot b { color: var(--ink); font-weight: 700; }
.mark-xs { padding: 2px 8px; border-radius: 6px; background: var(--mark); color: var(--ink); font-weight: 600; }

.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.extras span { padding: 10px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* ---------- Offer / Pricing ---------- */
.offer { padding-bottom: 72px; }
.offer-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.offer-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 15px; color: var(--muted); }
.billing { margin-top: 8px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid rgba(20, 21, 23, 0.09); }
.billing button { padding: 8px 16px; border-radius: 999px; border: 0; font-size: 14px; cursor: pointer; background: transparent; color: var(--ink-3); }
.billing button.is-active { background: var(--accent); color: #FFF; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset; }
.plan-pop { background: #FFF; border-color: var(--accent); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-name { font-size: 18px; font-weight: 500; }
.pop-tag { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #FFF; font-size: 12px; font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .p { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; }
.plan-price .per { font-size: 14px; color: var(--muted-2); }
.plan-note { font-size: 14px; color: var(--muted); }
.plan-feats { display: flex; flex-direction: column; gap: 10px; flex: 1; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-feats span { font-size: 14px; color: var(--ink-2); }
.plan-btn { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 14px; font-size: 15px; font-weight: 600; background: rgba(20, 21, 23, 0.07); color: var(--ink); border: 1px solid rgba(20, 21, 23, 0.1); }
.plan-pop .plan-btn { background: var(--accent); color: #FFF; }
.plan-btn:hover { filter: brightness(0.95); }

.faq-title { margin-top: 24px; }
.faq { display: flex; flex-direction: column; width: 100%; max-width: 820px; margin: 0 auto; align-self: center; }
.faq-item { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 20px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 500; }
.faq-q .sign { color: var(--muted-2); }
.faq-a { display: none; font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }

.final { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 24px 0; }
.final-btn { display: flex; align-items: center; min-height: 56px; padding: 0 28px; border-radius: 16px; background: var(--ink); color: #FAFAF9; font-size: 16px; font-weight: 600; }
.final-btn:hover { background: var(--ink-2); color: #FAFAF9; }
.final > span { font-size: 13px; color: var(--muted-2); }

.footer { padding: 32px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(20, 21, 23, 0.06); font-size: 13px; color: var(--muted-2); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted-2); }

/* Phone: the design's nav pill is wider than a phone screen (it gets clipped);
   keep logo + Log in + Start free there so the CTA stays visible. */
@media (max-width: 640px) {
  .nav-sec { display: none; }
}
/* Very narrow phones: let the "FOR" pill wrap instead of being clipped. */
@media (max-width: 370px) {
  .for-pill { white-space: normal; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track, .clip-tile { transition: none !important; }
}
