/* Inner-page stylesheet: the editorial system shared with index.html
   (see handoff-website/README.md). Extracted verbatim from the inline
   styles every inner page used to carry, so pages can share one copy. */

/* ============================================
   CSS CUSTOM PROPERTIES (editorial system, shared with index.html)
   ============================================ */
:root {
    --paper: #FAF8F3;
    --paper-2: #F1EDE4;
    --ink: #1C1914;
    --ink-text: #F0EDE4;
    --ink-secondary: #9A9282;
    --body-text: #3A352C;
    --secondary-text: #6E675C;
    --bronze: #8A6A45;
    --bronze-bright: #C9A876;
    --hairline: rgba(28, 25, 20, 0.12);
    --hairline-ink: rgba(240, 237, 228, 0.15);
    --card: #FFFFFF;
    --serif: 'Newsreader', Georgia, serif;
    --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
    --radius-lg: 18px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--body-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
}

/* Bronze terminal punctuation */
.accent-dot { color: var(--bronze); }

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(250, 248, 243, 0.85);
    border-bottom: 1px solid var(--hairline);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand span {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    font-size: 0.845rem;
    font-weight: 500;
    color: var(--secondary-text);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 20px;
    background: var(--ink);
    color: var(--ink-text);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 100px;
    transition: opacity 0.2s ease;
}

.nav-links .nav-cta:hover {
    color: var(--ink-text);
    opacity: 0.9;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* ============================================
   PAGE SCAFFOLD
   ============================================ */
.page {
    padding: 8.5rem 2rem 5rem;
}

.page-inner {
    max-width: 800px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.656rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--bronze);
    margin-bottom: 1.1rem;
}

.page-title {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 1.2rem;
}

.page-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--secondary-text);
    max-width: 640px;
    margin-bottom: 2.2rem;
}

.page-header {
    padding-bottom: 3.2rem;
}

.actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--ink);
    color: var(--ink-text);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    border: 1px solid rgba(28, 25, 20, 0.25);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--ink);
    background: rgba(28, 25, 20, 0.04);
}

/* ============================================
   ARTICLE SECTIONS — hairline-ruled editorial blocks
   ============================================ */
.article-section {
    border-top: 1px solid var(--hairline);
    padding: 2.6rem 0;
}

.article-section h2 {
    font-size: 1.55rem;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.article-section p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-section p:last-child {
    margin-bottom: 0;
}

.article-section .muted {
    color: #8B8375;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
}

.dash-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dash-list li {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--body-text);
    margin-bottom: 0.6rem;
}

.dash-list li:last-child {
    margin-bottom: 0;
}

.dash-list li::before {
    content: '\2014';
    color: var(--bronze);
    flex-shrink: 0;
}

.article-section .actions {
    margin-top: 1.6rem;
}

/* ============================================
   CARD GRID — white editorial cards
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.info-card {
    padding: 1.8rem 1.7rem;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
}

.info-card h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.65rem;
}

.info-card p {
    font-size: 0.845rem;
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CTA / DOWNLOAD SECTION — ink band
   ============================================ */
.cta-section {
    text-align: center;
    padding: 5.5rem 2rem;
    background: var(--ink);
}

.cta-section h2 {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--ink-text);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.cta-section h2 .accent-dot { color: var(--bronze-bright); }

.cta-section p {
    font-size: 1rem;
    color: var(--ink-secondary);
    margin-bottom: 2.4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.cta-badge:hover {
    transform: translateY(-3px);
}

.cta-badge img {
    height: 54px;
    width: auto;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 2.4rem 2rem;
    background: var(--ink);
    border-top: 1px solid var(--hairline-ink);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-wordmark {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink-text);
}

.footer-brand span {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--ink-secondary);
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--ink-secondary);
    transition: color 0.3s ease;
}

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

.footer-company {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.footer-company:hover {
    opacity: 0.8;
}

.footer-company img {
    height: 24px;
    width: auto;
}

/* ============================================
   CONTACT CARD — white editorial card (support)
   ============================================ */
.contact-card {
    padding: 2.4rem 2rem;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 3.4rem;
}

.contact-card .section-label {
    margin-bottom: 0.8rem;
}

.contact-card h3,
.contact-card .contact-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.4px;
    margin-bottom: 0.6rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.65;
    max-width: 460px;
    margin: 0 auto 1.5rem;
}

.contact-card .btn-primary {
    padding: 13px 28px;
    font-size: 0.9rem;
}

.page-inner.narrow {
    max-width: 760px;
}

/* ============================================
   FAQ — hairline-ruled list
   ============================================ */
.faq-header h2 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.6px;
    margin-bottom: 1.8rem;
}

.faq-item {
    border-top: 1px solid var(--hairline);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--hairline);
}

.faq-item h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.65;
    margin: 0 0 0.6rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

