/* CopyBook website. Colors, type sizes and spacing are named once here and
   used everywhere. Phone first; wider screens in the media queries below.
   Text colors are all 4.5:1 or better on their backgrounds. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  /* Text */
  --ink: #13112a; /* headlines: near-black navy */
  --text: #2e2c45; /* body (12:1 on white) */
  --muted: #55536b; /* secondary (7:1 on white) */
  /* Surfaces */
  --white: #ffffff;
  --tint: #faf8fe; /* alternate light sections */
  --line: #e6e3ee;
  --line-strong: #d4d0e1;
  /* Brand */
  --violet: #6d28d9; /* buttons, links (7.1:1 with white) */
  --violet-dark: #5b21b6;
  --orchid: #b04de0;
  --lavender: #eccaff; /* soft highlight only */
  --lavender-soft: #f5edff;
  /* Dark sections */
  --plum: #1b1236;
  --plum-raised: #261a4a;
  --plum-line: #3a2d63;
  --on-dark: #f6f3ff;
  --on-dark-muted: #c6bfdf; /* 9:1 on plum */
  --navy: #0f0c22; /* footer */
  /* Money and status */
  --in: #24704f;
  --in-soft: #e3f3ea;
  --out: #b23c2a;
  --out-soft: #fdeae6;
  --warn: #855500;
  --warn-soft: #fbf0d6;
  /* Shape */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgb(19 17 42 / 0.06);
  --shadow: 0 1px 2px rgb(19 17 42 / 0.05), 0 8px 24px -12px rgb(19 17 42 / 0.16);
  --shadow-lg: 0 2px 4px rgb(19 17 42 / 0.04), 0 28px 56px -24px rgb(39 22 84 / 0.32);
  /* Type scale */
  --fs-label: 12px;
  --fs-small: 14px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-h3: 18px;
  --fs-h2: clamp(30px, 6vw, 46px);
  --fs-h1: clamp(40px, 9vw, 68px);
  /* Spacing (8px steps) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --section: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* `hidden` always wins over display rules below. */
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--violet);
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
.num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.in {
  color: var(--in);
}
.out {
  color: var(--out);
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon.sm {
  width: 16px;
  height: 16px;
}
.icon.xs {
  width: 14px;
  height: 14px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--s2);
}
.section {
  padding-block: var(--section);
}
.section.tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

/* Type */
.eyebrow {
  display: block;
  font-size: var(--fs-label);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}
.h1,
.h2 {
  text-wrap: balance;
}
.h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text);
  max-width: 62ch;
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  text-align: center;
  margin: 0 auto var(--s5);
  max-width: 760px;
}
.section-head .lead {
  color: var(--muted);
}
.grad {
  background: linear-gradient(92deg, var(--violet) 0%, #8f37df 50%, var(--orchid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Keep descenders inside the painted area. */
  padding-bottom: 0.06em;
}
.fine {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link.small {
  font-size: var(--fs-small);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.button.primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 1px 2px rgb(19 17 42 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.14);
}
.button.primary:hover {
  background: var(--violet-dark);
}
.button.primary:disabled {
  cursor: wait;
  opacity: 0.75;
}
.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover {
  border-color: var(--violet);
}
.button.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: var(--fs-small);
  border-radius: 8px;
}

/* Cards and tags */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1;
  padding: 6px 8px;
  white-space: nowrap;
}
.tag.violet {
  background: var(--lavender-soft);
  border-color: #e4d2fb;
  color: var(--violet);
}
.tag.warn {
  background: var(--warn-soft);
  border-color: #f1ddb0;
  color: var(--warn);
}
.tag.in {
  background: var(--in-soft);
  border-color: #c6e5d4;
  color: var(--in);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  height: 64px;
}
/* The logo: Open book mark + wordmark (Geist 800, -0.04em). The mark is 1.1×
   the letter size with a 0.36× gap (see brand/BRAND.md). */
.logo {
  display: flex;
  align-items: center;
  gap: 0.36em;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}
.logo-mark {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}
.logo .accent {
  color: var(--violet);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.nav-link {
  display: none;
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 550;
  text-decoration: none;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--violet);
}

/* Hero */
.hero {
  padding-block: var(--s6) var(--s5);
  text-align: center;
  background: linear-gradient(180deg, var(--lavender-soft) 0%, var(--white) 420px);
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  max-width: 880px;
  margin-inline: auto;
}
.hero .lead {
  color: var(--text);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px 6px 8px;
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 0 0 3px var(--lavender-soft);
}

/* Waitlist form */
.waitlist {
  width: 100%;
  max-width: 560px;
  scroll-margin-top: 96px;
}
.waitlist form {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.field-row {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
input[type="email"],
input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  box-shadow: var(--shadow-sm);
}
input[type="email"]::placeholder,
input[type="search"]::placeholder {
  color: #77748c;
}
input[type="email"]:focus,
input[type="search"]:focus {
  outline: 3px solid var(--lavender);
  border-color: var(--violet);
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  padding: 0;
  margin: 0 auto var(--s1);
  font-size: var(--fs-small);
  font-weight: 550;
  color: var(--text);
}
legend .optional {
  color: var(--muted);
  font-weight: 450;
}
.choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s1);
}
.choices label {
  position: relative;
}
.choices input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choices span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 550;
  transition: background 0.15s, border-color 0.15s;
}
.choices label:hover span {
  border-color: var(--violet);
}
.choices input:checked + span {
  background: var(--lavender-soft);
  border-color: var(--violet);
  color: var(--violet);
  font-weight: 650;
  box-shadow: inset 0 0 0 1px var(--violet);
}
.choices input:focus-visible + span {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#turnstile:empty {
  display: none;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}
