:root {
    --bg: #120d15;
    --bg-deep: #09060b;
    --surface: rgba(39, 28, 45, 0.78);
    --surface-strong: rgba(56, 39, 63, 0.94);
    --surface-soft: rgba(108, 70, 117, 0.34);
    --text: #fcf7fd;
    --muted: #d3c2d8;
    --line: rgba(234, 216, 239, 0.14);
    --primary: #6c4675;
    --primary-strong: #8a5a94;
    --secondary: #e3c5eb;
    --success: #8fe2ab;
    --warning: #ffd087;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --content-width: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(108, 70, 117, 0.28), transparent 32%),
        linear-gradient(180deg, #120d15 0%, #3b2843 58%, #88748f 100%);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a.btn {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.7;
}

.orb-a {
    width: 30rem;
    height: 30rem;
    top: -6rem;
    right: -8rem;
    background: radial-gradient(circle, rgba(108, 70, 117, 0.34), rgba(108, 70, 117, 0));
}

.orb-b {
    width: 22rem;
    height: 22rem;
    top: 24rem;
    left: -7rem;
    background: radial-gradient(circle, rgba(184, 137, 198, 0.2), rgba(184, 137, 198, 0));
}

.orb-c {
    width: 18rem;
    height: 18rem;
    bottom: 12rem;
    right: 12%;
    background: radial-gradient(circle, rgba(255, 218, 138, 0.1), rgba(255, 218, 138, 0));
}

.pointer-blob {
    position: absolute;
    left: 0;
    top: 0;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    opacity: 0;
    transform: translate3d(-999px, -999px, 0);
    transition: opacity 0.22s ease;
    will-change: transform, opacity;
    background:
        radial-gradient(circle, rgba(88, 166, 255, 0.34) 0%, rgba(88, 166, 255, 0.12) 34%, rgba(88, 166, 255, 0) 72%);
    filter: blur(10px);
}

.pointer-blob::before,
.pointer-blob::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.pointer-blob::before {
    background:
        radial-gradient(circle, rgba(88, 166, 255, 0.18) 0%, rgba(88, 166, 255, 0) 62%);
    transform: scale(1.28);
    filter: blur(16px);
}

.pointer-blob::after {
    inset: 32%;
    background: radial-gradient(circle, rgba(156, 205, 255, 0.72) 0%, rgba(156, 205, 255, 0) 74%);
    filter: blur(7px);
}

.pointer-blob.is-visible {
    opacity: 0.95;
}

.grid-glow {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
}

.site-header,
.section,
.site-footer {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 22px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(220, 198, 228, 0.96), rgba(145, 95, 157, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow:
        0 12px 36px rgba(45, 24, 53, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.brand-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3 {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.brand-copy strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.brand-copy span {
    font-size: 0.88rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(21, 15, 24, 0.42);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.site-nav a,
.footer-links a {
    color: var(--muted);
    transition: color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.footer-links a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.header-actions,
.hero-actions-row,
.sticky-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

.btn-chrome-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.2rem;
}

.btn-chrome-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 18px 40px rgba(108, 70, 117, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 20px 46px rgba(108, 70, 117, 0.5);
}

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.btn-secondary:hover,
.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.09);
}

.btn-large {
    padding: 1rem 1.45rem;
    font-weight: 800;
}

.btn-block {
    width: 100%;
}

.section {
    padding: 120px 0;
}

.section-tight {
    padding-top: 12px;
    padding-bottom: 12px;
}

.hero {
    padding-top: 60px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: 60px;
    text-align: left;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.eyebrow,
.mini-label,
.pricing-label,
.surface-label,
.surface-stat-label {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    line-height: 1.0;
    letter-spacing: -0.06em;
    max-width: 15ch;
}

.hero-text,
.section-heading p,
.feature-card p,
.step-card p,
.requirement-card p,
.faq-panel p,
.pricing-card li,
.footer-copy,
.surface-card p,
.surface-stat span {
    color: var(--muted);
}

.hero-text {
    font-size: 1.15rem;
    max-width: 50ch;
    margin: 24px 0 0;
    line-height: 1.5;
}

.logo-strip {
    margin: 40px 0 32px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.logo-grid {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-strip-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    opacity: 0.6;
    margin: 0;
    white-space: nowrap;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: var(--text);
}

.logo-item svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    display: block;
}

.logo-item span {
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-meta span {
    display: flex;
    align-items: center;
}

.hero-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 12px;
    opacity: 0.4;
    color: var(--muted);
}

.hero-actions-row {
    justify-content: flex-start;
    margin-bottom: 10px;
}

.hero-demo {
    display: flex;
    justify-content: stretch;
}

.hero-demo-window {
    width: 100%;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(42, 30, 49, 0.96), rgba(23, 16, 28, 0.94)),
        rgba(23, 16, 28, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.hero-demo-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.hero-demo-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-demo-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.hero-demo-dots span:nth-child(1) {
    background: #ff6b6b;
}

.hero-demo-dots span:nth-child(2) {
    background: #f7c65c;
}

.hero-demo-dots span:nth-child(3) {
    background: #4dd38c;
}

.hero-demo-tab,
.hero-demo-live {
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-demo-tab {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.hero-demo-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d8f5df;
}

.hero-demo-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px rgba(143, 226, 171, 0.7);
}

.hero-demo-screen {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.hero-demo-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: #000;
}

.surface-card,
.signal-card,
.feature-card,
.step-card,
.requirements-panel,
.requirement-card,
.pricing-card,
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.surface-card {
    border-radius: var(--radius-xl);
    padding: 22px;
}

.surface-card-main {
    background:
        linear-gradient(160deg, rgba(58, 39, 65, 0.95), rgba(22, 14, 26, 0.9)),
        rgba(22, 14, 26, 0.9);
}

.surface-card-story {
    overflow: hidden;
}

.surface-card-header,
.surface-card-brand,
.surface-stat-grid,
.surface-rail,
.signal-strip,
.feature-grid,
.step-grid,
.requirements-grid,
.pricing-grid,
.footer-links,
.surface-stack {
    display: grid;
}

.surface-card-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.surface-card-brand {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
}

.surface-badge {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(230, 210, 236, 0.96), rgba(157, 108, 171, 0.82));
}

.surface-badge-icon {
    width: 24px;
    height: 24px;
}

.surface-label,
.mini-label,
.pricing-label,
.surface-stat-label {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--secondary);
}

.surface-subtitle {
    margin: 0.2rem 0 0;
}

.surface-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 0.78rem;
    border-radius: 999px;
    background: rgba(108, 240, 168, 0.12);
    border: 1px solid rgba(108, 240, 168, 0.24);
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 700;
}

.surface-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.surface-stat {
    border-radius: var(--radius-md);
    padding: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.surface-stat strong {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    display: block;
    font-size: 1.45rem;
    margin: 0.42rem 0 0.28rem;
}

.surface-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.surface-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    min-height: 54px;
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.surface-stack {
    gap: 18px;
}

.surface-stack h2 {
    margin: 0.3rem 0 0.5rem;
    font-size: 1.36rem;
}

.hero-preview-card {
    padding: 24px;
}

.hero-preview-stage {
    margin-top: 22px;
    padding: 24px;
    border-radius: 24px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
}

.hero-preview-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f3e7f7;
    font-size: 0.92rem;
}

.hero-preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--success);
    box-shadow:
        0 0 0 6px rgba(143, 226, 171, 0.12),
        0 0 18px rgba(143, 226, 171, 0.45);
}

.hero-preview-ring {
    width: min(100%, 280px);
    aspect-ratio: 1;
    margin: 4px auto 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 32%),
        linear-gradient(145deg, rgba(175, 118, 190, 0.95), rgba(108, 70, 117, 0.95));
    box-shadow:
        0 0 0 16px rgba(140, 99, 152, 0.12),
        0 32px 70px rgba(20, 11, 24, 0.52);
}

