/* Epic Cash screens: the release's screenshot tour as a gallery. The landing page's look
 * (near-black, hairlines, Montserrat for display, mono for codes, gold as the one signal),
 * with a light palette of its own. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono NL';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jetbrainsmono-nl.woff2') format('woff2');
}

:root {
  --bg: #08080a;
  --surface: #0d0d10;
  --surface-hi: #1a1a21;
  --line: #24242a;
  --line-strong: #33333d;
  --text: #fff9f9;
  --dim: #a4a4ad;
  --faint: #8a8a94;
  --accent: #f6d471;
  --accent-hi: #f8dc86;
  --accent-text: #f6d471;
  --accent-ink: #08080a;
  --tick: #c98a3e;
  --mark: rgba(246, 212, 113, 0.18);
  --grid: rgba(255, 249, 249, 0.05);
  --glow: rgba(246, 212, 113, 0.10);
  --scrim: rgba(4, 4, 6, 0.86);
  --err: #ff8f87;
  --ok: #8ad98a;
  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono NL', ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;
  --r: 14px;
  --r-sm: 8px;
  --ctl: 44px;
  --gutter: clamp(16px, 3vw, 48px);
  --max: 2200px;
  --bar-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 1;
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #f3f3f5;
  --surface: #ffffff;
  --surface-hi: #e7e7ec;
  --line: #d9d9e0;
  --line-strong: #b9b9c4;
  --text: #121216;
  --dim: #50505a;
  --faint: #5f5f69;
  --accent: #c98a3e;
  --accent-hi: #d39749;
  --accent-text: #8a5410;
  --accent-ink: #121216;
  --tick: #b07325;
  --mark: rgba(201, 138, 62, 0.22);
  --grid: rgba(18, 18, 22, 0.05);
  --glow: rgba(201, 138, 62, 0.10);
  --scrim: rgba(236, 236, 240, 0.9);
  --err: #b3261e;
  --ok: #1f7a32;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--bar-h) + 16px); }
html.locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { :root { --dur: 0; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button, input, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.skip:focus { top: 16px; text-decoration: none; }

/* ---- Header ---------------------------------------------------------------------------- */

.top, .intro, .bar-in, .chips, .notice, .wrap, .foot {
  max-width: var(--max); margin-left: auto; margin-right: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--ctl); color: var(--text); }
.brand:hover { text-decoration: none; }
.emblem { width: 32px; height: 32px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.16em; padding-top: 1px; }

.theme-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--ctl); min-width: var(--ctl); padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: transparent; font-size: 14px; font-weight: 600;
  transition: background-color calc(0.2s * var(--dur)), border-color calc(0.2s * var(--dur));
}
.theme-btn:hover { background: var(--surface-hi); }
.theme-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn .i-moon { display: none; }
:root[data-theme='light'] .theme-btn .i-sun { display: none; }
:root[data-theme='light'] .theme-btn .i-moon { display: block; }

.intro { position: relative; padding-top: clamp(28px, 5vh, 64px); padding-bottom: clamp(24px, 4vh, 44px); }
.intro::before {
  /* The landing page's measurement grid, lit from the right. */
  content: ''; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 90% at 78% 40%, #000 0%, transparent 100%);
  mask-image: radial-gradient(60% 90% at 78% 40%, #000 0%, transparent 100%);
}
.intro::after {
  content: ''; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 70% at 78% 40%, var(--glow) 0%, transparent 70%);
}
h1 {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04;
  font-size: clamp(34px, 2.2rem + 2.4vw, 72px);
}
.rel { margin-top: 12px; font-family: var(--font-mono); font-size: 14px; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.lede { margin-top: 14px; max-width: 62ch; color: var(--dim); font-size: 17px; text-wrap: pretty; }

/* ---- Toolbar --------------------------------------------------------------------------- */

.bar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
.search { position: relative; flex: 1 1 360px; max-width: 640px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 44px 0 42px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 16px; outline: none;
  transition: border-color calc(0.15s * var(--dur));
}
.search input::placeholder { color: var(--faint); }
.search input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.slash {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  min-width: 24px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 5px;
  font-family: var(--font-mono); font-size: 12px; color: var(--dim); text-align: center; pointer-events: none;
}
.search input:focus ~ .slash, .search input:not(:placeholder-shown) ~ .slash { display: none; }
@media (pointer: coarse) { .slash { display: none; } }
.count { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 9ch; }
.count b { color: var(--text); font-weight: 600; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.seg button {
  min-height: 38px; padding: 0 14px; border: 0; border-radius: 5px; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--dim);
  transition: background-color calc(0.15s * var(--dur)), color calc(0.15s * var(--dur));
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed='true'] { background: var(--surface-hi); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.seg button:disabled { opacity: 0.4; cursor: default; }
@media (pointer: coarse) { .seg button { min-height: var(--ctl); } }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: var(--ctl); font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch .track { position: relative; width: 38px; height: 22px; flex: none; border-radius: 11px; background: var(--surface-hi); border: 1px solid var(--line-strong); transition: background-color calc(0.2s * var(--dur)); }
.switch .track::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--dim);
  transition: transform calc(0.2s * var(--dur)) var(--ease), background-color calc(0.2s * var(--dur));
}
.switch input:checked + .track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .track::after { transform: translateX(16px); background: var(--accent-ink); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 3px; }

