/* =============================================================================
   gias.dev landing page — beehiiv-inspired restyle
   Near-black dark theme, giant all-caps display type (Archivo), pill buttons,
   gradient glow accents, marquee strip. Dependency-free.
   ============================================================================= */

:root {
  --bg: #08090c;
  --bg-elev: #0e1015;
  --bg-elev-2: #14171e;
  --border: #1f232c;
  --border-strong: #2e3440;
  --text: #b9bfcc;
  --text-dim: #828a9b;
  --text-bright: #f4f6fa;
  --accent: #7aa2f7;
  --accent-hover: #98b8ff;
  --accent-2: #b48cf2;
  --accent-3: #ef8fc0;
  --accent-ink: #08090c;
  --grad: linear-gradient(92deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
  --radius: 18px;
  --maxw: 1120px;
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Cascadia Code", "SF Mono", Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- Buttons: pill-shaped ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--text-bright);
  color: var(--accent-ink);
  padding: 15px 30px;
  box-shadow: 0 0 0 0 transparent;
}
.btn-primary:hover {
  background: #ffffff;
  color: var(--accent-ink);
  box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-bright);
  border-color: var(--border-strong);
  padding: 10px 18px;
}
.btn-ghost:hover { background: var(--bg-elev-2); color: var(--text-bright); border-color: var(--accent); }

.btn-lg { font-size: 17px; padding: 18px 36px; }
.btn-sm { font-size: 14px; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-bright);
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand:hover { text-decoration: none; color: var(--text-bright); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
}
.brand-name { letter-spacing: 0.06em; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding: 96px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: min(1100px, 120vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, 0);
  background:
    radial-gradient(ellipse at 30% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(ellipse at 70% 55%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 60%),
    radial-gradient(ellipse at 50% 70%, color-mix(in srgb, var(--accent-3) 12%, transparent), transparent 65%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--text-bright);
  font-weight: 900;
  text-wrap: balance;
}
.hero-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 26px auto 0;
  max-width: 58ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-dim);
  text-wrap: pretty;
}
.cta-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.cta-meta {
  color: var(--text-dim);
  font-size: 13px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cta-note {
  margin: 12px auto 0;
  max-width: 48ch;
  font-size: 14px;
  color: var(--text-dim);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
}

/* ---- Marquee strip ------------------------------------------------------- */
.marquee {
  margin-top: 72px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
  background: var(--bg-elev);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-seq {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.marquee-seq b { color: var(--text-bright); font-weight: 700; }
.marquee-dot { color: var(--accent); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---- Media slots (hero video + feature stills) --------------------------- */
.asset-slot {
  display: block;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elev);
  overflow: hidden;
}
.asset-slot img,
.asset-slot video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.asset-hero {
  margin: 56px auto 0;
  max-width: 980px;
  aspect-ratio: 1200 / 750;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent),
    0 24px 80px -24px color-mix(in srgb, var(--accent) 30%, transparent);
}
/* The hero holds a looping clip: fill the reserved 1200x750 box, no letterbox. */
.asset-hero video {
  height: 100%;
  object-fit: cover;
}
/* Feature showcases hold real stills of varying ratios; let each image's own
   ratio drive height (width/height attrs on the <img> reserve the box, no CLS). */
.asset-showcase {
  width: 100%;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent),
    0 24px 80px -24px color-mix(in srgb, var(--accent) 30%, transparent);
}

/* ---- What is Gias -------------------------------------------------------- */
.what { padding: 88px 24px 72px; }
.what-line {
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.18;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--text-dim);
  text-wrap: balance;
}
.what-line strong { color: var(--text-bright); font-weight: 800; }
.what-sub {
  max-width: 52ch;
  margin: 20px auto 0;
  text-align: center;
  font-size: 1.08rem;
  color: var(--text-dim);
  text-wrap: pretty;
}

/* ---- Features: full-width showcase blocks ------------------------------- */
.feature { padding: 72px 24px; }
.feature-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.feature-head .btn { flex: 0 0 auto; margin-bottom: 6px; }
.feature-copy { flex: 1 1 0; min-width: 0; }
.feature-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  font-weight: 700;
}
.feature-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--text-bright);
  font-weight: 900;
  text-wrap: balance;
}
.feature-text {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 52ch;
  text-wrap: pretty;
}

