/* ---------- Tokens ---------- */
:root {
  --bg: #f7f8f3;
  --surface: #ffffff;
  --ink: #0f110e;
  --ink-2: #2a2d28;
  --muted: #6b7067;
  --line: #e6e8e1;
  --green: #16a34a;
  --green-2: #22c55e;
  --green-soft: #dcfce7;
  --red: #ef4444;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 16, .06);
  --shadow: 0 10px 30px -12px rgba(16, 40, 16, .18), 0 2px 6px rgba(16, 24, 16, .05);
  --shadow-lg: 0 40px 80px -30px rgba(16, 40, 16, .35);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 110px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.green { color: var(--green); }
.wide { width: 100%; justify-content: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.grad {
  background: linear-gradient(100deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.btn-green {
  background: linear-gradient(180deg, #22c55e, #16a34a); color: #fff;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18), 0 10px 24px -8px rgba(22,163,74,.7), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: #fff; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-xs { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.more { display: inline-flex; gap: 6px; font-weight: 600; font-size: 14px; margin-top: 18px; }
.more span { transition: transform .2s; }
.more:hover span { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; }
.nav {
  width: min(1240px, 100% - 28px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 16px; border-radius: 18px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(230,232,225,.9); box-shadow: var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; }
.logo-badge { background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 5px; border-radius: 5px; }
.logo-badge.sm { font-size: 9px; padding: 1px 4px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { background: rgba(0,0,0,.04); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.link-muted { font-weight: 500; font-size: 15px; padding: 8px 10px; }
.menu-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.menu-btn span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer {
  width: min(1240px, 100% - 28px); margin: 8px auto 0; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  animation: drop .25s ease;
}
.drawer[hidden] { display: none; }
.drawer-group { display: flex; flex-direction: column; }
.drawer-group a { padding: 9px 10px; border-radius: 10px; font-weight: 500; }
.drawer-group a:hover { background: var(--bg); }
.drawer-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 10px 6px; }
.drawer .btn { grid-column: 1 / -1; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 130px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -200px -10% auto; height: 1100px; z-index: -1;
  background:
    radial-gradient(600px 380px at 15% 20%, rgba(187,247,208,.85), transparent 70%),
    radial-gradient(700px 420px at 85% 10%, rgba(217,249,157,.55), transparent 70%),
    radial-gradient(900px 500px at 50% 60%, rgba(220,252,231,.9), transparent 70%);
}
.trust { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 56px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; align-items: center; font-size: 14px; }
.trust-item strong { font-weight: 600; letter-spacing: -.01em; }
.trust-item span { color: var(--muted); }
.trust-center { flex-direction: row; gap: 12px; text-align: left; align-items: center; }
.trust-sep { width: 1px; height: 38px; background: linear-gradient(transparent, var(--line), transparent); }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px; border: 2px solid #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 70% 60%), hsl(calc(var(--h) + 40) 70% 45%));
}
.avatars span:first-child { margin-left: 0; }
.stars { font-size: 13px; color: var(--muted); }
.stars span { color: #f59e0b; letter-spacing: 1px; }
.stars b { color: var(--ink); font-weight: 600; }
.stars em { font-style: normal; }

.hero-copy { text-align: center; }
h1 { font-size: clamp(42px, 7.6vw, 92px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; }
.lead { max-width: 640px; margin: 24px auto 0; font-size: 18px; color: var(--muted); line-height: 1.6; }
.cta-row { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.cta-row.left { justify-content: flex-start; margin-top: 24px; }

/* App mockup */
.app-frame {
  position: relative; margin-top: 64px; display: grid; grid-template-columns: 230px 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  font-size: 13px; text-align: left; min-height: 560px;
}
.app-side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; background: #fcfcfa; border-radius: 22px 0 0 22px; }
.app-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; padding: 4px 8px 14px; }
.mini-logo { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #4ade80, #15803d); }
.side-label { font-size: 11px; color: var(--muted); padding: 12px 8px 6px; }
.side-link { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--ink-2); }
.side-link.active { background: #f0f2ec; font-weight: 500; }
.live-pill { margin-left: auto; font-size: 10px; display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 1px 7px; }
.live-pill i, .dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--red); display: inline-block; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); } 50% { box-shadow: 0 0 0 4px rgba(239,68,68,0); } }
.side-plan { margin-top: auto; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.side-plan p { color: var(--muted); font-size: 12px; }
.side-user { display: flex; gap: 8px; align-items: center; padding: 12px 6px 2px; }
.side-user small { display: block; color: var(--muted); font-size: 11px; }
.u-av { width: 30px; height: 30px; border-radius: 50%; background: #e7e5ff; color: #4338ca; font-weight: 700; display: grid; place-items: center; font-size: 11px; }
.ico { width: 14px; height: 14px; display: inline-block; border-radius: 3px; border: 1.5px solid currentColor; opacity: .6; flex: none; }
.ico-wave { border: none; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px); mask: linear-gradient(transparent 20%, #000 20% 80%, transparent 80%); }
.ico-play { border-radius: 50%; }
.ico-chat { border-radius: 50% 50% 50% 2px; }
.ico-search { border-radius: 50%; width: 12px; height: 12px; }

.app-main { padding: 20px 24px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-head h3 { font-size: 16px; letter-spacing: -.02em; }
.app-head p { color: var(--muted); font-size: 12px; margin-top: 2px; }
.app-tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.app-tabs span { padding: 8px 12px; color: var(--muted); }
.app-tabs span.on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--ink); }
.app-tabs em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.app-search { margin: 14px 0; display: flex; gap: 8px; align-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; max-width: 360px; }
.table-wrap { overflow: hidden; }
.sessions { width: 100%; border-collapse: collapse; }
.sessions th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sessions td { padding: 10px; border-bottom: 1px solid #f1f2ed; white-space: nowrap; }
.sessions td small { display: block; color: var(--muted); font-size: 11px; }
.co { display: flex; align-items: center; gap: 10px; }
.co-logo { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #fff; background: hsl(var(--h) 55% 45%); }
.state { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); }
.state.live { color: var(--red); border-color: #fecaca; background: #fef2f2; }
.state.ready { color: var(--green); border-color: #bbf7d0; background: #f0fdf4; }
.state.ended { color: var(--muted); }
.tbtn { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); }
.tbtn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }

.copilot {
  position: absolute; right: -20px; bottom: 60px; width: 330px; padding: 12px; border-radius: 18px;
  background: rgba(20,22,20,.92); color: #eaeae6; backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.copilot-bar { display: flex; gap: 6px; }
.cp-btn { flex: 1; text-align: center; font-size: 11px; padding: 6px 0; border-radius: 8px; background: rgba(255,255,255,.08); color: #d6d6d0; font-weight: 500; }
.cp-btn.primary { background: var(--green); color: #fff; }
.cp-btn.danger { background: rgba(239,68,68,.18); color: #fca5a5; }
.copilot-q { margin-top: 12px; font-size: 12px; color: #a3a39c; display: flex; gap: 8px; }
.q-tag { flex: none; width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.copilot-a { margin-top: 10px; font-size: 12.5px; line-height: 1.6; min-height: 140px; white-space: pre-wrap; }
.copilot-a .caret { display: inline-block; width: 7px; height: 14px; background: var(--green-2); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.copilot-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #85857e; margin-top: 8px; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .faq-side h2, .final-cta h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -.04em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Tool cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.tool-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-ico { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; margin-bottom: 22px; background: var(--bg); }
.tool-card h3 { font-size: 20px; font-weight: 600; }
.tool-card p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bento-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden; }
.bento-card h3 { font-size: 24px; font-weight: 600; margin-top: 8px; }
.bento-card p { color: var(--muted); margin-top: 10px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--green); }
.bento-code { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.code-vis { position: relative; padding: 20px; }
.code-win { background: #0f1210; border-radius: 16px; padding: 14px 18px 18px; color: #d4d4cf; box-shadow: var(--shadow-lg); }
.code-dots { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d3a; }
.code-dots i:first-child { background: #ff5f57; } .code-dots i:nth-child(2) { background: #febc2e; } .code-dots i:nth-child(3) { background: #28c840; }
.code-dots span { margin-left: 8px; font-size: 12px; color: #7d817b; font-family: var(--mono); }
pre { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow-x: auto; }
.k { color: #c084fc; } .f { color: #4ade80; } .n { color: #fbbf24; } .c { color: #6b7280; font-style: italic; }
.chip { position: absolute; font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.chip-a { top: 0; right: 0; color: var(--green); font-weight: 600; }
.chip-b { bottom: 4px; left: -6px; animation-delay: -1.5s; }
.chip-c { bottom: 40px; right: -10px; animation-delay: -3s; }

.speech-vis, .model-vis { height: 200px; border-radius: 16px; background: linear-gradient(180deg, #f6faf3, #fff); border: 1px solid var(--line); margin-bottom: 24px; position: relative; padding: 20px; overflow: hidden; }
.wave { display: flex; gap: 4px; align-items: center; height: 50px; }
.wave i { width: 4px; border-radius: 4px; background: var(--green-2); animation: wave 1.1s ease-in-out infinite; height: 20%; }
.wave i:nth-child(odd) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 100%; } }
.words { margin-top: 20px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; display: flex; flex-wrap: wrap; gap: 6px; }
.words span { opacity: 0; transform: translateY(6px); animation: wordIn .35s forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.latency { position: absolute; right: 16px; top: 16px; font-family: var(--mono); font-size: 12px; background: var(--green-soft); color: #166534; padding: 4px 8px; border-radius: 8px; font-weight: 500; }
.model-vis { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.model-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; }
.model-row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
.model-row.active { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.model-row.active em { color: var(--green); }
.m-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.center-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 48px; }
.center-cta small { color: var(--muted); }

/* ---------- Privacy (dark) ---------- */
.section-dark { background: #0d100d; color: #f2f3ee; border-radius: 36px; margin: 0 12px; }
.section-dark .section-head p { color: #9ca39a; }
.privacy-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.p-item { padding: 22px; border-radius: 18px; background: #161a16; border: 1px solid #232823; }
.p-num { font-family: var(--mono); font-size: 12px; color: var(--green-2); }
.p-item h4 { font-size: 17px; font-weight: 600; margin: 14px 0 8px; letter-spacing: -.02em; }
.p-item p { color: #9ca39a; font-size: 14px; }
.platforms { margin-top: 56px; }
.platforms-title { text-align: center; color: #9ca39a; margin-bottom: 20px; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.platform { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: #161a16; border: 1px solid #232823; font-weight: 500; font-size: 14px; }
.platform em { margin-left: auto; font-style: normal; font-size: 11px; color: #4ade80; background: rgba(34,197,94,.1); padding: 2px 8px; border-radius: 99px; }
.p-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }

/* ---------- Testimonials ---------- */
.marquee { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 10px 0; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.review { width: 360px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-head .r-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; background: hsl(var(--h) 55% 50%); }
.review-head small { display: block; color: var(--muted); font-size: 12px; }
.review .stars { margin-left: auto; }
.review p { color: var(--ink-2); font-size: 15px; }

/* ---------- Flow tabs ---------- */
.flow { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: stretch; }
.flow-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flow-list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s; position: relative; overflow: hidden; }
.flow-list li > span { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.flow-list li h4 { font-size: 18px; font-weight: 600; }
.flow-list li p { color: var(--muted); font-size: 14px; margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.flow-list li.on { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.flow-list li.on > span { color: var(--green); }
.flow-list li.on p { max-height: 80px; }
.flow-list li.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--green-2); animation: progress 6s linear forwards; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.flow-stage { position: relative; border-radius: 24px; min-height: 420px; background: radial-gradient(400px 300px at 70% 30%, #dcfce7, transparent 70%), linear-gradient(180deg, #f1f7ec, #f9fbf6); border: 1px solid var(--line); display: grid; place-items: center; padding: 28px; overflow: hidden; }
.flow-panel { grid-area: 1 / 1; width: 100%; max-width: 420px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .35s, transform .35s; pointer-events: none; }
.flow-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.mock-card { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.switch { position: relative; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: #d4d6cf; transition: .2s; cursor: pointer; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + i { background: var(--green-2); }
.switch input:checked + i::after { transform: translateX(18px); }
.toast-stack { display: flex; flex-direction: column; gap: 12px; }
.toast { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 14px; }
.toast small, .file small { display: block; color: var(--muted); font-size: 12px; }
.toast .btn { margin-left: auto; }
.flow-panel.on .toast { animation: slideIn .5s both; }
.flow-panel.on .toast:nth-child(2) { animation-delay: .12s; } .flow-panel.on .toast:nth-child(3) { animation-delay: .24s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
.file-list { display: flex; flex-direction: column; gap: 10px; }
.file { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 14px; }
.file em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 99px; }
.ftype { font-size: 10px; font-weight: 700; padding: 8px 6px; border-radius: 8px; color: #fff; }
.ftype.pdf { background: #ef4444; } .ftype.docx { background: #2563eb; }
.notes { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); font-size: 13px; }
.notes-head small { display: block; color: var(--muted); }
.notes-tabs { display: flex; gap: 4px; margin: 12px 0; }
.notes-tabs span { padding: 4px 10px; border-radius: 8px; color: var(--muted); }
.notes-tabs span.on { background: var(--bg); color: var(--ink); font-weight: 500; }
.notes h5 { font-size: 13px; margin: 12px 0 4px; letter-spacing: -.01em; }
.notes p, .notes li { color: var(--muted); }
.notes ul { margin: 0; padding-left: 18px; }
.mode-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mode p { color: var(--muted); font-size: 13px; flex: 1; }

/* ---------- Pricing ---------- */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { border-color: #bbf7d0; box-shadow: 0 0 0 4px rgba(34,197,94,.08), var(--shadow); }
.price-card h3 { font-size: 22px; font-weight: 600; }
.tag { font-size: 12px; font-weight: 600; color: #166534; background: var(--green-soft); padding: 4px 10px; border-radius: 99px; }
.checks { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 15px; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks.two-col { grid-template-columns: 1fr 1fr; }
.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 16px; }
.big-price { font-size: 44px; font-weight: 600; letter-spacing: -.04em; }
.credit-grid .btn { margin-top: auto; }
.wide-card { max-width: 720px; margin: 0 auto; align-items: flex-start; }
.pay-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; color: var(--muted); font-size: 13px; }
.pay { font-weight: 700; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 10px; }

/* ---------- Devices ---------- */
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.device-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden; }
.device-card h3 { font-size: 24px; font-weight: 600; }
.device-card p { color: var(--muted); margin-top: 10px; }
.device-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.device-vis { border-radius: 18px; background: linear-gradient(160deg, #e8f5e1, #f8fbf5); border: 1px solid var(--line); height: 240px; display: grid; place-items: center; margin-bottom: 24px; position: relative; overflow: hidden; }
.device-wide .device-vis { margin: 0; height: 280px; }
.desktop-vis { background: linear-gradient(135deg, #1e3a2a, #0e1a12); }
.mini-overlay { width: 300px; background: rgba(20,22,20,.9); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 12px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); }
.skeleton { display: grid; gap: 8px; margin-top: 14px; }
.skeleton i { height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.2), rgba(255,255,255,.08)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.phone .skeleton i { background: linear-gradient(90deg, #eceee7, #f7f8f3, #eceee7); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.browser-vis { padding: 0; place-items: stretch; }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ddd; }
.browser-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 6px; font-family: var(--mono); }
.browser-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #fff; margin: 14px; border-radius: 12px; border: 1px solid var(--line); }
.empty-msg { text-align: center; color: var(--muted); font-size: 13px; }
.fake-input { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--muted); }
.phone { width: 150px; height: 270px; margin-top: 60px; background: #fff; border: 6px solid #111; border-radius: 28px; padding: 26px 12px 12px; display: flex; flex-direction: column; gap: 12px; position: relative; box-shadow: var(--shadow-lg); }
.notch { position: absolute; top: 6px; left: 50%; translate: -50%; width: 50px; height: 12px; background: #111; border-radius: 99px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.faq-side h2 { text-align: left; }
.faq-cats { display: flex; flex-direction: column; gap: 6px; }
.faq-cats button { display: flex; justify-content: space-between; align-items: center; border: 1px solid transparent; background: transparent; padding: 12px 16px; border-radius: 12px; font-weight: 600; text-align: left; color: var(--muted); }
.faq-cats button em { font-style: normal; font-size: 12px; background: #eceee7; padding: 1px 8px; border-radius: 99px; }
.faq-cats button.on { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.faq-cats button.on em { background: var(--green-soft); color: #166534; }
.faq-side a { color: var(--green); font-weight: 600; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Notice / CTA / Footer ---------- */
.notice { padding: 22px 26px; border-radius: 18px; background: #fff; border: 1px dashed #cfd3c8; color: var(--muted); font-size: 15px; }
.notice b { color: var(--ink); }
.final-cta {
  text-align: center; padding: 90px 24px; border-radius: 36px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 20% 0%, #4ade80, transparent 70%), radial-gradient(600px 300px at 80% 100%, #15803d, transparent 70%), #16a34a;
}
.final-cta p { margin: 18px 0 32px; font-size: 18px; color: rgba(255,255,255,.85); }
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-inner .logo { margin-bottom: 12px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links b { margin-bottom: 4px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Modal ---------- */
@keyframes fade { from { opacity: 0; } }

/* ---------- Papercurt additions ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.tool-ico .icon, .use-ico .icon { width: 20px; height: 20px; color: var(--green); }
.trust-badge .icon { width: 20px; height: 20px; color: var(--green); }
.p-logo .icon { width: 15px; height: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
.section-tight { padding-top: 0; }
.trust-badge { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; }
.how-steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.how-steps span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--green-soft); color: #166534; font-weight: 700; margin-bottom: 14px; }
.how-steps h4 { font-size: 18px; font-weight: 600; }
.how-steps p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.skeleton.light i { background: linear-gradient(90deg, #eceee7, #f7f8f3, #eceee7); background-size: 200% 100%; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan-grid .price-card .btn { margin-top: auto; }
.plan-grid .per { font-size: 13px; color: var(--muted); margin-top: -8px; }
.use-card { width: 320px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.use-card .use-ico { font-size: 24px; }
.use-card h4 { font-size: 17px; font-weight: 600; margin: 10px 0 6px; letter-spacing: -.02em; }
.use-card p { color: var(--muted); font-size: 14.5px; }
.toast-stack .toast { position: static; }
.toast-stack .p-logo { width: 34px; font-size: 11px; }
.notice a { color: var(--green); text-decoration: underline; }
@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .plan-grid, .how-steps { grid-template-columns: 1fr; }
  .use-card { width: 270px; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .privacy-grid { grid-template-columns: repeat(3, 1fr); }
  .copilot { right: 16px; }
}
@media (max-width: 900px) {
  .nav-links, .hide-sm { display: none; }
  .menu-btn { display: flex; }
  .app-frame { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .copilot { position: relative; right: auto; bottom: auto; width: auto; margin: 0 16px 16px; animation: none; }
  .bento, .bento-code, .devices, .device-wide, .flow, .faq-layout, .grid-2 { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .credit-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .flow-list li p { max-height: none; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 110px; }
  .trust { gap: 14px; }
  .trust-sep { display: none; }
  .trust-item:not(.trust-center) { display: none; }
  .privacy-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .section-dark { margin: 0; border-radius: 24px; }
  .lead { font-size: 16px; }
  .sessions th:nth-child(n+3), .sessions td:nth-child(n+3):not(:last-child) { display: none; }
  .mode-pick { grid-template-columns: 1fr; }
  .checks.two-col { grid-template-columns: 1fr; }
  .review { width: 290px; }
  .drawer { grid-template-columns: 1fr; }
  .flow-stage { min-height: 380px; padding: 16px; }
  .footer-links { gap: 32px; }
}
