/* ==========================================================================
   Marketing site (landing, register, sign-in, payment success)
   Bright, confident, a little playful: display type, one vivid gradient,
   soft colour fields and a live product mock in the hero.
   ========================================================================== */

:root {
  --ink: #15131f;
  --ink-2: #3d3a4c;
  --muted: #6e6a80;
  --line: #e9e6f2;
  --paper: #fbfaff;
  --white: #ffffff;
  --violet: #5b4bff;
  --violet-deep: #4433e6;
  --violet-soft: #efedff;
  --coral: #ff6b4a;
  --mint: #19c48f;
  --mint-soft: #e2f8f0;
  --sun: #ffc23d;
  --sky: #3ab4ff;
  --grad: linear-gradient(100deg, #5b4bff 0%, #b14bff 48%, #ff6b4a 100%);
  --display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(21, 19, 31, 0.04), 0 8px 24px rgba(21, 19, 31, 0.06);
  --shadow-lg: 0 24px 64px rgba(48, 34, 140, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6;
  color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-deep); }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 45%, transparent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(21, 19, 31, 0.18); }
.btn-primary:hover { color: #fff; background: #000; box-shadow: 0 10px 26px rgba(21, 19, 31, 0.24); }
.btn-glow { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(123, 75, 255, 0.35); }
.btn-glow:hover { color: #fff; box-shadow: 0 14px 38px rgba(123, 75, 255, 0.45); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* --- Nav ------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 4px 12px rgba(123, 75, 255, 0.35);
}
.logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { background: var(--violet-soft); color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }
.nav-signin { color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 10px; }
.nav-signin:hover { color: var(--violet); }

/* --- Hero ------------------------------------------------------------------ */
.hero { position: relative; padding: 64px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(91, 75, 255, 0.16), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(255, 107, 74, 0.16), transparent 70%),
    radial-gradient(30% 40% at 60% 75%, rgba(25, 196, 143, 0.12), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
}
.eyebrow b { padding: 3px 9px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-size: 12px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 82px); font-weight: 800; margin: 22px 0 22px; letter-spacing: -0.045em; line-height: 0.98; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 540px; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 16px; height: 16px; stroke: var(--mint); fill: none; stroke-width: 2.5; }

/* Product mock */
.mock { position: relative; }
.mock-window {
  position: relative; background: var(--white); border-radius: 22px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-1.2deg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fcfbff; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e6e2f2; }
