:root {
    color-scheme: dark;
    --bg: #0B0B10;
    --bg-2: #111119;
    --surface: #171722;
    --surface-2: #1c1c28;
    --line: rgba(255, 255, 255, 0.09);
    --text: #F7F7FC;
    --muted: #A4A4B5;
    --violet: #7865FF;
    --violet-2: #A69BFF;
    --blue: #A69BFF;
    --ok: #53D6A2;
    --danger: #FF647C;
    --sans: Inter, "Geist", "Segoe UI", system-ui, sans-serif;
    --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.5;
    overflow-x: hidden;
}
h1, h2, h3 { font-weight: 720; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 8px; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }

.brand { display: inline-flex; align-items: center; font-weight: 750; letter-spacing: -0.04em; text-decoration: none; }
.brand img { display: block; height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.btn, button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.btn:hover, button:hover { background: #2a2633; }
.btn-primary, button[type="submit"] { background: var(--violet); color: white; }
.btn-primary:hover, button[type="submit"]:hover { background: #6856f0; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-google { width: 100%; background: #fff; color: #111; }
.btn-google:hover { background: #f4f4f5; }
button.danger, .danger { background: var(--danger); color: white; }
button.secondary, .secondary { background: transparent; border-color: var(--line); }

.nav {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 56px;
    padding: 0 28px;
    background: rgba(11, 11, 16, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.mark { display: grid; place-items: center; width: 28px; height: 28px; color: var(--violet-2); }
.nav .brand img { height: 28px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-links { flex: 1; }
.nav-links a { font-size: 0.92rem; }
.nav-links a, .nav-signin, .footer a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-signin:hover, .footer a:hover { color: var(--text); }
.nav-signin, .nav .btn { min-height: 34px; padding: 6px 12px; font-size: 0.9rem; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { cursor: pointer; list-style: none; width: 36px; height: 36px; min-height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-burger { display: block; }
.nav-menu div { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 200px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.nav-menu a { padding: 10px 12px; text-decoration: none; min-height: 40px; border-radius: 8px; }
.nav-menu a:hover { background: var(--bg); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 40px;
    align-items: center;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 64px 0 36px;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: 0;
    top: 20px;
    background: radial-gradient(circle, rgba(120, 101, 255, 0.28), transparent 68%);
    filter: blur(8px);
    animation: glow 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-copy, .hero-stage { position: relative; min-width: 0; }
.cine h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.05; letter-spacing: -0.045em; }
.cine h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.04em; }
.eyebrow { letter-spacing: 0.14em; font-size: 0.75rem; text-transform: uppercase; color: var(--violet-2); margin-bottom: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--ok); }
.hero-copy p, .showcase-copy p, .section > p, .globe-section p, .premium p { color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.call-mock {
    position: relative;
    background: #0c0b12;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.18), 0 20px 60px rgba(0, 0, 0, 0.35);
}
.call-mock.compact { min-height: 320px; }
.call-top { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(83, 214, 162, 0.16); }
.call-remote { position: absolute; inset: 0; }
.feed { position: absolute; inset: 0; overflow: hidden; background: #120e1c; }
.feed::before, .feed::after { content: ""; position: absolute; }
.feed-remote::before, .feed-local::before {
    width: 28%;
    aspect-ratio: 1;
    left: 36%;
    top: 18%;
    border-radius: 50%;
    background: linear-gradient(180deg, #f5f3ff, #7c6bb5 70%);
}
.feed-remote::after, .feed-local::after {
    width: 70%;
    height: 52%;
    left: 15%;
    bottom: -6%;
    border-radius: 46% 46% 12px 12px;
    background: linear-gradient(180deg, #5b4b93, #241833);
}
.feed-local { background: #101826; }
.feed-local::before { background: linear-gradient(180deg, #eff6ff, #6088c9 70%); width: 42%; left: 29%; top: 16%; }
.feed-local::after { background: linear-gradient(180deg, #35527e, #152033); width: 86%; left: 7%; }
.call-local {
    position: absolute;
    right: 14px;
    bottom: 72px;
    width: 108px;
    height: 144px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    z-index: 2;
}
.call-controls {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    gap: 8px;
}
.call-controls span {
    flex: 1 1 0;
    min-height: 40px;
    min-width: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(22, 20, 29, 0.88);
    border: 1px solid var(--line);
    font-size: 0.78rem;
}
.call-controls .is-end { background: var(--danger); border-color: transparent; color: white; }

.proof {
    width: min(1240px, calc(100% - 48px));
    margin: 8px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.proof p { margin: 0; padding: 22px 18px; color: var(--muted); display: grid; gap: 4px; }
.proof strong { color: var(--text); font-size: 1rem; }
.proof p + p { border-left: 1px solid var(--line); }

.section, .final { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; }
.steps li { display: grid; gap: 10px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform 180ms ease, border-color 180ms ease; }
.steps li:hover { transform: translateY(-3px); border-color: rgba(120, 101, 255, 0.45); }
.steps span { color: var(--violet-2); font-weight: 750; }
.steps p, .features p, .safety li, .faq p { color: var(--muted); }
.bento, .cards { display: grid; gap: 12px; margin-top: 28px; }
.bento { grid-template-columns: 1.3fr 1fr 1fr; }
.bento article, .cards article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-height: 140px; }
.bento .tall { grid-row: span 2; }
.bento .glow { background: radial-gradient(circle at 0 0, rgba(120, 101, 255, 0.22), transparent 55%), var(--surface); }
.cards { grid-template-columns: 1fr 1fr; }
.steps h3, .bento h3, .cards h3 { font-size: 1.05rem; }
.cards h3 { display: flex; align-items: center; gap: 8px; }
.ico { width: 18px; height: 18px; flex: none; color: var(--violet-2); }
.bento p, .cards p { color: var(--muted); margin-top: 8px; }

.showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
    background: radial-gradient(circle at 20% 40%, rgba(120, 101, 255, 0.16), transparent 42%), var(--bg-2);
    width: 100%;
    max-width: none;
    padding: 88px max(24px, calc((100% - 1240px) / 2));
}
.showcase-copy p + p { margin-top: 12px; }
.showcase .call-mock { min-height: 420px; }

.globe-section { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; }
.globe { width: 100%; height: auto; fill: none; stroke: rgba(167, 139, 250, 0.55); stroke-width: 1; }
.globe circle { fill: #60a5fa; stroke: none; }

.premium ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.premium { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr); gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; width: min(1240px, calc(100% - 48px)); }
.premium ul li, .pill {
    border: 1px solid var(--line);
    background: var(--bg-2);
    border-radius: 12px;
    padding: 12px 14px;
}
.section.premium { margin-top: 12px; margin-bottom: 24px; }
.cine .link-row { margin-top: 18px; }
.cine .link-row a { color: var(--violet-2); text-decoration: none; }
.pill { display: inline-block; color: #ddd6fe; margin-bottom: 10px; font-size: 0.85rem; }
.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet-2); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 200ms ease; }
.faq details[open] .faq-a { grid-template-rows: 1fr; }
.faq-a p { overflow: hidden; color: var(--muted); padding-bottom: 16px; }
.final { text-align: center; background: radial-gradient(circle at 50% 0, rgba(120, 101, 255, 0.22), transparent 55%), #14141c; width: min(1240px, calc(100% - 48px)); border-radius: 28px; padding: 72px 24px; margin-bottom: 48px; }
.final p { color: var(--muted); margin: 8px auto 18px; max-width: 36rem; }
.final .fine { margin-top: 14px; }
.footer { width: 100%; margin: 0; padding: 28px 40px 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 24px 40px; align-items: start; }
.foot-copy { grid-column: 1 / -1; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.footer nav { display: grid; gap: 8px; }
.footer nav p { color: var(--text); font-weight: 700; margin-bottom: 4px; }
.foot-brand p, .foot-copy, .footer a { color: var(--muted); }
.foot-brand { max-width: 360px; display: grid; gap: 10px; }

.auth-shell { width: min(420px, calc(100% - 40px)); margin: 14vh auto; }
.auth-shell h1 { font-size: 2rem; margin-top: 28px; }
.auth-shell p { color: var(--muted); margin-top: 8px; }
.auth-shell .btn { margin-top: 22px; }
.fine { color: var(--muted); font-size: 0.92rem; }
.fine a { color: #ddd6fe; }
.alert { background: rgba(225, 29, 72, 0.12); color: #fecdd3; border-radius: 12px; padding: 12px 14px; margin-top: 16px; }

.topnav {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 64px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
}
.topnav-links { display: flex; gap: 16px; flex: 1; }
.topnav-links a { color: var(--muted); text-decoration: none; }
.menu { position: relative; }
.menu summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; z-index: 6; min-width: 210px; display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.menu-panel a, .menu-panel button { justify-content: flex-start; background: transparent; border: 0; border-radius: 10px; text-decoration: none; box-shadow: none; }
.page { width: min(880px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.wide { width: 100%; }
.lead, .note, .eyebrow { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.cine .eyebrow { color: var(--violet-2); letter-spacing: 0.14em; }
label, legend { display: block; font-weight: 650; margin-top: 14px; }
input, select, textarea {
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #0e0d13;
    color: var(--text);
    font: inherit;
}
textarea { min-height: 96px; }
.choice { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 500; }
.choice input { width: auto; min-height: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
.pref-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.pref-readout div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.pref-readout dt { color: var(--muted); font-size: 0.82rem; }
.pref-readout dd { margin: 4px 0 0; font-weight: 650; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stats p { background: var(--bg); border-radius: 12px; padding: 12px; }
.stats span { display: block; color: var(--muted); font-size: 0.85rem; }
.switch, .link-row, .row, .site-footer { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site-footer { justify-content: center; padding: 8px 16px 28px; }
.site-footer a { color: var(--muted); }
h2 { font-size: 1.35rem; }
.legal p, .legal li { color: var(--muted); }
.doc { width: min(760px, calc(100% - 40px)); margin: 28px auto 48px; }
.tool-box { display: grid; gap: 12px; margin: 18px 0 28px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.tool-box p { font-size: 1.15rem; margin: 0; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-box select { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: inherit; padding: 0 10px; }
.prompt-list { padding-left: 1.1rem; }
.prompt-list li { margin: 0.4rem 0; }
.doc h1 { font-size: 2rem; letter-spacing: -0.03em; }
.doc h2 { margin-top: 1.4em; }
.doc img { max-width: 100%; height: auto; border-radius: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.related { margin-top: 28px; }
.doc .meta { color: var(--muted); font-size: 0.9rem; }

@keyframes glow {
    50% { transform: translateY(-10px); opacity: 0.75; }
}

@media (max-width: 1024px) {
    .hero, .showcase, .globe-section, .premium, .steps, .bento, .cards, .foot-cols, .footer { grid-template-columns: minmax(0, 1fr); }
    .bento .tall { grid-row: auto; }
    .nav-links, .nav-signin { display: none; }
    .nav-menu { display: block; }
    .nav-actions { margin-left: auto; }
    .showcase { padding-inline: 20px; }
    .proof p + p { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
    .nav { height: 52px; padding-inline: 14px; gap: 8px; }
    .mark { display: none; }
    .brand { white-space: nowrap; }
    .nav-actions .btn { white-space: nowrap; padding-inline: 10px; }
    .cine .eyebrow { letter-spacing: 0.08em; }
    .proof, .pref-readout, .cards { grid-template-columns: 1fr; }
    .hero { padding-top: 28px; }
    .hero-actions .btn, .final .btn, .auth-shell .btn, .precall .btn { width: 100%; }
    .topnav-links { display: none; }
    .call-local { width: 72px; height: 96px; bottom: 64px; }
    .call-mock, .call-mock.compact { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.home { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 80px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 420px); gap: 48px; align-items: center; padding: 20px 0 48px; }
.home h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 650; }
.home h2 { margin: 0 0 14px; font-size: 1.35rem; letter-spacing: -0.02em; }
.home h3 { margin: 0 0 6px; font-size: 1rem; }
.home-copy p, .home-block > p, .home-steps p { color: var(--muted); }
.home-copy p { max-width: 38rem; font-size: 1.05rem; }
.home-block { padding: 28px 0; border-top: 1px solid var(--line); }
.home-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-list { margin: 0; padding-left: 1.15rem; color: var(--muted); display: grid; gap: 8px; }
.home-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; }
.home-links a { color: var(--text); }
.home-end { padding-top: 28px; border-top: 1px solid var(--line); }
.home .call-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 300px; padding: 48px 12px 68px; background: #0B0B10; box-shadow: none; }
.home .call-remote, .home .call-local { position: relative; inset: auto; right: auto; bottom: auto; width: auto; height: 180px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; }
.home .feed::before, .home .feed::after { display: none; }
.home .feed-remote { background: #171722; }
.home .feed-local { background: #1c1c28; }
@media (max-width: 800px) {
    .home { width: min(1040px, calc(100% - 32px)); }
    .home-hero, .home-steps { grid-template-columns: 1fr; }
    .home .call-remote, .home .call-local { height: 140px; }
}
