﻿/* Shared rules for every marketing and content page: the header, and phone safety for content.
   Link this one file instead of copying these rules into a page's own <style>.
   test/phone-width-all-pages.test.js loads every page at 375px and fails on sideways scroll. */
header { background: white; border-bottom: 1px solid var(--slate-light, #E2E8F0); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.logo { font-size: 24px; font-weight: 700; color: var(--midnight, #0F172A); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-icon { width: 32px; height: 32px; background: var(--primary, #22C55E); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; flex: none; }
header nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
header nav a { color: var(--slate, #64748B); text-decoration: none; font-weight: 500; font-size: 14px; white-space: nowrap; }
header nav a:hover { color: var(--midnight, #0F172A); }
header nav a.btn-primary { color: var(--midnight, #0F172A); }
@media (max-width: 480px) {
    header { padding: 12px 0; }
    .header-content { gap: 8px 12px; }
    .logo { font-size: 20px; }
    header nav { gap: 6px 16px; }
    header nav a.btn { padding: 8px 14px; }
}

/* Long web addresses and wide tables must not widen the page on a phone. */
code { overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .comparison-table { display: block; overflow-x: auto; }
}

