:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.56);
  --faint: rgba(245, 245, 247, 0.32);
  --red: #ff0031;
  --red-deep: #c4111f;
  --red-glow: rgba(255, 0, 49, 0.45);
  --glass-fill: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  --glass-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 28px;
  --sans: 'Geist', -apple-system, 'SF Pro Display', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: 20px; letter-spacing: -0.015em; }
p { margin: 0; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.center { display: grid; justify-items: center; gap: 14px; margin-top: 40px; }

/* ---------- Ambient backdrop (gives the glass something to refract) ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 26s ease-in-out infinite alternate; }
.orb-a { width: 620px; height: 620px; top: -220px; left: 50%; margin-left: -310px; background: radial-gradient(circle, var(--red) 0%, transparent 65%); opacity: 0.42; }
.orb-b { width: 520px; height: 520px; top: 55%; left: -200px; background: radial-gradient(circle, var(--red-deep) 0%, transparent 65%); animation-duration: 32s; opacity: 0.35; }
.orb-c { width: 460px; height: 460px; top: 120%; right: -160px; background: radial-gradient(circle, #ff5a2d 0%, transparent 65%); animation-duration: 38s; opacity: 0.22; }
.grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 80px, 0) scale(1.15); }
}

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
/* Specular rim: brighter top-left edge, fading out, like visionOS panels. */
.glass::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.04) 35%, rgba(255, 255, 255, 0) 60%, rgba(255, 0, 49, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glass-strong { background: var(--glass-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-red {
  color: #fff;
  background: linear-gradient(180deg, #ff3359 0%, var(--red) 45%, var(--red-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 40px -8px var(--red-glow), 0 0 0 1px rgba(255, 0, 49, 0.6);
}
.btn-red:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 50px -6px var(--red-glow), 0 0 0 1px rgba(255, 80, 90, 0.8); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.link-muted { color: var(--muted); transition: color 0.2s; }
.link-muted:hover { color: var(--text); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 14px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(1080px, calc(100% - 32px)); margin: 14px auto 0;
  padding: 10px 10px 10px 18px; border-radius: 999px;
}
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 44px; width: auto; margin: -8px 0; }
.logo-sm img { height: 40px; margin: 0; }
.logo-welcome img { height: 90px; margin: 0; }
.x { color: var(--red); text-shadow: 0 0 24px var(--red-glow); }

/* ---------- Hero ---------- */
main { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.hero { display: grid; justify-items: center; text-align: center; padding: 88px 0 40px; gap: 22px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-logo { position: relative; margin: 8px 0 4px; line-height: 0; }
.hero-logo::before { content: ''; position: absolute; inset: 10% 25%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 0, 49, 0.35), transparent); filter: blur(30px); pointer-events: none; }
/* Hero logo split into three clipped layers of the same image so LOCAL, X and NETWORK animate apart. */
.hl { position: relative; display: block; width: min(820px, 92vw); aspect-ratio: 1200 / 380; }
.hl-part { position: absolute; inset: 0; }
.hl-part img { display: block; width: 100%; height: 100%; }
.hl-local { clip-path: inset(34% 70% 35% 0); }
.hl-net { clip-path: inset(34% 0 35% 51.5%); }
.hl-x { clip-path: polygon(0 0, 100% 0, 100% 34%, 51.5% 34%, 51.5% 65%, 100% 65%, 100% 100%, 0 100%, 0 65%, 30% 65%, 30% 34%, 0 34%); transform-origin: 40.4% 51%; }
.hl-x img { transform-origin: 40.4% 51%; animation: wm-pulse 3.2s ease-in-out 2s infinite; }
/* Light sweeping across the letters, masked to the logo's own shape. */
.hl-sheen { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 140, 160, 0.9) 50%, transparent 60%); background-size: 250% 100%; -webkit-mask: url(/assets/brand/localx-logo-1200.webp) 0 0 / 100% 100% no-repeat; mask: url(/assets/brand/localx-logo-1200.webp) 0 0 / 100% 100% no-repeat; animation: wm-sheen 5s ease-in-out 1.6s infinite; background-position: 100% 0; }
.hl-net .hl-sheen { animation-delay: 1.95s; }
@media (prefers-reduced-motion: reduce) { .hl-x img, .hl-sheen { animation: none; opacity: 0; } .hl-x img { opacity: 1; } }
.hero-sub { font-size: clamp(19px, 2.4vw, 24px); color: var(--text); font-weight: 500; letter-spacing: -0.02em; }
.hero-lede { max-width: 560px; color: var(--muted); font-size: 18px; }
.hero-lede em { font-style: normal; color: var(--red); }

.price-card { width: min(520px, 100%); padding: 32px; margin-top: 18px; text-align: left; display: grid; gap: 16px; }
.price-top { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.price-main { display: flex; align-items: baseline; gap: 6px; }
.price-amount { font-size: clamp(56px, 9vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price-period { color: var(--muted); font-size: 18px; }
.price-note { color: var(--faint); font-size: 13px; }
.price-card .btn { width: 100%; margin-top: 6px; }
.price-error { color: #ff8a93; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; scroll-margin-top: 70px; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 36px; }
.section-head .muted { font-size: 18px; }

.call { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 44px; }
.call-copy { display: grid; gap: 16px; }
.call-copy > p:not(.eyebrow):not(.mono) { color: var(--muted); }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.cd { display: grid; justify-items: center; padding: 18px 6px; border-radius: 20px; }
.cd span { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cd small { color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { padding: 30px; display: grid; gap: 12px; align-content: start; }
.card p { color: var(--muted); }
.card-num { color: var(--red); font-size: 13px; }


.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border-radius: 22px; padding: 0 26px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 500; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 24px; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

.final-card { padding: 64px 32px; display: grid; justify-items: center; text-align: center; gap: 24px; }
.final-card h2 { font-size: clamp(28px, 4.2vw, 46px); }

.footer { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 56px; display: grid; justify-items: center; gap: 10px; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ---------- GoHighLevel ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; font-size: 13px; color: var(--text); transition: border-color 0.2s; }
.pill:hover { border-color: rgba(255, 0, 49, 0.5); }
.pill-plus { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 600; box-shadow: 0 0 14px var(--red-glow); }
.ghl { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; padding: 48px; overflow: hidden; }
.ghl-copy { display: grid; gap: 18px; }
.ghl-points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.ghl-points li { display: flex; gap: 12px; align-items: center; }
.ghl-points li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 12px var(--red-glow); }
.ghl-shots { position: relative; min-height: 380px; }
.ghl-shots img { position: absolute; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); }
.shot-desktop { width: 100%; right: -6%; top: 0; border-radius: 18px; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.shot-phone { width: 46%; left: -4%; bottom: -8%; }
.stages { margin-top: 16px; display: grid; gap: 14px; }
.tabs { display: flex; gap: 4px; padding: 6px; border-radius: 999px; justify-self: center; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs button { flex: none; border: 0; background: transparent; color: var(--muted); font: 500 15px var(--sans); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected='true'] { color: #fff; background: linear-gradient(180deg, #ff3359, var(--red-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 24px -6px var(--red-glow); }
.panel { padding: 36px; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 36px; align-items: start; }
.panel-head { display: grid; gap: 10px; align-content: start; }
.panel-head h3 { font-size: 26px; }
.stage-video { margin-top: 14px; border-radius: 18px; overflow: hidden; background: #f4f5f7; aspect-ratio: 800 / 532; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 50px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--red-glow); }
.stage-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.features li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.features li::before { content: '→'; color: var(--red); font-family: var(--mono); font-size: 13px; }
.card-wide { grid-column: 1 / -1; border-color: rgba(255, 0, 49, 0.4); }
.tiny { font-size: 11px; color: var(--faint); }

/* ---------- GHL benefits bento ---------- */
.bento-head { margin-top: 72px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.b-card { grid-column: span 2; padding: 26px; display: flex; gap: 16px; align-items: flex-start; border-radius: 24px; }
.b-card h3 { font-size: 18px; margin-bottom: 6px; }
.b-card p { color: var(--muted); font-size: 15px; }
.b-featured { flex-direction: column; padding: 32px; min-height: 300px; background: linear-gradient(160deg, rgba(255, 0, 49, 0.14), rgba(255, 255, 255, 0.03) 45%); border-color: rgba(255, 0, 49, 0.3); }
.b-featured h3 { font-size: 23px; }
.b-featured p { font-size: 16px; }
.b-tags { margin-top: auto; font-size: 11px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint) !important; }
.b-badge { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(180deg, #ff3359, var(--red-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -8px var(--red-glow); }
.b-badge-sm { width: 42px; height: 42px; border-radius: 13px; color: var(--red); background: rgba(255, 0, 49, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 0, 49, 0.3); }
.b-icon { width: 24px; height: 24px; }
.b-badge-sm .b-icon { width: 21px; height: 21px; }
.stages-label { margin: 56px 0 4px; justify-self: center; display: flex; justify-content: center; }
.who { text-align: center; padding: 40px 0; }
.who .eyebrow { justify-content: center; margin-bottom: 14px; }
.who-text { max-width: 760px; margin: 0 auto; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 40px; overflow: hidden; }
.founder-stage { position: relative; }
.founder-media { position: relative; z-index: 2; border-radius: 24px; overflow: hidden; aspect-ratio: 1000 / 1241; background: #000; box-shadow: 0 0 0 1px rgba(255, 0, 49, 0.35), 0 30px 80px -30px var(--red-glow); }
.founder-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder-ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.5)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
/* Holographic scan line sweeping down the portrait. */
.founder-scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 0, 49, 0.07) 75%, rgba(255, 90, 110, 0.35) 98%, transparent); mix-blend-mode: screen; animation: scan 5s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(460%); } }
.founder-copy { display: grid; gap: 20px; justify-items: start; }
.founder-copy h2 { font-size: clamp(30px, 4.2vw, 48px); }
.founder-copy .muted { font-size: 18px; max-width: 520px; }
/* "Local X Network" wordmark: brand X between the words, with a slow pulse and a sheen on the text. */
.wm-line { display: inline-flex; align-items: center; gap: 0.24em; white-space: nowrap; }
.wordmark { display: inline-flex; align-items: center; gap: 0.04em; }
.wm-word { background: linear-gradient(100deg, #fff 0%, #fff 40%, #ff8a9c 50%, #fff 60%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wm-sheen 5s ease-in-out infinite; }
.wm-net { animation-delay: 0.35s; }
.wm-x { position: relative; display: inline-grid; place-items: center; width: 1.75em; height: 1.45em; margin: 0 -0.12em; }
.wm-x::before { content: ''; position: absolute; inset: -35%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 0, 49, 0.5), transparent); animation: wm-glow 3.2s ease-in-out infinite; }
.wm-x img { width: 100%; height: 100%; object-fit: contain; animation: wm-pulse 3.2s ease-in-out infinite; }
@keyframes wm-sheen { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
@keyframes wm-glow { 0%, 100% { opacity: 0.45; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes wm-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .wm-word, .wm-x::before, .wm-x img { animation: none; } }
@media (prefers-reduced-motion: reduce) { .founder-scan { animation: none; } }

/* ---------- Onboarding (welcome page) ---------- */
.onboard { padding-top: 48px; gap: 18px; }
.steps { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; gap: 10px; font-size: 12px; color: var(--muted); }
.step { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--glass-border); }
.step span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.step.is-active { color: #fff; border-color: rgba(255, 0, 49, 0.5); }
.step.is-active span { background: var(--red); box-shadow: 0 0 12px var(--red-glow); }
.onboard-card { width: min(720px, 100%); padding: 32px; text-align: left; display: grid; gap: 22px; }
.onboard-card h3 { font-size: 22px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 500; }
.field small { color: var(--faint); font-weight: 400; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select { width: 100%; font: 400 16px var(--sans); color: var(--text); background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 13px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus { border-color: rgba(255, 0, 49, 0.7); box-shadow: 0 0 0 4px rgba(255, 0, 49, 0.15); }
.field input[readonly] { color: var(--muted); }
.field input:user-invalid { border-color: #ff6b7f; }
.onboard-card .btn { width: 100%; }
.form-error { color: #ff8a93; font-size: 14px; }
.access { display: grid; gap: 12px; }
.access-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; transition: border-color 0.2s; }
.access-item:hover { border-color: rgba(255, 0, 49, 0.5); }
.access-item strong { display: block; font-size: 16px; }
.access-item small { color: var(--muted); font-size: 14px; }
.access-item.is-pending { opacity: 0.6; cursor: default; }
.access-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(180deg, #ff3359, var(--red-deep)); box-shadow: 0 8px 24px -8px var(--red-glow); }
.access-icon svg { width: 22px; height: 22px; }
.app-item { align-items: flex-start; }
.app-copy { display: grid; gap: 4px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
/* Desktop: the access step reads as one centered column, matching the header above it. */
@media (min-width: 721px) {
  .onboard-done { text-align: center; }
  .onboard-done .access-item { flex-direction: column; align-items: center; gap: 12px; padding: 26px 28px; }
  .onboard-done .store-buttons { justify-content: center; }
  .onboard-done .store-btn { text-align: left; }
}
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); transition: border-color 0.2s, transform 0.2s; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #04210f; }
.btn-whatsapp small { color: rgba(4, 33, 15, 0.75) !important; }
.btn-whatsapp:hover { border-color: #fff; }
.store-btn.is-pending { opacity: 0.6; pointer-events: none; }
.store-btn:hover { border-color: #fff; transform: translateY(-1px); }
.store-btn svg { width: 22px; height: 22px; }
.store-web { background: linear-gradient(180deg, #ff3359, var(--red-deep)); border-color: rgba(255, 0, 49, 0.7); }
.store-btn span { display: grid; font-size: 16px; font-weight: 600; line-height: 1.1; }
.store-btn small { font-size: 10px !important; font-weight: 400; color: rgba(255, 255, 255, 0.75) !important; }

/* ---------- Offer ---------- */
.offer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 48px; }
.offer-copy { display: grid; gap: 20px; }
.offer-cta { display: grid; justify-items: center; gap: 14px; text-align: center; }
.offer-cta .btn { width: 100%; }
.js-price, .js-price-inline, .js-batch-label { transition: opacity 0.4s; }
body:not(.is-priced) :is(.js-price, .js-price-inline) { opacity: 0.35; }

/* ---------- Free class signup (aula page) ---------- */
/* Desktop: copy on the left, signup card on the right. Phone: headline, card, then the rest. */
.aula { min-height: 100svh; padding: 40px 0 56px; display: grid; gap: 36px; align-content: center; }
.aula-logo { display: block; height: 52px; width: auto; justify-self: start; }
.aula-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: 'intro card' 'points card' 'founder card'; gap: 28px 56px; align-items: start; }
.aula-intro { grid-area: intro; display: grid; gap: 18px; justify-items: start; }
.aula-intro h1 { font-size: clamp(36px, 5vw, 58px); }
.aula-sub { color: var(--muted); font-size: 18px; max-width: 560px; }
.aula-points { grid-area: points; display: grid; gap: 12px; }
.aula-side { grid-area: card; display: grid; gap: 16px; align-self: center; }
.aula-card { padding: 32px; display: grid; gap: 22px; }
.aula-when { display: grid; gap: 4px; font-size: 15px; color: var(--text); padding: 14px 16px; border-radius: 16px; background: rgba(255, 0, 49, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 0, 49, 0.3); }
.aula-when-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--red); }
.aula-form { display: grid; gap: 14px; }
.aula-form .btn { width: 100%; margin-top: 6px; }
.phone-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.phone-row select { width: auto; padding-right: 10px; }
.aula-done { display: grid; gap: 14px; justify-items: center; text-align: center; }
.aula-done h2 { font-size: 30px; outline: none; }
.aula-check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #ff3359, var(--red-deep)); box-shadow: 0 10px 30px -8px var(--red-glow); }
.aula-check svg { width: 26px; height: 26px; }
.aula-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.aula-actions .btn { padding: 0 22px; min-height: 48px; }
/* Community card under the confirmation: quieter than it (plain glass, outline button) so the
   class link stays the main action. Shown only after signup, price only if /api/status answers. */
.aula-upsell { padding: 24px 28px; display: grid; gap: 14px; justify-items: start; }
.aula-upsell h3 { font-size: 21px; }
.aula-upsell .ghl-points { font-size: 15px; color: var(--muted); margin: 0; }
.aula-upsell-price { font-size: 15px; font-weight: 600; color: var(--text); }
.aula-upsell .btn { padding: 0 22px; min-height: 46px; font-size: 15px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); transition: border-color 0.2s, transform 0.2s; }
.aula-upsell .btn:hover { border-color: #fff; transform: translateY(-1px); }
.aula-founder { grid-area: founder; display: flex; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.aula-founder img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 1px rgba(255, 0, 49, 0.5), 0 10px 30px -10px var(--red-glow); }
.aula-founder-name { font-weight: 600; margin-bottom: 2px; }
.aula-founder a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .aula { min-height: 0; align-content: start; padding-top: 28px; gap: 28px; }
  .aula-when { font-size: 13px; }
  .aula-logo { height: 44px; justify-self: center; }
  .aula-grid { grid-template-columns: 1fr; grid-template-areas: 'intro' 'card' 'points' 'founder'; gap: 28px; }
  .aula-intro { justify-items: center; text-align: center; }
  .aula-intro h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .aula-sub { font-size: 16px; }
  .aula-card { padding: 22px; }
  .aula-upsell { padding: 22px; }
  .aula-upsell .btn { width: 100%; }
}

/* ---------- Motion layer ---------- */
.js-motion .nav, .js-motion .hero > * { opacity: 0; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 20; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red-deep), var(--red)); box-shadow: 0 0 12px var(--red-glow); }
.cursor-glow { position: absolute; top: 0; left: 0; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 0, 49, 0.16), transparent 62%); filter: blur(20px); }
/* Specular highlight that follows the pointer across glass. */
.glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.09), transparent 45%); opacity: 0; transition: opacity 0.35s; }
.glass:hover::after { opacity: 1; }
.tabs { position: relative; }
.tabs button { position: relative; z-index: 1; }
.tab-indicator { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(180deg, #ff3359, var(--red-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 24px -6px var(--red-glow); }
.tabs.has-indicator button[aria-selected='true'] { background: none; box-shadow: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .call { grid-template-columns: 1fr; padding: 30px; }
  .ghl { grid-template-columns: 1fr; padding: 30px; }
  .ghl-shots { min-height: 0; aspect-ratio: 1.25; }
  .panel { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .tabs { justify-self: stretch; }
  .offer { grid-template-columns: 1fr; padding: 30px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .founder-stage { max-width: 440px; width: 100%; justify-self: center; }
  .b-featured { grid-column: span 2; min-height: 0; }
  .b-card:not(.b-featured) { grid-column: span 1; flex-direction: column; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 56px; }
  .price-card { padding: 24px; }
  .cards, .features { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .onboard-card { padding: 22px; }
  .bento { grid-template-columns: 1fr; }
  .b-featured, .b-card:not(.b-featured) { grid-column: auto; }
  .b-card:not(.b-featured) { flex-direction: row; }
  .cd-grid { gap: 6px; }
  .section { padding: 52px 0; }
  .nav .link-muted { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Background music: floating record + record rail (player.js) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.snd { --cover: 56px; --btn: 32px; position: fixed; right: 14px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.snd-cover { position: relative; width: var(--cover); height: var(--cover); padding: 0; border: 0; background: none; cursor: pointer; }
.snd-art { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.18); background: #16171b; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8); }
.snd-vinyl { position: absolute; top: 5%; left: 5%; width: 90%; height: 90%; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
@media (hover: hover) { .snd:not([data-playing]) .snd-cover:hover .snd-vinyl { transform: translateY(-22%); } }
.snd:not([data-playing]) .snd-cover:focus-visible .snd-vinyl { transform: translateY(-22%); }
.snd[data-playing] .snd-vinyl { transform: translateY(-52%); }
.snd-toggle { display: grid; place-items: center; width: var(--btn); height: var(--btn); padding: 0; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.7); color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.snd-toggle:hover, .snd[data-playing] .snd-toggle { color: #fff; border-color: rgba(255, 0, 49, 0.6); }
.snd-wave { display: none; }
.snd[data-playing] .snd-wave { display: inline; }
.snd[data-playing] .snd-mute { display: none; }

/* Vinyl disc shared by the dock and the rail: grooves, label from the track art, spindle hole, sheen. */
.vinyl-disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #0b0b0d 0 3%, transparent 3.4%), repeating-radial-gradient(circle, #141217 0 1.5px, #2c2a33 1.5px 2.3px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 28px -10px rgba(0, 0, 0, 0.9); animation: vinyl-spin 1.818s linear infinite paused; }
.vinyl-disc::before { content: ''; position: absolute; inset: 32%; border-radius: 50%; background: var(--label) center / cover no-repeat, #26262c; box-shadow: 0 0 0 2px #0e0e11; }
.vinyl-disc::after { content: ''; position: absolute; inset: 48.5%; border-radius: 50%; background: #0b0b0d; }
.snd-vinyl::after, .rail-record::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 200deg, transparent 0 6%, rgba(255, 255, 255, 0.2) 12%, transparent 19% 54%, rgba(255, 255, 255, 0.14) 60%, transparent 67%); }
.snd[data-playing] .snd-vinyl .vinyl-disc, .rail-item[data-playing] .vinyl-disc { animation-play-state: running; }
@keyframes vinyl-spin { to { transform: rotate(360deg); } }

.snd-panel { position: fixed; right: 86px; bottom: 20px; z-index: 59; display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(780px, calc(100vw - 110px)); height: min(500px, calc(100svh - 96px)); border-radius: 22px; overflow: hidden; background: rgba(12, 12, 14, 0.82); border: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 0, 49, 0.08); opacity: 0; transform: translateY(14px) scale(0.98); transform-origin: 100% 100%; transition: opacity 0.24s, transform 0.24s; }
.snd-panel[hidden] { display: none; }
.snd-panel[data-open] { opacity: 1; transform: none; }
.snd-head { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 8px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.snd-title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.snd-now { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.snd-now[hidden] { display: none; }
.snd-volume { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); }
.snd-volume input { width: 120px; accent-color: var(--red); cursor: pointer; }
.snd-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.snd-close:hover { color: #fff; }

.rail { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0; padding-bottom: 14px; }
.rail-stage { position: relative; overflow: hidden; perspective: 1100px; touch-action: pan-y; cursor: grab; user-select: none; outline: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%); }
.rail-stage:active { cursor: grabbing; }
.rail-stage:focus-visible { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.rail-item { position: absolute; top: 64%; left: 50%; width: var(--rail-size, 180px); height: var(--rail-size, 180px); margin: calc(var(--rail-size, 180px) / -2) 0 0 calc(var(--rail-size, 180px) / -2); padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; will-change: transform, opacity; }
.rail-sleeve { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: #16171b; box-shadow: 0 22px 46px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.rail-sleeve img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.rail-record { position: absolute; top: 3%; left: 3%; width: 94%; height: 94%; transform: translateZ(-1px); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@media (hover: hover) { .rail-item[data-focus]:not([data-playing]):hover .rail-record { transform: translateZ(-1px) translateY(-16%); } }
.rail-item[data-playing] .rail-record { transform: translateZ(-1px) translateY(-50%); }
.rail-caption { padding: 12px 20px 0; text-align: center; }
.rail-caption.is-in { animation: rail-caption 0.35s ease; }
@keyframes rail-caption { from { opacity: 0; transform: translateY(6px); } }
.rail-name { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.2; color: #fff; }
.rail-sub { margin: 6px 0 0; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.rail-controls { display: grid; justify-items: center; gap: 10px; padding-top: 12px; }
.rail-ruler { display: flex; align-items: flex-end; gap: 10px; height: 16px; }
.rail-tick { width: 2px; height: 8px; padding: 0; border: 0; background: rgba(255, 255, 255, 0.22); cursor: pointer; transition: height 0.2s, background-color 0.2s; }
.rail-tick[data-active] { height: 16px; background: var(--red); }
.rail-buttons { display: flex; align-items: center; gap: 10px; }
.rail-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: none; color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.rail-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.rail-play { width: 46px; height: 46px; border-radius: 12px; border-color: var(--red); background: rgba(255, 0, 49, 0.16); color: #fff; box-shadow: 0 8px 24px -10px var(--red-glow); }
.rail-play .ic-pause, .rail-play[data-pausing] .ic-play { display: none; }
.rail-play[data-pausing] .ic-pause { display: inline; }
/* Hidden YouTube player: must stay rendered (not display:none) for audio to play. */
.snd-yt { position: fixed; left: -9999px; bottom: 0; width: 200px; height: 200px; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .vinyl-disc { animation: none; } .snd-vinyl, .rail-record, .snd-panel { transition: none; } }
@media (max-width: 760px) {
  .snd { --cover: 44px; --btn: 26px; gap: 6px; left: auto; right: 10px; bottom: 12px; }
  .snd-panel { z-index: 61; left: 8px; right: 8px; bottom: 8px; width: auto; height: min(500px, calc(100svh - 72px)); transform-origin: 100% 100%; }
  .snd-volume input { width: 84px; }
  .rail-item { top: 62%; }
}
