/* MultifamilyMarketing.com. Layout follows Patrick McCall's mockup: newspaper masthead,
   topic tabs, mono labels, Swifty family: white ground, near-black, one amber accent, honey only on solid black (2026-10-05). Light and dark themes share tokens. */
:root {
  --bg: #ffffff; --paper: #ffffff; --ink: #1a1a1a; --ink-2: #3a3a3a; --muted: #6b6b6b;
  --line: #e4e4e2; --line-2: #efefed; --green: #9a5a0a; --green-ink: #ffffff; --green-soft: #f4f4f3;
  --rust: #9a5a0a; --rust-soft: #f4f4f3; --navy: #1a1a1a; --navy-ink: #f5f5f4; --sand: #fcb813;
  --honey: #fcb813; --rust-ink: #ffffff; --solid: #1a1a1a; --solid-ink: #ffffff;
  --tint: #f4f4f3; --ad: #f4f4f3; --radius: 6px; --wrap: 1200px;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121212; --paper: #1a1a1a; --ink: #f2f2f0; --ink-2: #c9c9c6; --muted: #9a9a96;
  --line: #333331; --line-2: #262625; --green: #e9a23b; --green-ink: #1a1a1a; --green-soft: #2a2a28; --rust: #e9a23b;
  --rust-soft: #2a2a28; --navy: #0c0c0c; --tint: #222221; --ad: #222221; --rust-ink: #1a1a1a; --solid: #f2f2f0; --solid-ink: #1a1a1a; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212; --paper: #1a1a1a; --ink: #f2f2f0; --ink-2: #c9c9c6; --muted: #9a9a96;
  --line: #333331; --line-2: #262625; --green: #e9a23b; --green-ink: #1a1a1a; --green-soft: #2a2a28; --rust: #e9a23b;
  --rust-soft: #2a2a28; --navy: #0c0c0c; --tint: #222221; --ad: #222221; --rust-ink: #1a1a1a; --solid: #f2f2f0; --solid-ink: #1a1a1a; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--green); text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.muted { color: var(--muted); }

/* Top strip */
.strip { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.strip .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.strip button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* Masthead */
.masthead .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-top: 36px; padding-bottom: 26px; }
/* Masthead (Jon, 2026-10-05): the tagline belongs to the brand, under the logo; the right side is
   one tidy sign-up panel, bottom-aligned with the brand block. */
.mast-brand .logo { margin-bottom: 0; font-size: clamp(26px, 4vw, 54px); }
.mast-signup { background: var(--tint); border-radius: var(--radius); padding: 18px; }
.mast-signup .form-msg:empty { display: none; }
.mast-signup .signup .also { margin-bottom: 0; }
.mast-kicker { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mast-signup .signup { max-width: none; }
.mast-signup .signup input[type=email] { flex: 1 1 100%; background: var(--paper); }
.mast-signup .signup .btn { flex: 1 1 100%; justify-content: center; }
.logo { font-weight: 900; font-size: clamp(28px, 6vw, 76px); letter-spacing: -0.045em; line-height: .95; margin: 0 0 20px; text-decoration: none; display: inline-block; }
.logo span { color: var(--green); }
.masthead p.lede { margin: 0; color: var(--ink-2); font-size: 19px; line-height: 1.4; max-width: 620px; }
.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup input[type=email] { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--radius); border: 0; background: var(--solid); color: var(--solid-ink); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); color: var(--solid-ink); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.btn-honey, .btn.btn-honey:hover { background: var(--honey); color: #1a1a1a; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.form-msg { font-size: 14px; margin-top: 8px; min-height: 1.2em; }
.hp { position: absolute; left: -5000px; }
.signup .also { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.signup .also input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent, currentColor); }

/* Main navigation: one line on desktop, never scrolls; a Menu button on phones. */
[hidden] { display: none !important; }
.tabs { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 120; background: var(--bg); }
.navlinks { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.navlinks > a, .dd > summary { white-space: nowrap; font-weight: 700; font-size: 15px; text-decoration: none; padding: 12px 0; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
.navlinks > a.on, .navlinks > a:hover, .dd.on > summary, .dd > summary:hover { color: var(--green); border-bottom-color: var(--green); }
.dd { position: relative; }
.dd > summary { list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary i { font-size: 11px; }
.dd-panel { position: absolute; top: 100%; left: -14px; margin-top: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 8px; min-width: 280px; display: grid; z-index: 130; }
.dd-panel a { padding: 9px 12px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 15px; }
.dd-panel a:hover, .dd-panel a.on { background: var(--green-soft); color: var(--green); }
.menu-toggle { display: none; background: none; border: 0; font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); padding: 12px 0; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; gap: 8px; align-items: center; }
  .navlinks { display: none; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .tabs.open .navlinks { display: flex; }
  .navlinks > a, .dd > summary { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
  .dd > summary { display: flex; width: 100%; justify-content: space-between; }
  .dd-panel { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; background: transparent; }
}

/* Layout */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 30px; padding-bottom: 60px; }
.sect { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.sect::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.sect .dot { color: var(--rust); }
.block { margin-bottom: 44px; }

/* Feature */
.feature { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; padding: 26px; }
.feature .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.feature h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.08; letter-spacing: -0.025em; margin: 10px 0 14px; font-weight: 800; }
.feature h2 a { text-decoration: none; }
.feature p { color: var(--ink-2); margin: 0 0 14px; }
.feature .by { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.panel { background: var(--navy); color: var(--navy-ink); border-radius: 4px; padding: 20px; font-family: var(--mono); font-size: 14px; display: flex; flex-direction: column; }
.panel .ptitle { color: #fff; margin-bottom: 16px; }
.panel ol { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 12px; }
.panel li { counter-increment: p; display: grid; grid-template-columns: 28px 1fr; gap: 6px; color: var(--navy-ink); }
.panel li::before { content: counter(p, decimal-leading-zero); color: var(--honey); font-weight: 700; }
.panel .pfoot { margin-top: auto; padding-top: 16px; color: #9aa6b2; font-size: 12px; }

/* Wire */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wire { list-style: none; margin: 0; padding: 0; }
.wire li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.wire h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 800; }
.wire h3 a { text-decoration: none; }
.wire p { margin: 0 0 8px; color: var(--ink-2); font-size: 16px; }
.why { border-left: 3px solid var(--green); padding-left: 10px; color: var(--ink) !important; }
.why b { color: var(--green); }
.meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.meta .src { font-weight: 700; }
.meta .when { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 2px 7px; border-radius: 3px; color: var(--ink-2); text-decoration: none; }
.pill.new { background: #fbefb8; border-color: #fbefb8; color: #4a3d00; }
.pill.alert { background: var(--rust-soft); border-color: var(--rust-soft); color: var(--rust); }
.empty { background: var(--tint); border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink-2); }

/* Sidebar */
.side .sbox { margin-bottom: 36px; }
/* No gap under the last box: site.js measures the column's height to decide whether every box fits
   under the menu bar, and a trailing margin made two boxes that fit look 36px too tall, so only the
   lower one pinned and the ad scrolled away (Jon, 2026-10-07). */
.side > :last-child { margin-bottom: 0; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(r); font-size: 24px; font-weight: 800; color: var(--rust); line-height: 1.1; }
.ranked a { font-weight: 700; text-decoration: none; line-height: 1.3; }
.ranked small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.outlook { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.outlook li { border-left: 4px solid var(--green); padding: 2px 0 2px 12px; }
.outlook li:nth-child(2) { border-color: var(--rust); }
.outlook li:nth-child(3) { border-color: var(--ink); }
.outlook .when { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.outlook strong { display: block; line-height: 1.3; }
.ad { background: var(--paper); border: 1px solid var(--ink); border-top: 6px solid var(--honey); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.ad .label { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ad h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.ad p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.weekly { background: var(--solid); color: var(--solid-ink); border-radius: var(--radius); padding: 22px; }
.weekly h3 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.01em; }
.weekly p { margin: 0 0 14px; color: var(--solid-ink); opacity: .85; }
.weekly input[type=email] { width: 100%; padding: 12px; border-radius: var(--radius); border: 0; font: inherit; margin-bottom: 10px; }
/* Fields on the solid sign-up boxes keep one fixed look in light and dark mode: white, dark text, visible edge. */
.weekly input[type=email], .mnav-signup input[type=email] { background: #ffffff; color: #1a1a1a; border: 1px solid #8a8a87; }
.weekly input[type=email]::placeholder, .mnav-signup input[type=email]::placeholder { color: #6b6b6b; opacity: 1; }
.weekly .btn { width: 100%; justify-content: center; background: var(--honey); color: #1a1a1a; }
.cal { list-style: none; margin: 0; padding: 0; }
.cal li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cal .d { background: var(--navy); color: #fff; text-align: center; border-radius: 3px; padding: 6px 0; font-family: var(--mono); line-height: 1.1; }
.cal .d b { display: block; font-size: 22px; font-family: var(--sans); }
.cal .d small { font-size: 11px; letter-spacing: .08em; }
.cal strong { display: block; line-height: 1.25; }
.cal span { font-size: 14px; color: var(--ink-2); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card .foot { margin-top: auto; padding-top: 8px; font-size: 14px; }

/* Article pages */
.page-head { padding: 40px 0 10px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.035em; margin: 8px 0 14px; font-weight: 900; }
.page-head p { font-size: 19px; color: var(--ink-2); max-width: 760px; margin: 0; }
.prose { max-width: 760px; font-size: 18px; }
.prose h2 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; margin: 42px 0 10px; }
.prose h3 { font-size: 21px; margin: 28px 0 6px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 22px 0; padding: 14px 18px; background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 16px; margin: 16px 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px; vertical-align: top; }
.prose .swifty { background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--rust); border-radius: var(--radius); padding: 16px 18px; }
.sources { font-size: 15px; color: var(--ink-2); }
.toc { position: sticky; top: 72px; font-size: 15px; }
.toc ul { list-style: none; padding: 0; margin: 8px 0 0; }
.toc li { margin: 6px 0; }
.toc a { text-decoration: none; }

/* Forms */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-weight: 700; font-size: 15px; display: grid; gap: 6px; }
.form input, .form select, .form textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; }

/* Footer */
.site-foot { background: var(--tint); border-top: 2px solid var(--ink); padding: 34px 0 46px; font-size: 15px; color: var(--ink-2); }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-foot h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; }
.disclose { font-weight: 700; color: var(--ink); }

@media (max-width: 960px) {
  .cols { grid-template-columns: 1fr; }
  .masthead .wrap { grid-template-columns: 1fr; gap: 6px; }
  .feature { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .feature { padding: 18px; }
  .wire h3 { font-size: 19px; }
}

/* Sticky right column on desktop (Jon, 2026-10-02). align-self:start is required inside the
   grid or the aside stretches to the full row height and never sticks. A column taller than the
   window gets a negative top from site.js, so it scrolls with the page until its last block is
   fully in view and only then pins. It never scrolls inside itself (Jon, 2026-10-05). */
@media (min-width: 961px) {
  .cols > .side { position: sticky; top: var(--side-top, 72px); align-self: start; }
  .side .toc { position: static; }
}

/* Top strip link */
.strip-link { color: var(--ink); font-weight: 700; text-decoration: none; }
.strip-link:hover { color: var(--green); }

/* Events: toolbar, spotlight, calendar */
.ev-toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 6px 0 14px; padding: 14px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); }
.ev-toolbar label { display: grid; gap: 4px; font-size: 12px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-toolbar select, .ev-toolbar input { font: inherit; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
.ev-toolbar .chk { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); padding-bottom: 8px; }
.ev-toolbar .seg { display: flex; gap: 6px; }
.ev-toolbar .near { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex-basis: 100%; }
.ev-toolbar .near input { width: 140px; }
.ev-toolbar .near .muted { font-size: 13px; }
.ev-reset { margin-left: auto; align-self: end; margin-bottom: 4px; }
.ev-reset[hidden] { display: none; }
.ev-reset:not([hidden]) + .ev-count { margin-left: 0; }
.ev-count { margin-left: auto; font-size: 14px; padding-bottom: 8px; }
.card.spot { border-top: 4px solid var(--rust); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head h3 { margin: 0; font-size: 22px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-dow { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.cal-day { min-height: 104px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-day.empty { background: transparent; }
.cal-day .n { font-weight: 700; font-size: 13px; color: var(--muted); }
.cal-ev { display: block; font-size: 12px; line-height: 1.25; padding: 3px 5px; border-radius: 3px; background: var(--green-soft); color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.conf { background: #dfe7f3; }
.cal-ev.spot { background: var(--rust); color: var(--rust-ink); }
.cal-day .more { font-size: 11px; color: var(--muted); }
@media (max-width: 700px) {
  .cal-day { min-height: 64px; padding: 3px; }
  .cal-ev { font-size: 10px; padding: 2px 3px; }
  .cal-dow { font-size: 9px; padding: 4px 2px; }
  .ev-count { margin-left: 0; }
}

/* Home page (Jon, 2026-10-02): the sidebar scrolls with the page; our ad is the last box and
   sticks once it reaches the top. The aside stretches to the full row so the ad has room to stick. */
@media (min-width: 961px) {
  .cols > .side.home-side { position: static; align-self: stretch; max-height: none; overflow: visible; }
  .home-side .stick-ad { position: sticky; top: calc(var(--bar-h, 77px) + 16px); }
}
.why-pick { display: block; margin-top: 4px; font-size: 14px; color: var(--ink); border-left: 3px solid var(--rust); padding-left: 8px; }
.why-pick b { color: var(--rust); }

/* ===================== Phone interface (Jon, 2026-10-02: rethink mobile) ===================== */
.mbar, .mdrawer, .m-only, .m-filter, .ev-mbar { display: none; }
@media (max-width: 900px) {
  body { font-size: 17px; }
  body.noscroll { overflow: hidden; }
  .strip, .masthead, .tabs, .rising { display: none !important; }
  .m-only { display: block; }
  /* Slim header that stays put: logo and a menu button, nothing else. */
  .mbar { display: flex; position: sticky; top: 0; z-index: 140; align-items: center; justify-content: space-between; gap: 12px;
          padding: 10px 16px; background: var(--bg); border-bottom: 2px solid var(--ink); }
  .mlogo { font-weight: 900; font-size: 22px; letter-spacing: -0.04em; text-decoration: none; color: var(--ink); }
  .mlogo span { color: var(--green); }
  .mbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
          background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; }
  /* Full-screen menu */
  .mdrawer:not([hidden]) { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 200; background: var(--bg); overflow-y: auto; }
  .mdrawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 2px solid var(--ink); }
  .mnav { display: flex; flex-direction: column; padding: 8px 16px; }
  .mnav > a { font-size: 21px; font-weight: 800; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .mnav > a.on, .mnav-topics a.on { color: var(--green); }
  .mnav-h { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
  .mnav-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mnav-topics a { font-weight: 700; font-size: 15px; text-decoration: none; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
  .mnav-signup { margin: 18px 16px 28px; padding: 16px; background: var(--solid); color: var(--solid-ink); border-radius: 12px; }
  .mnav-signup strong { display: block; font-size: 19px; margin-bottom: 10px; }
  .mnav-signup .signup { flex-direction: column; }
  .mnav-signup .btn { background: var(--honey); color: #1a1a1a; justify-content: center; }
  /* Layout */
  .cols { padding-top: 18px; gap: 26px; }
  .block { margin-bottom: 30px; }
  .page-head { padding: 22px 0 4px; }
  .page-head h1 { font-size: 32px; }
  .page-head p { font-size: 17px; }
  .feature { padding: 18px; gap: 18px; }
  .feature h2 { font-size: 27px; }
  .panel { font-size: 13px; padding: 16px; }
  /* Filters become one dropdown */
  .filters { display: none; }
  .m-filter { display: block; width: 100%; margin-bottom: 10px; font: inherit; font-size: 16px; padding: 12px; border: 1px solid var(--line);
              border-radius: 10px; background: var(--paper); color: var(--ink); }
  .wire li { padding: 16px 0; }
  .wire h3 { font-size: 19px; }
  .btn { min-height: 46px; }
  .chip { min-height: 40px; }
  .site-foot { padding: 26px 0 34px; }
  /* Events: compact rows */
  .cal li { grid-template-columns: 46px 1fr; gap: 12px; padding: 12px 0; }
  .cal .d { padding: 5px 0; }
  .cal .d b { font-size: 18px; }
  .cal strong { font-size: 16px; }
  .cal .pill { font-size: 10px; padding: 1px 5px; }
}
.ev-day { margin-top: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.ev-day h3 { margin: 0 0 8px; font-size: 18px; }
.ev-day ul { list-style: none; margin: 0; padding: 0; }
.ev-day li { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.ev-day li a { font-weight: 700; text-decoration: none; }
.ev-day li span { font-size: 14px; color: var(--ink-2); }
.ev-day li em { font-style: normal; font-size: 14px; color: var(--rust); }
@media (max-width: 900px) {
  .desk-only { display: none !important; }
  .ev-mbar { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: 66px; z-index: 30; background: var(--bg); padding: 8px 0; margin-bottom: 6px; }
  .ev-mbar .seg { display: flex; gap: 6px; }
  .ev-toolbar { display: none; }
  .ev-toolbar.open { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ev-toolbar.open label:first-of-type { grid-column: 1 / -1; }
  .ev-toolbar select, .ev-toolbar input { width: 100%; font-size: 16px; padding: 11px; }
  .ev-toolbar .near { grid-column: 1 / -1; }
  .ev-toolbar .near input { width: 100%; }
  .ev-count { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 700px) {
  .cal-grid { border: 0; gap: 4px; }
  .cal-dow { border: 0; background: none; text-align: center; padding: 2px 0; }
  .cal-day.empty { min-height: 0; border: 0; }
  button.cal-day.m { min-height: 48px; padding: 4px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
                     display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit; color: var(--ink); }
  button.cal-day.m:disabled { opacity: .45; }
  button.cal-day.m .n { font-size: 15px; color: var(--ink); }
  button.cal-day.m .dots { font-size: 12px; line-height: 1; color: var(--green); font-weight: 700; }
  button.cal-day.m.spot { border-color: var(--rust); }
  button.cal-day.m.spot .dots { color: var(--rust); }
  button.cal-day.m.sel { background: var(--ink); }
  button.cal-day.m.sel .n, button.cal-day.m.sel .dots { color: var(--paper); }
}
@media (max-width: 900px) {
  .ev-mbar { flex-wrap: nowrap; }
  .ev-mbar .chip { font-size: 14px; padding: 0 10px; white-space: nowrap; }
  .ev-mbar .seg { gap: 4px; }
  .ev-toolbar.open .chk { grid-column: 1 / -1; padding: 6px 0; }
}
@media (max-width: 380px) { .ev-mbar .chip i { display: none; } }
@media (max-width: 900px) { .cards .card.spot:nth-child(n+3) { display: none; } }

/* ===================== App-style phone interface (Jon, 2026-10-02) =====================
   Top bar and bottom tab bar are fixed and never scroll. Safe-area insets keep both clear of
   the notch and the home indicator, including when installed to the home screen. */
.tabbar { display: none; }
@media (max-width: 900px) {
  :root { --appbar: 56px; --tabbar: 62px; }
  body { padding-top: calc(var(--appbar) + env(safe-area-inset-top)); padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; top: 0; left: 0; right: 0; height: calc(var(--appbar) + env(safe-area-inset-top));
          padding: env(safe-area-inset-top) 16px 0; align-items: center; justify-content: center;
          background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .mbar .mlogo { font-size: 21px; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
            height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
            background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
            border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
            text-decoration: none; color: var(--muted); font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .02em;
            background: none; border: 0; padding: 6px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .tabbar i { font-size: 20px; }
  .tabbar a.on, .tabbar button[aria-expanded="true"] { color: var(--green); }
  .tabbar a.on i { transform: translateY(-1px); }
  /* "More" opens the full menu as a sheet above the tab bar */
  .mdrawer:not([hidden]) { top: 0; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-top: env(safe-area-inset-top); }
  .ev-mbar { top: calc(var(--appbar) + env(safe-area-inset-top)); }
  .skip:focus { top: calc(var(--appbar) + 8px); }
}
@media (display-mode: standalone) and (max-width: 900px) {
  /* Installed app: no staging banner gap, feel native */
  body { -webkit-user-select: none; user-select: none; }
  p, li, h1, h2, h3, input, textarea { -webkit-user-select: text; user-select: text; }
}
/* Signup forms stacked vertically (phone menu): the row layout's flex-basis must not become a height. */
.mnav-signup .signup input[type=email] { flex: none; width: 100%; height: 48px; }
.mnav-signup .signup .btn { flex: none; width: 100%; }

/* Site search */
.search-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.search-form .hp-label { position: absolute; left: -5000px; }
.search-row { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.search-row i { color: var(--muted); }
.search-row input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--ink); font: inherit; font-size: 18px; padding: 13px 0; }
.search-form select { flex: 0 0 auto; padding: 0 12px; min-height: 52px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.search-count { margin: 6px 0 14px; font-size: 14px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-results li a { display: block; font-weight: 800; font-size: 19px; line-height: 1.3; text-decoration: none; margin-top: 4px; }
.search-results li a:hover { color: var(--green); }
.search-results li a i { font-size: 12px; color: var(--muted); }
.search-results li p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .search-row, .search-form select { flex: 1 1 100%; }
}
.pill.lock { color: var(--ink-2); border-color: var(--line); }
.pill.lock i { font-size: 11px; margin-right: 3px; }
.deck-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--green); }
.why-pick .deck-link { display: inline; margin: 0 0 0 4px; }
#ev-day .deck-link { display: block; margin-top: 4px; }

/* Sticky main nav: a compact logo slides in once the masthead has scrolled away. */
.tabs > .wrap { display: flex; align-items: center; gap: 22px; }
.tabs-home { display: none; font-weight: 900; font-size: 19px; letter-spacing: -0.04em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.tabs-home span { color: var(--green); }
.tabs.stuck .tabs-home { display: inline; }
.tabs.stuck { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.navlinks { flex: 1; }
.dd-panel.dd-wide { min-width: 340px; }
.dd-item { display: grid; gap: 2px; }
.dd-item b { font-size: 15px; }
.dd-item small { font-weight: 400; font-size: 13px; color: var(--muted); line-height: 1.35; }
.dd-item.on small, .dd-item:hover small { color: var(--ink-2); }
.dd-h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.dd-topics { display: grid; grid-template-columns: 1fr 1fr; }
.dd-topics a { font-weight: 600; font-size: 14px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 0 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* News section tabs: real pages, the current one highlighted. Wraps, never scrolls. */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.subnav a { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.subnav a:hover { border-color: var(--green); color: var(--green); }
.subnav a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.topic-links { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 0 0 12px; font-size: 14px; }
.topic-links span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.topic-links a { font-weight: 700; color: var(--green); text-decoration: none; }
.topic-links a:hover { text-decoration: underline; }
.mnav > a small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }
@media (max-width: 900px) {
  .crumbs ol { padding: 10px 0 0; }
  .subnav a { min-height: 40px; display: inline-flex; align-items: center; }
}
.logo-h1 { margin: 0; font: inherit; }
.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; }

/* Right side of the nav: search icon, and the daily brief button once the masthead signup has scrolled away. */
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.navlinks > a.nav-search { margin-left: 0; }
.nav-search { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); text-decoration: none; font-size: 17px; }
.nav-search:hover, .nav-search.on { color: var(--green); background: var(--green-soft); }
.nav-cta { position: relative; display: none; }
.tabs.stuck .nav-cta { display: block; }
.nav-cta > summary { list-style: none; cursor: pointer; padding: 9px 16px; font-size: 14px; white-space: nowrap; }
.nav-cta > summary::-webkit-details-marker { display: none; }
.nav-cta-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 360px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 18px; z-index: 130; }
.nav-cta-panel strong { font-size: 17px; }
.nav-cta-panel p { margin: 6px 0 12px; font-size: 14px; color: var(--ink-2); }
.nav-cta-panel .signup input[type=email] { flex: 1 1 100%; }
/* Stuck: one slim bar, no double rules. */
.tabs.stuck { border-top-color: transparent; }

/* Cookie notice */
.cookie-bar:not([hidden]) { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 180; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  max-width: 980px; margin: 0 auto; padding: 14px 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.cookie-bar p { margin: 0; font-size: 14px; flex: 1 1 380px; }
.cb-actions { display: flex; gap: 10px; align-items: center; }
.cb-actions a { font-size: 14px; }
.cb-actions .btn { padding: 8px 16px; font-size: 14px; }
@media (max-width: 900px) { .cookie-bar:not([hidden]) { bottom: calc(76px + env(safe-area-inset-bottom)); left: 10px; right: 10px; } }

/* Gated download form */
.gate:not([hidden]) { position: fixed; inset: 0; z-index: 210; background: rgba(10,15,20,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gate-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 26px 26px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.gate-box h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; padding-right: 30px; }
.gate-box p { margin: 0 0 12px; font-size: 15px; }
.gate-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 20px; color: var(--ink-2); cursor: pointer; border-radius: 50%; }
.gate-x:hover { background: var(--green-soft); }
.gate-form { display: grid; gap: 12px; margin: 8px 0 4px; }
.gate-field { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.gate-field input, .gate-field select { font: inherit; font-size: 16px; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.gate-form .btn { justify-content: center; }
.gate-msg { min-height: 1.2em; font-size: 14px; color: var(--rust); margin: 0; }
.gate-small { font-size: 13px !important; color: var(--muted); }
body.noscroll { overflow: hidden; }
/* Staging review page */
.review-list { list-style: none; margin: 0; padding: 0; }
.review-list li { display: grid; grid-template-columns: 60px 1fr; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.review-list li a { font-weight: 700; font-size: 17px; }
.review-list li small { grid-column: 2; color: var(--muted); font-size: 13px; }
.review-slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review-slides img { width: 100%; height: auto; display: block; }

/* Small laptops and tablets in landscape (961 to 1199 wide): the sticky bar adds the small logo
   and the daily-brief button, so tighten the spacing to keep it on one line (2026-10-05). */
@media (min-width: 961px) and (max-width: 1199px) {
  .tabs > .wrap { gap: 14px; }
  .navlinks { gap: 18px; flex-wrap: nowrap; }
  .tabs.stuck .navlinks { gap: 14px; }
  .tabs.stuck .navlinks > a, .tabs.stuck .dd > summary { font-size: 14px; }
  .tabs-home { font-size: 17px; }
  .nav-cta > summary { padding: 8px 12px; font-size: 13px; }
}

/* FAQ (2026-10-05): hub of topics, then one page per topic with every answer up front. */
.faq-hub { display: grid; gap: 28px; }
.faq-hub-topic { border-top: 2px solid var(--ink); padding-top: 14px; }
.faq-hub-topic h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.01em; }
.faq-hub-topic h2 a { text-decoration: none; }
.faq-hub-topic ul { margin: 10px 0; padding-left: 18px; display: grid; gap: 6px; }
.faq-more { font-weight: 700; font-size: 15px; color: var(--green); }
.faq-toc { background: var(--tint); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; }
.faq-toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.faq-q { border-top: 1px solid var(--line); padding: 22px 0 6px; scroll-margin-top: 80px; }
.faq-q h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.faq-q p { margin: 0 0 12px; color: var(--ink-2); }
.faq-q .faq-short { font-size: 19px; line-height: 1.45; color: var(--ink); border-left: 3px solid var(--green); padding-left: 14px; }
.faq-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.faq-meta a { color: var(--muted); }
.faq-back { margin-top: 24px; font-weight: 700; }
.faq-tool { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; align-items: center; background: var(--tint); border-left: 3px solid var(--green); border-radius: var(--radius); padding: 14px 16px; margin: 4px 0 14px; }
.faq-tool .label { grid-column: 1; font-size: 11px; color: var(--muted); }
.faq-tool b { grid-column: 1; font-size: 16px; }
.faq-tool small { grid-column: 1; color: var(--ink-2); font-size: 14px; }
.faq-tool .btn { grid-column: 2; grid-row: 1 / span 3; white-space: nowrap; }
@media (max-width: 600px) { .faq-tool { grid-template-columns: 1fr; } .faq-tool .btn { grid-column: 1; grid-row: auto; margin-top: 8px; justify-content: center; } }

/* Endorsed logo (Jon, 2026-10-05, concept A): the name leads; "by" and the full-color Swifty logo sit
   small and right-aligned beneath it. Never a black-only Swifty logo; dark mode uses the version with
   white lettering. The sticky menu bar keeps the name alone (too small for the endorsement). */
.mast-logo { display: inline-flex; flex-direction: column; align-items: flex-end; margin-bottom: 12px; }
.mast-logo .logo, .mast-logo .logo-h1 { margin-bottom: 0; }
.by-swifty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; text-decoration: none;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.by-swifty img { height: 28px; width: auto; display: block; }
.foot-logo { margin-bottom: 12px; }
.foot-logo .by-swifty img { height: 18px; }
.by-swifty .bs-dark { display: none; }
:root[data-theme="dark"] .by-swifty .bs-light { display: none; }
:root[data-theme="dark"] .by-swifty .bs-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .by-swifty .bs-light { display: none; }
  :root:not([data-theme="light"]) .by-swifty .bs-dark { display: block; }
}

/* Swifty coloring, measured (Jon, 2026-10-05: "more Swifty specific coloring... don't go over the top").
   Swifty's own amber #CC8016 and yellow #FCB813 go where they are decorative or large: the logo's
   "Marketing", the two daily-brief buttons, and accent rules. Small text (labels, links) keeps the
   deeper amber, because Swifty amber is too light to read at small sizes on white. */
:root { --sw-yellow: #FCB813; --sw-amber: #CC8016; --logo-accent: #CC8016; }
:root[data-theme="dark"] { --logo-accent: #FCB813; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo-accent: #FCB813; } }
.logo span, .tabs-home span, .mlogo span { color: var(--logo-accent); }
.mast-signup .signup .btn, .nav-cta > summary.btn { background: var(--sw-yellow); color: #1a1a1a; }
.mast-signup .signup .btn:hover, .nav-cta > summary.btn:hover { color: #1a1a1a; }
.navlinks > a.on, .navlinks > a:hover, .dd.on > summary, .dd > summary:hover { border-bottom-color: var(--sw-amber); }
.why, .outlook li, .prose blockquote, .faq-q .faq-short, .faq-tool { border-left-color: var(--sw-amber); }
.outlook li:nth-child(2), .why-pick, .prose .swifty { border-left-color: var(--sw-yellow); }
.card.spot { border-top-color: var(--sw-yellow); }
button.cal-day.m.spot { border-color: var(--sw-yellow); }
.subnav a:hover { border-color: var(--sw-amber); }

/* Header redesign, option A (Jon, 2026-10-05): one bar on every page (endorsed logo, menu, search,
   yellow daily-brief button), and on the homepage a hero with the headline and the signup.
   Replaces the date strip and the masthead. */
.tabs { border-top: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.tabs > .wrap { gap: 32px; min-height: 76px; }
.bar-logo { display: inline-flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; }
.tabs-home, .tabs.stuck .tabs-home { display: inline; font-size: 26px; line-height: 1; letter-spacing: -0.045em; }
.bar-logo .by-swifty { margin-top: 3px; font-size: 9px; gap: 6px; }
.bar-logo .by-swifty img { height: 16px; }
.nav-cta, .tabs.stuck .nav-cta { display: block; }
.tabs .navlinks { margin-left: 4px; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

.hero { border-bottom: 2px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 52px; padding-bottom: 44px; }
.hero-kicker { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -0.03em; font-weight: 900; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--logo-accent); }
.hero-copy p { margin: 0; font-size: 20px; line-height: 1.4; color: var(--ink-2); max-width: 600px; }
.hero-signup .signup { max-width: none; }
.hero-signup .signup input[type=email] { flex: 1 1 220px; }
.hero-signup .signup .btn { background: var(--sw-yellow); color: #1a1a1a; }

/* Mid-size screens: keep the bar on one line. */
@media (min-width: 961px) and (max-width: 1199px) {
  .tabs > .wrap { gap: 16px; }
  .tabs-home, .tabs.stuck .tabs-home { font-size: 21px; }
  .bar-logo .by-swifty img { height: 14px; }
}
/* Phones: their own top bar is used; the hero stacks. */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 26px; padding-bottom: 28px; }
  .hero-copy p { font-size: 17px; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .navlinks, .tabs.stuck .navlinks { gap: 14px; }
  .navlinks > a, .dd > summary { font-size: 14px; }
  .nav-right { gap: 10px; }
  .nav-cta > summary { padding: 8px 12px; font-size: 13px; }
}

/* Shareable stats (2026-10-06) */
.share-btn:not(.btn) { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink-2); font: 600 12px var(--sans); cursor: pointer; vertical-align: middle; }
.share-btn:not(.btn):hover { border-color: var(--sw-amber); color: var(--ink); }
/* Share window (Jon, 2026-10-07): shows the exact image being shared, then the networks. Fits a
   995x540 window and a 375px phone without scrolling sideways; scrolls inside itself only if a
   window is shorter than that. */
.share-dlg { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(26,26,26,.55); }
body.share-open { overflow: hidden; }
.share-box { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0,0,0,.28); padding: 14px 16px 16px; }
.share-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font: 700 16px var(--sans); }
.share-x { border: 0; background: none; font-size: 18px; color: var(--ink-2); cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.share-x:hover { background: var(--tint); color: var(--ink); }
.share-prev { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.share-cap { margin: 10px 0 12px; color: var(--ink-2); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.share-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.share-acts a, .share-acts button { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font: 600 14px var(--sans); text-decoration: none; text-align: left; cursor: pointer; border-radius: 6px; }
.share-acts a:hover, .share-acts button:hover { background: var(--tint); }
.share-acts .share-main { grid-column: 1 / -1; justify-content: center; background: var(--sw-yellow, #FCB813); border-color: transparent; color: #1a1a1a; }
.stat-card { margin: 0 0 14px; } .stat-card img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); display: block; }
.stat-src { color: var(--ink-2); font-size: 15px; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; position: relative; }

/* Option C (Jon, 2026-10-06): the black bar and black hero band, closest to beswifty.com.
   Near-black #1a1a1a with Swifty yellow accents; dropdown panels stay light. */
.tabs, .tabs.stuck { background: #1a1a1a; border-bottom: 1px solid #333; box-shadow: none; }
.tabs .tabs-home { color: #fff; }
.tabs .tabs-home span { color: #FCB813; }
.tabs .bar-logo .by-swifty { color: #cfcfcc; }
.tabs .bar-logo .bs-light { display: none; }
.tabs .bar-logo .bs-dark { display: block; }
.tabs .navlinks > a, .tabs .dd > summary { color: #fff; }
.tabs .navlinks > a.on, .tabs .navlinks > a:hover, .tabs .dd.on > summary, .tabs .dd > summary:hover { color: #FCB813; border-bottom-color: #FCB813; }
.tabs .nav-search { color: #fff; }
.tabs .nav-search:hover, .tabs .nav-search.on { color: #FCB813; background: #2a2a2a; }
.tabs .dd-panel, .tabs .nav-cta-panel { color: var(--ink); }

.hero { background: #1a1a1a; color: #fff; border-bottom: 0; }
.hero .wrap { align-items: center; padding-top: 60px; padding-bottom: 56px; }
.hero h1 { color: #fff; }
.hero h1 em { color: #FCB813; }
.hero-copy p { color: #d8d8d4; }
.hero .hero-kicker { color: #b5b5b1; }
.hero-signup { background: #262626; border: 1px solid #3a3a3a; border-radius: 10px; padding: 24px; }
.hero-card-h { margin: 0 0 4px; font-size: 22px; color: #fff; }
.hero-card-p { margin: 0 0 14px; font-size: 15px; color: #d8d8d4; }
.hero-signup .signup input[type=email] { flex: 1 1 100%; background: #fff; color: #1a1a1a; border: 1px solid #555; }
.hero-signup .signup .btn { flex: 1 1 100%; justify-content: center; }
.hero-signup .signup .also { color: #d8d8d4; }
.hero-signup .form-msg { color: #FCB813; }

@media (max-width: 960px) {
  .mbar { background: #1a1a1a; border-bottom-color: #333; }
  .mbar .mlogo { color: #fff; }
  .mbar .mlogo span { color: #FCB813; }
  .mbar .mbtn { color: #fff; background: transparent; border-color: #3a3a3a; }
}

/* Share on Search Alerts and on the homepage headline numbers (2026-10-06) */
.share-row { margin: 0 0 18px; }
.share-row .share-btn { margin-left: 0; }
.share-btn.share-mini { padding: 1px 7px; margin-left: 4px; font-size: 12px; vertical-align: 1px; }
/* The phone rule that stretches filter inputs to full width must not stretch the "Our picks" checkbox. */
.ev-toolbar .chk input { width: auto; flex: none; padding: 0; }

/* Conference guides (/conferences/) */
.conf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.conf-row { display: grid; grid-template-columns: 72px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 20px 0; }
.conf-row h2 { margin: 0 0 4px; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.conf-row h2 a { text-decoration: none; }
.conf-row p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.conf-when { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 1px solid var(--line); border-top: 4px solid var(--rust); border-radius: var(--radius); padding: 8px 4px; font-family: var(--mono); text-align: center; height: max-content; }
.conf-when b { font-size: 15px; } .conf-when span { font-size: 12px; color: var(--muted); }
.conf-meta { font-family: var(--mono); font-size: 13px !important; color: var(--ink) !important; }
.conf-access, .conf-aka { font-size: 14px; color: var(--muted); }
.conf-checked { margin-top: 24px; font-size: 14px; color: var(--muted); }
.conf-facts { background: var(--tint); border-left: 4px solid var(--rust); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px; }
.conf-facts h2 { margin: 0 0 10px; }
.conf-facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; }
.conf-facts dt { font-weight: 700; font-size: 15px; } .conf-facts dt i { color: var(--rust); width: 18px; }
.conf-facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.conf-facts dd small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.conf-cta { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.conf-who, .conf-list-plain { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 8px; }
.conf-who b { margin-right: 4px; }
.conf-caution { font-size: 13px; color: var(--muted); margin: -8px 0 24px; }
.conf-deck-btns { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: 8px; flex-wrap: wrap; }
.conf-sources { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 14px; font-size: 14px; color: var(--ink-2); }
.conf-sources ul { padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 640px) {
  .conf-row { grid-template-columns: 1fr; gap: 8px; }
  .conf-when { flex-direction: row; gap: 8px; justify-self: start; padding: 4px 10px; }
  .conf-facts dl { grid-template-columns: 1fr; gap: 2px; } .conf-facts dd { margin-bottom: 8px; }
  .faq-tool .conf-deck-btns { grid-column: 1; grid-row: auto; margin-top: 8px; }
}

/* Sourced statistics (/stats/) */
.stats-updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.stats-theme { scroll-margin-top: 80px; margin-top: 32px; }
.stats-theme > h2 { font-size: 24px; letter-spacing: -0.01em; margin: 0 0 4px; border-top: 2px solid var(--ink); padding-top: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.stat-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 80px; background: var(--paper); }
.stat-item:target { border-color: var(--rust); box-shadow: 0 0 0 2px var(--rust); }
.stat-fig { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--rust); }
.stat-text { margin: 0; font-size: 15px; }
.stat-item .stat-src { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.stat-item footer { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.stat-copy { color: var(--muted); }

/* Learn area: job tiles, job hubs, playbooks (2026-10-08, staging until Jon approves) */
.jobs { margin: 28px 0 8px; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.job-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.job-tile:hover { border-color: var(--sw-yellow); transform: translateY(-2px); }
.job-tile i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--sw-yellow); color: #1a1a1a; font-size: 17px; margin-bottom: 6px; }
.job-tile b { font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.job-tile span { color: var(--muted); font-size: 14.5px; }
.job-tile em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-top: 4px; }
@media (max-width: 900px) { .job-grid { grid-template-columns: 1fr 1fr; } }
/* Phones: two compact tiles per row, icon and title only, so all six fit on about one screen. */
@media (max-width: 560px) { .job-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .job-tile { padding: 12px; gap: 6px; border-radius: 10px; } .job-tile i { width: 32px; height: 32px; font-size: 15px; margin: 0; } .job-tile b { font-size: 15px; } .job-tile span, .job-tile em { display: none; } }
.monday { background: var(--tint); border-left: 4px solid var(--sw-yellow); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 6px 0 22px; }
.monday .label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.monday p { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.pb-callout { display: flex; flex-direction: column; gap: 4px; background: #1a1a1a; color: #fff; border-radius: 14px; padding: 20px 22px; margin: 0 0 24px; text-decoration: none; }
.pb-callout .label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #FCB813; }
.pb-callout b { font-size: 24px; letter-spacing: -.02em; }
.pb-callout span { color: #d6d6d2; }
.pb-callout .pb-go { color: #FCB813; font-weight: 700; margin-top: 6px; }
.learn-qs { list-style: none; padding: 0; margin: 0 0 20px; }
.learn-qs li { border-bottom: 1px solid var(--line); }
.learn-qs a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; }
.learn-qs a b { display: block; font-size: 16.5px; }
.learn-qs a span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.learn-qs a:hover b { text-decoration: underline; }
.learn-qs.compact a { padding: 8px 0; } .learn-qs.compact a b { font-size: 15px; font-weight: 600; }
.learn-back { margin-top: 28px; }
.pb-map { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pb-map a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.pb-map a span { width: 24px; height: 24px; border-radius: 50%; background: var(--sw-yellow); color: #1a1a1a; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.pb-phase { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.pb-num { width: 44px; height: 44px; border-radius: 50%; background: #1a1a1a; color: #FCB813; display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.pb-phase h2 { margin: 4px 0 2px; font-size: 24px; letter-spacing: -.02em; }
.pb-goal { color: var(--muted); margin: 0 0 12px; font-size: 16px; }
.pb-steps { list-style: none; padding: 0; margin: 0 0 14px; }
.pb-steps li { display: flex; gap: 10px; padding: 7px 0; font-size: 16.5px; line-height: 1.45; }
.pb-steps i { color: var(--green); margin-top: 4px; }
.pb-watch { font-size: 14.5px; color: var(--ink-2); background: var(--tint); border-radius: 8px; padding: 10px 12px; }
.pb-cta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border: 2px solid var(--sw-yellow); border-radius: 14px; padding: 18px 20px; margin: 26px 0 0; }
.pb-cta b { font-size: 19px; } .pb-cta span { color: var(--ink-2); }
@media (max-width: 560px) { .pb-phase { grid-template-columns: 1fr; } .pb-num { width: 36px; height: 36px; font-size: 17px; } }

/* Gate success: the download is on screen right away (2026-10-08) */
.gate-ready { text-align: center; padding: 6px 0 2px; }
.gate-ready > i { font-size: 40px; color: var(--sw-yellow); margin-bottom: 8px; }
.gate-ready h2 { margin: 0 0 4px; }
.gate-ready .gate-dl { display: inline-flex; gap: 8px; align-items: center; justify-content: center; width: 100%; padding: 14px 18px; font-size: 17px; margin: 10px 0 6px; background: var(--sw-yellow); color: #1a1a1a; }
.gate-ready .gate-more { margin-top: 10px; }

/* Our take on every stat (2026-10-09) */
.stat-take { border-left: 4px solid var(--sw-yellow); background: var(--tint); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 4px 0 22px; }
.stat-take .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.stat-take-hook { font-size: 21px; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; margin: 6px 0 8px; }
.stat-take-do { margin: 0 0 12px; color: var(--ink-2); }
.stat-why { font-size: 14.5px; color: var(--ink-2); margin: 6px 0; }
.stat-why a { color: var(--green); font-weight: 700; }
