/* site-v1.css: the cream masthead and compact footer for every page that is
   not the homepage. Loaded after each page's own styles. Selectors are scoped
   to .dateline, .site-header and .site-footer so they win over shared.css. */
:root {
    --cream: #F7F0E2;
    --paper: #FCF8EF;
    --ink: #141414;
    --ink-soft: #4A4440;
    --orange-text: #BD481B;
    --orange-fill: #E8601C;
    --line-soft: #D9CFBD;
    --radius: 4px;
    --display: 'Syne', 'Space Grotesk', system-ui, sans-serif;
    --body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}
html { background: var(--cream); }
body { background: var(--cream); color: var(--ink); }

.dateline, .site-header, .site-footer { font-family: var(--body); line-height: 1.6; }
.dateline *, .site-header *, .site-footer * { box-sizing: border-box; }
.site-header ul, .site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-header li, .site-footer li { margin: 0; }
.site-header img, .site-header svg, .site-footer img, .site-footer svg { display: block; max-width: 100%; height: auto; }
.dateline .wrap, .site-header .wrap, .site-footer .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .dateline .wrap, .site-header .wrap, .site-footer .wrap { padding: 0 32px; } }

/* Dateline */
.dateline { background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.dateline .dateline-inner { display: flex; justify-content: center; gap: 18px; min-height: 30px; align-items: center; font-weight: 600; }
.dateline .dateline-inner span + span::before { content: "\2022"; color: var(--orange-fill); margin-right: 18px; }
.dateline .dateline-mid { display: none; }
@media (min-width: 700px) { .dateline .dateline-inner { justify-content: space-between; } .dateline .dateline-inner span + span::before { display: none; } .dateline .dateline-mid { display: inline; } }
@media (max-width: 420px) { .dateline .dateline-inner span:last-child { display: none; } }

/* Masthead */
.site-header { position: relative; z-index: 50; border-bottom: 3px double var(--ink); background: var(--cream); }
.site-header .header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.site-header .brand {
    display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
    text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.01em;
}
.site-header .brand img { width: 32px; height: 32px; }
.site-header .nav-toggle {
    margin-left: auto; min-height: 44px; padding: 0 14px; background: transparent; cursor: pointer;
    border: 2px solid var(--ink); border-radius: var(--radius); font: 700 15px var(--body); color: var(--ink);
}
.site-header .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 44px;
    padding: 0 14px; border-radius: var(--radius); font: 700 15px/1 var(--body); white-space: nowrap;
    text-decoration: none; cursor: pointer; border: 2px solid var(--ink);
    background: var(--orange-fill); color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.site-header .btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
@media (max-width: 599px) { .site-header .header-cta { display: none; } }
.site-header .site-nav { display: none; width: 100%; order: 3; padding-bottom: 12px; }
.site-header .site-nav.open { display: block; }
.site-header .site-nav ul { display: flex; flex-direction: column; }
.site-header .site-nav a {
    display: flex; align-items: center; min-height: 44px; color: var(--ink);
    text-decoration: none; font-weight: 600; font-size: 17px;
}
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current] { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.site-header .icon-link svg { width: 22px; height: 22px; fill: currentColor; }
.site-header :focus-visible, .site-footer :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
@media (min-width: 900px) {
    .site-header .nav-toggle { display: none; }
    .site-header .site-nav { display: block; width: auto; order: 0; margin-left: auto; padding: 0; }
    .site-header .site-nav ul { flex-direction: row; gap: 24px; align-items: center; }
    .site-header .header-cta { margin-left: 8px; }
}

/* Compact footer */
footer.site-footer { margin: 0; border-top: 2px solid var(--ink); padding: 20px 0 18px; font-size: 14px; background: var(--paper); color: var(--ink); text-align: left; }
.site-footer .footer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.site-footer .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 16px/1 var(--display); }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 6px; }
.site-footer .social a {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink); background: transparent;
}
.site-footer .social a:hover { background: var(--ink); color: var(--cream); }
.site-footer .social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .footer-links { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.site-footer .footer-links ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.site-footer .footer-links li { margin: 0; }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-footer .footer-links a:hover { color: var(--orange-text); text-decoration: underline; }
.site-footer .footer-links a[href="/free"] { color: var(--orange-text); }
.site-footer .footer-base { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); color: var(--ink-soft); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.site-footer .footer-base p { margin: 0; }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; }
.site-footer .footer-legal li + li::before { content: "\00B7"; margin: 0 8px; }
.site-footer .footer-legal a { color: var(--ink-soft); }
.site-footer .footer-legal a:hover { color: var(--orange-text); }

/* Buttons on orange keep dark text on every page. */
a.subscribe-cta-btn, .subscribe-cta-btn { color: var(--ink) !important; background: var(--orange-fill) !important; }

/* Wide comparison tables scroll sideways on phones instead of widening the page. */
@media (max-width: 700px) {
    table.comparison-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Menu: Kits is marked paid; Subscribe lives in the menu on phones */
.site-header .nav-paid {
    display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1.5px solid #141414; border-radius: 3px;
    font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: #141414;
}
.site-header .site-nav .nav-subscribe { margin-top: 8px; }
.site-header .site-nav .nav-subscribe a.btn { display: inline-flex; color: #141414; text-decoration: none; }
@media (min-width: 600px) { .site-header .site-nav .nav-subscribe { display: none; } }
.site-footer .footer-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-footer .social-label { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; color: #141414; }