.form-message {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: var(--fs-small);
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--text);
}
.form-message.error {
  background: var(--out-soft);
  border-color: #f6cbc2;
  color: var(--out);
}
.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
  padding: var(--s3);
  outline: none;
}
.done-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--in-soft);
  color: var(--in);
}
.done h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.done p {
  color: var(--muted);
}

/* Product shot (made-up numbers) */
.shot {
  position: relative;
  max-width: 1040px;
  margin: var(--s5) auto 0;
  text-align: left;
}
.frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: var(--s2);
  height: 48px;
  padding-inline: var(--s2);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.frame-mark {
  width: 20px;
  height: 20px;
}
.frame-nav {
  display: none;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}
.frame-nav span {
  padding: 4px 10px;
  border-radius: 6px;
}
.frame-nav .on {
  background: var(--lavender-soft);
  color: var(--violet);
  font-weight: 600;
}
.frame-bar .tag {
  margin-left: auto;
}
.frame-body {
  display: grid;
  gap: 12px;
  padding: var(--s2);
  background: var(--tint);
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mini-stat,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-width: 0;
}
.mini-stat .label,
.panel-title {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini-stat .num {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 650;
  color: var(--ink);
}
.mini-stat .num.in {
  color: var(--in);
}
.mini-stat .num.out {
  color: var(--out);
}
.panels {
  display: grid;
  gap: 12px;
}
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.panel-head .fine {
  font-size: 12px;
}
.panel svg {
  display: block;
  width: 100%;
  height: auto;
}
.panel svg text {
  font-size: 10px;
  fill: var(--muted);
  font-family: inherit;
}
.countdowns {
  display: none;
}
.countdown-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.countdown-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.countdown-row .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s1);
}
.countdown-row strong {
  color: var(--ink);
  font-weight: 600;
}
.bar {
  height: 6px;
  border-radius: 999px;
  background: #efecf5;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a771f0, var(--violet));
}
.bar.w60 span {
  width: 60%;
}
.bar.w85 span {
  width: 85%;
}
.float {
  display: none;
}
.float .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.float .big {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.float .fine {
  margin-top: 2px;
}
.example-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--violet);
  background: var(--lavender-soft);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Firm strip */
.strip {
  padding-block: var(--s5);
  border-block: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.strip-label {
  font-size: var(--fs-small);
  font-weight: 550;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  outline-offset: 4px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus .marquee-track {
  animation-play-state: paused;
}
.marquee-list {
  display: flex;
  align-items: center;
}
.marquee-list li {
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding-right: var(--s5);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #3b3854;
  white-space: nowrap;
}
.marquee-list li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--lavender);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.strip-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s1) var(--s3);
  margin-top: var(--s3);
  font-size: var(--fs-small);
  color: var(--muted);
}

/* Features */
.features {
  display: grid;
  gap: var(--s2);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--s3);
}
.feature h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.feature p {
  color: var(--muted);
  font-size: 15px;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--lavender-soft);
  border: 1px solid #e8d9fb;
  color: var(--violet);
}

/* Steps */
.steps {
  display: grid;
  gap: var(--s2);
  counter-reset: step;
}
.step {
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}
.step h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.step p {
  color: var(--muted);
  font-size: 15px;
}

/* Dark section */
.dark {
  background: var(--plum);
  color: var(--on-dark-muted);
}
.dark .eyebrow {
  color: #cdb2ff;
}
.dark .h2 {
  color: var(--on-dark);
}
.dark .lead,
.dark .section-head .lead {
  color: var(--on-dark-muted);
}
.dark .grad {
  background-image: linear-gradient(92deg, #c9a8ff, var(--lavender));
}
.sources {
  display: grid;
  gap: var(--s2);
}
.source {
  padding: var(--s3);
  border: 1px solid var(--plum-line);
  border-radius: var(--radius);
  background: var(--plum-raised);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.source .icon-box {
  background: rgb(236 202 255 / 0.12);
  border-color: rgb(236 202 255 / 0.22);
  color: var(--lavender);
}
.source h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1);
  color: var(--on-dark);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.source p {
  font-size: 15px;
}
.dark-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--lavender);
  border: 1px solid rgb(236 202 255 / 0.35);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0;
}

