/* ═══════════════════════════════════════════
   WHITEPAPER GREY — whitepapergrey.com
   v21
   Aesthetic: Forensic editorial. Grey-dominant. Unchanged from v7/v8/v9.
   Fonts: Cormorant Garamond (display) + Karla (body) — unchanged, still no new fonts.

   Changes from v20 (Aug 2026 — Desktop, round-10):
   - .coming: padding-bottom overridden to shrink the gap between the notification unit
     and the footer's border-top rule by 35% (4.5rem base from .section → 2.925rem).
     Top padding stays at the shared 4.5rem section rhythm; only the bottom changed.
   ═══════════════════════════════════════════ */

:root {
    --paper:       #F4F1EC;
    --paper-alt:   #EDEAE4;
    --charcoal:    #2A2825;
    --ink:         #1C1A18;
    --mid:         #6B6560;
    --soft:        #9B958E;
    --rule:        #D4D0CA;
    --card:        #FFFFFF;
    --accent:      #8B7355;
    --accent-hover:#6D5A43;
    --error:       #B5443A;
    --on-dark:     #D4D0CA;
    --on-dark-dim: #8A857F;
    --dark-bg:     #2A2825;
    --dark-card:   #353230;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 17px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--paper);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--accent-hover); }

/* ── LAYOUT ── */
.section-inner,
.footer-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-inner {
    /* wider than the standard 820px column — the hero tagline/note each need to hold
       one full sentence per line (Forces: explicit <br>, no extra wrapping) */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4.5rem 0;
    border-top: 1px solid var(--rule);
}

.section-heading {
    font-size: 1.8rem;
    letter-spacing: 0.01em;
    margin-bottom: 1.8rem;
    color: var(--charcoal);
}

/* ── HERO ── */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: var(--paper);
}

.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.brand-disc {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: block;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

.hero-title-white {
    color: var(--charcoal);
}

.hero-title-grey {
    color: var(--soft);
    font-style: italic;
}

.hero-subtitle {
    font-family: 'Karla', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 2rem;
}

.hero-rule {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 2rem;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.875rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.9; /* opened up so the two <br>-forced lines have real air, per Forces */
    color: var(--mid);
    max-width: 1000px; /* wide enough that the explicit <br> per sentence is the only break */
    margin: 0 auto;
}

.hero-note {
    font-family: 'Karla', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    max-width: 1000px; /* wide enough that the explicit <br> per sentence is the only break */
    /* 1.4rem prior gap + half this block's own line-height (1.3rem × 1.9 ÷ 2 ≈ 1.235rem),
       dragged further down the page per Forces */
    margin: 2.635rem auto 0;
    line-height: 1.9;
}

/* ── PIPELINE ── */
.pipeline {
    background: var(--paper-alt);
}

.pipeline-heading {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2.2rem;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pipeline-card {
    background: var(--card);
    border: 1px solid var(--rule);
    padding: 2rem 1.6rem;
}

.pipeline-label {
    font-family: 'Karla', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.pipeline-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--charcoal);
}

.pipeline-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--mid);
}

.pipeline-note {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--mid);
    text-align: center;
    max-width: 680px;
    margin: 2.2rem auto 0;
}

/* ── OFFERINGS TABLE ── */
.offerings {
    background: var(--paper);
}

.offerings-table-wrap {
    overflow-x: auto;
}

.offerings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

.offerings-table th {
    font-family: 'Karla', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--soft);
    text-align: left;
    padding: 0 1rem 0.8rem 0;
    border-bottom: 2px solid var(--charcoal);
}

.offerings-table td {
    padding: 1rem 1rem 1rem 0;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
    color: var(--mid);
}

.offerings-table td:first-child {
    font-weight: 500;
    color: var(--charcoal);
    min-width: 180px;
}

.offerings-table .price {
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    min-width: 70px;
}

.offerings-table td:last-child {
    font-size: 0.9rem;
    white-space: nowrap; /* "What it does" stays a single line, no wraps breaking the row */
}

.offerings-note {
    font-size: 1.0625rem; /* 0.85rem +25% per Forces */
    color: var(--soft);
    margin-top: 1.2rem;
    font-style: italic;
}

/* ── MICA ── */
.mica {
    background: var(--dark-bg);
    color: var(--on-dark);
    border-top-color: var(--dark-card);
}

.mica .section-heading {
    color: var(--on-dark);
}

/* .mica-badge ("EU REGULATORY") removed per Forces — do not reintroduce this element. */

.mica-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--on-dark-dim);
    margin-bottom: 0.9rem;
}

.mica-body:last-of-type {
    margin-bottom: 2rem;
}

.mica-emphasis {
    color: var(--on-dark);
    font-weight: 500;
}

.mica-datapoints {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* pushed down from the body copy above by font-height × 1.5 (.mica-body:
       0.95rem font-size × 1.7 line-height ≈ 1.615rem × 1.5 ≈ 2.4rem), per Forces */
    padding-top: 2.4rem;
}

.mica-point {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    border-bottom: 1px solid var(--dark-card);
    padding-bottom: 0.8rem;
}

.mica-point-label {
    font-family: 'Karla', sans-serif;
    font-size: 1.014rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-dark);
    flex: 0 0 auto;
}

.mica-point-value {
    font-family: 'Karla', sans-serif; /* was Cormorant Garamond italic — too ornate at this size, per Forces */
    font-size: 1.02rem;
    font-style: italic;
    color: var(--on-dark-dim);
    text-align: right;
    flex: 1 1 auto;
    min-width: 0;
}

/* ── MARKET SHARE AMPLIFIES MODELS (merged: was Connection + Live Today) ── */
.market {
    background: var(--paper-alt);
}

.live-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mid);
    max-width: 680px;
    margin-bottom: 1.1rem;
}

