/* Samurai Summary — marketing site */
:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --fg: #18181b;
  --fg-2: #3f3f46;
  --muted: #71717a;
  --muted-2: #a1a1aa;
  --border: #e4e4e7;
  --border-soft: #ececef;
  --accent: #14b8a6;
  --accent-ink: #0f766e;
  --accent-soft: #ccfbf1;
  --hl: #fef08a;
  --dark: #111113;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(24,24,27,.04), 0 8px 28px rgba(24,24,27,.06);
  --shadow-lg: 0 2px 6px rgba(24,24,27,.05), 0 30px 80px rgba(24,24,27,.14);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.center { text-align: center; }

/* ── Type ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; font-weight: 600; }
h1, h2 { text-wrap: balance; }
.lead, .section-head p { text-wrap: pretty; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-2); line-height: 1.55; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; text-align: left; }
.section-head.split p { max-width: 380px; color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--fg); color: #fff; box-shadow: 0 6px 20px rgba(24,24,27,.18); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--surface); color: var(--fg); border-color: var(--border); }
.btn-light:hover { border-color: #d4d4d8; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(20,184,166,.35); }
.btn-accent:hover { background: #0d9488; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.cta-note { font-size: 0.86rem; color: var(--muted); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244,244,245,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; height: 72px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; font-size: 0.95rem; color: var(--fg-2); }
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 0.95rem; font-weight: 500; color: var(--fg-2); padding: 0 12px; }
.nav-login:hover { color: var(--fg); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }

/* ── Hero ── */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 0.86rem; color: var(--fg-2); box-shadow: var(--shadow);
}
.hero .pill b { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; }
.hero h1 { max-width: 1000px; margin: 26px auto 0; }
.hero h1 .soft { display: block; color: var(--muted-2); }
.hero .lead { max-width: 640px; margin: 22px auto 0; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero .cta-note { margin-top: 14px; }

/* ── App mockup (hero) ── */
.showcase { position: relative; margin-top: 56px; }
.showcase::before {
  content: ''; position: absolute; inset: 8% 6% -4%; z-index: 0;
  background: radial-gradient(60% 60% at 50% 40%, rgba(20,184,166,.22), transparent 70%); filter: blur(30px);
}
.window {
  position: relative; z-index: 1; background: var(--surface); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(24,24,27,.06); text-align: left;
}
.window-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--border-soft); background: var(--surface-2); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e4e4e7; }
.window-bar .url { margin: 0 auto; transform: translateX(-24px); font-size: 0.78rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border-soft); border-radius: 8px; padding: 4px 14px; }
.app { display: grid; grid-template-columns: 340px 1fr; height: 560px; font-size: 0.86rem; }
.app-left { border-right: 1px solid var(--border-soft); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.app-left .logo { width: 26px; height: 26px; }
.app-title { font-weight: 700; font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; }
.player {
  position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, #2dd4bf 0%, #0f766e 38%, #134e4a 70%, #0b2b29 100%);
}
.player::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); }
.player .play { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); width: 52px; height: 36px; border-radius: 10px; background: rgba(0,0,0,.55); display: grid; place-items: center; z-index: 1; }
.player .play::before { content: ''; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.player .bar { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); z-index: 1; }
.player .bar::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--progress, 21%); background: #ef4444; border-radius: 2px; }
.player.has-thumb { background-size: cover; background-position: center; }
.player.has-thumb::after { background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%); }
.tline.mono p { border-left-color: var(--border); }
.player .time { position: absolute; left: 12px; bottom: 22px; font-size: 0.72rem; color: #fff; font-weight: 600; z-index: 1; }
.chat-label { font-weight: 700; font-size: 0.84rem; padding-top: 4px; border-top: 1px solid var(--border-soft); padding-top: 12px; }
.bubble { padding: 10px 13px; border-radius: 12px; line-height: 1.5; font-size: 0.82rem; }
.bubble.user { align-self: flex-end; background: var(--fg); color: #fff; border-bottom-right-radius: 4px; max-width: 88%; }
.bubble.ai { background: var(--surface-2); border: 1px solid var(--border-soft); border-bottom-left-radius: 4px; }
.cite {
  display: inline-flex; align-items: center; gap: 3px; vertical-align: 1px;
  font-size: 0.72rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft);
  padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cite::before { content: '▶'; font-size: 0.55rem; }
.app-right { padding: 18px 26px; min-width: 0; overflow: hidden; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--bg); border-radius: 10px; font-size: 0.8rem; color: var(--muted); }
.tabs span { padding: 5px 12px; border-radius: 8px; }
.tabs .on { background: var(--surface); color: var(--fg); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.langs { display: flex; gap: 6px; margin-top: 12px; font-size: 0.72rem; color: var(--muted); align-items: center; }
.langs span { border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.langs .on { background: var(--fg); color: #fff; border-color: var(--fg); }
.searchbox { margin-top: 14px; height: 36px; border-radius: 9px; border: 1px solid var(--border); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted-2); font-size: 0.8rem; }
.tline { display: grid; grid-template-columns: 44px 1fr; gap: 12px; margin-top: 16px; }
.tline .t { font-size: 0.72rem; font-weight: 600; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.tline .spk { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-size: 0.66rem; font-weight: 700; color: #fff; margin-top: 6px; }
.tline p { border-left: 3px solid var(--spk, #14b8a6); padding-left: 12px; color: var(--fg-2); line-height: 1.75; }
.tline.a { --spk: #14b8a6; } .tline.b { --spk: #f59e0b; }
.tline.a .spk { background: #14b8a6; } .tline.b .spk { background: #f59e0b; }
mark.hl { background: var(--hl); color: inherit; border-radius: 3px; padding: 1px 0; }
mark.now { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 1px 0; }

/* Floating callouts on the hero mockup */
.callout {
  position: absolute; z-index: 2; background: var(--surface); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(24,24,27,.06); font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.callout .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.callout small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.callout.c1 { left: -28px; top: 34%; }
.callout.c2 { right: -24px; top: 18%; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Facts strip ── */
.facts { padding: 40px 0 8px; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 8px 32px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: none; }
.fact strong { display: block; font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.fact strong sup { font-size: 0.4em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.fact span { display: block; margin-top: 12px; color: var(--muted); font-size: 0.95rem; max-width: 260px; }

/* ── Bento features ── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); border: 1px solid var(--border-soft); display: flex; flex-direction: column; }
.card .visual { background: var(--bg); border-radius: 14px; min-height: 220px; padding: 20px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.card .copy { padding: 18px 8px 8px; }
.card .copy p { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.mini { background: var(--surface); border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 0 0 1px rgba(24,24,27,.05); padding: 14px; font-size: 0.8rem; }
.mini + .mini { margin-top: 10px; }
.mini .row { display: flex; gap: 10px; align-items: baseline; }
.mini .row + .row { margin-top: 8px; }
.mini .muted { color: var(--muted); }
.result-title { font-weight: 700; font-size: 0.82rem; display: flex; gap: 10px; align-items: center; }
.thumb { width: 54px; aspect-ratio: 16/9; border-radius: 6px; flex-shrink: 0; background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.thumb.t2 { background: linear-gradient(135deg, #fbbf24, #b45309); }
.thumb.t3 { background: linear-gradient(135deg, #a78bfa, #5b21b6); }
.time-tag { font-size: 0.72rem; font-weight: 700; color: var(--accent-ink); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.bullet { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); }
.bullet::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); margin-top: 7px; flex-shrink: 0; }
.chapter { display: flex; gap: 10px; align-items: center; }
.chapter b { font-size: 0.7rem; background: var(--fg); color: #fff; border-radius: 5px; padding: 2px 6px; font-variant-numeric: tabular-nums; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.flags span { background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 0.86rem; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 0 0 1px rgba(24,24,27,.05); }
.flags span.on { background: var(--fg); color: #fff; }
.folder-list .item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-weight: 600; font-size: 0.84rem; }
.folder-list .item.on { background: var(--bg); }
.folder-list .count { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.star { color: #eab308; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step .visual { min-height: 200px; align-items: center; }
.step-num { display: inline-block; font-size: 0.74rem; font-weight: 700; background: var(--fg); color: #fff; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.yt-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 260px;
  background: var(--accent); color: #fff; font-weight: 700; padding: 13px 16px; border-radius: 12px;
  box-shadow: 0 6px 20px rgba(20,184,166,.35); font-family: Roboto, -apple-system, sans-serif;
}
.yt-btn img { width: 22px; height: 22px; }
.yt-frame { width: 100%; max-width: 280px; background: #0f0f0f; border-radius: 14px; padding: 16px; }
.yt-frame .ph { height: 10px; border-radius: 5px; background: #272727; margin-top: 10px; }
.yt-frame .ph.s { width: 60%; }
.store-btn { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 14px; padding: 14px 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 0 0 1px rgba(24,24,27,.05); }
.store-btn .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.store-btn .ic img { width: 26px; height: 26px; }
.store-btn b { display: block; font-size: 0.9rem; }
.store-btn small { color: var(--muted); font-size: 0.76rem; }
.store-btn .add { margin-left: 18px; background: #1a73e8; color: #fff; font-size: 0.78rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }

/* ── Comparison ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; margin: 0 auto; }
.compare .col { border-radius: var(--radius); padding: 34px; }
.compare .them { background: var(--surface); border: 1px solid var(--border-soft); }
.compare .us { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.compare .us::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.45), transparent 70%); }
.compare h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; position: relative; }
.compare h3 img { width: 26px; height: 26px; }
.compare ul { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 16px; position: relative; }
.compare li { display: flex; gap: 12px; align-items: flex-start; }
.compare li::before { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; margin-top: 1px; }
.compare .them li { color: var(--muted); }
.compare .them li::before { content: '✕'; background: var(--bg); color: var(--muted-2); }
.compare .us li::before { content: '✓'; background: var(--accent); color: #fff; }

/* ── Use cases ── */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use { background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--border-soft); box-shadow: var(--shadow); }
.use .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 18px; }
.use p { color: var(--muted); margin-top: 8px; font-size: 0.94rem; }

/* ── Pricing ── */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin: 0 auto 40px; }
.billing-toggle button { border: none; background: none; padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.billing-toggle button.on { background: var(--fg); color: #fff; }
.billing-toggle .save { font-size: 0.72rem; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 999px; }
.billing-toggle button.on .save { background: var(--accent); color: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; margin: 0 auto; text-align: left; }
.plan { background: var(--surface); border-radius: 24px; padding: 32px; border: 1px solid var(--border-soft); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.pro { background: var(--dark); color: #fff; border-color: var(--dark); position: relative; overflow: hidden; }
.plan.pro::before { content: ''; position: absolute; right: -100px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.5), transparent 70%); }
.plan > * { position: relative; }
.plan-name { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.plan-badge { font-size: 0.72rem; font-weight: 700; background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 999px; }
.plan-desc { color: var(--muted); font-size: 0.94rem; margin-top: 6px; }
.plan.pro .plan-desc { color: #a1a1aa; }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 6px; }
.price strong { font-size: 3.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); }
.plan.pro .price span { color: #a1a1aa; }
.price-note { font-size: 0.86rem; color: var(--muted); margin-top: 8px; min-height: 1.4em; }
.plan.pro .price-note { color: #a1a1aa; }
.plan .btn { margin-top: 26px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; font-size: 0.95rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: '✓'; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; background: var(--accent-soft); color: var(--accent-ink); margin-top: 2px; }
.plan.pro li::before { background: var(--accent); color: #fff; }
.fair-use { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 24px; }
.fair-use a { text-decoration: underline; }

/* ── FAQ ── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 16px; border: 1px solid var(--border-soft); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg-2); padding-bottom: 20px; margin-top: -4px; }

/* ── Final CTA ── */
.final {
  background: var(--dark); color: #fff; border-radius: 28px; padding: 80px 32px; text-align: center; position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.final::after { content: ''; position: absolute; left: 50%; bottom: -220px; transform: translateX(-50%); width: 640px; height: 400px; background: radial-gradient(circle, rgba(20,184,166,.45), transparent 70%); }
.final > * { position: relative; z-index: 1; }
.final h2 { max-width: 700px; margin: 0 auto; }
.final p { color: #a1a1aa; margin: 18px auto 0; max-width: 520px; }
.final .hero-ctas { margin-top: 32px; }
.final .cta-note { color: #71717a; margin-top: 14px; }

/* ── Footer ── */
footer { padding: 72px 0 40px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--muted); margin-top: 14px; max-width: 300px; font-size: 0.94rem; }
.foot h4 { font-size: 0.86rem; font-weight: 600; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 0.94rem; color: var(--muted); }
.foot ul a:hover { color: var(--fg); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); margin-top: 56px; padding-top: 24px; font-size: 0.84rem; color: var(--muted); flex-wrap: wrap; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .callout { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .callout { display: none; }
  .uses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .nav-links, .nav-login { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }
  .mobile-menu.open { display: grid; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--border); }
  .mobile-menu a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--border-soft); }
  .mobile-menu .btn { margin-top: 12px; }
  .app { grid-template-columns: 1fr; height: auto; }
  .app-left { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .app-left .chat-label, .app-left .bubble { display: none; }
  .app-right { max-height: 420px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-2, .span-3, .span-4 { grid-column: span 2; }
  .steps, .compare, .plans { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .facts .wrap { grid-template-columns: 1fr; gap: 28px; }
  .fact { border-left: none; padding: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .fact:first-child { border-top: none; padding-top: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .hero-ctas .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .uses { grid-template-columns: 1fr; }
  .tline { grid-template-columns: 34px 1fr; gap: 8px; }
  .tabs { max-width: 100%; overflow: hidden; }
  .tabs span { white-space: nowrap; padding: 5px 9px; }
  .langs { white-space: nowrap; }
  .langs span:nth-child(n+4) { display: none; }
  .window-bar .url { display: none; }
  .app-right { padding: 16px; }
  .final { padding: 56px 20px; border-radius: 22px; }
  .compare .col, .plan { padding: 24px; }
}

/* ── Pricing comparison table ── */
.compare-table { max-width: 880px; margin: 0 auto; background: var(--surface); border-radius: 24px; border: 1px solid var(--border-soft); box-shadow: var(--shadow); overflow: hidden; }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.compare-table th, .compare-table td { padding: 16px 24px; text-align: center; border-bottom: 1px solid var(--border-soft); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.compare-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--fg-2); }
.compare-table thead th { font-size: 0.9rem; font-weight: 700; background: var(--surface-2); }
.compare-table td:last-child, .compare-table thead th:last-child { background: rgba(20,184,166,.06); }
.compare-table .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; }
@media (max-width: 560px) { .compare-table th, .compare-table td { padding: 12px 10px; font-size: 0.86rem; } }

/* ── Extension page ── */
.btn-lg { height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; }
.ext-demo { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.ext-yt { max-width: 560px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; text-align: left; }
.ext-yt-video { aspect-ratio: 16/9; border-radius: 10px; background: center/cover url(https://i.ytimg.com/vi/g2-duG1-Jxc/maxresdefault.jpg); position: relative; }
.ext-yt-video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 46px; height: 32px; border-radius: 9px; background: #ff0033; }
.ext-yt-video .play::before { content: ''; position: absolute; left: 18px; top: 9px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ext-yt-side .yt-btn { font-size: .8rem; padding: 10px 8px; gap: 6px; }
.ext-yt-side .yt-btn img { width: 18px; height: 18px; }
.ext-arrow { font-size: 2rem; color: var(--accent); font-weight: 700; }
.ext-result { width: 300px; text-align: left; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(24,24,27,.06); }
.ext-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ext-steps .use h3 { margin-top: 6px; }
.ext-privacy { max-width: 880px; margin: 0 auto; display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.ext-privacy .ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.ext-privacy p { color: var(--muted); margin-top: 6px; }
@media (max-width: 1080px) { .ext-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .ext-demo { flex-direction: column; }
  .ext-arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .ext-steps { grid-template-columns: 1fr; }
  .ext-yt { grid-template-columns: 1fr; }
  .ext-result { width: 100%; }
  .ext-privacy { flex-direction: column; padding: 22px; }
}