/* ============================================
   BREADCRUMBS — mono kicker line above the label
   ============================================ */
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.4rem;
    padding: 0;
    font-family: var(--mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8B8375;
}

.breadcrumbs li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: rgba(28, 25, 20, 0.3);
}

.breadcrumbs a:hover {
    color: var(--ink);
}

/* ============================================
   PROSE HELPERS
   ============================================ */
.article-section h3 {
    font-size: 1.15rem;
    letter-spacing: -0.3px;
    margin: 1.6rem 0 0.6rem;
}

.article-section a:not(.btn-primary):not(.btn-secondary),
.faq-item a,
.callout a {
    color: var(--bronze);
    text-decoration: underline;
    text-decoration-color: rgba(138, 106, 69, 0.4);
    text-underline-offset: 3px;
}

.article-section ol.numbered {
    margin: 0;
    padding-left: 1.4rem;
}

.article-section ol.numbered li {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--body-text);
    margin-bottom: 0.7rem;
}

.article-section ol.numbered li::marker {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    color: var(--bronze);
}

.callout {
    margin: 1.4rem 0 0;
    padding: 1.1rem 1.3rem;
    background: var(--paper-2);
    border-left: 2px solid var(--bronze);
    border-radius: 0 10px 10px 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--body-text);
}

.updated {
    font-family: var(--mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8B8375;
    margin-top: 1.4rem;
}

/* ============================================
   FACTS TABLE — ruled two-column list
   ============================================ */
.facts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.55;
}

.facts-table th,
.facts-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.85rem 0;
    border-top: 1px solid var(--hairline);
}

.facts-table tr:last-child th,
.facts-table tr:last-child td {
    border-bottom: 1px solid var(--hairline);
}

.facts-table th {
    width: 34%;
    padding-right: 1.2rem;
    font-family: var(--mono);
    font-size: 0.656rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bronze);
}

.facts-table td {
    color: var(--body-text);
}

.facts-table thead th {
    color: #8B8375;
}

/* Three-column comparison (Briefly+ page) */
.compare-table th[scope="row"] {
    width: 40%;
}

.compare-table td {
    width: 30%;
    padding-right: 1rem;
}

.compare-table thead th {
    width: auto;
}

/* ============================================
   AUDIO SAMPLE — ink player card with a real <audio>
   ============================================ */
.audio-sample {
    margin: 1.6rem 0 0;
    padding: 1.6rem 1.7rem 1.5rem;
    background: var(--ink);
    color: var(--ink-text);
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(28, 25, 20, 0.18);
}

.audio-sample .kicker {
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--bronze-bright);
    margin-bottom: 0.6rem;
}

.audio-sample .title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: var(--ink-text);
    margin-bottom: 1.1rem;
}

.audio-sample audio {
    display: block;
    width: 100%;
    margin-bottom: 0.9rem;
}

.audio-sample p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--ink-secondary);
    margin: 0;
}

.audio-sample a {
    color: var(--bronze-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================
   TRANSCRIPT + SOURCES
   ============================================ */
.transcript {
    margin-top: 1.2rem;
}

.transcript p {
    color: var(--body-text);
}

.transcript .segment {
    border-top: 1px solid var(--hairline);
    padding-top: 1.2rem;
    margin-top: 1.2rem;
}

.transcript .speaker {
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bronze);
    display: block;
    margin-bottom: 0.3rem;
}

.source-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.source-list li {
    border-top: 1px solid var(--hairline);
    padding: 0.9rem 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.source-list li:last-child {
    border-bottom: 1px solid var(--hairline);
}

.source-list .outlet {
    display: block;
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #8B8375;
    margin-bottom: 0.2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .nav-links { gap: 1.1rem; }
    .nav-links a { font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    .page { padding: 7rem 1.25rem 3.5rem; }
    .page-title { font-size: 2.2rem; }
    .page-header { padding-bottom: 2.4rem; }
    .article-section { padding: 2rem 0; }

    .card-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 2rem 1.4rem; }
    .faq-header h2 { font-size: 1.6rem; }
    .facts-table th, .facts-table td { display: block; width: 100%; padding-right: 0; }
    .facts-table th { border-bottom: none; padding-bottom: 0.2rem; }
    .facts-table td { border-top: none; padding-top: 0; }
    .facts-table tr:last-child th { border-bottom: none; }
    .compare-table th, .compare-table td { display: table-cell; width: auto; font-size: 0.78rem; padding: 0.7rem 0.6rem 0.7rem 0; border-top: 1px solid var(--hairline); }
    .compare-table th { letter-spacing: 0.8px; }
    .compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 1px solid var(--hairline); }

    .cta-section { padding: 4rem 1.25rem; }
    .cta-section h2 { font-size: 2rem; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title { font-size: 2rem; }
    .actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary, .btn-secondary { justify-content: center; }
}
