:root {
    --accent: #CCFF00;
    --accent-dim: #DFFF00;
    --accent-muted: #555;
    --ink: #000;
    --ink-light: #333;
    --ink-muted: #666;
    --surface: #ffffff;
    --surface-raised: #f7f7f7;
    --border: #e0e0e0;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- LOGO ---------- */
.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}
.logo-m {
    display: inline-block;
    height: 22px;
    width: auto;
    flex-shrink: 0;
}
.footer-logo .logo-m {
    height: 20px;
}

/* ---------- HEADER ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.beta-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    border: 1.5px solid var(--border);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: var(--ink-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s;
}
nav a:hover {
    color: var(--ink);
}
nav a.nav-cta {
    color: var(--ink);
    font-weight: 600;
}
nav a.nav-cta::after {
    content: ' \2192';
    color: var(--ink-muted);
}

/* ---------- HERO ---------- */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    display: none;
}
.hero-content {
    max-width: 720px;
}
.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #999 60%, var(--accent) 100%);
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 1.75rem;
    overflow-wrap: break-word;
}
.hero h1 em {
    font-style: normal;
    position: relative;
    white-space: nowrap;
}
.hero h1 em::after {
    content: '';
    position: absolute;
    left: -0.05em;
    right: -0.05em;
    bottom: 0.06em;
    height: 0.32em;
    background: var(--accent);
    z-index: -1;
}
.hero p {
    font-size: 1.15rem;
    color: var(--ink-light);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.cta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid transparent;
}
.btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.btn-primary:hover {
    background: #000;
    border-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn-ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* ---------- BADGES / TRUST STRIP ---------- */
.compat-strip {
    margin-top: 3.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.compat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
    font-weight: 500;
}
.compat-item i {
    color: var(--ink);
    font-size: 0.7rem;
}

/* ---------- SECTIONS ---------- */
section {
    padding: 6rem 0;
}
.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1rem;
}
.section-sub {
    color: var(--ink-light);
    max-width: 560px;
    margin-bottom: 3.5rem;
    font-size: 1.05rem;
}

/* ---------- PROBLEM BAND ---------- */
.problem-section {
    background: var(--ink);
    color: #fff;
    border-top: 3px solid var(--accent);
}
.problem-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}
.problem-section .section-label {
    color: var(--accent);
}
.problem-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    overflow-wrap: break-word;
}
.problem-headline em {
    font-style: normal;
    color: var(--accent);
}
.problem-section p {
    color: rgba(255,255,255,0.72);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.problem-section p:last-child {
    margin-bottom: 0;
}
.problem-section p strong {
    color: #fff;
    font-weight: 600;
}

/* ---------- FEATURES ---------- */
.features-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--accent);
    border-radius: 12px;
    overflow: hidden;
}
.feature-cell {
    background: var(--surface);
    padding: 2.25rem;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}
.feature-cell:hover {
    background: #fafafa;
    border-bottom-color: var(--accent);
}
.feature-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--ink);
    font-size: 1rem;
}
.feature-cell h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--ink);
}
.feature-cell p {
    color: var(--ink-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- PLATFORMS ---------- */
.platforms-section {
    border-bottom: 1px solid var(--border);
}
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 800px;
}
.platform-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.platform-card:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.platform-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
    object-fit: contain;
}
.platform-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}
.platforms-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

/* ---------- HOW IT WORKS ---------- */
.steps-wrap {
    max-width: 640px;
}
.step {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid #ddd;
    border-bottom: none;
}
.step:last-child {
    border-left-color: var(--accent);
}
.step-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: #bbb;
    flex-shrink: 0;
    width: 2rem;
}
.step:last-child .step-num {
    color: var(--accent);
}
.step h4 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.step p {
    color: var(--ink-light);
    font-size: 0.95rem;
}
.step code {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    background: var(--ink);
    color: #e0e0e0;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    display: block;
    margin-top: 0.75rem;
    overflow-x: auto;
    line-height: 1.5;
}
.steps-cta {
    margin-top: 3rem;
}

/* ---------- DEVELOPER CALLOUT (homepage) ---------- */
.dev-callout {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.75rem 2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-raised);
}
.dev-callout-text h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.dev-callout-text p {
    color: var(--ink-muted);
    font-size: 0.95rem;
    max-width: 620px;
}

/* ---------- PRICING ---------- */
.pricing-section {
    background: #fafafa;
    border-top: 1px solid var(--border);
}
.pricing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid var(--border);
}
.price-card.featured {
    border-color: var(--border);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: relative;
}
.price-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--ink);
    color: var(--accent);
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
}
.price-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.price-card .price-amount {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.25rem;
}
.price-card .price-period {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: 1.75rem;
}
.price-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}
.price-card li {
    font-size: 0.9rem;
    color: var(--ink-light);
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.price-card li i {
    color: var(--ink);
    font-size: 0.7rem;
    margin-top: 0.35rem;
}
.price-card .btn {
    width: 100%;
    justify-content: center;
}

/* ---------- DEVELOPERS PAGE ---------- */
.page-hero {
    padding: 5rem 0 3rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    text-decoration: none;
    margin-bottom: 1.75rem;
    transition: color 0.15s;
}
.back-link:hover {
    color: var(--ink);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
}
.page-hero p {
    font-size: 1.15rem;
    color: var(--ink-light);
    max-width: 620px;
    line-height: 1.7;
}
.page-hero .cta-row {
    margin-top: 2rem;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.install-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    background: var(--surface);
    border-bottom: 3px solid var(--border);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.install-card.featured {
    border-bottom-color: var(--accent);
}
.install-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.install-card .install-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    margin-bottom: 1rem;
}
.install-card p {
    color: var(--ink-muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    flex: 1;
}
.code-block {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: var(--ink);
    color: #e0e0e0;
    padding: 1rem 1.15rem;
    border-radius: 8px;
    display: block;
    overflow-x: auto;
    line-height: 1.65;
    white-space: pre;
}
.code-block .c-comment {
    color: #8a8f7a;
}
.code-block .c-accent {
    color: var(--accent);
}

/* ---------- METHOD / CALLOUT BOX ---------- */
.method-box {
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--surface-raised);
    padding: 1.75rem 2rem;
    max-width: 760px;
}
.method-box .formula {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    margin: 1rem 0;
    display: block;
    overflow-x: auto;
    white-space: pre;
}
.prose {
    max-width: 760px;
}
.prose p {
    color: var(--ink-light);
    margin-bottom: 1.1rem;
    font-size: 1rem;
}
.prose a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}
.prose ul {
    margin: 0 0 1.1rem 1.25rem;
    color: var(--ink-light);
}
.prose li {
    margin-bottom: 0.4rem;
}
.repo-layout {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: var(--ink);
    color: #d8d8d8;
    padding: 1.5rem 1.75rem;
    border-radius: 10px;
    overflow-x: auto;
    line-height: 1.7;
    white-space: pre;
    max-width: 820px;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 3.5rem 0;
    border-top: 3px solid var(--accent);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.15s;
}
footer a:hover {
    color: #fff;
}
.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
}
.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero { padding: 5rem 0 4rem; }
    .problem-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .install-grid { grid-template-columns: 1fr; }
    .pricing-row { grid-template-columns: 1fr; max-width: 400px; }
    .header-inner { flex-wrap: wrap; gap: 0.75rem; height: auto; padding: 1rem 0; }
    nav ul { gap: 1.25rem; flex-wrap: wrap; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
    .dev-callout { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