/* ---- Closer + signup ----------------------------------------------------- */
.closer { padding: 56px 24px 20px; }
.closer-cta {
  position: relative;
  text-align: center;
  padding: 80px 32px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: var(--bg-elev);
  overflow: hidden;
}
.closer-cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse at 20% 110%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 115%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 55%),
    radial-gradient(ellipse at 50% 130%, color-mix(in srgb, var(--accent-3) 16%, transparent), transparent 60%);
  filter: blur(32px);
  pointer-events: none;
}
.closer-cta > * { position: relative; }
.closer-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 32px;
  color: var(--text-bright);
  font-weight: 900;
  text-wrap: balance;
}
.closer-cta .cta-meta { display: block; margin-top: 16px; }

.signup {
  margin: 56px auto 0;
  max-width: 560px;
  text-align: center;
}
.signup-title {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: var(--text-bright);
  font-weight: 800;
}
.signup-sub {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 1rem;
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--border);
  padding: 0 0 38px;
}
.footer-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 34px;
}
.footer-marquee .marquee-track { animation-duration: 40s; }
.footer-marquee .marquee-seq {
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--bg-elev-2);
  -webkit-text-stroke: 1px var(--border-strong);
  gap: 48px;
  padding-right: 48px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  font-size: 17px;
}
.footer-line { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 60px 0 24px; }
  .marquee { margin-top: 48px; }
  .feature { padding: 44px 24px; }
  .feature-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
  .feature-text { max-width: none; }
  .closer-cta { padding: 56px 20px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* =============================================================================
   THE AGENT TEAM + THE TIERS                                   (added 2026-07-26)

   Appended on purpose. Every selector below is new, no rule above is edited or
   reordered, so the diff on this file is additions only. Nothing here invents a
   parallel design system: layout comes from .wrap / .feature* / .asset-slot, the
   buttons are the existing .btn family, the cast strip is the existing .marquee
   idiom, and every surface, border and gradient is a var from the palette above.
   ============================================================================= */

/* A second :root, rather than editing the first, so this whole section stays a
   pure append. Custom properties merge, so these names are simply added.
   Per-agent rim colours sampled from landing/assets/agents/*.webp. They are used
   ONLY on hairlines, sigil dots and hover glows, never on a surface or a border
   of its own, so these sections still read in the page's existing 3-colour
   palette instead of announcing themselves as new. */
:root {
  --a-coordinator: #8f5cf7;
  --a-architect: #c9d4ea;
  --a-developer: #4d94ff;
  --a-reviewer: #ff4d5e;
  --a-repurposer: #2ee6a8;
  --a-producer: #3ad0f0;
  --a-strategist: #ffab2e;
  --a-newsletter: #ff9dbd;
}

/* ---- Cast legend (sits under the agent-team composition) ------------------ */
/* Four columns in the same left-to-right order as the figures in the image
   above it, so the row reads as that picture's legend. */
.cast-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.cast-item {
  padding-top: 14px;
  border-top: 2px solid var(--agent, var(--border-strong));
}
.cast-name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.cast-line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
  text-wrap: pretty;
}

/* ---- Cast marquee strip -------------------------------------------------- */
/* Reuses .marquee / .marquee-track / .marquee-seq wholesale (including the
   reduced-motion opt-out); only the top margin changes, because this strip
   follows a section that already carries its own bottom padding. */
.marquee-cast { margin-top: 0; }
.marquee-cast .marquee-seq { gap: 32px; padding-right: 32px; }

/* ---- Tier chips ---------------------------------------------------------- */
.tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev-2);
  color: var(--text-dim);
  white-space: nowrap;
}
.tier-chip-hq {
  color: var(--text-bright);
  border-color: color-mix(in srgb, var(--accent-2) 55%, transparent);
  background: color-mix(in srgb, var(--accent-2) 14%, var(--bg-elev-2));
}

/* ---- The cast: all eight agents ----------------------------------------- */
.agents {
  padding: 72px 24px 24px;
  scroll-margin-top: 84px; /* the header is sticky at 64px */
}
.agent-band { margin-top: 56px; }
.agent-band-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.agent-band-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
}
.agent-band-rule {
  flex: 1 1 auto;
  height: 1px;
  min-width: 12px;
  background: var(--border);
}
.agent-band-hq .agent-band-label { color: var(--text-bright); }
.agent-band-hq .agent-band-rule { background: var(--grad); opacity: 0.5; }

