/* ==========================================================================
   Theme: "Studio Glow" — inspired by the style of the Lighter demo (demo.7iquid.com/lighter):
   cool zinc greys, white rounded cards, near-black type, blue→violet glow accents,
   pill labels with a glowing dot, framed page with dot-grid gutters, design-tool
   selection box, giant frosted watermark, word-by-word heading reveals, tilted
   scroll-linked photo strip. Original implementation; no assets or copy reused.
   Fonts: Satoshi (Fontshare) with Urbanist fallback.
   Contrast: ink 15.7:1 and body 8.2:1 on #E4E4E7, muted 7.7:1 on white,
   accent text #4F46E5 6.3:1 on white, white on #09090B 19.9:1.
   ========================================================================== */
:root {
  --c-bg: #E4E4E7;
  --c-surface: #FFFFFF;
  --c-blush: #F4F4F5;
  --c-blush-deep: #D4D4D8;
  --c-lavender: #EEEDFB;
  --c-sage: #F4F4F5;
  --c-ink: #09090B;
  --c-body: #3F3F46;
  --c-muted: #52525B;
  --c-brand: #7363DF;
  --c-accent: #4F46E5;
  --c-cta: #09090B;
  --c-cta-hover: #27272A;
  --c-border: #E4E4E7;
  --c-focus: #4F46E5;
  --c-success: #4F46E5;
  --grad: linear-gradient(96deg, #3366FF 0%, #7363DF 55%, #B571EA 100%);
  --grad-soft: radial-gradient(60% 60% at 50% 100%, rgba(115, 99, 223, .35), rgba(181, 113, 234, .12) 45%, rgba(228, 228, 231, 0) 75%);
  --ff-display: "Satoshi", "Urbanist", system-ui, sans-serif;
  --ff-body: "Satoshi", "Urbanist", system-ui, sans-serif;
  --fs-display: clamp(2.75rem, 1.4rem + 5.6vw, 5.5rem);
  --fs-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.7vw, 3.8rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
  --r-arch: 28px;
  --shadow-1: 0 1px 2px rgba(9, 9, 11, .05), 0 0 0 1px rgba(9, 9, 11, .04);
  --shadow-2: 0 20px 40px -18px rgba(79, 70, 229, .35), 0 0 0 1px rgba(9, 9, 11, .04);
  --shadow-3: 0 30px 80px rgba(9, 9, 11, .25);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --reveal-y: 40px;
}

/* --- page frame: dot-grid gutters + hairline frame around the content column --- */
body {
  color: var(--c-body); font-weight: 500; letter-spacing: -.02em;
  background-color: var(--c-bg);
  background-image: radial-gradient(rgba(9, 9, 11, .14) 1px, transparent 1.2px);
  background-size: 14px 14px;
  background-attachment: fixed;
}
main, .site-footer { position: relative; max-width: 1440px; margin-inline: auto; background: var(--c-bg); }
@media (min-width: 1100px) {
  main, .site-footer { border-inline: 1px solid rgba(9, 9, 11, .12); width: calc(100% - 64px); }
}
.site-footer { margin-top: 0; }

/* --- type --- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; color: var(--c-ink); font-variation-settings: normal; }
h3 { letter-spacing: -.02em; line-height: 1.2; }
.display { font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.lead { color: var(--c-muted); font-weight: 500; letter-spacing: -.015em; }
a { color: var(--c-accent); }
a:hover { color: var(--c-ink); }
.script { font-family: var(--ff-display) !important; font-style: normal; color: var(--c-accent) !important; font-size: 1.1rem !important; }

/* --- pill labels with glowing dot (replace eyebrows) --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--c-ink); border-radius: var(--r-pill);
  padding: 8px 16px 8px 14px; font-size: .8125rem; font-weight: 500;
  letter-spacing: -.01em; text-transform: none;
  box-shadow: 0 1px 2px rgba(9, 9, 11, .06), 0 0 0 1px rgba(9, 9, 11, .05), inset 0 -2px 0 rgba(9, 9, 11, .03);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 0 3px rgba(115, 99, 223, .18), 0 0 10px rgba(115, 99, 223, .9); }

/* --- buttons: dark pills, white secondary --- */
.btn { --bg: var(--c-ink); font-weight: 500; letter-spacing: -.01em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 16px -6px rgba(9, 9, 11, .5); }
.btn:hover { --bg: var(--c-cta-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 28px -10px rgba(79, 70, 229, .55); }
.btn--ghost { --bg: #fff; --fg: var(--c-ink); border-color: #fff; box-shadow: var(--shadow-1); }
.btn--ghost:hover { --bg: #fff; --fg: var(--c-accent); }
.link-arrow { color: var(--c-ink); }
.link-arrow:hover { color: var(--c-accent); }

/* --- announcement bar (injected by glow.js) --- */
.glow-bar { position: relative; z-index: calc(var(--z-header) + 1); background: var(--grad); color: #fff; text-align: center; font-size: .875rem; font-weight: 500; padding: 7px 16px; letter-spacing: -.01em; }
.glow-bar span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 10px; vertical-align: 2px; box-shadow: 0 0 8px #fff; }
.glow-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* --- header: floating white bar --- */
.site-header { background: transparent; }
.site-header.is-solid { background: rgba(228, 228, 231, .78); box-shadow: none; }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { backdrop-filter: blur(14px) saturate(1.4); } }
.nav > ul { background: #fff; border-radius: var(--r-pill); padding: 4px 8px; box-shadow: var(--shadow-1); }
.nav a, .nav .nav-more { font-weight: 500; }
.nav > ul > li > a::after { background: var(--grad); }
.menu-btn, .header-wa { border-radius: 14px; }
.menu-btn { border: 0; box-shadow: var(--shadow-1); }
.header-wa { background: var(--c-ink); }

/* --- hero: glow wash, selection box, frosted watermark --- */
.hero { overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70%; background: var(--grad-soft); pointer-events: none; z-index: -1; }
.hero-blob, .hero-blob--lav { display: none; }
.hero-media .arch, .feature-post .arch { border-radius: 28px; padding: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(9, 9, 11, .06), 0 30px 60px -30px rgba(79, 70, 229, .45); }
.hero-media .arch img, .feature-post .arch img { border-radius: 22px; }
.hero-circle { border-radius: 22px; border: 6px solid #fff; left: -8%; width: 34%; box-shadow: var(--shadow-2); }
.trust-row svg { color: var(--c-brand); }
.glow-mark { position: absolute; left: 0; right: 0; bottom: -0.18em; text-align: center; font: 700 clamp(4rem, 15vw, 15rem)/1 var(--ff-display); letter-spacing: -.06em; color: rgba(255, 255, 255, .35); -webkit-text-stroke: 1px rgba(255, 255, 255, .7); text-shadow: 0 10px 40px rgba(115, 99, 223, .25); pointer-events: none; user-select: none; z-index: -1; white-space: nowrap; }
.sel { position: relative; display: inline-block; padding: .02em .22em .08em; margin: .06em 0 .04em -.06em; border-radius: .32em; background: linear-gradient(180deg, #fff, #F2F1FF); box-shadow: 0 10px 30px -10px rgba(79, 70, 229, .45), inset 0 -3px 0 rgba(79, 70, 229, .08); }
.sel > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sel::before { content: ""; position: absolute; inset: -.14em -.16em; border: 1.5px solid #4F7BFF; border-radius: 4px; pointer-events: none; }
.sel i { position: absolute; width: 9px; height: 9px; background: #4F7BFF; border: 1.5px solid #fff; }
.sel i:nth-child(2) { left: calc(-.16em - 5px); top: calc(-.14em - 5px); }
.sel i:nth-child(3) { right: calc(-.16em - 5px); top: calc(-.14em - 5px); }
.sel i:nth-child(4) { left: calc(-.16em - 5px); bottom: calc(-.14em - 5px); }
.sel i:nth-child(5) { right: calc(-.16em - 5px); bottom: calc(-.14em - 5px); }
.sel b { position: absolute; right: -.55em; bottom: -.55em; width: .42em; height: .42em; color: #7363DF; }
.sel b svg { width: 100%; height: 100%; display: block; }

/* --- sections & surfaces --- */
.wash-blush, .wash-lavender, .wash-sage, .wash-white { background: transparent; }
.section + .section { border-top: 1px solid rgba(9, 9, 11, .08); }
.section-head h2 { max-width: 16ch; }
.frame, .g-item, .arch { border-radius: var(--r-arch); }
.g-item { box-shadow: var(--shadow-1); }
.g-item img { border-radius: inherit; }
.door .arch { aspect-ratio: 4 / 5; border-radius: 24px; background: #fff; padding: 6px; box-shadow: var(--shadow-1); }
.door .arch img { border-radius: 18px; }
.door:hover .arch { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.doors > :nth-child(even) { margin-top: 0; }
.overlap > :last-child { border: 6px solid #fff; border-radius: 24px; }

/* cards: white, rounded, large ghost numerals */
.checks li, .compare > div, .pkg, .action-panel, .callout, .more-list a, .occ li, .tl-stop, .stats li {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-1); border: 0;
}
.checks { gap: 12px; }
.checks li { padding: 18px 20px; }
.checks .ico { background: #F4F4F5; box-shadow: none; color: var(--c-ink); border-radius: 12px; }
.occ { gap: 12px; }
.occ li { padding: 22px 24px; border-bottom: 0; }
.more-list a { padding: 26px; border-top: 0; }
.stats li { padding: 22px; border-top: 0; }
.stats strong { font-weight: 500; letter-spacing: -.05em; }
.steps { counter-reset: step; }
.steps li { background: #fff; border-radius: 24px; padding: 28px 26px 120px; box-shadow: var(--shadow-1); overflow: hidden; }
.steps li::before { position: absolute; right: 18px; bottom: -14px; margin: 0; width: auto; height: auto; border: 0; background: none; font: 500 7.5rem/1 var(--ff-display); letter-spacing: -.06em; color: #EDEDEF; content: "0" counter(step) "."; display: block; }
.steps-line { display: none; }
.tl::after { background: var(--grad); }
.tl > li::before { border-color: var(--c-brand); box-shadow: 0 0 10px rgba(115, 99, 223, .6); }
.tl-stop { padding: 18px; }
.tl-h::before { background: var(--grad) !important; }
.tl-h li::before { border-color: var(--c-brand) !important; box-shadow: 0 0 10px rgba(115, 99, 223, .6); }
.tl-h li { background: #fff; border-radius: 20px; padding: 18px !important; box-shadow: var(--shadow-1); border-left: 0 !important; }

/* packages */
.pkg { border: 0; }
.pkg--featured { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--shadow-2); }
.pkg-badge { background: var(--grad); }
.pkg-price strong { font-weight: 500; letter-spacing: -.05em; }
.pkg-combo { background: #fff; box-shadow: var(--shadow-1); }
.pkg-combo svg { color: var(--c-brand); }
.pkg-extras li { border: 0; box-shadow: var(--shadow-1); }

/* quotes */
.quote p { font-family: var(--ff-display); font-weight: 500; letter-spacing: -.035em; color: var(--c-ink); font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.25; }
.quote-mark { color: var(--c-brand); }
.pull { border-left: 0; background: #fff; border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow-1); }
.pull p { font-family: var(--ff-display); font-weight: 500; letter-spacing: -.02em; }
.stars { color: #F5A524; }
.dot[aria-current="true"]::before { background: var(--c-brand); }
.icon-btn { border: 0; box-shadow: var(--shadow-1); }

/* chips, tabs, faq, misc */
.chip, .tabs [role="tab"], .pk-jump a, .faq-index a { border: 0; box-shadow: var(--shadow-1); font-weight: 500; }
.chip[aria-pressed="true"], .tabs [role="tab"][aria-selected="true"] { background: var(--c-ink); color: #fff; }
.faq { border-top: 0; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 20px; border-bottom: 0; box-shadow: var(--shadow-1); }
.faq summary .pm { background: #F4F4F5; }
.faq summary .pm::before, .faq summary .pm::after { background: var(--c-ink); }
.badges li { border: 0; box-shadow: var(--shadow-1); }
.checklist li::before { background-color: #EEEDFB; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.bento a { border-radius: 28px; }
.bento a::after { background: linear-gradient(to top, rgba(9, 9, 11, .7), rgba(9, 9, 11, 0) 55%); }
.reel { border-radius: 28px; }
.ph { background: linear-gradient(160deg, #fff, #EEEDFB); }
.ph svg { color: var(--c-brand); }
.progress { background: var(--grad); }
.table-wrap, .toc { border: 0; box-shadow: var(--shadow-1); border-radius: 20px; }
thead th { background: #F4F4F5; }

/* CTA band: dark glass card with glow */
.cta-band { background: radial-gradient(80% 120% at 85% 120%, rgba(115, 99, 223, .55), rgba(9, 9, 11, 0) 60%), #09090B; color: #fff; border-radius: 32px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #A1A1AA; }
.cta-band .btn { --bg: #fff; --fg: var(--c-ink); border-color: #fff; }
.cta-band .btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .25); box-shadow: none; }
.cta-band .arch { border-radius: 22px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.cta-band :focus-visible { outline-color: #A5B4FC; }

/* --- footer --- */
.site-footer { background: #09090B; color: #A1A1AA; border-radius: 32px 32px 0 0; }
.site-footer h2 { color: #fff; letter-spacing: -.01em; text-transform: none; font-size: .9375rem; }
.footer-logo { border-radius: 14px; }
.footer-bottom { border-color: rgba(255, 255, 255, .1); }
.social a { border-radius: 12px; }
.mobile-bar { background: rgba(255, 255, 255, .9); }
@supports (backdrop-filter: blur(8px)) { .mobile-bar { backdrop-filter: blur(14px); } }
.mobile-bar .mb-wa { background: var(--c-ink); }


@media (max-width: 640px) {
  .glow-bar { font-size: .8125rem; padding: 6px 12px; }
  .glow-bar .gb-where, .glow-bar .gb-sep { display: none; }
  .glow-bar span::before { display: none; }
  .glow-bar a::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: 2px; box-shadow: 0 0 8px #fff; }
}
@media (max-width: 899px) {
  .hero { padding-top: var(--sp-3); }
  .hero .split > .hero-media { max-width: 200px; }
  .hero .display { font-size: clamp(2.25rem, 1.6rem + 3vw, 2.75rem); }
  .hero .eyebrow { font-size: .75rem; padding: 6px 12px 6px 10px; }
  .hero .lead { font-size: 1.0625rem; }
}

/* ==== Motion layer (driven by glow.js; mirrors the demo's entrance/scroll animations) ==== */
/* base theme reveals are switched off — glow.js owns entrance motion */
.glow-motion .reveal, .glow-motion .masonry.reveal-group > *, .glow-motion .arch-reveal { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
.glow-motion .hero-copy > *, .glow-motion .hero-media .arch img { animation: none; }
.gw { display: inline-block; will-change: transform, opacity, filter; }
.glow-smooth { scroll-behavior: auto !important; }

/* header hides on scroll down, returns on scroll up */
.site-header { transition: transform .45s cubic-bezier(.25,1,.5,1), background var(--t-base) var(--ease-soft); }
.site-header.glow-hide { transform: translateY(-110%); }

/* infinite marquee rows (tilted) */
.glow-marquee { position: relative; overflow: hidden; padding-block: 56px; margin-inline: calc(-1 * var(--gutter)); }
.glow-marquee::before, .glow-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 2; pointer-events: none; }
.glow-marquee::before { left: 0; background: linear-gradient(90deg, var(--c-bg), rgba(228, 228, 231, 0)); }
.glow-marquee::after { right: 0; background: linear-gradient(-90deg, var(--c-bg), rgba(228, 228, 231, 0)); }
.gm-row { transform: rotate(-6deg) scale(1.08); margin-bottom: 14px; }
.gm-track { display: flex; gap: 14px; width: max-content; animation: gm-scroll var(--gm-dur, 60s) linear infinite; }
.gm-rev .gm-track { animation-direction: reverse; }
.gm-track > * { flex: none; width: clamp(170px, 20vw, 280px); margin: 0 !important; }
.gm-track .g-item img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }
@keyframes gm-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--gm-w, 50%))); } }

/* back-to-top button */
.glow-top { position: fixed; right: 20px; bottom: 24px; z-index: var(--z-bar); width: 52px; height: 52px; border-radius: 16px; border: 0; background: var(--c-ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(79, 70, 229, .6); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s cubic-bezier(.25,1,.5,1), transform .4s cubic-bezier(.25,1,.5,1); }
.glow-top.on { opacity: 1; transform: none; pointer-events: auto; }
.glow-top:hover { background: #27272A; }
.glow-top svg { width: 22px; height: 22px; }
@media (max-width: 767px) { .glow-top { bottom: calc(88px + env(safe-area-inset-bottom)); right: 14px; width: 46px; height: 46px; } }

/* button letter roll */
.gch-wrap { display: inline; }
.gwd { display: inline-block; white-space: nowrap; }
.gch { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .gm-track { animation: none; }
  .gm-row { transform: rotate(-6deg); }
}
.glow-bar .gb-sep::before { display: none; }
.sel b { right: -.62em; bottom: -.32em; width: .34em; height: .34em; }