.live-link {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.live-link:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

.connection-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mid);
    max-width: 680px;
    padding-top: 1.75rem; /* padding, not margin — margin was collapsing with .live-body's margin-bottom */
}

/* ── COMING NEXT / EMAIL CAPTURE ── */
.coming {
    background: var(--paper);
    /* contact-did is now the last element and sits just above the footer's
       border-top rule, per Forces */
    padding-bottom: 1.1rem;
}

.coming-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mid);
    margin-bottom: 0.9rem;
}

.coming-body:last-of-type {
    margin-bottom: 2rem;
}

.email-capture {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto; /* centered per Forces' prior note */
    /* padding, not margin-top — margin-top was collapsing with .coming-body's
       margin-bottom, which is why the prior move never showed up. Moved back up
       by half the 6rem drop, per Forces: 3rem */
    padding-top: 3rem;
}

.contact-email {
    text-align: center;
    /* raised from 2.4rem to make room below for .contact-did, per Forces */
    margin-top: 1.5rem;
    font-family: 'Karla', sans-serif;
    font-size: 0.9rem;
}

.contact-did {
    text-align: center;
    /* sits just below the email address and just above the footer's border-top
       rule, per Forces */
    margin-top: 0.6rem;
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    color: var(--soft);
}

.email-label {
    font-size: 0.943rem; /* 0.82rem +15% per Forces */
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.8rem;
    text-align: center;
    /* centers over the input field only, not input+button — ~135px is the
       button's own rendered width (padding + "Notify Me" at this size) */
    width: calc(100% - 135px);
}

.email-form {
    display: flex;
    gap: 0;
}

.email-input {
    flex: 1;
    font-family: 'Karla', sans-serif;
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--rule);
    border-right: none;
    background: var(--card);
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}

.email-input:focus {
    border-color: var(--accent);
}

.email-input::placeholder {
    color: var(--soft);
}

.email-button {
    font-family: 'Karla', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.7rem 1.4rem;
    background: var(--accent);
    color: #FFF;
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.email-button:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.email-button:disabled {
    background: var(--soft);
    border-color: var(--soft);
    cursor: not-allowed;
}

.signup-message {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    min-height: 1.2em;
    color: var(--mid);
}

.signup-message.is-success {
    color: var(--accent);
    font-weight: 500;
}

.signup-message.is-error {
    color: var(--error);
}

/* ── FOOTER ── */
.footer {
    position: relative;
    padding: 1.19rem 2rem; /* 1.4rem -15% per Forces, shrinks the footer's overall height */
    border-top: 1px solid var(--rule);
    background: var(--paper);
}

.footer-x {
    position: absolute;
    left: 7.7rem; /* 3rem + 2×its own 40px width, brought closer to center per Forces */
    top: 50%;
    transform: translateY(-50%);
    color: var(--soft);
    display: flex;
    align-items: center;
}

.footer-x:hover {
    color: var(--accent);
}

.footer-github {
    position: absolute;
    right: 7.7rem; /* mirrors .footer-x's left offset */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.footer-github:hover {
    opacity: 1;
}

.footer-github img {
    width: 48px; /* 44px +10% per Forces */
    height: 48px;
    display: block;
    object-fit: cover;
    border-radius: 50%; /* floating circle, per Forces */
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem; /* opened up further for clearer separation, per Forces */
    max-width: 820px;
    margin: 0 auto;
}

.footer-hire {
    font-family: 'Karla', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
}

.footer-tagline {
    font-family: 'Karla', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: var(--soft);
    text-align: center;
    margin-top: 0.6rem; /* half this line's own line-height, dragged down per Forces */
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
    html { font-size: 15px; }

    .hero-title { font-size: 2.8rem; }
    .hero-tagline { font-size: 1.4rem; }
    .hero-note { font-size: 1.05rem; }

    .pipeline-heading { font-size: 1.7rem; }
    .pipeline-note { font-size: 1.15rem; }

    /* .footer-x and .footer-github are absolutely positioned at fixed left/right
       offsets for desktop; at mobile width those offsets collide with the centered
       footer text, so pull both back into normal flow — side by side, above the
       text — instead. flex-wrap + footer-inner's 100% basis forces the icons onto
       their own row first, then the text wraps to the row below. */
    .footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.8rem 1.2rem;
    }

    .footer-x,
    .footer-github {
        position: static;
        transform: none;
        margin: 0;
    }

    .footer-x      { order: 1; }
    .footer-github { order: 2; }
    .footer-inner  { order: 3; flex: 1 0 100%; }

    .footer-inner      { gap: 0.8rem; }
    .footer-hire       { font-size: 0.92rem; }
    .footer-tagline    { font-size: 0.74rem; }
    .mica-point-label  { font-size: 0.85rem; }
    .mica-point-value  { font-size: 0.95rem; }

    .hero-title-row {
        gap: 1rem;
    }

    .brand-disc {
        width: 64px;
        height: 64px;
    }

    .pipeline-grid {
        grid-template-columns: 1fr;
    }

    .offerings-table {
        font-size: 0.92rem;
    }

    .offerings-table td:last-child {
        font-size: 0.8rem;
    }

    .mica-point {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-start;
    }

    .mica-point-value {
        text-align: left;
    }

    .section { padding: 3rem 0; }
    .hero { padding: 4rem 0 3rem; }
}

/* ── ANIMATION: subtle fade-in on load ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-row { animation: fadeUp 0.6s ease-out 0.1s both; }
.hero-subtitle  { animation: fadeUp 0.6s ease-out 0.3s both; }
.hero-rule      { animation: fadeUp 0.6s ease-out 0.45s both; }
.hero-tagline   { animation: fadeUp 0.6s ease-out 0.55s both; }