/* Band cast shot: subordinate to the full-width showcases, so both tiers get
   their own composition at equal size without three heroes in a row. */
.band-art { max-width: 820px; margin: 0 auto 28px; }

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.agent-card {
  position: relative;
  padding: 22px 24px 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* The agent's own rim colour, as a hairline on the leading edge. */
.agent-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--agent, var(--border-strong));
}
.agent-card:hover {
  border-color: color-mix(in srgb, var(--agent, var(--accent)) 45%, var(--border));
  box-shadow: 0 0 40px -14px color-mix(in srgb, var(--agent, var(--accent)) 40%, transparent);
}
/* HQ cards keep full colour and full copy: the tier reads from the chip, the
   band label and this faint wash, never from anything looking switched off. */
.agent-card-hq { background: color-mix(in srgb, var(--accent-2) 6%, var(--bg-elev)); }

.agent-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.agent-sigil {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--agent, var(--accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--agent, var(--accent)) 70%, transparent);
}
.agent-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-bright);
}
.agent-card-top .tier-chip { margin-left: auto; }
.agent-role {
  margin: 0 0 10px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.agent-line {
  margin: 0 0 0 20px;
  font-size: 1rem;
  color: var(--text-dim);
  text-wrap: pretty;
}
.agents-note {
  margin: 26px 0 0 2px;
  font-size: 0.95rem;
  color: var(--text-dim);
  text-wrap: pretty;
}

/* ---- Plans: free vs Gias HQ --------------------------------------------- */
.plans {
  padding: 72px 24px 24px;
  scroll-margin-top: 84px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}
.plan-card {
  position: relative;
  padding: 34px 30px 32px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: var(--bg-elev);
  overflow: hidden;
}
/* Same bottom-anchored glow the closer CTA uses, so the paid card reads as the
   emphasised one using the page's own device. */
.plan-card-hq::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse at 20% 110%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 115%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 55%),
    radial-gradient(ellipse at 50% 130%, color-mix(in srgb, var(--accent-3) 14%, transparent), transparent 60%);
  filter: blur(32px);
  pointer-events: none;
}
.plan-card > * { position: relative; }

.plan-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.plan-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-bright);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.plan-amount {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}
.plan-per,
.plan-alt {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.plan-alt { display: block; margin: 10px 0 0; }
.plan-list {
  list-style: none;
  margin: 26px 0 28px;
  padding: 0;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text);
  text-wrap: pretty;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}
.plan-card-hq .plan-list li::before { background: var(--grad); }
.plan-card .btn { width: 100%; }
.plan-fine {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-wrap: pretty;
}
.plans-note {
  margin: 36px auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 1rem;
  color: var(--text-dim);
  text-wrap: pretty;
}

/* Every CTA on the page targets #updates, and this change took that from 3
   inbound links to 8, so the destination needs the same sticky-header clearance
   the new sections carry. Appended rather than edited into the .signup block. */
.signup { scroll-margin-top: 84px; }

/* ---- Header section anchors --------------------------------------------- */
.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  margin-right: 22px;
}
.header-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.header-nav a:hover { color: var(--text-bright); text-decoration: none; }

/* ---- Responsive (this section only) ------------------------------------- */
@media (max-width: 980px) {
  .cast-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-nav { display: none; }
  .agents, .plans { padding: 44px 24px 16px; }
  .cast-row { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .agent-band { margin-top: 40px; }
  .agent-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 28px 22px 26px; }
}

/* Below ~420px a nowrap label plus a nowrap chip stops fitting on one line.
   Measured at 320px: the HQ band-head chip was the ONE element making the whole
   document scroll sideways (a band head has no clipping ancestor, unlike a
   card), and four card chips clipped past their card's edge. Letting both rows
   wrap fixes both, and is a no-op at 390 and up where nothing needs to wrap. */
@media (max-width: 420px) {
  .agent-band-head { flex-wrap: wrap; row-gap: 10px; }
  .agent-card-top { flex-wrap: wrap; row-gap: 8px; }
  .agent-card-top .tier-chip { margin-left: 20px; }
}

/* The compute disclosure sits directly under the plan cards and above the
   not-on-sale note. Tightened against that note so the two read as one block
   of fine print rather than two separate asides. */
.plans-note-compute {
  margin-bottom: 0;
}

.plans-note-compute + .plans-note {
  margin-top: 10px;
}
