/* ══════════════════════════════════════════
   ZephyrLifeOS marketing site
   Palette: navy #0A1128→#0D1B3E, maroon #3A0A0A→#8B1A1A,
   crimson #D32F2F, ember #F0653F, parchment #FBEBD8, slate #8A95B8
   Display: Fraunces · Body: Inter · Data: IBM Plex Mono
   ══════════════════════════════════════════ */

:root {
    --navy: #0A1128;
    --navy-2: #0D1B3E;
    --panel: #101a3a;
    --panel-border: rgba(232, 193, 88, 0.12);
    --maroon: #3A0A0A;
    --maroon-2: #8B1A1A;
    --crimson: #D32F2F;
    --ember: #F0653F;
    --ember-bright: #F7A050;
    --parchment: #FBEBD8;
    --slate: #8A95B8;
    --slate-dim: #5A6488;
    --free-green: #7EC98F;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--navy);
    color: var(--parchment);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'IBM Plex Mono', monospace; }

h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.12;
    margin: 0;
    color: #fff;
    letter-spacing: -0.01em;
}

p { color: var(--slate); margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ember);
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 0 0 8px 0;
    z-index: 999;
}
.skip-link:focus { left: 0; }
*:focus-visible { outline: 2px solid var(--ember-bright); outline-offset: 3px; }

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 17, 40, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--panel-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; color: #fff; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.site-nav a:not(.btn-launch) { color: var(--slate); transition: color 0.15s; }
.site-nav a:not(.btn-launch):hover { color: #fff; }
.btn-launch {
    background: linear-gradient(135deg, var(--maroon-2), var(--crimson) 55%, var(--ember));
    color: var(--parchment);
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 6px 18px -6px rgba(211, 47, 47, 0.5);
}

/* ── Buttons ── */
.btn-primary, .btn-outline, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--maroon-2), var(--crimson) 55%, var(--ember));
    color: var(--parchment);
    box-shadow: 0 10px 26px -8px rgba(211, 47, 47, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-large { padding: 16px 34px; font-size: 16px; border-radius: 10px; }
.btn-ghost { color: var(--slate); border: 1px solid var(--panel-border); border-radius: 8px; }
.btn-ghost:hover { color: #fff; border-color: rgba(232, 193, 88, 0.3); }
.btn-outline {
    display: block;
    text-align: center;
    padding: 11px 20px;
    border-radius: 8px;
    border: 1.5px solid rgba(232, 193, 88, 0.25);
    color: var(--parchment);
    font-weight: 600;
    font-size: 14px;
    margin-top: 22px;
}
.btn-outline:hover { border-color: var(--ember); }

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ember-bright);
    margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }

/* ── Masthead (hero) — asymmetric, left-aligned, not centered ── */
.masthead {
    position: relative;
    padding: 76px 0 64px;
    border-bottom: 1px solid var(--panel-border);
    overflow: hidden;
}
.masthead::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -80px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.18) 0%, transparent 68%);
    pointer-events: none;
}
.masthead-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}
.dateline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate-dim);
    margin-bottom: 18px;
}
.masthead h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    max-width: 620px;
}
.masthead h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--ember-bright), var(--crimson));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.masthead-sub {
    max-width: 480px;
    margin-top: 22px;
    font-size: 16px;
}
.masthead-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.masthead-mark {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}
.masthead-mark img { width: 340px; height: 340px; filter: drop-shadow(0 18px 46px rgba(211, 47, 47, 0.35)); }

/* ── Free vs Premium ledger ── */
.split { padding: 70px 0; border-bottom: 1px solid var(--panel-border); }
.split h2 { font-size: 2rem; max-width: 600px; margin-bottom: 14px; }
.split-intro { max-width: 560px; font-size: 15.5px; margin-bottom: 40px; }
.ledger {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    overflow: hidden;
}
.ledger-col { padding: 26px 28px; }
.ledger-col:first-child { border-right: 1px solid var(--panel-border); }
.ledger-head { margin-bottom: 16px; }
.ledger-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}
.ledger-tag.free { background: rgba(126, 201, 143, 0.12); color: var(--free-green); border: 1px solid rgba(126, 201, 143, 0.3); }
.ledger-tag.premium { background: rgba(240, 101, 63, 0.12); color: var(--ember-bright); border: 1px solid rgba(240, 101, 63, 0.3); }
.ledger-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ledger-col li {
    font-size: 14.5px;
    color: var(--parchment);
    padding-left: 20px;
    position: relative;
}
.ledger-col li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--slate-dim);
}

