/* MAGNETIC — design system cloned from themochi.app reference, rebranded.
   Accent: Magnetic blue #2F6BFF. Headlines: Clash Display. Body: Inter. */

@font-face { font-family: 'Clash Display'; src: url('../assets/fonts/clash-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../assets/fonts/clash-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../assets/fonts/clash-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #16161a;
  --body: #5b6069;
  --faint: #9aa0aa;
  --accent: #2F6BFF;
  --accent-soft: #ecf1ff;
  --accent-ink: #1e50d6;
  --green: #17a45c;
  --green-soft: #e2f6eb;
  --red: #e5484d;
  --line: rgba(22, 22, 26, .09);
  --card: #ffffff;
  --wash: #f5f5f7;
  --r-card: 24px;
  --r-btn: 14px;
  --display: 'Clash Display', 'Inter', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 1px 2px rgba(22,22,26,.04), 0 12px 32px -12px rgba(22,22,26,.10);
  --shadow-pop: 0 24px 64px -16px rgba(22,22,26,.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.04;
}
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(36px, 4.6vw, 60px); }
.sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--body);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 30px;
  border-radius: var(--r-btn);
  font-weight: 600; font-size: 17px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(22,22,26,.5); }
.btn-dark:hover { background: #26262c; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(47,107,255,.55); }
.btn-accent:hover { background: #2a5fe6; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* ---------- nav ---------- */
.nav-shell {
  position: fixed; top: 22px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}
.nav {
  pointer-events: auto;
  width: 100%; max-width: 1080px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 40px -12px rgba(22,40,80,.18);
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #fff; }
}
.nav-wrap.scrolled .nav { background: #fff; border-color: var(--line); }
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 22px; }
.nav-logo svg { width: 34px; height: 34px; }
.nav-logo .word {
  font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -.01em;
}
.nav-links { display: flex; align-items: center; gap: 26px; flex: 1; }
.nav-links > a, .nav-feat-btn {
  font-size: 16.5px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover, .nav-feat-btn:hover { color: var(--accent); }
.nav-feat-btn svg { transition: transform .2s ease; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.pill-login {
  padding: 13px 24px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-weight: 600; font-size: 16px;
}
.pill-start {
  padding: 13px 24px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 16px;
}
.pill-start:hover { background: #26262c; }
.nav-burger { display: none; padding: 8px 12px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* dropdown */
.mega {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  display: none;
  gap: 14px;
  padding: 4px;
}
.nav-wrap { position: relative; width: 100%; max-width: 1080px; pointer-events: auto; }
.nav-wrap.open .mega { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.nav-wrap.open .nav-feat-btn svg { transform: rotate(180deg); }
.mega-col {
  background: #fff; border-radius: 20px; padding: 22px;
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--line);
}
.mega-col h5 {
  font-size: 13px; letter-spacing: .08em; font-weight: 600; color: var(--faint);
  text-transform: uppercase; margin-bottom: 16px;
}
.mega-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px; margin: 0 -10px; border-radius: 14px;
}
.mega-item:hover { background: var(--wash); }
.mega-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  box-shadow: 0 1px 2px rgba(22,22,26,.06);
}
.mega-item b { display: block; font-size: 16.5px; font-weight: 600; }
.mega-item span { font-size: 14.5px; color: var(--body); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 40px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 55%, #fff 92%),
    url('../assets/sky.jpg') center top / cover no-repeat,
    linear-gradient(180deg, #79bdf3 0%, #cfe9fb 70%, #ffffff 100%);
}
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.hero h1 { margin-bottom: 28px; }
.hero .sub { max-width: 640px; margin: 0 auto 40px; }
.hero-badges {
  display: flex; align-items: center; justify-content: center; gap: 44px;
  margin-top: 34px;
}
.badge-item { text-align: center; color: #3b4552; }
.badge-item .as { font-size: 13px; letter-spacing: .14em; color: #6b7683; font-weight: 600; margin-bottom: 4px; }
.badge-item .mark { font-family: var(--display); font-weight: 700; font-size: 24px; color: #1c2b3a; }
.badge-item .small { font-size: 14px; color: #4d5a68; }

/* trusted marquee */
.trusted {
  display: flex; align-items: center; gap: 20px;
  padding: 60px 0 26px;
  max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 0;
}
.trusted-label { flex: none; color: var(--faint); font-size: 17px; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 42s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.avatar-pill {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 18px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 500; font-size: 16px; white-space: nowrap;
}
.avatar-pill .av { position: relative; width: 38px; height: 38px; flex: none; }
.avatar-pill .av img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.avatar-pill .av::after {
  content: ''; position: absolute; right: -2px; bottom: -2px; width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.8 2.4 3.6-.7 1.2 3.5 3.5 1.2-.7 3.6L24 12l-2.4 2.8.7 3.6-3.5 1.2-1.2 3.5-3.6-.7L12 24l-2.8-2.4-3.6.7-1.2-3.5-3.5-1.2.7-3.6L0 12l2.4-2.8-.7-3.6 3.5-1.2L6.4 .9l3.6.7L12 0zm-1.2 16.2l6-6-1.7-1.7-4.3 4.3-2-2-1.7 1.7 3.7 3.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.8 2.4 3.6-.7 1.2 3.5 3.5 1.2-.7 3.6L24 12l-2.4 2.8.7 3.6-3.5 1.2-1.2 3.5-3.6-.7L12 24l-2.8-2.4-3.6.7-1.2-3.5-3.5-1.2.7-3.6L0 12l2.4-2.8-.7-3.6 3.5-1.2L6.4.9l3.6.7L12 0zm-1.2 16.2l6-6-1.7-1.7-4.3 4.3-2-2-1.7 1.7 3.7 3.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* VSL video block */
.vsl { max-width: 1240px; margin: 26px auto 0; padding: 0 24px; }
.vsl-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 1240 / 640;
  background: #101012 url('../assets/vsl.jpg') center / cover no-repeat;
  cursor: pointer;
}
.vsl-play {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px;
  border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform .18s ease;
}
.vsl-frame:hover .vsl-play { transform: scale(1.06); }
.vsl-play svg { margin-left: 5px; }
.vsl-cap {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  color: rgba(255,255,255,.85); font-size: 15px; letter-spacing: .02em;
}

/* ---------- journey timeline ---------- */
.journey { padding: 110px 0 40px; overflow: hidden; }
.journey-track {
  display: flex; gap: 0; align-items: flex-start;
  min-width: 1600px;
}
.j-step { flex: 1; min-width: 240px; position: relative; padding-right: 28px; }
.j-head { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; background: #fff; padding-right: 14px; position: relative; z-index: 1; }
.j-ico {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; color: #fff;
}
.j-head b { font-size: 16.5px; }
.j-head time { color: var(--faint); font-size: 15px; }
.j-line {
  position: absolute; top: 17px; left: 0; right: 0; z-index: -1;
  border-top: 1.5px dashed rgba(22,22,26,.16);
}
.j-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  font-size: 15.5px;
  box-shadow: var(--shadow-card);
}
.j-card + .j-card { margin-top: 10px; }
.j-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.j-row + .j-row { border-top: 1px solid var(--line); }
.j-chip {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 13px;
}
.j-muted { color: var(--body); }
.j-strong { font-weight: 600; }
.j-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.j-thumb {
  margin-left: auto; width: 84px; height: 44px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #dfe8f5, #c8d6ec);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 9px; color: #7a8698; font-weight: 600; letter-spacing: .05em;
}

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-head-split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end;
  margin-bottom: 70px;
}
.section-head-center { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head-center .sub { margin-top: 22px; }

/* carousel (feature slides) */
.slides { }
.slide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 60px 0;
}
.slide-copy .kicker { font-size: 19px; color: var(--body); margin-bottom: 18px; }
.slide-copy h3 {
  font-family: var(--display); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; margin-bottom: 24px;
}
.slide-copy p { font-size: 18.5px; line-height: 1.6; color: var(--body); max-width: 460px; margin-bottom: 34px; }

/* phone frame */
.phone {
  width: min(100%, 470px); margin: 0 auto;
  border-radius: 40px; background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  padding: 26px 22px; overflow: hidden;
  aspect-ratio: 470 / 560;
}
.phone h4 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }

/* inbox mock */
.seg {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wash); border-radius: 14px; padding: 9px 14px;
  font-weight: 600; font-size: 15.5px; margin-bottom: 14px;
}
.convo { display: flex; gap: 12px; padding: 12px 4px; align-items: flex-start; }
.convo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green); padding: 1px; }
.convo .cv-body { flex: 1; min-width: 0; }
.convo .cv-top { display: flex; align-items: baseline; gap: 8px; }
.convo .cv-top b { font-size: 15.5px; }
.convo .cv-top time { margin-left: auto; color: var(--faint); font-size: 13px; }
.convo .cv-msg { font-size: 14px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-row { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; padding: 4px 10px; background: #fff;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; }
.unread {
  flex: none; min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* dm chat mock */
.dm { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.bub { max-width: 82%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.45; }
.bub.in { background: #f0f0f3; color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; }
.bub.out { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.bub.card { background: #fff; border: 1px solid var(--line); text-align: center; font-weight: 600; align-self: flex-end; width: 82%; border-radius: 14px; }
.dm-note { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--body); justify-content: flex-end; }
.dm-note b { color: var(--ink); }
.dm-note .see { color: var(--accent); font-weight: 600; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sugg {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff7ee; border: 1px solid #f3ddc2; color: #8a5a1e;
  border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 600;
}

/* crm mock */
.crm-block { background: var(--wash); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.crm-block h6 { font-size: 14px; color: var(--body); font-weight: 500; margin-bottom: 10px; display: flex; justify-content: space-between; }
.crm-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.crm-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 12px; font-size: 14px; font-weight: 600;
}
.crm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.crm-person { background: var(--wash); border-radius: 16px; padding: 14px 16px; }
.crm-person span { font-size: 13.5px; color: var(--body); display: block; margin-bottom: 8px; }
.crm-person .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.crm-person img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ai-summary { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-card); }
.ai-summary h6 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.ai-li { display: flex; gap: 9px; font-size: 14px; color: var(--body); line-height: 1.5; margin-bottom: 7px; }
.ai-li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: #c3c8d1; margin-top: 8px; }
.ai-flag { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; margin: 10px 0 8px; color: var(--ink); }

.dots { display: flex; gap: 9px; justify-content: center; padding-top: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; background: #d5d8de; transition: background .2s; }
.dots button.on { background: var(--accent); }

/* ---------- dashboard tabs section ---------- */
.tabs {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  margin-bottom: 44px; background: #fff;
}
.tabs button {
  padding: 20px; font-size: 18px; font-weight: 600; color: var(--ink);
  border-right: 1px solid var(--line);
}
.tabs button:last-child { border-right: 0; }
.tabs button.on { background: var(--wash); }
.dash-shell {
  border: 1px solid var(--line); border-radius: 26px; background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid; grid-template-columns: 64px 1fr;
  min-height: 560px;
}
.dash-rail {
  border-right: 1px solid var(--line); padding: 18px 0;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  color: #a5abb6;
}
.dash-rail img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.dash-main { padding: 28px 32px; }
.dash-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16.5px; margin-bottom: 20px; }
.dash-title .mg { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg,#5f8cff,#2F6BFF); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.kpi span { font-size: 14px; color: var(--body); display: block; margin-bottom: 10px; }
.kpi b { font-size: 30px; letter-spacing: -.02em; font-weight: 700; }
.kpi b.up { color: var(--green); }

.funnel-cols { border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; position: relative; }
.f-col { padding: 16px 18px 90px; border-right: 1px solid var(--line); position: relative; }
.f-col:last-child { border-right: 0; }
.f-col span { font-size: 14px; color: var(--body); display: flex; gap: 6px; align-items: center; }
.f-col b { font-size: 26px; font-weight: 700; display: block; margin-top: 6px; }
.f-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; }

.vid-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.vid-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 15.5px; }
.vid-row + .vid-row { border-top: 1px solid var(--line); }
.vid-row:first-child { background: var(--wash); }
.vid-thumb { width: 64px; height: 36px; border-radius: 7px; flex: none; background: linear-gradient(135deg, #2a3646, #48586d); display:grid; place-items:center; color:#9fb2c8; font-size:8px; font-weight:700; letter-spacing:.06em; }
.vid-row .views { margin-left: auto; color: var(--body); }
.vid-row .rev { font-weight: 700; width: 84px; text-align: right; }
.rev.pos { color: var(--green); } .rev.neg { color: var(--red); }

/* ask magnetic chat */
.ask { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.ask .q { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 18px; border-bottom-right-radius: 6px; padding: 16px 20px; font-size: 16px; max-width: 70%; line-height: 1.5; }
.ask .a { font-size: 16px; line-height: 1.65; color: #3c414b; }
.ask .a b { display: block; margin: 12px 0 2px; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; align-items: start; max-width: 1100px; margin: 0 auto; }
.cmp-card { border-radius: 30px; padding: 46px 44px; }
.cmp-card.without { background: #ededf0; color: #6a6f78; padding-right: 70px; }
.cmp-card.with {
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  margin-left: -34px; margin-top: 40px; position: relative; z-index: 2;
}
.cmp-card h3 { font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: -.015em; text-align: center; }
.cmp-card.with h3 { color: var(--accent); }
.cmp-card .tagline { text-align: center; font-size: 17px; margin: 10px 0 30px; color: inherit; }
.cmp-li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 17px; }
.cmp-li .mk {
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
.without .mk { background: #dcdce1; color: #8a8f98; }
.with .mk { background: var(--accent); color: #fff; }
.cmp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.stat { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 16px 18px; }
.without .stat { border-color: #dcdce1; background: #f4f4f6; }
.stat span { display: block; font-size: 14.5px; color: var(--body); margin-bottom: 8px; }
.with .stat span { color: var(--accent); font-weight: 600; }
.stat .num { display: flex; align-items: center; justify-content: space-between; }
.stat b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.delta { background: var(--green-soft); color: var(--green); border-radius: 999px; font-size: 13.5px; font-weight: 700; padding: 4px 10px; }
.stat.wide { grid-column: 1 / -1; }
.section-cta { text-align: center; margin-top: 64px; }

/* ---------- testimonials ---------- */
.wall-sec { background: var(--wash); padding: 120px 0 90px; position: relative; overflow: hidden; }
.wall-head { text-align: center; position: relative; z-index: 3; max-width: 620px; margin: 0 auto 40px; }
.wall-head .btn { margin-top: 34px; }
.wall { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; max-width: 1240px; margin: 40px auto 0; padding: 0 24px; }
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 20px; max-width: 400px; font-size: 15.5px; line-height: 1.5;
  box-shadow: var(--shadow-card);
}
.t-card.dark { background: #17181c; color: #e8e9ec; border-color: #26272c; }
.t-card .t-who { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.t-card .t-who img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; filter: blur(3px); }
.t-card .t-who b { filter: blur(4px); font-size: 14px; }
.t-card .t-who time { color: var(--faint); font-size: 12.5px; }
.t-card .loud { font-size: 19px; font-weight: 600; }
.t-react { display: inline-flex; gap: 6px; margin-top: 10px; }
.t-react span { background: rgba(127,127,127,.14); border-radius: 999px; font-size: 12.5px; padding: 3px 9px; }
.t-card:nth-child(1) { transform: rotate(-2deg); }
.t-card:nth-child(3) { transform: rotate(1.5deg); }
.t-card:nth-child(5) { transform: rotate(-1deg); }
.t-card:nth-child(7) { transform: rotate(2deg); }

/* ---------- pricing ---------- */
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.toggle-wrap { display: flex; align-items: center; gap: 16px; }
.save-note { color: var(--accent); font-weight: 600; font-size: 17px; }
.toggle { display: flex; background: var(--wash); border-radius: 14px; padding: 4px; }
.toggle button { padding: 12px 26px; border-radius: 11px; font-weight: 600; font-size: 17px; color: var(--faint); }
.toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(22,22,26,.08); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
}
.plan.popular { box-shadow: var(--shadow-pop); border-color: rgba(47,107,255,.35); }
.pop-ribbon {
  position: absolute; top: -44px; left: 0; right: 0; height: 60px; z-index: -1;
  background: linear-gradient(180deg, var(--accent-soft), #f8faff);
  border-radius: 22px 22px 0 0;
  display: flex; justify-content: center; padding-top: 12px;
  color: var(--accent-ink); font-weight: 600; font-size: 16px;
}
.plan h3 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.plan .desc { color: var(--body); font-size: 16.5px; line-height: 1.5; min-height: 76px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0; }
.plan .price b { font-family: var(--display); font-size: 52px; font-weight: 700; letter-spacing: -.02em; }
.plan .price span { color: var(--faint); font-size: 16px; }
.plan .btn { width: 100%; margin-bottom: 26px; }
.plan-li { display: flex; gap: 11px; align-items: center; font-size: 16.5px; margin-bottom: 13px; }
.plan-li .ck {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 12px;
}
.plans-foot {
  background: var(--wash); border-radius: 18px; margin-top: 22px;
  display: flex; align-items: center; gap: 34px; padding: 20px 30px;
  font-size: 16.5px; flex-wrap: wrap;
}
.plans-foot .need { margin-left: auto; }
.plans-foot .need a { color: var(--accent); font-weight: 600; }
.plans-wrap { background: var(--wash); border-radius: 34px; padding: 26px; }
.plans-wrap .plans { position: relative; }

/* ---------- faq ---------- */
.faq { max-width: 1000px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 20px; margin-bottom: 16px; background: #fff; overflow: hidden; }
.faq-item.open { background: var(--wash); border-color: transparent; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  text-align: left; padding: 26px 30px; font-size: 20px; font-weight: 600;
}
.faq-q .x { color: var(--accent); font-size: 26px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-item.open .faq-q .x { transform: rotate(45deg); color: var(--ink); }
.faq-a { display: none; padding: 0 30px 26px; color: var(--body); font-size: 17.5px; line-height: 1.65; max-width: 900px; }
.faq-item.open .faq-a { display: block; }

/* ---------- steps ---------- */
.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 74px; }
.steps-head .actions { display: flex; gap: 12px; align-items: center; }
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; position: relative; }
.step { position: relative; padding-top: 34px; }
.step::before {
  content: ''; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: #c9cdd4;
}
.step:first-child::before { background: var(--accent); }
.step::after {
  content: ''; position: absolute; top: 4.5px; left: 22px; right: -28px; border-top: 1px solid #dcdfe4;
}
.step:last-child::after { right: 12px; }
.step b { font-size: 21px; font-weight: 700; display: block; margin-bottom: 10px; }
.step p { color: var(--body); font-size: 17px; line-height: 1.55; }

/* footer collage */
.collage { position: relative; margin-top: 90px; height: 460px; overflow: hidden; }
.collage-inbox {
  position: absolute; left: 0; bottom: -30px; width: 360px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-pop); padding: 24px;
}
.collage-dash {
  position: absolute; left: 400px; right: 0; bottom: -40px; top: 30px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow-pop); padding: 26px 30px; overflow: hidden;
}
.cd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cd-head b { font-size: 18px; }
.cd-head span { color: var(--body); font-size: 14px; display: block; }
.cd-chip { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; color: var(--body); }
.cd-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; }

/* footer */
footer { padding: 90px 0 0; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 80px 0 60px; }
.foot-cols h5 { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.foot-cols a, .foot-cols p { display: block; color: var(--body); font-size: 16.5px; margin-bottom: 14px; line-height: 1.55; }
.foot-cols a:hover { color: var(--accent); }
.foot-legal {
  display: flex; align-items: center; gap: 26px; padding: 26px 0 46px;
  color: var(--faint); font-size: 15.5px; flex-wrap: wrap;
}
.foot-legal .links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.foot-legal .links a:hover { color: var(--ink); }
.soc { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }

/* ---------- feature page template ---------- */
.fp-hero { padding: 200px 0 90px; text-align: center; }
.fp-badge {
  display: inline-flex; padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(180deg, #f4f7ff, #e8efff);
  border: 1px solid rgba(47,107,255,.25);
  color: var(--accent); font-weight: 600; font-size: 17px;
  box-shadow: 0 6px 20px -6px rgba(47,107,255,.35);
  margin-bottom: 40px;
}
.fp-hero h1 { font-size: clamp(40px, 5.6vw, 76px); max-width: 900px; margin: 0 auto 30px; }
.fp-hero .sub { max-width: 620px; margin: 0 auto 44px; }
.fp-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fp-band { background: #ececee; padding: 90px 0; }
.fp-band .dash-shell { max-width: 1240px; margin: 0 auto; background: #fff; }
.fp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 90px 0 0; max-width: 1180px; margin: 0 auto; }
.fp-duo .cell h3 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.fp-duo .cell p { color: var(--body); font-size: 17.5px; line-height: 1.65; }
.fp-cell-art { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); padding: 22px; margin-bottom: 30px; background: #fff; }
.fp-mid { text-align: center; padding: 130px 24px 40px; }
.fp-mid h2 { max-width: 800px; margin: 0 auto 26px; }
.fp-mid .sub { max-width: 560px; margin: 0 auto; }
.fp-cta-final { text-align: center; padding: 100px 0 130px; }
.fp-cta-final h2 { margin-bottom: 40px; }

/* funnel svg fill */
.wave-fill { fill: var(--accent); opacity: .16; }
.wave-fill.deep { opacity: 1; }

/* reveals */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav.menu-open { border-radius: 28px; }
  .m-menu { display: none; }
  .nav-wrap.m-open .m-menu {
    display: block; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: #fff; border-radius: 22px; box-shadow: var(--shadow-pop);
    padding: 22px; border: 1px solid var(--line);
  }
  .m-menu a { display: block; padding: 13px 6px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .m-menu a:last-of-type { border-bottom: 0; }
  .mega { display: none !important; }
}
@media (min-width: 1081px) { .m-menu { display: none !important; } }

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .hero { padding-top: 150px; }
  .hero-badges { gap: 26px; }
  .slide { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .section-head-split { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .compare { grid-template-columns: 1fr; }
  .cmp-card.without { padding-right: 44px; }
  .cmp-card.with { margin-left: 0; margin-top: -26px; }
  .plans { grid-template-columns: 1fr; }
  .plan .desc { min-height: 0; }
  .pop-ribbon { display: none; }
  .plan.popular { border-color: var(--accent); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step::after { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .funnel-cols { grid-template-columns: repeat(3, 1fr); }
  .f-col:nth-child(n+4) { border-top: 1px solid var(--line); }
  .dash-shell { grid-template-columns: 1fr; }
  .dash-rail { display: none; }
  .collage-inbox { display: none; }
  .collage-dash { left: 0; }
  .fp-duo { grid-template-columns: 1fr; gap: 50px; }
  .trusted { flex-direction: column; align-items: flex-start; gap: 14px; padding-left: 24px; }
  .vsl-frame { border-radius: 18px; }
  .journey-track { min-width: 1400px; }
  .pricing-head { margin-bottom: 30px; }
  .wall { gap: 16px; }
  .t-card { max-width: 100%; }
}

/* ===== mobile overflow + layout fixes ===== */
html { overflow-x: hidden; }
.marquee { min-width: 0; }
@media (max-width: 900px) {
  .trusted { align-items: stretch; }
  .trusted .marquee { width: 100%; min-width: 0; max-width: 100%; }
  /* horizontal decorative tracks: contain, let them scroll rather than blow width */
  .journey { max-width: 100vw; }
  .journey-track { min-width: 1120px; }
  .nav { padding: 8px 10px 8px 16px; }
  .nav-logo { margin-right: 0; }
}
/* belt-and-suspenders: nothing forces the page wider than the screen */
body, .section, .hero, footer { max-width: 100vw; }

/* ============================================================
   PHONE UI SYSTEM — reverse-engineered from Mochi's mobile:
   one consistent gutter, nothing touches the edge, full-width
   CTAs, softened radii, tighter type scale, roomy rhythm.
   ============================================================ */
html, body { overflow-x: clip; }

@media (max-width: 640px) {
  :root { --gx: 22px; }

  /* one gutter on every content container */
  .wrap, .hero-inner, .section-head-center, .compare, .plans, .steps,
  .wall, .foot-in, .funnel-cols, .journey-track, .kpis, .fp-duo, .dash-shell {
    padding-left: var(--gx) !important; padding-right: var(--gx) !important;
    margin-left: auto; margin-right: auto; width: 100%;
  }

  /* vertical rhythm */
  .section, .wall-sec { padding-top: 68px !important; padding-bottom: 68px !important; }
  .hero { padding-top: 132px; }
  .journey { padding: 92px 0 20px; }

  /* type scale */
  .hero h1 { font-size: clamp(33px, 8.8vw, 46px); line-height: 1.05; letter-spacing: -.032em; }
  .hero .sub { font-size: 16.5px; line-height: 1.55; }
  .section-head-center h2, .compare + * h2, h2 { font-size: clamp(27px, 7.2vw, 34px); }
  .section-head-center .sub { font-size: 16px; }

  /* cards: full width inside the gutter, softer radius, no desktop offsets */
  .cmp-card, .plan, .t-card, .j-card {
    width: 100% !important; max-width: 100% !important;
    margin-left: 0 !important; margin-right: 0 !important;
  }
  .cmp-card { padding: 30px 24px !important; border-radius: 22px; }
  .cmp-card.without { padding-right: 24px !important; }
  .cmp-card.with { margin-top: 16px !important; }
  .cmp-card h3 { font-size: 29px; }
  .compare { gap: 16px; }
  .plans { gap: 16px; }
  .plan { padding: 30px 24px; }
  .wall { gap: 14px; }
  .t-card { padding: 20px; border-radius: 18px; }
  .journey-track { min-width: 0 !important; }
  .j-card { max-width: 320px; }

  /* full-width primary CTAs (never the nav) */
  .hero .btn, .section-cta .btn, .wall-head .btn, .pricing-cta .btn,
  .final-cta .btn, .cta .btn { width: 100%; justify-content: center; }
  .btn { padding: 15px 22px; }

  /* nav pill inset from the screen edges */
  .nav-shell { padding: 0 16px; top: 14px; }
  .nav { padding: 8px 8px 8px 16px; }

  /* footer breathes */
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
}

/* corrective: grids inside .wrap must shrink, not force min-content width */
@media (max-width: 640px) {
  .compare, .plans, .steps, .funnel-cols { padding-left: 0 !important; padding-right: 0 !important; }
  .compare { grid-template-columns: minmax(0, 1fr) !important; }
  .plans   { grid-template-columns: minmax(0, 1fr) !important; }
  .steps   { grid-template-columns: minmax(0, 1fr) !important; }
  .funnel-cols { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; }
  .kpis { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; }
  .cmp-card, .plan, .t-card, .j-card, .step, .kpi, .f-col, .slide { min-width: 0 !important; }
}