.hero-preview-core {
    width: calc(100% - 48px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(54, 35, 61, 0.62)),
        rgba(42, 27, 47, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -20px 38px rgba(0, 0, 0, 0.16);
}

.hero-preview-core span,
.hero-mode-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
}

.hero-preview-core strong,
.hero-mode-card strong {
    display: block;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--text);
}

.hero-preview-core strong {
    margin-top: 0.55rem;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-preview-copy {
    max-width: 38ch;
    margin: 0;
    color: var(--muted);
}

.hero-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.hero-mode-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-mode-card strong {
    margin-top: 0.5rem;
    font-size: 1.28rem;
}

.hero-mode-card p {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-proof-list,
.surface-inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-proof-list span,
.surface-inline-tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #f0e3f5;
    font-size: 0.88rem;
}

.signal-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.signal-card,
.feature-card,
.step-card,
.requirement-card,
.pricing-card {
    border-radius: var(--radius-lg);
    padding: 22px;
}

.signal-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.signal-icon,
.step-number {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-weight: 700;
    background: linear-gradient(145deg, rgba(108, 70, 117, 0.25), rgba(227, 197, 235, 0.16));
    border: 1px solid rgba(228, 206, 236, 0.24);
    color: var(--text);
}

.signal-card h2,
.feature-card h3,
.step-card h3,
.requirement-card h3,
.pricing-card h3,
.section-heading h2 {
    margin: 0;
}

.signal-card p {
    margin: 0.4rem 0 0;
    color: var(--muted);
}

.section-heading {
    max-width: 60rem;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 0.7rem;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.comparison-card {
    padding: 24px;
}

.comparison-card-good {
    background:
        linear-gradient(180deg, rgba(108, 240, 168, 0.08), rgba(39, 28, 45, 0.82)),
        rgba(39, 28, 45, 0.82);
    border-color: rgba(143, 226, 171, 0.18);
}

.comparison-card-caution {
    background:
        linear-gradient(180deg, rgba(255, 208, 135, 0.08), rgba(39, 28, 45, 0.82)),
        rgba(39, 28, 45, 0.82);
    border-color: rgba(255, 208, 135, 0.18);
}

.comparison-card-top h3 {
    margin: 0.75rem 0 0.45rem;
    font-size: 1.5rem;
}

.comparison-card-top p {
    margin: 0;
}

.comparison-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.comparison-badge-good {
    background: rgba(143, 226, 171, 0.12);
    border: 1px solid rgba(143, 226, 171, 0.22);
    color: var(--success);
}

.comparison-badge-caution {
    background: rgba(255, 208, 135, 0.12);
    border: 1px solid rgba(255, 208, 135, 0.22);
    color: var(--warning);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 1.35rem 0 0;
    display: grid;
    gap: 0.9rem;
}

.comparison-list li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--muted);
}

