/* AI-Voicelabs — "Pearl" design system.
   Layout: wide editorial column (1240px). Pearl-white ground with a slow iridescent aura,
   frosted-glass panels, one obsidian contrast band, holographic hairlines. */
:root {
  --bg: #f6f5f3;
  --ink: #111214;
  --ink-2: #2a2c31;
  --muted: #62666e;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-line: rgba(255, 255, 255, 0.9);
  --hair: rgba(17, 18, 20, 0.08);
  --obsidian: #0c0d10;
  --obsidian-2: #16181d;
  --on-dark: #eceef2;
  --on-dark-muted: #9aa0aa;
  --pearl-rose: #f4cfdc;
  --pearl-mint: #c9ece2;
  --pearl-lilac: #d9d0f6;
  --pearl-gold: #f3e3c3;
  --holo: linear-gradient(115deg, #f2b8cc 0%, #b9e6d8 30%, #c8bdf3 58%, #f0d9a8 82%, #f2b8cc 100%);
  --holo-ink: linear-gradient(115deg, #b2476d 0%, #2f8f7a 35%, #6a54c9 65%, #a87a22 100%);
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 26px;
  --shadow: 0 1px 1px rgba(17,18,20,.03), 0 12px 32px -12px rgba(60,40,90,.18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 1200px) { body { font-size: 19px; } }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid #6a54c9; outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.14rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0; }
.holo-text { background: var(--holo-ink); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }

/* Ambient aura: three soft iridescent clouds behind everything, plus fine grain */
.aura { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aura i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: var(--pearl-rose); animation: drift1 26s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 46vw; height: 46vw; right: -16vw; top: 18vh; background: var(--pearl-mint); animation: drift2 32s ease-in-out infinite alternate; }
.aura i:nth-child(3) { width: 40vw; height: 40vw; left: 22vw; bottom: -22vw; background: var(--pearl-lilac); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-6vw, -8vh) scale(.94); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 48px); }
.eyebrow { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--holo-ink); }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }

/* Glass primitives */
.glass { background: var(--glass); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border: 1px solid var(--glass-line); box-shadow: var(--shadow); border-radius: var(--radius); }
.holo-border { position: relative; }
.holo-border::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.holo-border:hover::after { opacity: 1; }

/* Pearl icon: a tiny CSS echo of the hero orb */
.pearl-dot { width: 44px; height: 44px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 34% 28%, #fff 0 14%, transparent 30%),
    radial-gradient(circle at 70% 75%, var(--c2, var(--pearl-mint)) 0 30%, transparent 62%),
    radial-gradient(circle at 30% 70%, var(--c1, var(--pearl-rose)) 0 30%, transparent 64%),
    radial-gradient(circle at 50% 50%, #f3f1f5, #dcd9e2);
  box-shadow: inset -4px -6px 10px rgba(80,60,110,.18), inset 3px 4px 8px rgba(255,255,255,.9), 0 6px 14px -6px rgba(60,40,90,.35); }
.pearl-dot.v2 { --c1: var(--pearl-lilac); --c2: var(--pearl-gold); }
.pearl-dot.v3 { --c1: var(--pearl-mint); --c2: var(--pearl-lilac); }
.pearl-dot.v4 { --c1: var(--pearl-gold); --c2: var(--pearl-rose); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; }
.topbar .wrap { padding-block: 14px; }
.topbar-inner { display: flex; align-items: center; gap: 20px; padding: 10px 12px 10px 20px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.04rem; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.92rem; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 0.98rem; border-radius: 999px; padding: 15px 26px; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .3s; isolation: isolate; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--obsidian); color: #fff; box-shadow: 0 10px 24px -10px rgba(12,13,16,.6); }
.btn-primary::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--holo); z-index: -1; filter: blur(10px); opacity: 0; transition: opacity .3s; }
.btn-primary:hover::before, .btn-primary.is-live::before { opacity: .9; }
.btn-glass { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--holo); }
.btn.is-live .dot { animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { transform: scale(1.7); opacity: .5; } }

/* Hero */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-copy { display: grid; gap: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#voice-status { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); min-height: 1.3em; letter-spacing: .02em; }
#voice-status[data-state="listening"], #voice-status[data-state="speaking"] { color: #2f8f7a; }
#voice-status[data-state="error"] { color: #b2476d; }
.pearl-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.pearl-stage::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: conic-gradient(from 90deg, var(--pearl-rose), var(--pearl-mint), var(--pearl-lilac), var(--pearl-gold), var(--pearl-rose)); filter: blur(60px); opacity: .7; animation: spin 30s linear infinite; }
.pearl-stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 4%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60,40,90,.22), transparent); filter: blur(6px); }
@keyframes spin { to { transform: rotate(360deg); } }
#pearl { position: relative; z-index: 1; width: 100%; height: 100%; display: block; cursor: pointer; }
#pearl.pearl-fallback { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ece6f2 45%, #cfe8e0 80%); }
.pearl-caption { position: absolute; z-index: 2; left: 50%; bottom: -2%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 8px; border-top: 1px solid var(--hair); }
.stats span { font-size: 0.9rem; color: var(--muted); }
.stats strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .pearl-stage { max-width: 400px; order: -1; } }

