:root {
    /* Color Palette */
    --bg-void: #09090B;
    --bg-surface: #18181B;
    --border-color: #27272A;

    --text-primary: #FAFAFA;
    --text-secondary: #A1A1AA;

    --accent-cyan: #00F0FF;
    --accent-amber: #FF5500;

    /* Typography */
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing & Sizing */
    --container-width: 1100px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-inter);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Subtle glowing background effect */
.glow-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(9, 9, 11, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header */
.site-header {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(39, 39, 42, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    z-index: 10000;
    padding: 0.65rem 1rem;
    background: var(--text-primary);
    color: var(--bg-void);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 96px;
    width: auto;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-void);
}

.btn-primary:hover {
    background-color: #E4E4E7;
    transform: translateY(-1px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.hero-container {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-lg);
}

.hero-title span {
    color: var(--accent-cyan);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Subscribe Form */
.subscribe-form {
    max-width: 480px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.input-group input::placeholder {
    color: rgba(161, 161, 170, 0.5);
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Value Props Grid */
.value-props {
    padding: var(--spacing-xl) 0 6rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}



.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ─── Article Layout ─────────────────────────────────── */
.article-main {
    padding: 3rem 0 5rem;
}

.article-content {
    max-width: 680px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2.5rem;
}

.article-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0.75rem 0 0.5rem;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--text-secondary);
    opacity: 0.4;
}

/* Article body text */
.article-content p {
    line-height: 1.8;
    margin-bottom: 1.4rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.article-content p strong {
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 1.4rem;
    font-weight: 650;
    margin: 3rem 0 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.article-content li {
    line-height: 1.75;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.article-content li strong {
    color: var(--text-primary);
}

.article-content a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 3rem 0;
}

/* Code blocks */
.article-content code {
    font-family: 'SFMono-Regular', 'Fira Code', 'Fira Mono', Consolas, monospace;
    font-size: 0.875em;
    background: rgba(0, 241, 255, 0.06);
    border: 1px solid rgba(0, 241, 255, 0.12);
    border-radius: 4px;
    padding: 0.15em 0.4em;
    color: #a8dadc;
}

.article-content pre {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    position: relative;
}

.article-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    color: #cdd9e5;
    line-height: 1.7;
}

/* Figures */
.article-content figure {
    margin: 2.5rem 0;
}

.article-content figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.07);
    display: block;
}

.article-content figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.65rem;
    opacity: 0.7;
}

/* ─── Footer ──────────────────────────────────────────── */
/* Footer */
.site-footer {
    margin-top: auto;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.footer-made-by {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.footer-credit-link {
    color: #00fff5;
    font-weight: 600;
    text-decoration: none;
    text-shadow:
        0 0 10px rgba(0, 255, 245, 0.55),
        0 0 22px rgba(0, 240, 255, 0.35);
}

.footer-credit-link:hover {
    color: #e6fffd;
    text-decoration: underline;
    text-shadow:
        0 0 14px rgba(0, 255, 245, 0.75),
        0 0 28px rgba(0, 240, 255, 0.45);
}


/* Homepage featured image band */
.home-featured-wrap {
    max-width: 760px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.home-featured-wrap img {
    width: 100%;
    border-radius: 16px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Submit a story (mailto flow — no form fields) */
.submit-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: opacity var(--transition-fast);
}

.submit-page .back-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.submit-page .submission-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background-color: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.submit-page .submission-note strong {
    color: var(--accent-cyan);
}

.submit-page .submission-note ul {
    margin: 0.75rem 0 0 1.25rem;
    padding-left: 0.25rem;
}

.submit-page .submission-note .submit-note-footer {
    margin-top: 0.75rem;
}

.submit-page .submit-crosslinks {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.submit-page .submit-crosslinks a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.submit-page .submit-crosslinks a:hover {
    text-decoration: underline;
}

.submit-page .submit-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Link-in-bio: single-purpose page; body centered (inherits site tokens from :root) */
body.bio-page {
    align-items: center;
    padding: 2rem 1rem 4rem;
}

.bio-container {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.bio-page .brand-logo {
    height: 96px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.bio-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.bio-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.bio-subscribe-form {
    margin-bottom: 2.5rem;
}

.bio-subscribe-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-inter);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    margin-bottom: 0.5rem;
}

.bio-subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.bio-subscribe-form input::placeholder {
    color: rgba(161, 161, 170, 0.5);
}

.bio-subscribe-form button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--text-primary);
    color: var(--bg-void);
    border: none;
    border-radius: 6px;
    font-family: var(--font-inter);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.bio-subscribe-form button:hover {
    background-color: #e4e4e7;
}

.bio-privacy-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.bio-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.bio-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.bio-link:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.bio-link-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bio-link-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1rem;
}

.bio-link-arrow {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.bio-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
    opacity: 0.4;
}

.bio-footer {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.bio-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.bio-footer a:hover {
    text-decoration: underline;
}

.bio-footer-credit {
    display: inline-block;
    margin-top: 0.65rem;
}

.bio-footer .footer-credit-link {
    color: #00fff5;
    font-weight: 600;
    text-decoration: none;
    text-shadow:
        0 0 10px rgba(0, 255, 245, 0.55),
        0 0 22px rgba(0, 240, 255, 0.35);
}

.bio-footer .footer-credit-link:hover {
    color: #e6fffd;
    text-decoration: underline;
    text-shadow:
        0 0 14px rgba(0, 255, 245, 0.75),
        0 0 28px rgba(0, 240, 255, 0.45);
}

.bio-page .glow-bg {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(9, 9, 11, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* ─── Lead magnet /lead/index.html ───────────────────── */
body.lead-page {
    --lead-muted: #8892b0;
    --lead-muted-dark: #5a6380;
}

.lead-page .lead-brand {
    text-decoration: none;
    color: inherit;
}

.lead-page .privacy-note .text-accent {
    color: var(--accent-cyan);
    font-weight: 600;
}

.lead-page .lead-hero-figure {
    margin: 2rem 0 0;
}

.lead-page .lead-hero-figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.lead-page .lead-figcaption {
    text-align: center;
    color: var(--lead-muted);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.lead-section {
    padding: 4rem 0;
}

.lead-section--band {
    background: rgba(0, 0, 0, 0.2);
}

.lead-section--tight {
    padding: 3rem 0;
}

.lead-section--footer-pad {
    padding: 0 0 4rem;
}

.lead-narrow {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lead-wide {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lead-section-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 600;
}

.lead-section-title--tight {
    margin-bottom: 2rem;
}

.lead-section-title--small {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.lead-section-title--micro {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--lead-muted);
    font-weight: 600;
}

.lead-kit-figure {
    margin: 0 auto 2rem;
    max-width: 700px;
}

.lead-kit-figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.lead-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.lead-kit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
}

.lead-kit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.lead-kit-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lead-body-muted {
    color: var(--lead-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.55;
}

.lead-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.lead-mini-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lead-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.lead-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.lead-step-num {
    min-width: 40px;
    height: 40px;
    background: rgba(0, 241, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 1rem;
    flex-shrink: 0;
}

.lead-step-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lead-inline-code {
    background: rgba(0, 241, 255, 0.08);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: 'SFMono-Regular', 'Fira Code', Consolas, monospace;
}

.lead-cta-group {
    text-align: center;
    margin-top: 3rem;
}

.lead-cta-btn {
    font-size: 1rem;
    padding: 0.75rem 2rem;
}

.lead-cta-hint {
    color: var(--lead-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.lead-file-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}

.lead-file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.875rem 1.25rem;
}

.lead-file-name {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.lead-file-code {
    font-size: 0.8rem;
    color: var(--lead-muted);
    font-family: 'SFMono-Regular', 'Fira Code', Consolas, monospace;
}

.lead-trust {
    text-align: center;
}

.lead-trust-sub {
    color: var(--lead-muted-dark);
    font-size: 0.9rem;
    margin: 0;
}

.lead-nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lead-nav-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.875rem;
}

.lead-nav-link:hover {
    text-decoration: underline;
}

/* Article FAQ accordion (shared) */
.article-content .faq {
    margin-top: 2rem;
}

.article-content .faq > h2 {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 1rem;
}

.article-content .faq details {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.article-content .faq summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
}

.article-content .faq details[open] summary {
    margin-bottom: 0.5rem;
}

.article-content .faq details p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }

    .input-group button {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .lead-page .lead-audience-grid {
        grid-template-columns: 1fr;
    }
}