/* ============================================================================
   AREA — shared chrome for EVERY page (/, /blog/, /sources/, /privacy/, /terms/)
   Tokens, reset, buttons, sticky black nav + mobile sheet, footer (with the
   member strip), form status lines, the pre-launch password gate.

   Page-specific sections stay in each page's own <style>. If you change the
   nav or footer, change it HERE and in the markup of each page (the markup is
   duplicated by hand — there is no build step). Keep markup identical across
   pages; this file is the only place the styling lives.

   Values come from the Sept 2026 design system ("AREA Visual System" in
   design/area-2026-09). Two environments only: Field (black) and Paper (warm
   off-white). Orange = conversion. Electric blue = exploration, links, data.
   Navy = ink on Paper.
   ========================================================================== */

:root {
  --field: #000000;
  --ink: #0A0E14;
  --ink-2: #05070B;
  --navy: #053B9B;
  --navy-deep: #032686;
  --electric: #0F7BF5;
  --electric-cta: #0B62CC;
  --electric-cta-hover: #094FA6;
  --electric-link: #0A55B5;
  --electric-bright: #1D8BFF;
  --electric-ring: #1668D8;
  --cyan: #5CC6FF;
  --cyan-2: #3FA9F5;
  --cyan-3: #40C4FF;
  --orange: #C0410F;
  --orange-hover: #A8380D;
  --orange-text: #B8420F;
  --coral: #FF554B;      /* eyebrow accent on Paper (design-system "negative") */
  --red-calc: #FF4B3E;   /* calculator "increase" figures on Field */
  --paper: #FAF8F3;
  --surface: #FFFFFF;
  --hairline: #E5E1D9;
  --body: #3C4652;
  --muted: #4E6D8C;
  --quiet: #8A9AA8;
  --text: #1A1A1A;

  --font-display: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, Segoe UI, sans-serif;

  --nav-h: 72px;
  --content: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--electric-link); text-decoration: none; }
/* Hover vs tap (Avery, 2026-09-25): every :hover rule on the site sits inside
   @media (hover: hover), so touch screens never get sticky hover states, and is
   paired with the same effect on :active inside @media (hover: none), shown while
   a finger is down. A hover lift (translateY) becomes a slight press (scale .985)
   on tap. Add new hover effects the same way. area-chrome.js registers an empty
   touchstart listener so iOS Safari applies :active. */
@media (hover: hover) { a:hover { color: var(--orange); } }
@media (hover: none) { a:active { color: var(--orange); } }
button { font: inherit; cursor: pointer; }
/* The Speak4 embed injects an unscoped `button { text-align: inherit; padding: 0; ... }` after this
   sheet, which pushed full-width labels (JOIN AREA) flush left. body-level specificity keeps them
   centered (2026-10-08). */
body button { text-align: center; }
input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 14px; border-radius: 6px; font: 600 14px/1 var(--font-display); }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--cyan-2); outline-offset: 3px; }
.on-paper :focus-visible { outline-color: var(--electric-cta); }

.wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin: 0 0 12px; font: 600 13px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-rule { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.eyebrow-rule span:last-child { width: 64px; height: 1px; display: block; }

/* ---- Buttons. Orange converts, electric blue explores. ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 6px; font: 600 16px/1 var(--font-display); color: #fff; transition: background 150ms ease-out, border-color 150ms ease-out, transform 120ms ease-out; white-space: nowrap; border: none; }
.btn:active { transform: scale(.98); }
.btn-explore { background: var(--electric-cta); }
@media (hover: hover) { .btn-explore:hover { background: var(--electric-cta-hover); color: #fff; } }
@media (hover: none) { .btn-explore:active { background: var(--electric-cta-hover); color: #fff; } }
.btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; background: transparent; }
@media (hover: hover) { .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; } }
@media (hover: none) { .btn-ghost:active { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; } }
.btn-convert { background: var(--orange); font: 700 12.5px/1 var(--font-display); letter-spacing: .11em; height: 44px; padding: 0 20px; }
@media (hover: hover) { .btn-convert:hover { background: var(--orange-hover); color: #fff; } }
@media (hover: none) { .btn-convert:active { background: var(--orange-hover); color: #fff; } }
/* Floating TAKE ACTION (AREA.floatCta). Under the nav (100), phone menu (99), Speak4 pop-up and gate. */
.float-cta { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; box-shadow: 0 10px 28px -10px rgba(0,0,0,.55); }
.float-cta.is-off { display: none; }
.btn-pill { height: 52px; padding: 0 30px; background: var(--electric-bright); border-radius: 999px; gap: 12px; box-shadow: 0 10px 30px -8px rgba(29,139,255,.6); }
@media (hover: hover) { .btn-pill:hover { background: var(--electric-cta); color: #fff; } }
@media (hover: none) { .btn-pill:active { background: var(--electric-cta); color: #fff; } }
.arrow { font-size: 17px; transition: transform 150ms ease-out; }
@media (hover: hover) { .btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); } }
@media (hover: none) { .btn:active .arrow, .link-arrow:active .arrow { transform: translateX(4px); } }
.link-ul { font: 600 16px/1 var(--font-display); color: var(--electric-link); border-bottom: 1px solid rgba(10,85,181,.35); padding-bottom: 4px; }
@media (hover: hover) { .link-ul:hover { border-bottom-color: var(--electric-link); color: var(--electric-link); } }
@media (hover: none) { .link-ul:active { border-bottom-color: var(--electric-link); color: var(--electric-link); } }

/* ---- Filter chips (blog + sources mastheads, on Field) ---- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { font: 600 11.5px/1 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--cyan); background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; padding: 0 16px; height: 42px; transition: background 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 180ms ease-out, box-shadow 180ms ease-out; }
.chip:focus-visible { border-color: #3D9BFF; transform: translateY(-3px); box-shadow: 0 0 0 2px #3D9BFF, 0 12px 22px -10px rgba(0,0,0,.7); }
@media (hover: hover) { .chip:hover { border-color: #3D9BFF; transform: translateY(-3px); box-shadow: 0 0 0 2px #3D9BFF, 0 12px 22px -10px rgba(0,0,0,.7); } }
@media (hover: none) { .chip:active { border-color: #3D9BFF; transform: scale(.985); box-shadow: 0 0 0 2px #3D9BFF, 0 12px 22px -10px rgba(0,0,0,.7); } }
.chip[aria-pressed="true"] { color: var(--ink); background: #fff; border-color: #fff; }

/* ---- Nav: the one piece of Field that travels the whole page ---- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--ink); }
/* One row, always (2026-10-06). The gaps are capped so the English links fit
   from about 1,200px up (the row stops widening at --content, the gaps used to
   keep growing and LATEST wrapped above ~1,560px). Where the links still do not
   fit (narrow desktops, longer translated labels), AREA.renderNav's fitNav()
   adds .is-compact and the menu button takes their place. --nav-gap is the knob. */
.nav-inner { --nav-gap: clamp(14px, 1.8vw, 28px); max-width: var(--content); margin: 0 auto; padding: 8px var(--gutter); min-height: var(--nav-h); display: flex; align-items: center; flex-wrap: wrap; row-gap: 4px; column-gap: var(--nav-gap); }
.nav-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
/* Four items since 2026-11-04: wider gaps and 13px labels so they span the bar (Alex's option A; it was 10-24px and 12px for six). */
.nav-links { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(20px, 3vw, 44px); flex: 1 1 0; min-width: 0; justify-content: center; }
.nav-links a { display: inline-flex; align-items: center; height: 44px; padding: 0 3px; white-space: nowrap; }
.nav-links a span { font: 600 13px/1 var(--font-display); letter-spacing: .2em; color: var(--cyan); padding-bottom: 6px; border-bottom: 2px solid transparent; transition: color 180ms ease-out, transform 180ms ease-out, border-color 180ms ease-out; }
.nav-links a:focus-visible span { color: #fff; border-bottom-color: rgba(63,169,245,.85); transform: translateY(-2px); }
@media (hover: hover) { .nav-links a:hover span { color: #fff; border-bottom-color: rgba(63,169,245,.85); transform: translateY(-2px); } }
@media (hover: none) { .nav-links a:active span { color: #fff; border-bottom-color: rgba(63,169,245,.85); transform: scale(.985); } }
.nav-links a.is-active span { color: #fff; border-bottom-color: var(--cyan-2); }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: transparent; color: #fff; align-items: center; justify-content: center; margin-left: auto; }
.nav-toggle::after { content: ''; position: absolute; inset: -2px; }  /* 48px hit area; the 44px box is unchanged */
.nav-toggle svg { width: 22px; height: 22px; }
/* The sheet opens wherever the menu button shows: below 900px, or a compact desktop nav. */
.nav-sheet { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--ink); z-index: 99; padding: 28px var(--gutter) 32px; flex-direction: column; overflow: auto; }
.nav-sheet.is-open { display: flex; }
.nav-sheet a.sheet-link { display: block; font: 600 22px/1.2 var(--font-display); color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-sheet .sheet-foot { margin-top: auto; padding-top: 24px; }
.nav-sheet .btn-convert { width: 100%; height: 52px; font-size: 13px; }
/* Compact desktop (900px and up, links do not fit): logo left; TAKE ACTION, language, menu button right. */
.nav.is-compact .nav-links { display: none; }
.nav.is-compact .nav-inner .btn-convert { margin-left: auto; }
.nav.is-compact .nav-toggle { display: inline-flex; margin-left: 0; }

/* Language menu (area-chrome.js, AREA.lang). A transparent native <select>
   sits over the globe + short code, so the picker is the platform's own. */
/* Sits after TAKE ACTION (Avery, 2026-10-06). Desktop: borderless like a nav
   link, pulled to 10px from the button to leave the links more room. Phones:
   boxed like the menu button, which it sits beside. */
.lang { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 2px; margin-left: calc(10px - var(--nav-gap)); border: 1px solid transparent; border-radius: 6px; color: var(--cyan); cursor: pointer; transition: color 180ms ease-out, border-color 180ms ease-out; }
.lang svg { width: 18px; height: 18px; flex: 0 0 auto; }
.lang-code { font: 600 12px/1 var(--font-display); letter-spacing: .12em; white-space: nowrap; }
.lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; /* 16px stops iOS zooming on focus */ }
.lang:focus-within { color: #fff; border-color: rgba(63,169,245,.85); outline: 2px solid rgba(63,169,245,.85); outline-offset: 2px; }
@media (hover: hover) { .lang:hover { color: #fff; border-color: rgba(63,169,245,.85); } }
@media (hover: none) { .lang:active { color: #fff; border-color: rgba(63,169,245,.85); transform: scale(.985); } }

/* Google's translator chrome. It adds a top banner, shifts <body> down 40px,
   and shows the original text in a tooltip on hover. Class names are Google's
   and change without notice. Checked in the browser 2026-10-05: banner iframe
   (VIpgJd-ZVi9od-ORHb-OEVmcd), tooltip (#goog-gt-tt) and spinner
   (VIpgJd-ZVi9od-aZ2wEe-wOHMyf) are hidden. The hover-highlight classes were
   not observed (they only appear on hover). */
body { top: 0 !important; }
/* Korean breaks between any two syllables by default ("영 / 향을"); keep words whole. */
:lang(ko) { word-break: keep-all; }
.goog-te-banner-frame, iframe.skiptranslate, body > .skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
@media (max-width: 899px) {
  .nav-links, .nav-inner .btn-convert { display: none; }
  .nav-toggle { display: inline-flex; margin-left: 10px; }
  .lang { margin-left: auto; margin-right: 0; padding: 0 10px; border-color: rgba(255,255,255,.25); }
  /* Touch targets below 900: pseudo-element hit areas leave the visible boxes as they are */
  .chip { position: relative; }
  .chip::after { content: ''; position: absolute; inset: -3px 0; }  /* 42 -> 48px (44 -> 50 on sources); 4px clear inside the 10px .chips gap */
}

/* ---- Form status lines (shared by every form) ---- */
.form-status { margin: 10px 0 0; font: 400 15px/1.45 var(--font-body); color: rgba(255,255,255,.75); }
.form-status[data-state="error"] { color: #FFB4AE; }
.form-status[data-state="success"] { color: #9EE8C3; }
.on-paper .form-status { color: var(--body); }
.on-paper .form-status[data-state="error"] { color: var(--orange-text); }
.on-paper .form-status[data-state="success"] { color: #1E7A5A; }

/* ---- Text-message opt-in (10DLC, 2026-10-26). One disclosure for every
   signup form, filled by renderDisclosure() in area-chrome.js from AREA.SMS;
   the Speak4 letter form gets an unchecked box with the same language from
   speak4Sms(). Fine print on purpose: the full language must stay visible
   next to the phone field for carrier review, so it is small and muted
   rather than hidden. Color comes from the surrounding form. ---- */
.sms-consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 14px; max-width: 62ch; }
.sms-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--electric-ring); cursor: pointer; }
.sms-consent label { display: block; margin: 0; font: 400 12.5px/1.5 var(--font-body); letter-spacing: 0; text-transform: none; color: inherit; opacity: .78; cursor: pointer; }
.sms-consent label strong { font-weight: 600; opacity: 1; }
.sms-consent label a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* AREA's own forms: disclosure only, no checkbox (entering a phone is the consent). The doubled
   class outranks page rules like `.signup p` that would otherwise set it at body size. */
.sms-consent.sms-consent--text { display: block; }
.sms-consent.sms-consent--text p { margin: 0; font: 400 12.5px/1.5 var(--font-body); letter-spacing: 0; text-transform: none; color: inherit; opacity: .78; max-width: 62ch; }
.sms-consent.sms-consent--text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Inside Speak4's form: its stylesheet styles form controls, so the box resets them. */
.sms-consent.sms-consent--speak4 { flex: 0 0 100%; width: 100%; max-width: none; grid-column: 1 / -1; box-sizing: border-box; margin: 4px 0 14px; color: var(--body); text-align: left; }
.sms-consent--speak4 input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; position: static; opacity: 1; width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; box-shadow: none; background: none; }
/* Email notice under the text-message box (AREA.LETTER_EMAIL): its own line, flush left and
   full width, so it does not read as part of the checkbox label. */
.sms-consent.letter-email-notice { margin: 0 0 16px; }
.sms-consent.letter-email-notice p { max-width: none; }

/* ---- Footer: member strip, then logo / links / social / copyright ---- */
.footer { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.1); }
.footer-members { max-width: var(--content); margin: 0 auto; padding: clamp(26px, 3vw, 36px) var(--gutter) 0; }
.footer-members[hidden] { display: none; }
.footer-members .label { text-align: center; margin: 0 0 14px; font: 600 12px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
/* Tiles are 220px and centered, so a short roster sits mid-footer instead of stretching across the row (2026-10-27).
   A wrapping flex row, not a grid (2026-11-04, five members): a row that wraps short (4+1 at laptop widths) is
   centered too, where grid tracks left it hugging the left edge. Phones keep a two-column grid. */
.member-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-bottom: clamp(22px, 2.6vw, 30px); border-bottom: 1px solid rgba(255,255,255,.08); }
.member-grid > .member-tile { flex: 0 0 220px; }
@media (max-width: 599px) { .member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.member-tile { min-height: 132px; border-radius: 6px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px 10px 14px; text-decoration: none; }
/* White mask: every opaque pixel turns white, so logos need transparent backgrounds. Contained, never cropped.
   Every logo gets the same width (Avery, 2026-10-27: NFIB and SMOA lettering then matches within a pixel); the
   fixed box height keeps the names on one baseline across tiles. A square mark would be capped by the height. */
.member-tile img { width: min(180px, 100%); height: 62px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; flex: 0 0 auto; }
.member-tile .member-name { font: 600 11px/1.25 var(--font-body); color: rgba(255,255,255,.72); text-align: center; }
/* Names keep the lines their \n breaks set (Avery, 2026-10-27: "Independent Business, Maryland" is 154px at 11px).
   Two-up phone tiles are about 140px inside, so the names shrink there instead of wrapping. */
@media (max-width: 599px) {
  .member-tile { padding-left: 6px; padding-right: 6px; }
  .member-tile .member-name { font-size: min(10px, 2.7vw); white-space: nowrap; }
  /* An odd one out sits centered under the pairs, at the same width (half the row less half the gap). */
  .member-tile:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
}
.footer-inner { max-width: var(--content); margin: 0 auto; padding: clamp(28px, 3.4vw, 44px) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 52px; width: auto; filter: brightness(0) invert(1); }
/* Two even rows of four (Alex, 2026-11-04): the nav's four sections, then About AREA, Sources, Privacy, Terms.
   Equal columns keep the rows in step; phones get two columns, so the pages still start a fresh row. */
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; }
.footer-links a { font: 400 14.5px/1 var(--font-body); color: rgba(255,255,255,.5); }
@media (hover: hover) { .footer-links a:hover { color: #fff; } }
@media (hover: none) { .footer-links a:active { color: #fff; } }
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background 150ms ease-out, border-color 150ms ease-out; }
@media (hover: hover) { .footer-social a:hover { background: rgba(29,139,255,.16); border-color: var(--electric-bright); color: #fff; } }
@media (hover: none) { .footer-social a:active { background: rgba(29,139,255,.16); border-color: var(--electric-bright); color: #fff; } }
.footer-copy { font: 400 14px/1 var(--font-body); color: rgba(255,255,255,.35); }
@media (max-width: 899px) {
  .footer-links { row-gap: 0; flex-basis: 100%; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; position: relative; }  /* 44px tall targets; column gap stays 22px */
  .footer-links a::after { content: ''; position: absolute; inset: 0 -9px; }  /* +18px wide (Blog 27 -> 45); 4px clear inside the 22px gap */
  .footer-social a { position: relative; }
  .footer-social a::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; }  /* 38 -> 48px hit area; visible circle unchanged */
}
@media (max-width: 599px) { .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-links a span, .arrow, .chip, .footer-social a, .lang { transition: none !important; }
  .lang:active { transform: none; }
  .chip:focus-visible { transform: none; }
  @media (hover: hover) { .chip:hover { transform: none; } }
  @media (hover: none) { .chip:active { transform: none; } }
}
@media print {
  .nav, .nav-sheet, .lang { display: none !important; }
}