.comparison-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.9;
}

.comparison-card-good .comparison-list li::before {
    color: var(--success);
}

.comparison-card-caution .comparison-list li::before {
    color: var(--warning);
}

.comparison-note {
    max-width: 56rem;
    margin: 20px 0 0;
    color: var(--muted);
}

.feature-card h3 {
    font-size: 1.38rem;
    margin: 0.38rem 0 0.55rem;
}

.step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.step-card {
    min-height: 220px;
}

.step-card h3 {
    font-size: 1.28rem;
    margin: 1rem 0 0.55rem;
}

.optimization-center {
    border-radius: 28px;
    padding: 36px;
    margin-top: 44px;
}

.opt-header {
    text-align: center;
    margin-bottom: 32px;
}

.opt-eyebrow {
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.opt-header h2 {
    font-size: 1.85rem;
    margin: 8px 0;
}

.opt-header p {
    font-size: 0.95rem;
    margin: 0;
}

.opt-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
}

.opt-zone {
    display: flex;
    gap: 18px;
}

.opt-icon-wrap {
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opt-content h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.opt-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.os-quick-links {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.os-link {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.os-link strong {
    font-size: 0.75rem;
    color: var(--secondary);
    display: block;
    margin-bottom: 4px;
}

.os-link code {
    font-size: 0.74rem;
    line-height: 1.4;
    color: var(--muted);
    background: none;
    padding: 0;
}

.opt-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.opt-footer p {
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 60ch;
    margin: 0 auto;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    background: transparent;
    color: var(--text);
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
}

.faq-plus {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--secondary);
    transition: transform 0.22s ease;
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.24s ease;
}

.faq-panel p {
    min-height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0 22px;
}

.faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq-item.is-open .faq-panel p {
    padding-bottom: 22px;
}

.faq-item.is-open .faq-plus {
    transform: rotate(45deg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
    }
}

.pricing-toolbar {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.pricing-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 14px;
}

.pricing-field {
    display: grid;
    gap: 8px;
}

.pricing-field span {
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(20, 14, 24, 0.82);
    color: var(--text);
    padding: 0.9rem 1rem;
    font: inherit;
    cursor: pointer;
    appearance: none;
    transition: var(--transition-base);
}

select.pricing-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.pricing-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(35, 22, 42, 0.9);
}

.pricing-input option,
.pricing-input optgroup {
    background: #1a121e;
    color: #fff;
    padding: 8px;
}

.pricing-helper {
    margin: 0;
    color: var(--muted);
}

.pricing-helper[data-tone="ready"] {
    color: var(--success);
}

.pricing-helper[data-tone="error"] {
    color: var(--warning);
}

.pricing-card {
    position: relative;
}

.pricing-card.is-unavailable {
    opacity: 0.68;
    border-color: rgba(255, 255, 255, 0.08);
}

.pricing-card.is-unavailable .btn {
    box-shadow: none;
}

.pricing-card h3 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
    margin-top: 0.55rem;
}