/* Closing */
.closing {
  text-align: center;
}
.closing .section-head {
  margin-bottom: var(--s4);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b9b4cf;
  padding-block: var(--s5) var(--s4);
  font-size: var(--fs-small);
}
.footer-grid {
  display: grid;
  gap: var(--s4);
}
.site-footer .logo {
  color: var(--white);
}
.site-footer .logo .accent {
  color: #b892ff;
}
.site-footer a {
  color: var(--white);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
}
.footer-links a {
  text-decoration: none;
  font-weight: 550;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-notes {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  max-width: 72ch;
}
.footer-notes strong {
  color: var(--white);
  font-weight: 600;
}
.footer-bottom {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid #262140;
  color: #9a95b3;
}

/* Prop firms page */
.page-hero {
  padding-block: var(--s6) var(--s4);
  background: linear-gradient(180deg, var(--lavender-soft) 0%, var(--white) 320px);
}
.page-hero .hero-text {
  align-items: flex-start;
  text-align: left;
  margin-inline: 0;
  gap: var(--s2);
}
.toolbar {
  position: sticky;
  top: 64px;
  z-index: 10;
  padding-block: var(--s2);
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--line);
}
.toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search {
  position: relative;
  max-width: 420px;
}
.search .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search input {
  padding-left: 42px;
}
.chips {
  /* relative: keeps the hidden label of "More platforms" inside the row. */
  position: relative;
  display: flex;
  gap: var(--s1);
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
  margin-inline: calc(var(--s2) * -1);
  padding-inline: var(--s2);
}
.chip {
  flex-shrink: 0;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.chip:hover {
  border-color: var(--violet);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
/* "More platforms…": the less common platforms in one list, styled like a chip. */
.chip-select {
  flex-shrink: 0;
  min-height: 34px;
  padding: 6px 30px 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2355536b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  appearance: none;
}
.chip-select:hover {
  border-color: var(--violet);
}
.chip-select.on {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.result-count {
  font-size: 13px;
  color: var(--muted);
}
.missing-firm {
  font-size: 13px;
  color: var(--muted);
}
.firm-list {
  display: grid;
  gap: var(--s2);
  padding-block: var(--s4);
}
.firm {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s3);
  /* Cards far below the screen aren't drawn until you scroll near them. */
  content-visibility: auto;
  /* A guessed height only; the width always comes from the page layout. */
  contain-intrinsic-size: auto 0 auto 420px;
}
.firm-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2);
}
.firm h2 {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.firm-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.firm-block .eyebrow {
  color: var(--muted);
  font-size: 11px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid;
}
.status.allowed {
  background: var(--in-soft);
  border-color: #c6e5d4;
  color: var(--in);
}
.status.limited {
  background: var(--warn-soft);
  border-color: #f1ddb0;
  color: var(--warn);
}
.status.not_allowed {
  background: var(--out-soft);
  border-color: #f6cbc2;
  color: var(--out);
}
.status.unknown {
  background: var(--tint);
  border-color: var(--line-strong);
  color: var(--text);
}
.supports {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.support {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font-size: var(--fs-small);
  font-weight: 550;
  color: var(--ink);
}
.support.yes .icon {
  color: var(--in);
}
.support.soon {
  color: var(--muted);
}
.firm-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1) var(--s2);
  margin-top: auto;
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.empty {
  padding: var(--s5) var(--s3);
  text-align: center;
  color: var(--muted);
}
.firm-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: var(--s3);
  margin-bottom: var(--section);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.firm-note strong {
  color: var(--ink);
}
.firm-note .icon {
  color: var(--violet);
  margin-top: 2px;
}

/* Tablet and up */
@media (min-width: 640px) {
  .field-row {
    flex-direction: row;
  }
  .field-row input {
    flex: 1;
  }
  .mini-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .features,
  .sources,
  .firm-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-link {
    display: inline;
  }
  .frame-nav {
    display: flex;
  }
}

@media (min-width: 900px) {
  :root {
    --section: 112px;
  }
  .wrap {
    padding-inline: var(--s3);
  }
  .hero {
    padding-block: 96px var(--s6);
  }
  .lead {
    font-size: 19px;
  }
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  .sources {
    grid-template-columns: repeat(4, 1fr);
  }
  .panels {
    grid-template-columns: 1.6fr 1fr;
  }
  .countdowns {
    display: block;
  }
  .frame-body {
    padding: 20px 20px 76px;
    gap: 16px;
  }
  /* Room for the floating cards that hang off the bottom edge. */
  .shot {
    margin-bottom: 36px;
  }
  .float {
    display: block;
    position: absolute;
    width: 232px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  .float.left {
    left: -24px;
    bottom: -36px;
  }
  .float.right {
    right: -24px;
    bottom: -36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1.6fr;
    align-items: start;
  }
  .chips {
    flex-wrap: wrap;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .toolbar-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .search {
    flex: 1;
  }
  .chips {
    order: 3;
    flex-basis: 100%;
  }
}

@media (min-width: 1120px) {
  .float.left {
    left: -48px;
  }
  .float.right {
    right: -48px;
  }
}

/* No movement for people who turn it off: the firm names sit still and wrap. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track {
    animation: none;
    width: auto;
    justify-content: center;
  }
  .marquee-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s1) 0;
  }
  .marquee-list[aria-hidden="true"],
  .marquee-list li:last-child::after {
    display: none;
  }
  .marquee-list li {
    font-size: 19px;
    gap: var(--s3);
    padding-right: var(--s3);
  }
}