/* Obsidian band (call excerpt) */
.obsidian { background: var(--obsidian); color: var(--on-dark); border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.5vw, 20px); overflow: hidden; position: relative; }
.obsidian::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -40%; border-radius: 50%; background: conic-gradient(from 0deg, #3a2533, #173a33, #2a2550, #3d3320, #3a2533); filter: blur(80px); opacity: .9; }
.obsidian .wrap { position: relative; }
.obsidian .eyebrow, .obsidian .muted { color: var(--on-dark-muted); }
.excerpt-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.excerpt-grid > * { min-width: 0; }
.bubbles { display: grid; gap: 14px; }
.bubble { max-width: 86%; padding: 16px 20px; border-radius: 22px 22px 22px 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.bubble.ai { justify-self: end; border-radius: 22px 22px 6px 22px; background: linear-gradient(135deg, rgba(242,184,204,.22), rgba(185,230,216,.18) 50%, rgba(200,189,243,.22)); border-color: rgba(255,255,255,.18); }
.bubble small { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
@media (max-width: 860px) { .excerpt-grid { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service.service-wide { grid-column: 1 / -1; }
.service { padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; transition: transform .3s; }
.service:hover { transform: translateY(-3px); }
.service.featured { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, rgba(255,255,255,.85), rgba(255,255,255,.45)), var(--holo); align-content: end; min-height: 340px; }
.service.featured h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.015em; }
.service p { color: var(--muted); font-size: 0.97rem; }
.service .tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.service-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .service.featured { grid-column: auto; grid-row: auto; min-height: 0; } }

/* Journey */
.journey-wrap { padding: clamp(28px, 4vw, 52px); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.journey li { position: relative; padding: 64px 16px 0 0; display: grid; gap: 6px; align-content: start; }
.journey li .pearl-dot { position: absolute; top: 0; left: 0; width: 40px; height: 40px; }
.journey li::after { content: ""; position: absolute; top: 20px; left: 52px; right: 10px; height: 1px; background: var(--holo-ink); opacity: .35; }
.journey li:last-child::after { display: none; }
.journey .when { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .06em; color: var(--muted); }
.journey .what { font-weight: 600; line-height: 1.3; }
.journey .how { font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 26px; }
  .journey li { padding: 0 0 0 60px; min-height: 40px; }
  .journey li::after { top: 46px; left: 20px; right: auto; bottom: -22px; width: 1px; height: auto; }
}

/* Privacy (obsidian card with holo edge) */
.privacy { background: var(--obsidian); color: var(--on-dark); border-radius: calc(var(--radius) + 10px); padding: clamp(30px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); position: relative; overflow: hidden; }
.privacy::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; }
.privacy::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1; left: -15%; bottom: -55%; border-radius: 50%; background: conic-gradient(#3a2533, #173a33, #2a2550, #3d3320, #3a2533); filter: blur(70px); }
.privacy > * { min-width: 0; position: relative; z-index: 1; }
.privacy .eyebrow { color: var(--on-dark-muted); }
.privacy p { color: var(--on-dark-muted); }
.privacy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.privacy li { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.privacy a { color: #fff; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } }

/* Steps */
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.split > div { padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.split .num { font-family: var(--font-display); font-size: 3.4rem; line-height: .9; }
.split p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pricing > * { min-width: 0; }
.price-card { padding: clamp(28px, 3.4vw, 44px); display: grid; gap: 20px; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.price-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 16px; border-top: 1px solid var(--hair); }
.price-list li:first-child { border-top: 0; padding-top: 0; }
.price-list .pearl-dot { width: 36px; height: 36px; }
.price-list strong { display: block; }
.price-list span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { padding: 4px 26px; border-radius: 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 40%), var(--holo); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(180deg) scale(.8); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 72ch; }

/* Closing */
.closing { text-align: center; display: grid; gap: 26px; justify-items: center; padding: clamp(40px, 7vw, 96px) clamp(20px, 4vw, 48px); }
.closing .lede { margin-inline: auto; }

/* Footer */
.site-footer { padding-block: 0 clamp(14px, 2vw, 24px); }
.site-footer .wrap { max-width: none; padding-inline: clamp(8px, 1.5vw, 20px); }
.footer-panel { background: var(--obsidian); color: var(--on-dark); border-radius: clamp(28px, 4vw, 48px); padding: clamp(32px, 5vw, 72px) clamp(22px, 5vw, 72px) 28px; position: relative; overflow: hidden; display: grid; gap: clamp(40px, 6vw, 72px); }
.footer-panel::before { content: ""; position: absolute; width: 55%; aspect-ratio: 1; right: -12%; top: -55%; border-radius: 50%; background: conic-gradient(from 30deg, #3a2533, #173a33, #2a2550, #3d3320, #3a2533); filter: blur(90px); opacity: .9; }
.footer-panel > * { position: relative; max-width: 1240px; width: 100%; margin-inline: auto; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 16ch; }
.footer-cta .eyebrow { color: var(--on-dark-muted); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--holo); z-index: -1; filter: blur(12px); opacity: .55; transition: opacity .3s; }
.btn-light:hover::before { opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { color: var(--on-dark-muted); font-size: 0.95rem; max-width: 36ch; }
.footer-contact { display: grid; gap: 4px; font-family: var(--font-mono); font-size: 0.82rem !important; }
.footer-grid nav { display: grid; gap: 10px; align-content: start; }
.footer-grid h3 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.footer-grid nav a { text-decoration: none; color: var(--on-dark); font-size: 0.95rem; opacity: .85; }
.footer-grid nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--font-mono); font-size: 0.76rem; color: var(--on-dark-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* Long-form pages */
.prose { max-width: 820px; display: grid; gap: 18px; padding: clamp(28px, 5vw, 64px); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 26px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* Gentle reveal: content is visible at rest; JS adds .reveal only when motion is allowed */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aura i, .pearl-stage::before { animation: none; }
  .btn, .service { transition: none; }
  .btn.is-live .dot { animation: none; }
}