.pricing-card h3 span {
    font-size: 1rem;
    color: var(--muted);
    margin-left: 0.35rem;
}

.pricing-amount {
    color: var(--text);
}

.pricing-meta {
    margin: 0.65rem 0 0;
    color: var(--muted);
    min-height: 1.4rem;
}

.pricing-card ul {
    padding-left: 1rem;
    margin: 1.2rem 0 1.55rem;
    display: grid;
    gap: 0.8rem;
}

.pricing-card-featured {
    background:
        linear-gradient(180deg, rgba(108, 70, 117, 0.36), rgba(42, 29, 48, 0.94)),
        rgba(42, 29, 48, 0.94);
    border-color: rgba(227, 197, 235, 0.25);
    transform: translateY(-10px);
}

.pricing-ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--warning);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-footer {
    padding: 28px 0 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-footer .brand-mark {
    width: 46px;
    height: 46px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.footer-meta {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    padding: 0 1px;
    line-height: 1;
    color: var(--muted);
    transition: color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.footer-copy {
    max-width: 28ch;
    text-align: right;
}

.legal-page {
    min-height: 100vh;
}

.legal-shell {
    width: min(calc(100% - 32px), 880px);
    margin: 0 auto;
    padding: 48px 0 80px;
    position: relative;
    z-index: 1;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--secondary);
    font-weight: 700;
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    border-radius: 28px;
    padding: 32px;
}

.legal-card h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.legal-updated {
    margin: 12px 0 0;
    color: var(--secondary);
    font-weight: 700;
}

.legal-copy {
    margin-top: 28px;
    display: grid;
    gap: 20px;
}

.legal-copy h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.legal-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 1120px);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(108, 70, 117, 0.96), rgba(139, 93, 152, 0.94)),
        rgba(108, 70, 117, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 55px rgba(34, 18, 39, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.sticky-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.sticky-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sticky-copy span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.site-toast {
    position: fixed;
    right: 18px;
    bottom: 108px;
    max-width: min(360px, calc(100% - 36px));
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(26, 16, 31, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 6;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {

    .hero,
    .comparison-grid,
    .feature-grid,
    .pricing-grid,
    .signal-strip {
        grid-template-columns: 1fr;
    }

    .step-grid,
    .requirements-grid,
    .surface-stat-grid,
    .surface-rail,
    .hero-mode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        max-width: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .hero h1,
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions-row,
    .hero-meta {
        justify-content: center;
    }

    .pricing-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card-featured {
        transform: none;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-meta {
        justify-items: start;
    }

    .footer-copy {
        text-align: left;
    }
}

@media (max-width: 820px) {
    .site-header {
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions {
        margin-left: auto;
    }

    .step-grid,
    .requirements-grid,
    .surface-stat-grid,
    .surface-rail,
    .hero-mode-grid {
        grid-template-columns: 1fr;
    }

    .pricing-controls {
        grid-template-columns: 1fr;
    }

    .sticky-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .sticky-actions {
        width: 100%;
    }

    .sticky-actions .btn {
        flex: 1;
    }
}

@media (max-width: 640px) {
    body {
        background:
            radial-gradient(circle at top, rgba(108, 70, 117, 0.3), transparent 30%),
            linear-gradient(180deg, #120d15 0%, #3b2843 58%, #88748f 100%);
    }

    .site-header,
    .section,
    .site-footer {
        width: min(calc(100% - 24px), var(--content-width));
    }

    .site-header {
        padding-top: 18px;
    }

    .site-nav {
        display: none;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
    }

    .header-actions .btn,
    .hero-actions-row .btn,
    .sticky-actions .btn {
        flex: 1;
    }

    .hero {
        padding-top: 18px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.3rem);
    }

    .surface-card,
    .signal-card,
    .feature-card,
    .step-card,
    .requirement-card,
    .pricing-card,
    .requirements-panel {
        padding: 18px;
    }

    .hero-actions-row,
    .sticky-actions,
    .header-actions {
        flex-wrap: wrap;
    }

    .hero-meta {
        flex-direction: column;
    }

    .hero-demo-screen {
        padding: 10px;
    }

    .site-footer {
        padding-bottom: 164px;
    }

    .legal-shell {
        width: min(calc(100% - 24px), 880px);
        padding-top: 24px;
    }

    .legal-card {
        padding: 22px 18px;
    }

    .sticky-copy {
        text-align: center;
    }

    .site-toast {
        right: 12px;
        bottom: 124px;
    }
}

@media (pointer: coarse) {
    .pointer-blob {
        display: none;
    }
}