.mock-bar i:nth-child(1) { background: #ff8a73; } .mock-bar i:nth-child(2) { background: #ffd166; } .mock-bar i:nth-child(3) { background: #5fe0b0; }
.mock-url { margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: #f2f0fa; font-size: 12px; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 1fr 150px; gap: 14px; padding: 18px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock-head strong { font: 700 15px/1 var(--display); color: var(--ink); }
.mock-chip { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--mint-soft); color: #0e8f66; }
.floor {
  position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; padding: 14px;
  border-radius: 14px; background-color: #f8f7fd;
  background-image: linear-gradient(#eeebf8 1px, transparent 1px), linear-gradient(90deg, #eeebf8 1px, transparent 1px);
  background-size: 22px 22px;
}
.floor .gap { grid-column: span 8; height: 10px; }
.loc {
  aspect-ratio: 1 / 1.15; border-radius: 6px; background: #dedcea; border: 1.5px solid #c9c5dc;
  display: grid; place-items: center; font: 600 9px/1 var(--body); color: #8b86a3;
}
.loc.taken { background: #ffd9cf; border-color: #ffb3a1; color: #c4573f; }
.loc.yours { background: #c9f3e2; border-color: #7ddcb6; color: #0e8f66; }
.loc.pick { animation: pick 6s infinite; }
@keyframes pick {
  0%, 30% { background: #dedcea; border-color: #c9c5dc; color: #8b86a3; transform: scale(1); }
  36% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(91, 75, 255, 0.18); }
  42%, 100% { background: #c9f3e2; border-color: #19c48f; color: #0e8f66; transform: scale(1); box-shadow: none; }
}
.cursor {
  position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none;
  left: 69%; top: 32%; animation: cursor 6s infinite;
}
@keyframes cursor {
  0% { transform: translate(60px, 70px); opacity: 0; }
  12% { opacity: 1; }
  30% { transform: translate(0, 0); }
  34% { transform: translate(0, 0) scale(0.85); }
  38%, 70% { transform: translate(0, 0) scale(1); opacity: 1; }
  85%, 100% { transform: translate(-20px, 40px); opacity: 0; }
}
.mock-side { display: flex; flex-direction: column; gap: 10px; }
.stat-tile { padding: 12px; border-radius: 14px; background: #f8f7fd; border: 1px solid var(--line); }
.stat-tile b { display: block; font: 800 22px/1.1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.stat-tile span { font-size: 11px; color: var(--muted); }
.stat-tile.violet { background: var(--violet); border-color: var(--violet); }
.stat-tile.violet b, .stat-tile.violet span { color: #fff; }
.bar-mini { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 8px; }
.bar-mini i { flex: 1; border-radius: 3px; background: color-mix(in srgb, var(--violet) 25%, white); }
.bar-mini i:last-child { background: var(--violet); }
.toast {
  position: absolute; z-index: 3; right: -18px; bottom: -26px; width: 270px;
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  background: var(--white); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: toast 6s infinite;
}
@keyframes toast {
  0%, 44% { opacity: 0; transform: translateY(14px) scale(0.97); }
  50%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(6px); }
}
.toast-icon { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--mint-soft); }
.toast-icon svg { width: 18px; height: 18px; stroke: var(--mint); fill: none; stroke-width: 2.4; }
.toast strong { display: block; font-size: 13px; color: var(--ink); }
.toast span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.sticker {
  position: absolute; z-index: 3; left: -26px; top: 56px; padding: 10px 14px; border-radius: 14px;
  background: var(--sun); color: var(--ink); font: 700 13px/1.25 var(--display); transform: rotate(-6deg);
  box-shadow: 0 10px 24px rgba(255, 194, 61, 0.4);
}

/* --- Use-case marquee --------------------------------------------------------- */
.marquee { padding: 36px 0 8px; overflow: hidden; }
.marquee p { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap;
}
.pill i { font-style: normal; font-size: 17px; }

/* --- Sections ------------------------------------------------------------------- */
section { padding: 96px 0; }
.kicker { display: inline-block; font: 700 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Problem → solution strip */
.swap { padding: 24px 0 0; }
.swap-card {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  padding: 28px; border-radius: 28px; background: var(--ink); color: #cfcbe0;
}
.swap-side h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.swap-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.swap-side li { display: flex; gap: 10px; align-items: flex-start; }
.swap-side li::before { content: "✕"; color: #ff8a73; font-weight: 700; }
.swap-side.good li::before { content: "✓"; color: #5fe0b0; }
.swap-arrow { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 22px; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(21, 19, 31, 0.04), 0 18px 40px rgba(21, 19, 31, 0.08); }
.tile h3 { font-size: 24px; margin: 14px 0 8px; }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 440px; }
.tile-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; }
.t-violet { background: var(--violet-soft); } .t-coral { background: #ffe9e3; } .t-mint { background: var(--mint-soft); }
.t-sun { background: #fff4d6; } .t-sky { background: #e2f4ff; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.tile.dark { background: var(--ink); border-color: var(--ink); }
.tile.dark h3 { color: #fff; } .tile.dark p { color: #bdb8d1; }
.tile.grad { background: var(--grad); border: 0; }
.tile.grad h3, .tile.grad p { color: #fff; }
.tile.grad p { opacity: 0.9; }

/* Tile illustrations */
.ill { margin-top: 22px; }
.ill-email { display: grid; gap: 8px; }
.ill-email div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #2a2738; font-size: 13px; color: #e4e1f0; }
.ill-email b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; background: #3a3650; flex: none; }
.ill-email em { margin-left: auto; font-style: normal; font-size: 11px; color: #8f8aa6; }
.ill-queue { display: flex; align-items: center; gap: 8px; }
.ill-queue span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--display); color: #fff; border: 3px solid var(--white); margin-left: -12px; }
.ill-queue span:first-child { margin-left: 0; }
.ill-queue .next { margin-left: 10px; font-size: 13px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.ill-terms { display: flex; gap: 6px; }
.ill-terms i { flex: 1; height: 10px; border-radius: 99px; background: #fff4d6; }
.ill-terms i.on { background: var(--sun); }
.ill-map { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.ill-map i { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, 0.28); }
.ill-map i.t { background: rgba(255, 255, 255, 0.9); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  font: 800 18px/1 var(--display); color: #fff; background: var(--ink);
}
.step:nth-child(2)::before { background: var(--violet); }
.step:nth-child(3)::before { background: var(--coral); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Audiences */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aud { padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.aud i { font-style: normal; font-size: 26px; }
.aud h4 { font-size: 17px; margin: 10px 0 4px; letter-spacing: -0.02em; }
.aud p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Demo band */
.demo-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 30px; border-radius: 24px; background: var(--violet-soft); border: 1px solid #ddd8ff;
}
.demo-band h3 { font-size: 24px; }
.demo-band p { color: var(--ink-2); margin-top: 4px; }

/* Pricing */
.billing-toggle {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  margin: 0 auto 36px; box-shadow: var(--shadow);
}
.billing-toggle button {
  border: 0; background: none; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--body); color: var(--muted);
}
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--mint-soft); color: #0e8f66; font-size: 11px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.price.hot { background: var(--ink); border-color: var(--ink); color: #cfcbe0; transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price.hot h3, .price.hot .amount { color: #fff; }
.price-badge {
  position: absolute; top: -13px; left: 30px; padding: 6px 12px; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
}
.price h3 { font-size: 22px; }
.price .tag { font-size: 14.5px; color: var(--muted); margin-top: 6px; min-height: 44px; }
.price.hot .tag { color: #a9a4c0; }
.amount-row { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.amount { font: 800 52px/1 var(--display); color: var(--ink); letter-spacing: -0.04em; }
.per { font-size: 14px; color: var(--muted); }
.billed { font-size: 13px; color: var(--muted); min-height: 20px; }
.price ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 11px; font-size: 14.5px; flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--mint); fill: none; stroke-width: 2.6; }
.price.hot li svg { stroke: #5fe0b0; }
.price.hot .btn-ghost { background: transparent; color: #fff; border-color: #4a4560; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font: 700 19px/1.3 var(--display); color: var(--ink); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--violet); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; max-width: 680px; }

/* Forms (enterprise, contact, register, sign-in) */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white);
  font: 500 15px/1.4 var(--body); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #aca8bd; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.field .hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.affix { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.affix:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.affix input { border: 0 !important; box-shadow: none !important; border-radius: 0; min-width: 0; }
.affix span { display: flex; align-items: center; padding: 0 14px; background: #f6f4fc; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.form-error { padding: 12px 14px; border-radius: 14px; background: #ffece7; color: #b8402a; font-size: 14px; font-weight: 500; margin-bottom: 16px; }

.enterprise { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.enterprise-card { padding: 32px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.enterprise ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.enterprise li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.enterprise li i { font-style: normal; width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--violet-soft); }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 80px 32px; border-radius: 36px;
  background: var(--ink); color: #cfcbe0; isolation: isolate;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 70% at 15% 0%, rgba(91, 75, 255, 0.55), transparent 70%),
    radial-gradient(40% 70% at 90% 100%, rgba(255, 107, 74, 0.45), transparent 70%);
}
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
.cta p { font-size: 18px; margin: 18px auto 32px; max-width: 520px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.cta .btn-ghost:hover { border-color: #fff; }

/* Footer */
.site-foot { padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.foot-grid h4 { font: 700 13px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot-grid a, .foot-grid button.linkish { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 9px; }
.foot-grid a:hover, .foot-grid button.linkish:hover { color: var(--ink); }
button.linkish { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }

/* Dialog + banner */
dialog.sheet { width: min(540px, 100% - 32px); padding: 0; border: 0; border-radius: 26px; box-shadow: var(--shadow-lg); }
dialog.sheet::backdrop { background: rgba(21, 19, 31, 0.45); backdrop-filter: blur(3px); }
.sheet-inner { padding: 30px; }
.sheet-inner h3 { font-size: 26px; }
.sheet-inner > p { color: var(--muted); margin: 6px 0 22px; }
.sheet-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f3f1fa; cursor: pointer; font-size: 18px; color: var(--ink-2); }
.banner {
  position: fixed; z-index: 60; top: 82px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-lg); animation: drop 0.3s ease-out;
}
.banner.ok { background: var(--ink); color: #fff; }
.banner.bad { background: #ffece7; color: #b8402a; }
.banner button { border: 0; background: rgba(255, 255, 255, 0.15); color: inherit; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -10px); } }

/* Reveal-on-scroll (only when JS has marked the page) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* --- Auth-style pages (register, sign-in, success) -------------------------------- */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.auth-page::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(35% 40% at 10% 10%, rgba(91, 75, 255, 0.14), transparent 70%),
    radial-gradient(35% 40% at 95% 90%, rgba(255, 107, 74, 0.12), transparent 70%);
}
.auth-main { flex: 1; display: grid; place-items: center; padding: 32px 20px 64px; }
.auth-card { width: min(460px, 100%); padding: 36px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 34px; font-weight: 800; }
.auth-card .lede { color: var(--muted); margin: 8px 0 26px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.register-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; width: min(940px, 100%); align-items: start; }
.plan-card { padding: 30px; border-radius: 28px; background: var(--ink); color: #cfcbe0; position: sticky; top: 92px; overflow: hidden; isolation: isolate; }
.plan-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 320px; height: 320px; z-index: -1; background: radial-gradient(circle, rgba(123, 75, 255, 0.55), transparent 65%); }
.plan-card .plan-name { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 13px; font-weight: 700; }
.plan-card .amount { color: #fff; display: block; margin-top: 20px; }
.plan-card .billed { color: #a9a4c0; }
.plan-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: 14.5px; }
.plan-card li { display: flex; gap: 10px; }
.plan-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: #5fe0b0; fill: none; stroke-width: 2.6; }
.seg { display: flex; padding: 4px; border-radius: 14px; background: #f3f1fa; margin-bottom: 18px; }
.seg button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 10px; cursor: pointer; font: 600 14px var(--body); color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(21, 19, 31, 0.12); }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }
.success-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px; background: var(--mint-soft); }
.success-icon svg { width: 30px; height: 30px; stroke: var(--mint); fill: none; stroke-width: 2.6; }
.next-steps { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; counter-reset: s; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.next-steps li::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); font: 800 13px var(--display); }

/* --- Responsive -------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid, .enterprise { grid-template-columns: 1fr; }
  .mock { max-width: 620px; margin: 16px auto 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-4, .span-3, .span-2 { grid-column: span 2; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price.hot { transform: none; }
  .register-grid { grid-template-columns: 1fr; }
  .plan-card { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .swap-card { grid-template-columns: 1fr; }
  .swap-arrow { transform: rotate(90deg); margin: 0 auto; }
  .steps, .bento { grid-template-columns: 1fr; }
  .span-4, .span-3, .span-2 { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .toast { position: relative; right: auto; bottom: auto; width: auto; margin: -18px 12px 0; animation: none; }
  .sticker { left: auto; right: 8px; top: -22px; }
  .auth-card { padding: 26px; }
}
@media (max-width: 480px) {
  .audience { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loc.pick { background: #c9f3e2; border-color: #19c48f; }
  .toast { opacity: 1; }
  .cursor { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