.chips { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: thin; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 18px; background: transparent; font-size: 14px; color: var(--dim); white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip .n { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.chip[aria-pressed='true'] { color: var(--text); border-color: var(--accent); background: var(--mark); }
.chip[aria-pressed='true'] .n { color: var(--text); }
.chip.zero { opacity: 0.45; }
@media (pointer: coarse) { .chip { min-height: var(--ctl); } }
@media (min-width: 900px) {
  .chips { flex-wrap: wrap; overflow: visible; }
}

.notice { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 4px; }
.notice p { flex: 1 1 260px; padding: 12px 14px; border: 1px solid var(--tick); border-radius: var(--r-sm); background: var(--mark); }
.notice code { font-family: var(--font-mono); font-size: 0.92em; overflow-wrap: anywhere; }

/* ---- Buttons --------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--ctl); padding: 0 20px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--text); background: transparent;
  transition: background-color calc(0.2s * var(--dur)) var(--ease), border-color calc(0.2s * var(--dur)) var(--ease);
}
.btn:hover { background: var(--surface-hi); text-decoration: none; }
.btn-sm { padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn:disabled { opacity: 0.55; cursor: progress; }

/* ---- Grid ------------------------------------------------------------------------------ */

.wrap { display: block; padding-bottom: 48px; }
.rail { display: none; }
main:focus { outline: none; }

.plat + .plat { margin-top: 48px; }
.plat-h {
  display: flex; align-items: baseline; gap: 12px; padding: 20px 0 4px;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 1.2rem + 0.8vw, 30px); letter-spacing: -0.01em;
}
.plat-h .n, .area-h .n { font-family: var(--font-mono); font-weight: 400; font-size: 13px; color: var(--faint); letter-spacing: 0; }
.area { padding-top: 28px; }
.area-h {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
}
.cards { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; list-style: none; }
.cards.phone { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 16px; }
@media (min-width: 1400px) { .cards.phone { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); } }

.card { position: relative; display: block; color: var(--text); border-radius: var(--r-sm); }
.card:hover { text-decoration: none; }
.card:focus-visible { outline-offset: 6px; }
.frame {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  transition: border-color calc(0.2s * var(--dur)) var(--ease);
}
.phone .frame { aspect-ratio: 9 / 20; border-radius: 12px; }
.frame img { width: 100%; height: 100%; object-fit: contain; }
/* The landing page's corner ticks: they frame the card under the pointer or the focus. */
.frame::before, .frame::after {
  content: ''; position: absolute; width: 12px; height: 12px; border: 0 solid var(--tick); opacity: 0; pointer-events: none;
  transition: opacity calc(0.2s * var(--dur)) var(--ease);
}
.frame::before { top: 5px; left: 5px; border-top-width: 2px; border-left-width: 2px; }
.frame::after { bottom: 5px; right: 5px; border-bottom-width: 2px; border-right-width: 2px; }
.card:hover .frame, .card:focus-visible .frame { border-color: var(--line-strong); }
.card:hover .frame::before, .card:hover .frame::after, .card:focus-visible .frame::before, .card:focus-visible .frame::after { opacity: 1; }
.name { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.code { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); overflow-wrap: anywhere; }
.code span { min-width: 0; }
.twin { flex: none; font-family: var(--font-body); font-size: 12px; color: var(--dim); }
.snip { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--dim); overflow-wrap: anywhere; }
.snip b { color: var(--text); font-weight: 600; background: var(--mark); border-radius: 2px; }

.state { padding: 40px 0; }
html:not(.js) .state { display: none; }
.state-line { color: var(--dim); font-size: 16px; }
.state h2 { font-family: var(--font-head); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.state p + .btn { margin-top: 18px; }
.state .q { color: var(--text); overflow-wrap: anywhere; }
.skel { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 24px; }
.skel i { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); animation: pulse calc(1.6s * var(--dur) + 0.01s) ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .skel i { animation: none; } }

@media (min-width: 1400px) {
  .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .rail {
    display: block; position: sticky; top: calc(var(--bar-h) + 16px); align-self: start;
    max-height: calc(100vh - var(--bar-h) - 32px); overflow-y: auto; padding: 18px 4px 24px 0; scrollbar-width: thin;
  }
  .rail h2 { margin: 18px 0 6px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text); }
  .rail h2:first-child { margin-top: 0; }
  .rail ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
  .rail a {
    display: flex; justify-content: space-between; gap: 8px; padding: 5px 10px 5px 12px; margin-left: -1px;
    border-left: 2px solid transparent; color: var(--dim); font-size: 14px;
  }
  .rail a:hover { color: var(--text); text-decoration: none; }
  .rail a .n { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
  .rail a[aria-current='true'] { color: var(--text); border-left-color: var(--accent); }
}