/* ── Field notes (features) ── */
.notes { padding: 70px 0; border-bottom: 1px solid var(--panel-border); }
.notes h2 { font-size: 2rem; margin-bottom: 48px; max-width: 500px; }
.note-entry {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}
.note-entry:last-child { margin-bottom: 0; }
.note-reverse { grid-template-columns: 1.1fr 0.9fr; }
.note-reverse .note-frame { order: -1; }
.note-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 14px;
}
.note-tag.free { background: rgba(126, 201, 143, 0.12); color: var(--free-green); }
.note-tag.premium { background: rgba(240, 101, 63, 0.14); color: var(--ember-bright); }
.note-text h3 { font-size: 1.4rem; margin-bottom: 12px; }
.note-text p { font-size: 15px; }
.note-text p em { font-style: italic; color: var(--parchment); }
.note-frame {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
}
.note-frame img { width: 100%; display: block; border-radius: 8px; }

/* ── Pricing ── */
.pricing { padding: 76px 0; border-bottom: 1px solid var(--panel-border); }
.pricing h2.center { font-size: 2rem; margin: 10px auto 12px; text-align: center; }
.pricing-sub.center { text-align: center; max-width: 480px; margin: 0 auto 46px; font-size: 14.5px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.price-card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 12px; padding: 24px 20px; position: relative; }
.price-featured { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember); }
.price-badge {
    position: absolute; top: -12px; left: 20px;
    background: linear-gradient(135deg, var(--maroon-2), var(--ember));
    color: var(--parchment); font-size: 10.5px; font-weight: 700;
    padding: 4px 11px; border-radius: 20px;
}
.price-tier { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); margin-bottom: 10px; }
.price-amount { font-size: 1.9rem; font-weight: 700; color: #fff; }
.price-per { font-size: 13px; color: var(--slate); margin-left: 3px; }
.price-note { font-size: 12px; margin: 6px 0 16px; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.price-card li { font-size: 13px; color: var(--parchment); padding-left: 17px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--ember-bright); font-weight: 700; }

/* ── FAQ ── */
.faq { padding: 70px 0; }
.faq h2 { font-size: 2rem; margin-bottom: 36px; max-width: 500px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 22px 0; border-top: 1px solid var(--panel-border); }
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--panel-border); }
.faq-item h3 { font-size: 15.5px; font-family: 'Inter', sans-serif; font-weight: 700; color: #fff; margin-bottom: 8px; }
.faq-item p { font-size: 13.5px; }
.faq-item p a { color: var(--ember-bright); text-decoration: underline; }

/* ── Closing CTA ── */
.closing { padding: 84px 0 100px; text-align: center; }
.closing h2 { font-size: 2rem; max-width: 480px; margin: 0 auto 30px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--panel-border); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--slate-dim); }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a:hover { color: var(--parchment); }

/* ── Responsive ── */
@media (max-width: 860px) {
    .masthead-inner { grid-template-columns: 1fr; }
    .masthead-mark { order: -1; padding-top: 0; }
    .masthead-mark img { width: 280px; height: 280px; }
    .ledger { grid-template-columns: 1fr; }
    .ledger-col:first-child { border-right: none; border-bottom: 1px solid var(--panel-border); }
    .note-entry, .note-reverse { grid-template-columns: 1fr; }
    .note-reverse .note-frame { order: 0; }
}
@media (max-width: 560px) {
    .site-nav { gap: 14px; }
    .site-nav a:not(.btn-launch) { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .masthead { padding: 56px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn-primary:hover { transform: none; }
}
