/* HappyBean public site — design system
   Brand colors carried over from the previous site (purple / indigo / pink). */
:root {
  --p: #7c5cc4;
  --p-d: #6340e0;
  --p-l: #ede9fe;
  --pink: #f472b6;
  --ink: #1e1b4b;
  --ink-2: #312e81;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --alt: #f5f3ff;
  --line: #e2e0f0;
  --ok: #059669;
  --ok-bg: #d1fae5;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(30, 27, 75, .06), 0 12px 32px -12px rgba(30, 27, 75, .18);
  --shadow-lg: 0 2px 4px rgba(30, 27, 75, .06), 0 40px 80px -24px rgba(99, 64, 224, .35);
  --bar-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 64px 0 96px; }
.section--alt { background: var(--alt); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Type ---------- */
.h1, .h2, .h3 { font-family: var(--display); color: var(--ink); letter-spacing: -.028em; line-height: 1.06; font-weight: 700; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
.h1--sm { font-size: clamp(2.3rem, 5vw, 3.75rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
.h1 em, .h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--p-d), var(--p) 45%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 620px; margin-top: 20px; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--p-d); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--p), var(--pink)); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--p)); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .ic { transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--p), var(--p-d)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -8px rgba(99, 64, 224, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 32px -8px rgba(99, 64, 224, .7); }
.btn--ghost { color: var(--ink); border: 1.5px solid var(--line); background: rgba(255,255,255,.7); }
.btn--ghost:hover { border-color: var(--p); color: var(--p-d); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(0,0,0,.5); }
.btn--glass { color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn--glass:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 17px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

/* ---------- Top bar + nav ---------- */
.topbar { background: var(--ink); color: #e0e7ff; font-size: .86rem; text-align: center; padding: 9px 16px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pink); white-space: nowrap; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34d399; margin-right: 8px; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); vertical-align: 1px; }
.nav { position: sticky; top: 0; z-index: 100; padding: 12px 0; transition: padding .2s ease; }
.nav__in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255, 255, 255, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(226, 224, 240, .9); border-radius: 999px; padding: 8px 10px 8px 22px;
  box-shadow: 0 1px 2px rgba(30,27,75,.04); transition: box-shadow .2s ease;
}
.nav.is-stuck .nav__in { box-shadow: var(--shadow); }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--text); transition: background .15s, color .15s; }
.nav__links > a:not(.btn):hover, .nav__links > a[aria-current="page"] { background: var(--p-l); color: var(--p-d); }
.nav__links .btn { margin-left: 8px; }
.nav__login { color: var(--ink) !important; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; isolation: isolate; }
.mesh { position: absolute; inset: -220px 0 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh::before, .mesh::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.mesh::before { width: 720px; height: 720px; right: -160px; top: 40px; background: radial-gradient(circle, #c4b5fd 0%, rgba(196,181,253,0) 70%); animation: drift 16s ease-in-out infinite alternate; }
.mesh::after { width: 560px; height: 560px; left: -180px; top: 260px; background: radial-gradient(circle, #fbcfe8 0%, rgba(251,207,232,0) 70%); animation: drift 20s ease-in-out infinite alternate-reverse; }
.mesh i { position: absolute; inset: 0; background-image: linear-gradient(rgba(124,92,196,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(124,92,196,.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink); margin-bottom: 26px; box-shadow: 0 1px 2px rgba(30,27,75,.05);
}
.pill b { white-space: nowrap; flex: none; background: linear-gradient(135deg, var(--p), var(--pink)); color: #fff; font-weight: 600; font-size: .74rem; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.hero__trust li { display: flex; align-items: center; gap: 7px; }
.hero__trust .ic { color: var(--ok); }

.stage { position: relative; }
.player {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink);
  box-shadow: var(--shadow-lg); border: 6px solid #fff; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .5s ease;
}
.player:hover, .player.is-playing { transform: none; }
.player__btn { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.player__btn img { width: 100%; height: 100%; object-fit: cover; }
.player__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,27,75,0) 40%, rgba(30,27,75,.55)); }
.player__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--p-d); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: pulse 2.2s infinite;
}
.player__play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.player__label { position: absolute; left: 18px; bottom: 14px; z-index: 2; color: #fff; font-weight: 600; font-size: .92rem; display: flex; gap: 8px; align-items: center; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .82rem; color: var(--muted); line-height: 1.3; animation: float 6s ease-in-out infinite;
}
.chip strong { display: block; color: var(--ink); font-size: .9rem; }
.chip__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip__ic--ok { background: var(--ok-bg); color: var(--ok); }
.chip__ic--p { background: var(--p-l); color: var(--p-d); }
.chip--a { left: -28px; top: -22px; }
.chip--b { right: -18px; bottom: -26px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Founding strip ---------- */
.strip {
  margin-top: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--r); color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(110deg, var(--ink) 0%, var(--ink-2) 55%, #5b3fc4 100%); box-shadow: var(--shadow);
}
.strip::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(244,114,182,.55), transparent 70%); }
.strip > * { position: relative; z-index: 1; }
.strip__tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fbcfe8; }
.strip__text { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin-top: 2px; }
.strip__text span { color: #c7d2fe; font-weight: 400; }

/* ---------- Feature rows ---------- */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.feat + .feat { margin-top: 128px; }
.feat--flip .feat__copy { order: 2; }
.feat__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--p); display: block; margin-bottom: 10px; }
.feat .h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); line-height: 1.1; }
.feat__copy p { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ticks .ic { color: var(--p-d); background: var(--p-l); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; stroke-width: 3; }
.feat__link { display: inline-flex; gap: 6px; align-items: center; margin-top: 26px; font-weight: 600; color: var(--p-d); }
.feat__link:hover .ic { transform: translateX(3px); } .feat__link .ic { transition: transform .2s; }

/* Product mock (illustrative UI) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #faf9ff; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd6fe; }
.mock__bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); }
.mock__body { padding: 20px; }
.mock__note { font-size: .72rem; color: #94a3b8; text-align: right; padding: 0 20px 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.tile b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.tile span { font-size: .72rem; color: var(--muted); }
.tile--ok b { color: var(--ok); } .tile--warn b { color: var(--warn); }
.rows { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.row { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 10px; align-items: center; padding: 11px 14px; font-size: .84rem; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; background: #faf9ff; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.row strong { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row > span { color: var(--muted); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; justify-self: start; }
.tag--p { background: var(--p-l); color: var(--p-d); }
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--warn { background: var(--warn-bg); color: var(--warn); }
.tag--mute { background: #f1f5f9; color: #475569; }

.flow { display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; position: relative; }
.flow li + li::before { content: ""; position: absolute; left: 16px; top: -14px; height: 28px; width: 2px; background: var(--line); }
.flow li.done + li::before { background: var(--p); }
.flow__dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; color: #94a3b8; position: relative; z-index: 1; }
.flow li.done .flow__dot { background: linear-gradient(135deg, var(--p), var(--p-d)); color: #fff; }
.flow li.now .flow__dot { background: #fff; color: var(--p-d); box-shadow: 0 0 0 2px var(--p), 0 0 0 7px var(--p-l); }
.flow strong { display: block; color: var(--ink); font-size: .93rem; }
.flow small { color: var(--muted); font-size: .8rem; }
.flow em { font-style: normal; font-size: .74rem; color: var(--muted); }

.cra { padding: 28px; display: grid; gap: 18px; }
.cra__head { display: flex; gap: 14px; align-items: center; }
.cra__leaf { width: 52px; height: 52px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; flex: none; }
.cra__leaf .ic { width: 26px; height: 26px; }
.cra__file { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed #c4b5fd; background: #faf9ff; border-radius: 12px; padding: 14px 16px; font-size: .88rem; }
.cra__file code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); font-size: .84rem; }
.bubble { border-radius: 16px; padding: 12px 16px; font-size: .88rem; max-width: 88%; }
.bubble--q { background: var(--p-l); color: var(--ink); justify-self: end; border-bottom-right-radius: 4px; }
.bubble--a { background: #f1f5f9; color: var(--text); border-bottom-left-radius: 4px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4b5fd; }
.card p { color: var(--muted); margin-top: 8px; font-size: .97rem; }
.card__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--p-l); color: var(--p-d); display: grid; place-items: center; margin-bottom: 18px; }
.card__ic .ic { width: 22px; height: 22px; }
.bento .card { grid-column: span 2; }
.bento .card--wide { grid-column: span 3; }
.card--dark { background: linear-gradient(140deg, var(--ink), var(--ink-2)); border-color: transparent; color: #c7d2fe; }
.card--dark .h3 { color: #fff; } .card--dark p { color: #c7d2fe; }
.card--dark .card__ic { background: rgba(255,255,255,.12); color: #fff; }
.soon { display: inline-block; margin-left: 8px; font-family: var(--body); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); vertical-align: middle; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; counter-reset: s; }
.step { counter-increment: s; padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: relative; }
.step::before { content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; background: linear-gradient(120deg, var(--p), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 8px; }

/* ---------- Dark band / testimonials ---------- */
.dark { background: var(--ink); color: #c7d2fe; position: relative; overflow: hidden; isolation: isolate; }
.dark::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: 50%; top: -520px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,196,.6), transparent 65%); }
.dark .h2, .dark .h3 { color: #fff; }
.dark .eyebrow { color: #fbcfe8; }
.dark .lede { color: #c7d2fe; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.quote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 32px; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 22px; transition: background .25s, transform .25s; }
.quote:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.quote blockquote { font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.4; color: #fff; letter-spacing: -.01em; }
.quote blockquote::before { content: "\201C"; font-family: var(--serif); font-size: 3.4rem; line-height: .6; display: block; color: var(--pink); margin-bottom: 8px; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.quote figcaption i { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--pink)); display: grid; place-items: center; color: #fff; font-style: normal; }
.quote figcaption strong { color: #fff; display: block; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.founder__img { position: relative; }
.founder__img img { border-radius: 28px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.founder__img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: linear-gradient(135deg, var(--p-l), #fce7f3); z-index: -1; }
.founder__badge { position: absolute; left: -16px; bottom: 26px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.founder__badge b { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--ink); }
.founder__badge span { font-size: .8rem; color: var(--muted); }
.founder blockquote { font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.35; color: var(--ink); letter-spacing: -.015em; margin-top: 22px; }
.founder cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); }
.founder cite strong { color: var(--ink); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 22px; margin-top: 56px; align-items: stretch; }
.plan { border-radius: 28px; padding: 38px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.plan--hero { background: linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 60%, #5b3fc4 110%); color: #c7d2fe; border: 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.plan--hero::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(244,114,182,.5), transparent 70%); pointer-events: none; }
.plan--hero > * { position: relative; }
.plan__tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--p-l); color: var(--p-d); }
.plan--hero .plan__tag { background: linear-gradient(135deg, var(--pink), #fb7185); color: #fff; }
.plan__name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); margin-top: 20px; }
.plan--hero .plan__name { color: #fff; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.plan__price b { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.plan--hero .plan__price b { color: #fff; }
.plan__price span { color: var(--muted); font-size: 1rem; }
.plan--hero .plan__price span { color: #c7d2fe; }
.plan__sub { margin-top: 10px; font-size: .97rem; }
.plan__list { margin: 26px 0 30px; display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.plan__list .ic { color: var(--p-d); margin-top: 4px; stroke-width: 3; }
.plan--hero .plan__list .ic { color: #f9a8d4; }
.plan--hero .plan__list strong { color: #fff; }
.plan .btn { margin-top: auto; }
.plan__fine { margin-top: 14px; font-size: .8rem; text-align: center; color: var(--muted); }
.plan--hero .plan__fine { color: #a5b4fc; }
.scarce { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .9rem; font-weight: 600; color: #fff; }
.scarce i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(244,114,182,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(244,114,182,0); } 100% { box-shadow: 0 0 0 0 rgba(244,114,182,0); } }

.calc { margin-top: 22px; border-radius: 28px; border: 1px solid var(--line); background: #fff; padding: 38px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 44px; align-items: center; }
.calc__n { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 14px; }
.calc__n output { font-family: var(--display); font-size: 3.4rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; min-width: 2ch; }
.calc__n span { color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--p) var(--fill, 20%), var(--p-l) var(--fill, 20%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--p-d); box-shadow: 0 4px 12px rgba(99,64,224,.4); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--p-d); box-shadow: 0 4px 12px rgba(99,64,224,.4); cursor: grab; }
.calc__out { display: grid; gap: 12px; }
.calc__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--alt); }
.calc__row small { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.calc__row span { font-weight: 600; color: var(--ink); }
.calc__row b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.calc__row--win { background: linear-gradient(120deg, var(--ink), var(--ink-2)); }
.calc__row--win span, .calc__row--win b { color: #fff; } .calc__row--win small { color: #c7d2fe; }
.calc__save { font-size: 1.02rem; color: var(--ink); padding: 4px 4px 0; }
.calc__save b { color: var(--p-d); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 48px auto 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c4b5fd; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--p); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { padding: 0 0 112px; }
.final__box { border-radius: 36px; padding: clamp(48px, 8vw, 96px) 28px; text-align: center; color: #c7d2fe; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 50%, var(--p-d) 120%); }
.final__box::before, .final__box::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); }
.final__box::before { width: 420px; height: 420px; left: -120px; bottom: -200px; background: rgba(244,114,182,.5); }
.final__box::after { width: 420px; height: 420px; right: -120px; top: -220px; background: rgba(124,92,196,.8); }
.final .h2 { color: #fff; } .final .h2 em { background: linear-gradient(100deg, #ddd6fe, #f9a8d4); -webkit-background-clip: text; background-clip: text; }
.final .lede { color: #c7d2fe; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.final__fine { margin-top: 18px; font-size: .86rem; color: #a5b4fc; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 56px 0 24px; text-align: center; position: relative; isolation: isolate; }
.page-hero .lede { margin-left: auto; margin-right: auto; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 56px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; filter: saturate(.95); transition: transform .3s; }
.member:hover img { transform: translateY(-6px) rotate(-1.5deg); }
.member strong { display: block; margin-top: 14px; color: var(--ink); font-family: var(--display); font-size: 1.05rem; }
.member span { font-size: .86rem; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; }
.contact__list { display: grid; gap: 14px; margin-top: 26px; }
.contact__list a, .contact__list div { display: flex; gap: 14px; align-items: center; color: var(--ink); font-weight: 500; }
.contact__list .card__ic { margin: 0; flex: none; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea { font: inherit; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px var(--p-l); }
.form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; min-height: 680px; }
.embed iframe { width: 100%; height: 680px; border: 0; display: block; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.demo-grid .player { transform: none; }

.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-family: var(--display); color: var(--ink); font-size: 1.5rem; letter-spacing: -.02em; margin: 44px 0 12px; scroll-margin-top: 100px; }
.legal h3 { color: var(--ink); font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; list-style: disc; }
.legal ol { list-style: decimal; }
.legal a { color: var(--p-d); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated-badge { display: inline-flex; gap: 8px; align-items: center; background: var(--p-l); color: var(--p-d); font-weight: 600; font-size: .86rem; padding: 6px 14px; border-radius: 999px; }
.legal .alert, .legal .info-box, .legal .right-item { background: var(--alt); border: 1px solid var(--line); border-left: 4px solid var(--p); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.legal .alert p:last-child, .legal .info-box p:last-child, .legal .right-item p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a5b4fc; padding: 72px 0 32px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer img { height: 32px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; }
.footer__social a:hover { background: var(--p); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer__bottom div { display: flex; gap: 22px; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; gap: 16px; align-items: center; font-size: .88rem; }
.cookie[hidden] { display: none; }
.cookie div { display: flex; gap: 8px; flex: none; }

/* ---------- Sticky mobile CTA ---------- */
.mcta { display: none; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid, .feat, .founder, .plans, .calc, .contact, .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { gap: 64px; }
  .feat { gap: 40px; } .feat + .feat { margin-top: 88px; }
  .feat--flip .feat__copy { order: 0; }
  .player { transform: none; }
  .chip--a { left: -6px; } .chip--b { right: -6px; }
  .bento .card, .bento .card--wide { grid-column: span 3; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .founder__img { max-width: 520px; }
}
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links { position: absolute; left: 16px; right: 16px; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px; flex-direction: column; align-items: stretch; gap: 2px; box-shadow: var(--shadow-lg); display: none; }
  .nav__links.open { display: flex; }
  .nav__links > a:not(.btn) { padding: 12px 16px; }
  .nav__links .btn { margin: 8px 0 0; }
  .nav { position: sticky; }
  .nav .wrap { position: relative; }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .hero { padding: 32px 0 72px; }
  .steps, .quotes, .grid-3 { grid-template-columns: 1fr; }
  .bento .card, .bento .card--wide { grid-column: span 6; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1.4fr 1fr; } .row > :nth-child(2) { display: none; }
  .plan, .calc { padding: 28px 22px; border-radius: 22px; }
  .chip { display: none; }
  .strip { margin-top: 48px; }
  .strip .btn, .hero__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(30,27,75,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .35s ease; }
  .mcta.show { transform: none; }
  .mcta .btn { flex: 1; padding: 12px 10px; font-size: .9rem; }
  .final { padding-bottom: 120px; }
}