/* ---- Footer ---------------------------------------------------------------------------- */

.foot { display: grid; gap: 6px; padding-top: 28px; padding-bottom: max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot p:first-child { color: var(--text); }

/* ---- Viewer ---------------------------------------------------------------------------- */

.viewer {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--text); overflow: hidden;
}
.viewer::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.viewer[open] { display: grid; grid-template-columns: minmax(0, 1fr) 380px; animation: v-in calc(0.2s * var(--dur)) var(--ease); }
@media (min-width: 1800px) { .viewer[open] { grid-template-columns: minmax(0, 1fr) 440px; } }
@keyframes v-in { from { opacity: 0; } }
.v-stage { position: relative; min-width: 0; min-height: 0; margin: 20px 0 20px 20px; touch-action: pan-y pinch-zoom; }
.v-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.v-thumb { filter: blur(2px); opacity: 0.8; }
.v-full { opacity: 0; transition: opacity calc(0.18s * var(--dur)); }
.v-full.ready { opacity: 1; }
.v-side {
  display: flex; flex-direction: column; gap: 20px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 20px; padding: 16px 20px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.v-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v-nav { display: flex; align-items: center; gap: 6px; }
.v-pos { min-width: 8ch; text-align: center; font-family: var(--font-mono); font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.ic {
  display: inline-grid; place-items: center; width: var(--ctl); height: var(--ctl); flex: none;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: transparent;
}
.ic:hover:not(:disabled) { background: var(--surface-hi); }
.ic:disabled { opacity: 0.35; cursor: default; }
.ic svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-meta { font-size: 13px; color: var(--dim); }
.v-name { margin-top: 4px; font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; text-wrap: balance; }
.v-code-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.v-code { flex: 1 1 160px; min-width: 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); overflow-wrap: anywhere; }
.seg-sm { margin-top: 14px; }
.v-theme-note { margin: 8px 0 0; font-size: 13px; color: var(--dim); }
.v-theme-note.flash { animation: note-flash 900ms var(--ease); }
@keyframes note-flash { 0%, 40% { color: var(--accent); } 100% { color: var(--dim); } }
.switch.is-off { opacity: 0.55; cursor: not-allowed; }
.switch.is-off input { cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .v-theme-note.flash { animation: none; color: var(--accent); } }

.fb { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.fb-h { font-family: var(--font-head); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.fb-l { font-size: 14px; color: var(--dim); }
.fb textarea, .fb input {
  width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 16px; outline: none;
}
.fb textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.fb input { height: var(--ctl); }
.fb textarea:focus-visible, .fb input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fb textarea[aria-invalid='true'] { border-color: var(--err); }
.fb ::placeholder { color: var(--faint); }
.fb-count { align-self: flex-end; margin-top: -2px; font-family: var(--font-mono); font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.fb-count.over { color: var(--err); }
.fb-l[for='fb-contact'] { margin-top: 4px; }
.fb-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 8px; }
.fb-status { flex: 1 1 180px; font-size: 14px; color: var(--dim); }
.fb-status.err { color: var(--err); }
.fb-status.ok { color: var(--ok); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 899px) {
  .viewer[open] { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .v-stage { margin: 0; height: min(78svh, 900px); padding-top: env(safe-area-inset-top); }
  .v-stage img { inset: 12px max(12px, env(safe-area-inset-left)) 0; width: calc(100% - 24px); height: calc(100% - 12px); }
  .v-side { margin: 12px max(12px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-bottom)); padding: 14px 16px 20px; }
  .v-top { position: sticky; top: 0; z-index: 1; margin: -14px -16px 0; padding: 12px 16px; background: var(--surface); border-radius: var(--r) var(--r) 0 0; }
}
@media (max-width: 899px) and (orientation: landscape) { .v-stage { height: 88svh; } }

/* ---- Small screens --------------------------------------------------------------------- */

@media (max-width: 699px) {
  .bar-in { gap: 8px 10px; padding-top: 10px; padding-bottom: 10px; }
  .search { flex-basis: 100%; max-width: none; }
  .count { order: 3; flex: 1 0 100%; min-width: 0; font-size: 13px; }
  .seg { flex: 1 1 auto; }
  .seg button { flex: 1; padding: 0 8px; }
  .lede { font-size: 16px; }
  .brand-name { font-size: 14px; }
}
@media (max-width: 419px) { .switch .long { display: none; } }
@media (min-width: 700px) and (max-width: 1099px) { .search { flex-basis: 100%; max-width: none; } .count { margin-left: auto; order: 3; } }
