/* =====================================================================
   Build My App — Design System (glassmorphism)
   Shared by the plugin (funnel, portal, team) and the Build My App theme.
   ===================================================================== */
:root {
  --navy: #0B1445;
  --blue: #1E5BFF;
  --violet: #6D3BFF;
  --magenta: #C026D3;
  --grad: linear-gradient(135deg, #1E5BFF 0%, #6D3BFF 55%, #C026D3 100%);
  --grad-soft: linear-gradient(135deg, #9DB6FF 0%, #B79BFF 50%, #F08CF7 100%);
  --bg: #070B24;
  --surface: #0D1338;
  --ink: #F0F3FF;
  --muted: #A8B2D6;           /* 8.9:1 on --bg */
  --link: #A9C0FF;
  --line: rgba(255, 255, 255, .1);
  --success: #16C784; --warning: #F5A524; --danger: #F0455A;
  --success-ink: #7EF0C2; --warning-ink: #FFD08A; --danger-ink: #FFA3AF;
  --glass: rgba(255, 255, 255, .07);
  --glass-strong: rgba(255, 255, 255, .11);
  --glass-border: rgba(255, 255, 255, .16);
  --glass-hi: rgba(255, 255, 255, .22);
  --glass-fallback: rgba(16, 22, 60, .95);
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --fs-xs: clamp(.75rem, .72rem + .15vw, .8125rem);
  --fs-sm: clamp(.875rem, .85rem + .15vw, .9375rem);
  --fs-base: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-xl: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-3xl: clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-hero: clamp(2.5rem, 1.6rem + 4.6vw, 5.25rem);
  --container: 1240px;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.bma {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--fs-base);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100dvh;
}
:where(.bma) :where(h1, h2, h3, h4) { font-family: var(--font-display); letter-spacing: -.03em; line-height: 1.08; margin: 0; color: var(--ink); }
:where(.bma) p { margin: 0; }
:where(.bma) a { color: inherit; }
:where(.bma) img { max-width: 100%; height: auto; }
:where(.bma) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.bma) button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(.bma) ::selection { background: rgba(109, 59, 255, .45); color: #fff; }
:where(.bma) :focus-visible { outline: 2px solid #8FA8FF; outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy) !important; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }
[hidden] { display: none !important; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }
.container.narrow { max-width: 820px; }
.container.mid { max-width: 1040px; }
.section { position: relative; padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 112px 0; } }
.page-hero { position: relative; overflow: hidden; padding: 144px 0 40px; text-align: center; }
@media (min-width: 640px) { .page-hero { padding-top: 176px; } }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-ind { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-ind { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.15fr 1fr; } }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.w-full { width: 100%; }
.grow { flex: 1; }

/* ---------- type ---------- */
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.strong { font-weight: 700; }
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gradient-soft { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 4px 12px; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); background: var(--glass); border: 1px solid var(--glass-border); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--success); box-shadow: 0 0 10px var(--success); }
.h-hero { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.section-title { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -.04em; margin-top: 16px !important; }
.section-lead { margin-top: 16px !important; max-width: 42rem; font-size: var(--fs-lg); color: var(--muted); }
.section-head.center { text-align: center; max-width: 48rem; margin: 0 auto; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.lead { font-size: var(--fs-lg); color: var(--muted); }
.h-card { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount-xl { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-family: var(--font-display); font-weight: 700; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.ok { color: var(--success); }

/* ---------- glass ---------- */
.glass {
  position: relative; background: var(--glass-fallback); border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  box-shadow: 0 1px 0 0 var(--glass-hi) inset, 0 10px 30px -12px rgba(7, 11, 36, .55), 0 30px 80px -40px rgba(30, 91, 255, .35);
  padding: 24px;
}
@media (min-width: 640px) { .glass { padding: 32px; } }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
  .glass-strong { background: var(--glass-strong); }
}
.glass-sm { border-radius: var(--r); padding: 16px 20px; }
.glass.p-0 { padding: 0; }
.gradient-border::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pulse-glow { animation: pulse-glow 2.8s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 60px -20px rgba(109,59,255,.55); } 50% { box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 24px 80px -12px rgba(192,38,211,.75); } }
a.glass { text-decoration: none; display: block; }
.lift { transition: transform .5s var(--ease), background .3s; }
.lift:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }

/* ---------- backdrop ---------- */
.backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop.is-fixed { position: fixed; }
.grain::after { content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.blob { position: absolute; border-radius: 9999px; filter: blur(70px); opacity: .55; will-change: transform; animation: drift 22s var(--ease) infinite alternate; }
.blob-blue { background: #1E5BFF; } .blob-violet { background: #6D3BFF; animation-duration: 26s; animation-delay: -6s; } .blob-magenta { background: #C026D3; animation-duration: 30s; animation-delay: -12s; opacity: .4; }
.b1 { left: -10%; top: -10%; width: 42rem; height: 42rem; } .b2 { right: -15%; top: 10%; width: 36rem; height: 36rem; } .b3 { bottom: -20%; left: 30%; width: 30rem; height: 30rem; }
.b4 { left: -10%; top: 20%; width: 26rem; height: 26rem; opacity: .35; } .b5 { right: -8%; bottom: 0; width: 24rem; height: 24rem; opacity: .35; } .b6 { right: 10%; top: 10%; width: 22rem; height: 22rem; opacity: .25; }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6%,-8%,0) scale(1.08); } 100% { transform: translate3d(-6%,6%,0) scale(.95); } }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.bg-dots { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 22px 22px; }
.anim-paused .blob, .anim-paused .float, .anim-paused .pulse-glow, .anim-paused .rocket-trail span { animation-play-state: paused !important; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border-radius: 999px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; user-select: none; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn-sm { height: 36px; padding: 0 16px; font-size: .875rem; }
.btn-md { height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-primary { color: #fff !important; background: var(--grad); background-size: 140% 140%; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 40px -10px rgba(109,59,255,.65); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 16px 60px -12px rgba(192,38,211,.6); }
.btn-secondary { color: var(--ink) !important; background: var(--glass-strong); border: 0; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-secondary::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.btn-secondary:hover { background: rgba(255,255,255,.15); }
.btn-ghost { color: var(--ink) !important; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-white { color: var(--navy) !important; background: #fff; box-shadow: 0 10px 40px -10px rgba(255,255,255,.5); }
.btn-danger { color: #fff !important; background: var(--danger); }
.btn-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: inherit; }
.btn-arrow { position: relative; z-index: 1; width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn .spinner { width: 16px; height: 16px; border-radius: 99px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ripple { position: absolute; border-radius: 9999px; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.magnetic-wrap { display: inline-flex; transition: transform .25s var(--ease); }

/* Touch targets: 44px on touch only */
@media (pointer: coarse) {
  .tap, .btn, .chip, .acc-btn, .check { min-height: 44px; }
  .btn-sm { height: 44px; }
}

/* ---------- badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 700; border: 1px solid; }
.badge-neutral { background: rgba(255,255,255,.08); color: var(--muted); border-color: rgba(255,255,255,.1); }
.badge-info { background: rgba(30,91,255,.15); color: #A9C0FF; border-color: rgba(30,91,255,.3); }
.badge-warning { background: rgba(245,165,36,.15); color: var(--warning-ink); border-color: rgba(245,165,36,.3); }
.badge-success { background: rgba(22,199,132,.15); color: var(--success-ink); border-color: rgba(22,199,132,.3); }
.badge-danger { background: rgba(240,69,90,.15); color: var(--danger-ink); border-color: rgba(240,69,90,.3); }
.badge-brand { background: var(--grad); color: #fff; border-color: transparent; }
.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 16px; font-size: .875rem; font-weight: 600; border: 1px solid rgba(255,255,255,.15); background: var(--glass); color: rgba(240,243,255,.9); transition: all .2s; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); }
.chip[aria-checked="true"], .chip[aria-pressed="true"], .chip.is-on { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(109,59,255,.65); }
.chip .tick { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.4); font-size: 10px; }
.chip[aria-checked="true"] .tick { background: #fff; color: var(--violet); border-color: #fff; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chip-row { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; } }

/* ---------- forms ---------- */
.field-wrap { position: relative; }
.field { width: 100%; border-radius: 16px; padding: 24px 16px 10px; font-size: 16px; line-height: 1.4; color: var(--ink); background: var(--glass); border: 1px solid var(--glass-border); outline: none; transition: box-shadow .2s, border-color .2s; -webkit-appearance: none; appearance: none; }
textarea.field { padding-top: 28px; resize: vertical; min-height: 120px; }
.field::placeholder { color: transparent; }
.field.plain { padding: 14px 16px; }
.field.plain::placeholder { color: var(--muted); }
.field:focus { border-color: transparent; box-shadow: 0 0 0 2px #6D3BFF, 0 0 0 6px rgba(109,59,255,.2); }
.field[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--danger); }
.field-label { position: absolute; left: 16px; top: 16px; color: var(--muted); font-size: 16px; pointer-events: none; transition: all .2s var(--ease); transform-origin: left; }
.field:focus + .field-label, .field:not(:placeholder-shown) + .field-label, select.field + .field-label { top: 7px; font-size: 12px; color: #B9A4FF; }
select.field { padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8B2D6' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
select.field option { background: #0D1338; color: #fff; }
.field-hint { margin-top: 6px !important; font-size: .875rem; color: var(--muted); }
.field-error { margin-top: 6px !important; font-size: .875rem; color: #FF8A99; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: #6D3BFF; flex-shrink: 0; }
.alert { border-radius: 16px; padding: 12px 16px; font-size: .875rem; }
.alert-error { background: rgba(240,69,90,.1); border: 1px solid rgba(240,69,90,.3); color: #FFB3BD; }
.alert-warn { background: rgba(245,165,36,.1); border: 1px solid rgba(245,165,36,.3); color: var(--warning-ink); }
.alert-ok { background: rgba(22,199,132,.1); border: 1px solid rgba(22,199,132,.3); color: var(--success-ink); }
.segmented { display: flex; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.05); padding: 4px; }
.segmented button { flex: 1; border-radius: 999px; padding: 8px 12px; font-size: .875rem; font-weight: 700; color: var(--muted); }
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { background: rgba(255,255,255,.15); color: var(--ink); }

/* ---------- accordion ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item { padding: 0 !important; overflow: hidden; }
.acc-h { font-family: var(--font) !important; font-size: 1rem !important; letter-spacing: 0 !important; }
.acc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; text-align: left; font-weight: 700; line-height: 1.4; }
.acc-ico { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease); }
.acc-item.is-open .acc-ico { transform: rotate(45deg); color: var(--ink); }
.acc-item.is-open { background: var(--glass-strong); }
.acc-panel { padding: 0 20px 20px; color: var(--muted); animation: fade-down .3s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- reveal / motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stagger > .reveal:nth-child(2) { transition-delay: .08s; } .js .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.js .stagger > .reveal:nth-child(4) { transition-delay: .24s; } .js .stagger > .reveal:nth-child(5) { transition-delay: .32s; } .js .stagger > .reveal:nth-child(6) { transition-delay: .4s; }
.js .stagger > .reveal:nth-child(n+7) { transition-delay: .45s; }
.word { display: inline-block; padding-right: .25em; opacity: 0; transform: translateY(.6em); filter: blur(8px); animation: word-in .7s var(--ease) forwards; }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }
.fade-up { opacity: 0; animation: fade-up .6s var(--ease) forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.d1 { animation-delay: .6s; } .d2 { animation-delay: .75s; } .d3 { animation-delay: .9s; } .d4 { animation-delay: 1.2s; } .d5 { animation-delay: 1.4s; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.tilt { transform-style: preserve-3d; transition: transform .2s ease-out; position: relative; border-radius: var(--r-lg); }
.tilt .tilt-glow { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; padding: 1px; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(192,38,211,.6), rgba(109,59,255,.4) 30%, transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: 2; }
.tilt:hover .tilt-glow { opacity: 1; }
.animated-gradient { background: linear-gradient(120deg, #1E5BFF, #6D3BFF, #C026D3, #1E5BFF); background-size: 300% 300%; animation: gradient-pan 14s ease infinite; }
@keyframes gradient-pan { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.shimmer { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.12), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 12px 12px 0; }
.site-header .bar { max-width: var(--container); margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; padding: 0 12px 0 16px; border: 1px solid transparent; transition: all .5s var(--ease); }
.site-header.is-scrolled .bar { background: var(--glass-fallback); border-color: var(--glass-border); box-shadow: 0 1px 0 0 var(--glass-hi) inset, 0 10px 30px -12px rgba(7,11,36,.55); }
@supports (backdrop-filter: blur(1px)) { .site-header.is-scrolled .bar { background: var(--glass-strong); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); } }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { filter: drop-shadow(0 4px 14px rgba(109,59,255,.45)); }
.logo-word { white-space: nowrap; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; }
.lw-build { color: var(--ink); } .lw-my { color: #4F7BFF; }
.nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a, .nav .nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 8px 14px; font-size: .9375rem; font-weight: 600; color: rgba(240,243,255,.8); text-decoration: none; transition: all .2s; }
.nav a:hover, .nav .nav-drop-btn:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.05); color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop .icon { transition: transform .3s; }
.nav-drop.is-open .nav-drop-btn .icon { transform: rotate(180deg); }
.nav-menu { position: absolute; left: 50%; top: 100%; width: 560px; transform: translateX(-50%); padding-top: 12px; }
.nav-menu .glass { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; animation: fade-up .2s var(--ease); }
.nav-menu a { display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 12px; }
.nav-menu .ico-box { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.06); color: #A9C0FF; }
.nav-menu .all { grid-column: span 2; justify-content: center; color: #A9C0FF; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login { display: none; padding: 8px 16px; font-weight: 600; color: rgba(240,243,255,.8); text-decoration: none; border-radius: 999px; }
.header-actions .cta { display: none; }
@media (min-width: 640px) { .header-actions .login, .header-actions .cta { display: inline-flex; } }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; }
.menu-toggle .icon { width: 24px; height: 24px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: -1; overflow-y: auto; padding: 96px 16px 40px; background: rgba(7,11,36,.82); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); animation: fade-up .25s var(--ease); }
.mobile-menu nav { max-width: 28rem; margin: 0 auto; display: grid; gap: 8px; }
.mobile-menu a.glass { display: flex; min-height: 56px; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 1.125rem; font-weight: 700; border-radius: var(--r); }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: 96px; }
.site-footer .divider { height: 1px; background: var(--grad); opacity: .7; }
.footer-grid { display: grid; gap: 48px; padding: 64px 0; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 2fr; } }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-cols h2 { font-family: var(--font) !important; font-size: .875rem !important; text-transform: uppercase; letter-spacing: .08em !important; }
.footer-cols ul { list-style: none; padding: 0; margin: 16px 0 0; }
.footer-cols a { display: inline-flex; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: .9375rem; }
.footer-cols a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: .875rem; color: var(--muted); }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; align-items: center; } }
.linkish { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font-size: .875rem; }

/* Sticky mobile CTA (safe-area aware) */
.mobile-cta { position: fixed; inset: auto 0 0 0; z-index: 40; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; }
.mobile-cta.is-visible { transform: none; visibility: visible; }
.mobile-cta .glass { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 999px; padding: 8px 8px 8px 20px; }
@media (min-width: 768px) { .mobile-cta { display: none; } }
body.has-mobile-cta { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { body.has-mobile-cta { padding-bottom: 0; } }
.safe-bottom { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 128px 0 64px; }
@media (min-width: 640px) { .hero { padding: 160px 0 96px; } }
.hero h1 { margin-top: 24px !important; }
.hero .lead { margin-top: 24px !important; max-width: 36rem; }
.hero-ctas { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px !important; border-radius: 999px !important; font-size: .875rem; font-weight: 600; }
.trust .icon { color: #A9C0FF; }
.hero-visual { position: relative; }
.hero-visual .glow { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; transform: translate(-50%, -50%); border-radius: 999px; background: radial-gradient(circle, rgba(109,59,255,.55), transparent 65%); filter: blur(24px); }
.float-card { position: absolute; display: none; border-radius: 16px !important; padding: 12px 16px !important; }
@media (min-width: 640px) { .float-card { display: block; } }
.float-card.fc1 { left: -8px; top: 64px; } .float-card.fc2 { right: -8px; bottom: 80px; }
.float-card .big { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }

/* ---------- phone mockup ---------- */
.phone-wrap { position: relative; display: grid; place-items: center; margin: 0 auto; }
.phone { position: relative; width: 260px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2A3170, #0B1445 40%, #1B1150); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 40px 100px -30px rgba(30,91,255,.6), 0 30px 60px -30px rgba(192,38,211,.6); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s ease-out; }
@media (min-width: 640px) { .phone { width: 290px; } }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; color: #0f172a; font-family: var(--font); }
.phone-notch { position: absolute; left: 50%; top: 8px; z-index: 3; width: 86px; height: 22px; transform: translateX(-50%); border-radius: 99px; background: #000; }
.phone-stage { position: absolute; inset: 32px 0 56px; overflow: hidden; }
.pscreen { position: absolute; inset: 0; padding: 14px; display: grid; align-content: start; gap: 10px; opacity: 0; transform: translateX(40px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.pscreen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.pscreen.is-leaving { opacity: 0; transform: translateX(-40px); }
.pscreen button { text-align: left; color: inherit; }
.ps-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .ps-row.start { justify-content: flex-start; gap: 12px; }
.ps-muted { font-size: 10px; color: #64748b; } .ps-muted.light { color: rgba(255,255,255,.7); }
.ps-title { font-size: 15px; font-weight: 800; color: #0f172a; }
.ps-ico { width: 16px; height: 16px; color: #334155; }
.ps-hero { display: grid; gap: 2px; padding: 14px !important; border-radius: 16px; background: var(--grad) !important; color: #fff !important; }
.ps-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.ps-hero strong { font-size: 15px; line-height: 1.2; }
.ps-pill { justify-self: start; margin-top: 6px; border-radius: 99px; background: rgba(255,255,255,.25); padding: 3px 10px; font-size: 10px; font-weight: 700; }
.ps-search { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: #f1f5f9; font-size: 11px; color: #64748b; }
.ps-search .icon { width: 13px; height: 13px; }
.ps-h { font-size: 12px; font-weight: 800; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-card { display: grid; gap: 2px; padding: 8px !important; border-radius: 16px; background: #f8fafc !important; }
.ps-tile { display: block; height: 60px; border-radius: 14px; } .ps-tile.sq { width: 52px; height: 52px; flex-shrink: 0; } .ps-tile.sm { width: 44px; height: 44px; }
.ps-name { display: block; font-size: 10px; font-weight: 700; color: #1e293b; }
.ps-tabs { display: flex; gap: 6px; } .ps-tabs span { border-radius: 99px; padding: 3px 10px; font-size: 10px; font-weight: 700; background: #f1f5f9; color: #475569; } .ps-tabs .on { background: #0f172a; color: #fff; }
.ps-list { display: flex !important; align-items: center; gap: 10px; padding: 8px !important; border-radius: 16px; background: #f8fafc !important; font-size: 11px; }
.ps-list > span:last-child { display: grid; }
.ps-stars { color: #f59e0b; font-size: 9px; letter-spacing: 1px; } .ps-price { font-size: 11px; font-weight: 800; }
.ps-back { font-size: 11px; color: #64748b; }
.ps-product { height: 150px; border-radius: 22px; background: linear-gradient(135deg, #DCE5FF, #EADFFF 55%, #FBE0F6); }
.ps-big { font-size: 17px; } .ps-qty { border-radius: 99px; background: #f1f5f9; padding: 4px 10px; font-size: 11px; font-weight: 700; white-space: pre; }
.ps-cta { display: block; width: 100%; padding: 10px !important; border-radius: 14px; background: var(--grad) !important; color: #fff !important; text-align: center !important; font-size: 12px; font-weight: 800; }
.ps-cta.dark { background: #0f172a !important; }
.ps-sum { display: grid; gap: 4px; padding: 10px; border-radius: 14px; background: #f8fafc; font-size: 11px; color: #64748b; }
.ps-sum span { display: flex; justify-content: space-between; } .ps-sum .tot { color: #0f172a; font-weight: 800; } .ps-sum .ok { color: #059669; }
.ps-avatar { width: 44px; height: 44px; border-radius: 99px; background: var(--grad); }
.ps-points { display: grid; padding: 12px; border-radius: 16px; background: #0f172a; color: #fff; } .ps-points strong { font-size: 20px; }
.ps-bar { display: block; height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(255,255,255,.2); } .ps-bar i { display: block; height: 100%; width: 66%; border-radius: 99px; background: var(--grad); }
.ps-link { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 12px; background: #f8fafc; font-size: 11px; font-weight: 600; color: #334155; }
.phone-tabs { position: absolute; inset: auto 0 0 0; height: 56px; display: flex; align-items: center; justify-content: space-around; border-top: 1px solid #f1f5f9; background: rgba(255,255,255,.96); }
.phone-tabs button { display: grid; justify-items: center; gap: 2px; font-size: 9px; font-weight: 700; color: #94a3b8; }
.phone-tabs button.is-active { color: var(--violet); }
.phone-tabs .icon { width: 16px; height: 16px; }
.phone-hint { margin-top: 24px !important; text-align: center; font-size: .875rem; color: var(--muted); }
.rocket-trail { position: absolute; left: 8%; bottom: -40px; width: 50%; height: 70%; transform: rotate(-35deg); pointer-events: none; }
.rocket-trail span { position: absolute; bottom: 0; left: 50%; width: 8px; height: 8px; border-radius: 99px; filter: blur(1px); opacity: 0; animation: particle calc(3s + (var(--i) * .17s)) ease-out infinite; animation-delay: calc(var(--i) * .25s); background: #6D3BFF; }
.rocket-trail span:nth-child(3n) { background: #C026D3; } .rocket-trail span:nth-child(3n+1) { background: #1E5BFF; }
@keyframes particle { 0% { transform: translate(0, -20px) scale(.6); opacity: 0; } 30% { opacity: .9; } 100% { transform: translate(calc((var(--i) - 7) * 4px), -260px) scale(.4); opacity: 0; } }
.figma-phone { max-width: 380px; margin: 0 auto; width: 100%; }
.phone-frame-lg { aspect-ratio: 9 / 19; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2A3170, #0B1445 40%, #1B1150); box-shadow: 0 16px 60px -12px rgba(192,38,211,.6); }
.phone-frame-lg iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; }
.center-link { display: flex; justify-content: center; margin-top: 12px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- marketing blocks ---------- */
.step-card { height: 100%; }
.step-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(109,59,255,.65); transition: transform .5s var(--ease); }
.step-ico .icon { width: 28px; height: 28px; }
.step-card:hover .step-ico { transform: rotate(-6deg) scale(1.1); }
.step-n { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: rgba(255,255,255,.1); }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); margin-top: 24px !important; }
.vs { display: grid; gap: 12px; } @media (min-width: 640px) { .vs { grid-template-columns: 1fr 1fr; } }
.vs > div { border-radius: 24px; padding: 20px; }
.vs .bad { border: 1px solid rgba(240,69,90,.2); background: rgba(240,69,90,.05); }
.vs .good { border: 1px solid rgba(22,199,132,.2); background: rgba(22,199,132,.05); }
.vs ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: .875rem; }
.price-card { display: flex; flex-direction: column; height: 100%; }
.price-card .price { margin-top: 24px !important; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.fee-box { margin: 20px 0; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.05); }
.checklist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; font-size: .9rem; }
.checklist li { display: flex; gap: 10px; }
.push-bottom { margin-top: auto; padding-top: 24px; }
@media (min-width: 1024px) { .is-popular { transform: translateY(-12px); } }
.ind-card { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 20px !important; }
.ind-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.1); transition: all .3s; }
.ind-card:hover .ind-ico { background: var(--grad); }
.ind-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; font-weight: 700; color: #A9C0FF; }
.ind-card .sub { display: none; font-size: .875rem; color: var(--muted); }
@media (min-width: 640px) { .ind-card .sub { display: block; } }
.feature-ico { width: 24px; height: 24px; color: #A9C0FF; }
.testimonial { min-height: 260px; }
.testimonial blockquote { margin: 16px 0 0; font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; line-height: 1.3; }
.t-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.t-dot { display: grid; place-items: center; width: 24px; height: 44px; }
.t-dot span { display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.3); transition: all .3s; }
.t-dot[aria-current="true"] span { width: 24px; background: var(--grad); }
.circle-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px !important; padding: 0 !important; }
.final-cta { position: relative; overflow: hidden; border-radius: 32px; padding: 40px 24px; text-align: center; box-shadow: 0 16px 60px -12px rgba(192,38,211,.6); }
@media (min-width: 640px) { .final-cta { padding: 64px; } }
.final-cta h2 { color: #fff; font-size: var(--fs-3xl); font-weight: 800; max-width: 40rem; margin: 0 auto; }
.final-cta p { color: rgba(255,255,255,.92); font-size: var(--fs-lg); max-width: 36rem; margin: 16px auto 0; }
.final-cta .bg-grid { opacity: .4; }
.is-not { display: grid; overflow: hidden; padding: 0 !important; } @media (min-width: 768px) { .is-not { grid-template-columns: 1fr 1fr; } }
.is-not > div { padding: 28px; } @media (min-width: 640px) { .is-not > div { padding: 40px; } }
.is-not .no { border-top: 1px solid var(--line); background: rgba(255,255,255,.03); } @media (min-width: 768px) { .is-not .no { border-top: 0; border-left: 1px solid var(--line); } }
.is-not ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.is-not li { display: flex; gap: 12px; }

/* scroll-linked timeline */
.timeline { position: relative; max-width: 48rem; margin: 0 auto; }
.timeline .rail, .timeline .fill { position: absolute; left: 19px; top: 0; width: 2px; } @media (min-width: 640px) { .timeline .rail, .timeline .fill { left: 23px; } }
.timeline .rail { bottom: 0; background: rgba(255,255,255,.1); }
.timeline .fill { height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: var(--grad); box-shadow: 0 0 16px rgba(109,59,255,.9); }
.tl-stage { margin: 0 0 16px 56px; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #A9C0FF; } @media (min-width: 640px) { .tl-stage { margin-left: 64px; } }
.tl-steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.tl-step { position: relative; display: flex; gap: 16px; } @media (min-width: 640px) { .tl-step { gap: 24px; } }
.tl-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: .875rem; transform: scale(.85); transition: transform .4s var(--ease); }
@media (min-width: 640px) { .tl-dot { width: 48px; height: 48px; } }
.tl-dot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--grad); box-shadow: 0 10px 40px -10px rgba(109,59,255,.65); opacity: 0; transition: opacity .4s; }
.tl-dot span { position: relative; }
.tl-step .glass { flex: 1; opacity: .45; transition: opacity .4s; padding: 20px; }
.tl-step.is-lit .tl-dot { transform: none; } .tl-step.is-lit .tl-dot::before { opacity: 1; } .tl-step.is-lit .glass { opacity: 1; }

/* compare table */
.compare { width: 100%; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
.compare thead th { text-align: center; } .compare thead th:first-child { text-align: left; color: var(--muted); font-size: .875rem; }
.compare td { text-align: center; font-size: .875rem; }
.compare tbody th { font-weight: 600; font-size: .9375rem; }
.compare-cards { display: grid; gap: 16px; }
@media (max-width: 639px) { .compare-table { display: none; } }
@media (min-width: 640px) { .compare-cards { display: none; } }
.compare-cards dl { margin: 16px 0 0; }
.compare-cards dl > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .875rem; }
.compare-cards dt { color: var(--muted); }
.yes { color: var(--success); } .no-ico { color: var(--muted); }

/* gallery */
.gallery-grid { display: grid; gap: 20px; margin-top: 32px; } @media (min-width: 640px) { .gallery-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.g-item { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.g-item.is-hiding { opacity: 0; transform: scale(.94); }
.g-card { display: block; width: 100%; text-align: left; padding: 20px !important; transition: background .3s; }
.g-card:hover { background: rgba(255,255,255,.1); }
.g-stage { position: relative; display: grid; place-items: start center; height: 280px; overflow: hidden; border-radius: 24px; }
.g-mini { margin-top: 16px; width: 170px; aspect-ratio: 9/19; border-radius: 28px; padding: 7px; background: linear-gradient(145deg, #2A3170, #0B1445 40%, #1B1150); transition: transform .7s var(--ease); }
.g-card:hover .g-mini { transform: translateY(-16px) scale(1.04); }
.g-mini-screen { height: 100%; border-radius: 22px; background: #fff; padding: 22px 10px 10px; }
.g-mini-hero { height: 70px; border-radius: 14px; }
.g-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.g-mini-grid span { display: grid; gap: 4px; border-radius: 10px; background: #f1f5f9; padding: 6px; font-size: 8px; font-weight: 700; color: #334155; }
.g-mini-grid i { display: block; height: 30px; border-radius: 8px; }
.g-tag { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); border-radius: 99px; background: rgba(0,0,0,.4); padding: 4px 12px; font-size: .75rem; font-weight: 700; color: #fff; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.g-card:hover .g-tag, .g-card:focus-visible .g-tag { opacity: 1; }
.modal { position: fixed; inset: 0; z-index: 70; overflow-y: auto; padding: 16px; background: rgba(0,0,0,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade-up .25s var(--ease); }
.modal-card { position: relative; max-width: 56rem; margin: 32px auto; display: grid; gap: 32px; }
@media (min-width: 768px) { .modal-card { grid-template-columns: auto 1fr; align-items: center; } }
.modal-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; }
.modal-close:hover { background: rgba(255,255,255,.1); }

/* prose (blog, legal) */
.prose { font-size: var(--fs-base); line-height: 1.75; }
.prose h2 { font-size: var(--fs-xl); margin: 40px 0 12px !important; scroll-margin-top: 112px; }
.prose h3 { font-size: var(--fs-lg); margin: 24px 0 8px !important; }
.prose p, .prose ul, .prose ol { margin: 16px 0 !important; color: var(--muted); }
.prose ul, .prose ol { padding-left: 24px; }
.prose a { color: #8FA8FF; text-decoration: underline; text-underline-offset: 4px; }
.prose strong { color: var(--ink); }
.prose img { border-radius: 16px; }
.toc a { color: var(--muted); text-decoration: none; display: inline-flex; padding: 4px 0; } .toc a:hover { color: var(--ink); }
.toc ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; font-size: .875rem; }

/* empty state */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 24px !important; }
.empty svg { margin-bottom: 16px; }
.empty-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }

/* consent */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 36rem; margin: 0 auto; padding: 20px !important; animation: fade-up .35s var(--ease); }
@media (min-width: 640px) { .consent { bottom: 24px; } }
.consent-title { font-family: var(--font-display); font-weight: 700; }
.consent .row-wrap { margin-top: 16px; }
.consent-custom { display: grid; gap: 4px; margin-top: 12px; font-size: .9rem; }
.consent a { text-decoration: underline; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .float, .animated-gradient, .pulse-glow, .shimmer, .rocket-trail span, .word { animation: none !important; }
  .word { opacity: 1; transform: none; filter: none; }
  .js .reveal { transform: none; transition: opacity .4s; }
  .phone { transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* WordPress admin bar offset for the fixed header */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.admin-bar .funnel-header, .admin-bar .app-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .funnel-header, .admin-bar .app-header { top: 0; } }
[tabindex="-1"]:focus { outline: none; }

/* =====================================================================
   v2.1 — responsive & mobile polish
   ===================================================================== */
/* Long words / emails never push the page sideways */
:where(.bma) :where(h1, h2, h3, .h-card, .card-title, dd, td, .name, .msg .body, .history .body) { overflow-wrap: anywhere; }
:where(.bma) :where(h2, h3) { text-wrap: balance; }
:where(.bma) :where(p, li) { text-wrap: pretty; }

/* Footer: keep the container's side padding (was overridden to 0) */
.footer-grid { padding: 64px 16px; }
@media (min-width: 640px) { .footer-grid { padding: 64px 24px; } }
@media (min-width: 1024px) { .footer-grid { padding: 64px 32px; } }
.footer-cols a { min-height: 32px; align-items: center; }
@media (pointer: coarse) { .footer-cols a { min-height: 44px; } .footer-cols ul { margin-top: 8px; } }
.site-footer .logo { margin-bottom: 4px; }

/* Scrolled header: solid enough for the wordmark to stay readable over bright blobs */
.site-header.is-scrolled .bar { background: rgba(9, 13, 42, .88) !important; }
.site-header .logo .text-gradient { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; }
.site-header .lw-my { color: #9DB6FF; }
.mobile-menu { background: rgba(7, 11, 36, .94); }
.mobile-menu a.glass { background: rgba(255,255,255,.06); }

/* Hero backdrops fade into the page instead of ending on a hard line */
.hero > .backdrop, .page-hero > .backdrop { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* Sticky mobile CTA: opaque so it stays readable over gradient sections */
.mobile-cta .glass { background: rgba(12, 17, 52, .94) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.mobile-cta .small { min-width: 0; line-height: 1.25; }

/* Horizontal chip rails: fade the edge so people see there is more to swipe */
@media (max-width: 767px) {
  .chip-row { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scroll-snap-type: x proximity; }
  .chip-row > * { scroll-snap-align: start; }
}

/* Text links and small controls: 44px tap area on touch screens */
@media (pointer: coarse) {
  .text-link, .linkish, .center-link, .nav-menu a, .segmented button, .header-actions .login { min-height: 44px; display: inline-flex; align-items: center; }
  .socials a { width: 44px; height: 44px; }
}

/* Industry cards fit on 320px phones */
.ind-card .h-card { font-size: clamp(.95rem, .85rem + .5vw, 1.125rem); line-height: 1.25; }
@media (max-width: 379px) {
  .grid-ind { gap: 10px; }
  .ind-card { padding: 16px !important; gap: 12px; }
  .ind-ico { width: 40px; height: 40px; border-radius: 12px; }
}

/* Small phones: slightly tighter cards and type */
@media (max-width: 379px) {
  .glass { padding: 20px; }
  .glass-sm { padding: 14px 16px; }
  .h-hero { font-size: 2.25rem; }
  .section-title { font-size: 1.9rem; }
  .btn-lg { padding: 0 20px; }
  .price-card .price { font-size: 2rem; }
  .eyebrow { letter-spacing: .08em; padding: 4px 10px; }
}

/* Stat trio (About page) */
.stat-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-trio .glass { padding: 20px 8px; }
.stat-trio .num { font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; font-size: clamp(1.75rem, 1.2rem + 3vw, 3.5rem); line-height: 1; white-space: nowrap; }
.checklist li > span { min-width: 0; }

/* Testimonial: keep the card height stable but not huge on phones */
@media (max-width: 639px) { .testimonial { min-height: 0; } .testimonial blockquote { font-size: 1.25rem; } }

/* Accordion buttons: comfortable touch rows */
.acc-btn { min-height: 56px; }

/* ---------- industry hero prototypes ---------- */
.ind-phone .ps-hero, .ind-phone .ps-cta:not(.dark) { background: linear-gradient(135deg, var(--a1), var(--a2)) !important; }
.ind-phone .ps-avatar, .ind-phone .ps-bar i { background: linear-gradient(135deg, var(--a1), var(--a2)); }
.ind-phone .phone-tabs button.is-active { color: var(--a1); }
.ind-phone .ps-tabs .on { background: var(--a1); }
.ps-emoji { display: grid !important; place-items: center; font-size: 26px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.ps-tile.sq.ps-emoji { font-size: 24px; } .ps-tile.sm.ps-emoji { font-size: 20px; }
.ps-product.ps-emoji.big { font-size: 72px; height: 132px; }
.ps-list .grow { display: grid; min-width: 0; text-align: left; }
.ps-list .grow .ps-name, .ps-list .grow .ps-muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-list .ps-price { white-space: nowrap; }
.ps-card .ps-muted, .ps-card .ps-name { text-align: left; }
.ps-hero strong { font-size: 14px; }
.ind-hero .glow { background: radial-gradient(circle, color-mix(in srgb, var(--a1) 60%, transparent), transparent 65%); }
.ind-hero .rocket-trail span { background: var(--a1); } .ind-hero .rocket-trail span:nth-child(3n) { background: var(--a2); }
.ind-hero .eyebrow .icon { color: var(--a1); }
.ind-hero .float-card .dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 99px; background: var(--a1); box-shadow: 0 0 10px var(--a1); }
.ind-hero .h-hero { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.25rem); }
.ind-chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ind-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px !important; border-radius: 999px !important; font-size: .875rem; font-weight: 600; }
.ind-chips .icon { color: var(--a1); }
/* "Inside the app" screen strip */
.screen-strip { list-style: none; margin: 48px 0 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.screen-strip::-webkit-scrollbar { display: none; }
@media (max-width: 767px) { .screen-strip { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; } }
@media (min-width: 768px) { .screen-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 232px); justify-content: center; gap: 40px; overflow: visible; } }
.screen-strip li { scroll-snap-align: center; }
.mini-phone { position: relative; width: 232px; aspect-ratio: 9 / 19; border-radius: 40px; padding: 8px; background: linear-gradient(145deg, #2A3170, #0B1445 40%, #1B1150); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 30px 70px -30px color-mix(in srgb, var(--a1) 70%, transparent); }
.mini-phone .phone-screen { border-radius: 32px; }
.mini-phone .phone-stage { bottom: 0; }
.mini-phone .pscreen { pointer-events: none; }
.strip-cap { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px !important; font-weight: 700; }
.strip-cap .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; font-size: .8125rem; }
.ps-tabs { flex-wrap: nowrap; overflow: hidden; } .ps-tabs span { white-space: nowrap; flex-shrink: 0; }
.ind-hero .float-card { max-width: 210px; background: rgba(12, 17, 52, .92) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ind-hero .float-card .big { font-size: 1rem; line-height: 1.3; }
.ind-hero .float-card.fc1 { top: 24px; } .ind-hero .float-card.fc2 { bottom: 110px; }

/* =====================================================================
   v2.3 — header 2.0 + home industry showcase
   ===================================================================== */
/* ---------- header ---------- */
.site-header { transition: transform .45s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-100% - 40px)); }
.site-header .bar { position: relative; overflow: visible; transition: height .4s var(--ease), background .4s, border-color .4s, box-shadow .4s, padding .4s; }
.site-header.is-scrolled .bar { height: 58px; }
.site-header .logo img { transition: width .4s var(--ease), height .4s var(--ease); }
.site-header.is-scrolled .logo img { width: 30px; height: 30px; }
.scroll-progress { position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; pointer-events: none; }
.site-header.is-scrolled .scroll-progress { opacity: 1; }
.scroll-progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
/* nav links with a gradient underline for the active / hovered item */
.nav a, .nav .nav-drop-btn { position: relative; }
.nav a::after, .nav .nav-drop-btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav .nav-drop-btn[aria-current="page"]::after, .nav-drop.is-open .nav-drop-btn::after { transform: scaleX(1); }
.nav a[aria-current="page"], .nav .nav-drop-btn[aria-current="page"] { color: var(--ink); }
.header-actions .login { align-items: center; gap: 6px; border: 1px solid transparent; transition: all .2s; }
.header-actions .login .icon { width: 16px; height: 16px; opacity: .8; }
.header-actions .login:hover { color: var(--ink); border-color: var(--glass-border); background: rgba(255,255,255,.05); }
.header-actions .cta-mini { display: inline-flex; height: 38px; padding: 0 14px; font-size: .8125rem; }
@media (min-width: 640px) { .header-actions .cta-mini { display: none; } }
@media (max-width: 359px) { .header-actions .cta-mini { display: none; } }
.site-header.menu-open .cta-mini { visibility: hidden; }
/* animated burger */
.menu-toggle { position: relative; border: 1px solid var(--glass-border); background: rgba(255,255,255,.06); }
.burger { position: relative; display: block; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 5px; } .burger i:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.site-header.menu-open .bar { background: rgba(9, 13, 42, .96) !important; border-color: var(--glass-border); }
/* mega menu */
.nav-menu { width: 680px; }
.nav-menu .mega { display: block !important; padding: 12px !important; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-grid a { display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 10px 12px; text-decoration: none; transition: background .2s; }
.mega-grid a:hover, .mega-grid a:focus-visible { background: rgba(255,255,255,.07); }
.mega-grid .ico-box { flex-shrink: 0; color: #fff !important; background: linear-gradient(135deg, var(--a1), var(--a2)) !important; box-shadow: 0 8px 24px -10px var(--a1); }
.mega-txt { display: grid; min-width: 0; }
.mega-txt .xs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); }
.mega-foot .all { display: inline-flex; align-items: center; gap: 6px; color: #A9C0FF; text-decoration: none; }
/* mobile menu sheet */
.mobile-menu { padding: 92px 16px calc(32px + env(safe-area-inset-bottom)); background: rgba(6, 9, 30, .97); }
.admin-bar .mobile-menu { padding-top: 138px; }
.mm { max-width: 30rem; margin: 0 auto; display: block !important; }
.mm ul { list-style: none; margin: 0; padding: 0; }
.mm-links { display: grid; gap: 2px; }
.mm-links li { opacity: 0; transform: translateY(10px); animation: fade-up .4s var(--ease) forwards; animation-delay: calc(var(--i) * 40ms + 60ms); }
.mm-links a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 14px; border-radius: 16px; font-size: 1.0625rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.mm-links a .icon { width: 20px; height: 20px; color: #A9C0FF; }
.mm-links a .mm-go { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }
.mm-links a:hover, .mm-links a[aria-current="page"] { background: rgba(255,255,255,.07); }
.mm-h { margin: 22px 14px 10px !important; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mm-ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mm-ind a { display: grid; justify-items: center; gap: 8px; padding: 14px 6px; min-height: 92px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); text-align: center; font-size: .75rem; font-weight: 700; line-height: 1.2; text-decoration: none; color: var(--ink); }
.mm-ind .ico-box { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 8px 22px -10px var(--a1); }
.mm-cta { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- home: industry showcase ---------- */
.showcase-sec { overflow: hidden; }
.showcase { display: grid; gap: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sc-row { overflow: hidden; }
.sc-track { display: flex; gap: 24px; width: max-content; padding: 8px 0 12px; animation: sc-marquee 70s linear infinite; }
.sc-row.is-reverse .sc-track { animation-direction: reverse; animation-duration: 80s; }
.showcase:hover .sc-track, .showcase:focus-within .sc-track, .showcase.is-held .sc-track, .showcase.is-off .sc-track, .showcase.is-off .pscreen { animation-play-state: paused; }
@keyframes sc-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.sc-item { display: grid; justify-items: center; gap: 14px; text-decoration: none; color: inherit; flex: none; }
.sc-phone { width: 196px; border-radius: 36px; padding: 7px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sc-phone .phone-screen { border-radius: 30px; }
.sc-phone .phone-stage { bottom: 50px; }
.sc-phone .phone-tabs { height: 50px; pointer-events: none; }
.sc-phone .phone-tabs > span { display: grid; justify-items: center; gap: 2px; font-size: 8px; font-weight: 700; color: #94a3b8; }
.sc-phone .phone-tabs > span:first-child { color: var(--a1); }
.sc-phone .phone-tabs .icon { width: 15px; height: 15px; }
.sc-phone .pscreen { pointer-events: none; transform: none; opacity: 0; animation: sc-cycle 9s var(--ease) infinite; animation-delay: calc(var(--k) * 3s - var(--d, 0s)); }
@keyframes sc-cycle { 0% { opacity: 0; transform: translateX(28px); } 5% { opacity: 1; transform: none; } 31% { opacity: 1; transform: none; } 36% { opacity: 0; transform: translateX(-28px); } 100% { opacity: 0; transform: translateX(-28px); } }
.sc-item:hover .sc-phone, .sc-item:focus-visible .sc-phone { transform: translateY(-10px) scale(1.03); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 40px 80px -30px var(--a1); }
.sc-label { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--glass-border); }
.sc-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 99px; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); }
.sc-ico .icon { width: 16px; height: 16px; }
.sc-label strong { display: block; font-size: .875rem; line-height: 1.2; white-space: nowrap; }
.sc-label small { display: block; font-size: .6875rem; color: var(--muted); white-space: nowrap; }
.sc-go { width: 16px; height: 16px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.sc-item:hover .sc-go { transform: translateX(3px); color: var(--ink); }
@media (max-width: 639px) {
  .showcase { gap: 20px; }
  .sc-track { gap: 16px; animation-duration: 55s; }
  .sc-row.is-reverse .sc-track { animation-duration: 62s; }
  .sc-phone { zoom: .8; }
  .sc-label { padding: 6px 10px 6px 6px; } .sc-ico { width: 28px; height: 28px; }
}
.ind-links { list-style: none; margin: 32px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 60rem; }
.ind-links .icon { color: #A9C0FF; }
@media (prefers-reduced-motion: reduce) {
  .site-header.is-hidden { transform: none; }
  .showcase { -webkit-mask-image: none; mask-image: none; }
  .sc-row { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; }
  .sc-track { animation: none; }
  .sc-track > [aria-hidden="true"] { display: none; }
  .sc-item { scroll-snap-align: start; }
  .sc-phone .pscreen { animation: none; opacity: 0; }
  .sc-phone .pscreen:first-child { opacity: 1; }
  .mm-links li { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 639px) { .header-actions .login, .header-actions .cta { display: none !important; } .site-header .bar { padding: 0 8px 0 14px; } }
.nav-menu .mega { background: rgba(12, 17, 52, .97) !important; }
