/* ==========================================================================
   AgencyAegis
   Mobile first. Unprefixed rules are the phone layout.
   min-width queries enhance upward. Light theme, locked deliberately.
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/GeistMono.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* canvas */
  --paper:      #f7f7f7;
  --paper-lift: #fdfdfd;

  /* gold. Never text on a light surface. */
  --gold:       #e7ca1c;
  --gold-press: #d4b912;
  --gold-soft:  #f4e6a3;
  --gold-wash:  #fbf6e0;
  --gold-ink:   #7d6400;  /* the text safe gold, 5.3:1 on paper */

  /* ink */
  --ink:   #17150e;       /* 17.4:1 on paper */
  --ink-2: #56523f;       /* 7.3:1  on paper */
  --muted: #6e6959;       /* 5.1:1  on paper */

  /* structure */
  --hairline:        rgba(23, 21, 14, 0.10);
  --hairline-strong: rgba(23, 21, 14, 0.17);
  --hairline-gold:   rgba(231, 202, 28, 0.45);

  --shadow-1:    0 1px 2px rgba(60, 52, 20, 0.05), 0 8px 24px rgba(60, 52, 20, 0.06);
  --shadow-lift: 0 1px 2px rgba(60, 52, 20, 0.06), 0 18px 44px rgba(60, 52, 20, 0.12);

  /* motion */
  --dur-micro:  160ms;
  --dur-state:  220ms;
  --dur-entry:  620ms;
  --ease-entry: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-state: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* geometry */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --gutter: 20px;
  --content: 1240px;
  --reading: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 560;
  color: var(--ink);
  text-wrap: balance;
}

.t-display {
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  font-weight: 560;
}
.t-h2 {
  font-size: clamp(25px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.018em;
  font-weight: 560;
}
.t-h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 560;
}
.t-lead {
  font-size: clamp(16.5px, 1.7vw, 19px);
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0;
}
.t-body {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: var(--reading);
  margin: 0;
}
.t-small {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.t-eyebrow {
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 18px;
}
.mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  letter-spacing: -0.01em;
}
.em-gold { color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section      { padding-block: 72px; }
.section--tall{ padding-block: 88px; }
.section--tight { padding-block: 56px; }

.band {
  background: var(--gold-wash);
  border-block: 1px solid var(--hairline-gold);
}

.rule {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Brand mark
   -------------------------------------------------------------------------- */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 620;
  font-size: 17px;
  letter-spacing: -0.022em;
  color: var(--ink);
  padding: 4px 2px;
}
.lockup .mark { width: 24px; height: 27px; flex: none; }
/* brand gold. WCAG 1.4.3 exempts logotypes from the contrast minimum. */
.lockup i { font-style: normal; color: var(--gold); }

.star {
  width: 11px;
  height: 11px;
  flex: none;
  fill: var(--gold);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 560;
  font-size: 16px;
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-micro) var(--ease-state),
    background-color var(--dur-state) var(--ease-state),
    border-color var(--dur-state) var(--ease-state),
    box-shadow var(--dur-state) var(--ease-state),
    color var(--dur-state) var(--ease-state);
}
.btn:active { transform: translateY(1px) scale(0.985); }

/* dark ink on gold reads 11:1 and inverts the usual SaaS instinct */
.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 620ms var(--ease-state);
  pointer-events: none;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.btn--quiet {
  min-height: 44px;
  padding: 10px 4px;
  background: none;
  color: var(--ink);
  font-size: 15px;
}
.btn--quiet .arrow { transition: transform var(--dur-state) var(--ease-state); }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

@media (min-width: 560px) {
  .btn-row { flex-direction: row; align-items: center; gap: 14px; }
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--gold-press);
    box-shadow: var(--shadow-lift);
  }
  .btn--primary:hover::after { left: 130%; }
  .btn--ghost:hover {
    border-color: color-mix(in oklab, var(--gold) 55%, var(--hairline-strong));
    background: var(--gold-wash);
  }
  .btn--quiet:hover { color: var(--gold-ink); }
  .btn--quiet:hover .arrow { transform: translateX(4px); }
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 480;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color var(--dur-state) var(--ease-state);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width var(--dur-state) var(--ease-state);
}
.nav__cta { display: none; }

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; min-height: 44px; padding: 10px 20px; font-size: 15px; }
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::after { width: 100%; }
}
.nav__links a[aria-current='page'] { color: var(--ink); font-weight: 560; }
.nav__links a[aria-current='page']::after { width: 100%; }

/* --------------------------------------------------------------------------
   Hero. Asymmetric split above 1024, stacked below.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: 56px 72px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -280px; right: -180px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 202, 28, 0.22) 0%, rgba(231, 202, 28, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
}
.hero__copy { max-width: 620px; }
.hero__note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .hero { padding-block: 76px 104px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 56px;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Scan panel. Real interaction, no fake screenshot.
   -------------------------------------------------------------------------- */

.panel {
  background: var(--paper-lift);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(231, 202, 28, 0.07), transparent);
}
.panel__title {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel__body { padding: 18px; }

.field { display: block; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field textarea,
.field input {
  width: 100%;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  resize: vertical;
  transition: border-color var(--dur-state) var(--ease-state),
              box-shadow var(--dur-state) var(--ease-state),
              background-color var(--dur-state) var(--ease-state);
}
/* sized to hold all five sample lines without clipping the last one */
.field textarea { min-height: 143px; resize: none; }
.field input { min-height: 48px; }
.field textarea::placeholder,
.field input::placeholder { color: var(--muted); opacity: 1; }
.field textarea:focus,
.field input:focus {
  outline: none;
  background: var(--paper-lift);
  border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgba(231, 202, 28, 0.28);
}
.field + .field { margin-top: 14px; }

.panel .btn--primary { width: 100%; margin-top: 16px; }

.sample-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 6px 2px;
  min-height: 34px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold-ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(125, 100, 0, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-state) var(--ease-state);
}
@media (hover: hover) and (pointer: fine) {
  .sample-link:hover { text-decoration-color: var(--gold-ink); }
}

/* verdict */
.verdict[hidden] { display: none; }
.verdict {
  border-top: 1px solid var(--hairline);
  padding: 18px;
  background: var(--paper);
}
.verdict__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.gauge { width: 68px; height: 68px; flex: none; }
.gauge__track { fill: none; stroke: var(--hairline); stroke-width: 6; }
.gauge__arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 900ms var(--ease-entry);
}
.gauge__num {
  font-family: 'Geist Mono', monospace;
  font-size: 19px;
  font-weight: 620;
  fill: var(--ink);
}
.verdict__count {
  font-size: 15px;
  font-weight: 560;
  color: var(--ink);
  margin: 0 0 3px;
}
.verdict__sub { font-size: 13.5px; color: var(--muted); margin: 0; }

.result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(6px);
  animation: resultIn 480ms var(--ease-entry) forwards;
}
@keyframes resultIn { to { opacity: 1; transform: none; } }

.result__url {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.result__note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--muted);
}
.pill {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pill--live { background: var(--gold); color: var(--ink); }
.pill--flag { background: var(--ink); color: var(--gold); }
.pill--lost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* --------------------------------------------------------------------------
   Roster. The agency view: many clients, one readout.
   -------------------------------------------------------------------------- */

.roster { padding: 6px 18px 18px; }
.roster__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.roster__row:last-child { border-bottom: 0; }
.roster__name {
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.roster__meta {
  grid-column: 1;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--muted);
}
.roster__state {
  grid-row: 1 / span 2;
  grid-column: 2;
  justify-self: end;
}
.bar {
  display: flex;
  gap: 2px;
  margin-top: 8px;
  grid-column: 1 / -1;
}
.bar span {
  height: 4px;
  border-radius: 2px;
  background: var(--gold-soft);
  flex: 1;
}
.bar span[data-off] { background: var(--ink); flex: 0 0 4px; }

/* --------------------------------------------------------------------------
   Audience fork. Two unequal panels.
   -------------------------------------------------------------------------- */

.fork { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .fork { grid-template-columns: 1.08fr 1fr; gap: 22px; }
}

.forkcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 26px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--paper-lift);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-state) var(--ease-state),
              box-shadow var(--dur-state) var(--ease-state),
              border-color var(--dur-state) var(--ease-state);
}
.forkcard::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 420ms var(--ease-entry);
}
.forkcard__who {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.forkcard__go {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 560;
  color: var(--ink);
}
.forkcard__go .arrow { transition: transform var(--dur-state) var(--ease-state); }

@media (min-width: 900px) {
  .forkcard { padding: 38px 34px 32px; }
}
@media (hover: hover) and (pointer: fine) {
  .forkcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: color-mix(in oklab, var(--gold) 30%, var(--hairline));
  }
  .forkcard:hover::before { transform: scaleY(1); }
  .forkcard:hover .forkcard__go .arrow { transform: translateX(5px); }
}

/* --------------------------------------------------------------------------
   Ledger. Hairline separated list, alternating alignment. No cards.
   -------------------------------------------------------------------------- */

.ledger { border-top: 1px solid var(--hairline); }
.ledger__row {
  display: grid;
  gap: 10px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
  transition: background-color var(--dur-state) var(--ease-state);
}
.ledger__idx {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
  text-transform: uppercase;
}
.ledger__row p { max-width: 60ch; }

@media (min-width: 820px) {
  .ledger__row {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 38px 20px 38px 16px;
    margin-inline: -16px;
    border-radius: var(--r-md);
  }
}
@media (hover: hover) and (pointer: fine) {
  .ledger__row:hover { background: var(--gold-wash); }
}

/* --------------------------------------------------------------------------
   Bento. One tall tile beside a stack. Never three equal cards.
   -------------------------------------------------------------------------- */

.bento { display: grid; gap: 16px; }
@media (min-width: 940px) {
  .bento { grid-template-columns: 1.22fr 1fr; gap: 20px; align-items: stretch; }
  .bento .tile--lead { grid-row: span 3; }
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 26px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--paper-lift);
  transition: transform var(--dur-state) var(--ease-state),
              box-shadow var(--dur-state) var(--ease-state),
              border-color var(--dur-state) var(--ease-state);
}
.tile__glyph {
  width: 30px; height: 35px;
  margin-bottom: 6px;
}
.tile p { max-width: 46ch; }

.tile--lead {
  justify-content: center;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(231, 202, 28, 0.16), transparent 62%),
    var(--paper-lift);
  border-color: var(--hairline-gold);
}
@media (min-width: 940px) {
  .tile--lead { padding: 40px 36px; }
  .tile--lead .t-h3 { font-size: clamp(21px, 2.3vw, 27px); }
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: color-mix(in oklab, var(--gold) 32%, var(--hairline));
  }
}

/* --------------------------------------------------------------------------
   Steps. Connected by a hairline with gold nodes.
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 30px;
  position: relative;
}
.step { position: relative; padding-left: 32px; }
.step::before {
  content: '';
  position: absolute;
  left: 5px; top: 9px; bottom: -30px;
  width: 1px;
  background: var(--hairline-strong);
}
.step:last-child::before { display: none; }
.step__node {
  position: absolute;
  left: 0; top: 5px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper);
}

@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .step { padding-left: 0; padding-top: 34px; }
  .step::before {
    left: 12px; right: -34px; top: 5px; bottom: auto;
    width: auto; height: 1px;
  }
  .step__node { top: 0; left: 0; }
}

/* --------------------------------------------------------------------------
   Evidence band. Editorial split with a real record shown in mono.
   -------------------------------------------------------------------------- */

.evidence { display: grid; gap: 34px; }
@media (min-width: 1000px) {
  .evidence { grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: center; }
}

.record {
  background: var(--paper-lift);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.record__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-bottom: 1px solid var(--hairline);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.record__body { padding: 6px 18px 18px; }
.record__line {
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.record__line:last-child { border-bottom: 0; }
.record__k {
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.record__v {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}
.record__v del {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  color: var(--muted);
}
.record__v ins {
  text-decoration: none;
  background: var(--gold-soft);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Pricing. Asymmetric grid, middle tier elevated.
   -------------------------------------------------------------------------- */

.tiers { display: grid; gap: 18px; }
@media (min-width: 940px) {
  .tiers {
    grid-template-columns: 1fr 1.13fr 1fr;
    gap: 20px;
    align-items: center;
  }
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--paper-lift);
  transition: transform var(--dur-state) var(--ease-state),
              box-shadow var(--dur-state) var(--ease-state),
              border-color var(--dur-state) var(--ease-state);
}
.tier--feature {
  border-color: var(--gold);
  box-shadow: var(--shadow-1);
  padding-block: 36px;
}
.tier__flag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.tier__name {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin: 0 0 10px;
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.tier__amount {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.tier__per { font-size: 14px; color: var(--muted); }
.tier__list {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.tier__list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.tier__list .star { margin-top: 5px; }
.tier .btn { width: 100%; margin-top: auto; }

@media (hover: hover) and (pointer: fine) {
  .tier:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: color-mix(in oklab, var(--gold) 34%, var(--hairline));
  }
  .tier--feature:hover { border-color: var(--gold); }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 780px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 560;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color var(--dur-state) var(--ease-state);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__sign {
  flex: none;
  position: relative;
  width: 15px; height: 15px;
  margin-top: 5px;
}
.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  background: var(--gold-ink);
  transition: transform 300ms var(--ease-state), opacity 300ms var(--ease-state);
}
.faq__sign::before { inset: 7px 0 auto; height: 1.5px; }
.faq__sign::after  { inset: 0 7px auto; width: 1.5px; height: 15px; }
.faq details[open] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  padding: 0 0 24px;
  max-width: 66ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--gold-ink); }
}

/* --------------------------------------------------------------------------
   Closing call
   -------------------------------------------------------------------------- */

.closer { text-align: center; }
.closer .t-lead { margin-inline: auto; }
.closer .btn-row { justify-content: center; }
.closer__shield {
  width: 76px; height: 86px;
  margin: 0 auto 30px;
  opacity: 0.92;
}

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

.footer {
  border-top: 1px solid var(--hairline);
  padding-block: 48px 36px;
  background: var(--paper);
}
.footer__grid { display: grid; gap: 32px; }
.footer__col h4 {
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-2);
  transition: color var(--dur-state) var(--ease-state);
  padding: 3px 0;
  display: inline-block;
}
.footer__legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.footer__legal a { color: var(--gold-ink); }
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .footer__legal { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { color: var(--gold-ink); }
}

/* --------------------------------------------------------------------------
   Scroll reveal. Guarded so a JS failure leaves everything visible.
   -------------------------------------------------------------------------- */

.pre-anim .reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal {
  transition: opacity var(--dur-entry) var(--ease-entry),
              transform var(--dur-entry) var(--ease-entry);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d='1'] { transition-delay: 60ms; }
.reveal[data-d='2'] { transition-delay: 120ms; }
.reveal[data-d='3'] { transition-delay: 180ms; }
.reveal[data-d='4'] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .pre-anim .reveal { opacity: 1; transform: none; }
  .btn--primary::after { display: none; }
}

/* --------------------------------------------------------------------------
   Section rhythm at wider viewports. Alternating, never uniform.
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  .section       { padding-block: 118px; }
  .section--tall { padding-block: 148px; }
  .section--tight{ padding-block: 86px; }
  :root { --gutter: 40px; }
}

.u-max-56 { max-width: 56ch; }
.u-mt-14  { margin-top: 14px; }
.u-mt-28  { margin-top: 28px; }
.u-mt-44  { margin-top: 44px; }
.u-mb-16  { margin-bottom: 16px; }
.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;
}

/* ==========================================================================
   Demo product UI. Dashboard + shared project view.
   ========================================================================== */

.app { padding-block: 32px 72px; }
@media (min-width: 1024px) { .app { padding-block: 48px 110px; } }

.apphead { display: grid; gap: 22px; }
@media (min-width: 900px) {
  .apphead { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 40px; }
}
.apphead__site {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px; color: var(--muted); margin: 0 0 6px;
}

/* ---- verified badge, the proof artifact ---- */
.verified {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px 16px 18px;
  background: var(--paper-lift);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.verified__shield {
  width: 40px; height: 46px; flex: none;
  filter: drop-shadow(0 0 10px rgba(231, 202, 28, 0.55));
  animation: aegisGlow 3.6s ease-in-out infinite;
}
@keyframes aegisGlow {
  0%, 100% { filter: drop-shadow(0 0 7px  rgba(231, 202, 28, 0.40)); }
  50%      { filter: drop-shadow(0 0 17px rgba(231, 202, 28, 0.75)); }
}
.verified__t { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 0 0 3px; letter-spacing: -0.01em; }
.verified__s { font-size: 13px; color: var(--muted); margin: 0; }

.verified--hero {
  flex-direction: column; text-align: center; gap: 14px;
  padding: 34px 26px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(231, 202, 28, 0.16), transparent 66%),
    var(--paper-lift);
}
.verified--hero .verified__shield { width: 66px; height: 76px; }
.verified--hero .verified__t { font-size: 19px; }

/* ---- stat tiles ---- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat {
  padding: 18px 18px 16px;
  background: var(--paper-lift);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.stat--alert { border-color: var(--hairline-gold); background: var(--gold-wash); }
.stat__k {
  font-size: 10.5px; font-weight: 620; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 8px;
}
.stat__v {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 27px; font-weight: 600; color: var(--ink); line-height: 1; margin: 0;
}

/* ---- paste box ---- */
.addbox { margin-top: 30px; }
.addbox .btn { width: 100%; margin-top: 14px; }
@media (min-width: 620px) { .addbox .btn { width: auto; min-width: 220px; } }

/* ---- link table ---- */
.ltable { margin-top: 30px; border-top: 1px solid var(--hairline); }
.ltable__head { display: none; }
@media (min-width: 940px) {
  .ltable__head {
    display: grid;
    grid-template-columns: 132px minmax(0,1.5fr) minmax(0,1.2fr) 104px 116px;
    gap: 20px; padding: 12px 4px;
    border-bottom: 1px solid var(--hairline);
    font-size: 10.5px; font-weight: 620; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
  }
}
.lrow {
  display: grid; gap: 9px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--hairline);
}
.lrow > div { min-width: 0; }
.lrow > div[data-label]::before {
  content: attr(data-label);
  display: block;
  font-size: 10px; font-weight: 620; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.lrow__url, .lrow__anchor, .lrow__seen {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lrow__anchor { color: var(--ink); }
@media (min-width: 940px) {
  .ltable__head { }
  .lrow {
    grid-template-columns: 132px minmax(0,1.5fr) minmax(0,1.2fr) 104px 116px;
    gap: 20px; align-items: center; padding: 15px 4px;
  }
  .lrow > div[data-label]::before { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .lrow:hover { background: var(--gold-wash); }
}

.spark { display: flex; gap: 2px; align-items: center; }
.spark span { flex: 1; height: 16px; border-radius: 2px; background: var(--gold-soft); }
.spark span[data-off] { background: var(--ink); flex: 0 0 4px; }

/* ---- share panel ---- */
.share {
  margin-top: 40px; padding: 26px 24px;
  background: var(--paper-lift);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.sharelink {
  display: flex; flex-direction: column; gap: 10px; margin-top: 16px;
}
@media (min-width: 700px) { .sharelink { flex-direction: row; align-items: center; } }
.sharelink code {
  flex: 1; min-width: 0;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 13px 14px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sharelink .btn { flex: none; }

.usecases { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 800px) { .usecases { grid-template-columns: 1fr 1fr; gap: 18px; } }
.usecase {
  padding: 17px 18px;
  border-left: 3px solid var(--gold);
  background: var(--gold-wash);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.usecase h4 { font-size: 14px; font-weight: 620; color: var(--ink); margin: 0 0 5px; }
.usecase p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ---- shared view banner ---- */
.banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 13px 18px; margin-bottom: 28px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-md);
  font-size: 13.5px;
}
.banner b { color: var(--gold); font-weight: 620; }

.empty {
  padding: 46px 24px; text-align: center;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-lg);
  margin-top: 30px;
}
.empty p { color: var(--muted); font-size: 14.5px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .verified__shield { animation: none; }
}

/* ==========================================================================
   Setup screen and the evidence drawer
   ========================================================================== */

.setup { max-width: 620px; margin-inline: auto; padding-block: 40px 90px; }
.setup__mark { width: 58px; height: 66px; margin: 0 auto 26px; }
.setup .field + .btn { width: 100%; margin-top: 18px; }
.setup__why {
  margin-top: 30px; padding: 20px 22px;
  background: var(--gold-wash);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.setup__why h3 { font-size: 14.5px; font-weight: 620; margin: 0 0 8px; color: var(--ink); }
.setup__why p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0 0 10px; }
.setup__why p:last-child { margin-bottom: 0; }
.setup__skip {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: 16px;
  font-size: 14px; color: var(--gold-ink);
}
.prefix {
  display: flex; align-items: stretch;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
  transition: border-color var(--dur-state) var(--ease-state), box-shadow var(--dur-state) var(--ease-state);
}
.prefix:focus-within { border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(231,202,28,0.28); }
.prefix span {
  display: flex; align-items: center; padding: 0 2px 0 14px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px; color: var(--muted);
}
.prefix input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px; color: var(--ink); padding: 15px 14px 15px 2px;
  min-height: 52px;
}

/* ---- rows become clickable ---- */
.lrow--click { cursor: pointer; }
.lrow__more {
  font-size: 11px; font-weight: 620; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-ink);
}
@media (min-width: 940px) {
  .lrow__more { opacity: 0; transition: opacity var(--dur-state) var(--ease-state); text-align: right; }
  .lrow--click:hover .lrow__more, .lrow--click:focus-visible .lrow__more { opacity: 1; }
  .ltable__head, .lrow {
    grid-template-columns: 132px minmax(0,1.4fr) minmax(0,1.1fr) 118px 108px 74px;
  }
}

/* ---- drawer ---- */
.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(23, 21, 14, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-state) var(--ease-state);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; z-index: 90;
  inset: auto 0 0 0;
  max-height: 88vh;
  background: var(--paper-lift);
  border-top: 1px solid var(--hairline-gold);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 -18px 60px rgba(60, 52, 20, 0.22);
  transform: translateY(100%);
  transition: transform 420ms var(--ease-entry);
  display: flex; flex-direction: column;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: none; }
@media (min-width: 860px) {
  .drawer {
    inset: 0 0 0 auto;
    width: min(620px, 94vw);
    max-height: none;
    border-radius: 0;
    border-top: 0;
    border-left: 1px solid var(--hairline-gold);
    transform: translateX(100%);
    box-shadow: -18px 0 60px rgba(60, 52, 20, 0.18);
  }
}
.drawer__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--hairline);
}
.drawer__url {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px; color: var(--ink); margin: 10px 0 0; word-break: break-all;
}
.drawer__x {
  flex: none; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--hairline-strong);
  border-radius: 50%; cursor: pointer;
  font-size: 19px; line-height: 1; color: var(--ink);
  transition: background-color var(--dur-state) var(--ease-state), border-color var(--dur-state) var(--ease-state);
}
@media (hover: hover) and (pointer: fine) {
  .drawer__x:hover { background: var(--gold-wash); border-color: var(--gold); }
}
.drawer__body { padding: 6px 22px 30px; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.ev { padding: 17px 0; border-bottom: 1px solid var(--hairline); }
.ev:last-child { border-bottom: 0; }
.ev__k {
  font-size: 10.5px; font-weight: 620; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 7px;
}
.ev__v { font-size: 14.5px; line-height: 1.55; color: var(--ink); margin: 0; }
.ev__v--mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px; line-height: 1.65; word-break: break-word;
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 11px 12px;
}
.ev__v del { color: var(--muted); text-decoration-thickness: 1px; }
.ev__v ins {
  text-decoration: none; background: var(--gold-soft);
  padding: 1px 6px; border-radius: 4px; color: var(--ink);
}
.ev__note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

.tl { list-style: none; margin: 0; padding: 0; }
.tl li {
  position: relative; padding: 0 0 16px 22px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px var(--paper-lift);
}
.tl li::after {
  content: ''; position: absolute; left: 4px; top: 15px; bottom: 0;
  width: 1px; background: var(--hairline-strong);
}
.tl li:last-child::after { display: none; }
.tl time {
  display: block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px; color: var(--muted); margin-bottom: 2px;
}

.proof {
  background: var(--gold-wash);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--r-md);
  padding: 15px 16px; margin-top: 4px;
}
.proof p { margin: 0 0 9px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.proof p:last-child { margin-bottom: 0; }
.proof b { color: var(--ink); font-weight: 620; }

@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
}

/* ==========================================================================
   Animated outline shield. Light travels the perimeter, the mark breathes.
   pathLength="100" keeps the dash maths independent of render size.
   ========================================================================== */

.mark--glow, .verified__shield {
  overflow: visible;
  animation: aegisBreathe 3.8s ease-in-out infinite;
}
@keyframes aegisBreathe {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(231, 202, 28, 0.35)); }
  50%      { filter: drop-shadow(0 0 13px rgba(231, 202, 28, 0.80)); }
}

.mark__trace, .shield__trace {
  stroke-dasharray: 14 86;
  stroke-dashoffset: 100;
  animation: aegisTrace 4.2s linear infinite;
}
@keyframes aegisTrace { to { stroke-dashoffset: 0; } }

.mark__star, .shield__star {
  transform-origin: 24px 27.7px;
  animation: aegisStar 3.8s ease-in-out infinite;
}
@keyframes aegisStar {
  0%, 100% { opacity: 0.82; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

/* the big badge shields carry a stronger halo */
.verified__shield { animation-name: aegisBreatheLg; }
@keyframes aegisBreatheLg {
  0%, 100% { filter: drop-shadow(0 0 7px  rgba(231, 202, 28, 0.42)); }
  50%      { filter: drop-shadow(0 0 20px rgba(231, 202, 28, 0.85)); }
}

@media (prefers-reduced-motion: reduce) {
  .mark--glow, .verified__shield, .mark__trace, .shield__trace,
  .mark__star, .shield__star { animation: none; }
  .mark__trace, .shield__trace { opacity: 0; }
}

/* ==========================================================================
   Projects. One per client.
   ========================================================================== */

.pgrid { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 720px)  { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }

.pcard {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 22px;
  background: var(--paper-lift);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform var(--dur-state) var(--ease-state),
              box-shadow var(--dur-state) var(--ease-state),
              border-color var(--dur-state) var(--ease-state);
}
.pcard__name {
  font-size: 17px; font-weight: 620; color: var(--ink);
  letter-spacing: -0.015em; margin: 0;
}
.pcard__site {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px; color: var(--muted); margin: 4px 0 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pcard__n {
  display: flex; align-items: baseline; gap: 7px;
  margin-top: auto; padding-top: 4px;
}
.pcard__n b {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1;
}
.pcard__n span { font-size: 13px; color: var(--muted); }
.pcard__split { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard--new {
  align-items: center; justify-content: center; text-align: center;
  border-style: dashed; background: none; min-height: 168px; gap: 8px;
}
.pcard--new .pcard__name { color: var(--gold-ink); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: color-mix(in oklab, var(--gold) 34%, var(--hairline));
  }
  .pcard--new:hover { background: var(--gold-wash); border-style: solid; }
}

/* project switcher in the dashboard header */
.switch { position: relative; display: inline-block; }
.switch__btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 8px 15px;
  background: var(--paper-lift);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  font: inherit; font-size: 14.5px; font-weight: 560; color: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur-state) var(--ease-state),
              background-color var(--dur-state) var(--ease-state);
}
.switch__btn::after {
  content: ''; width: 7px; height: 7px; flex: none;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
}
.switch__menu {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0;
  min-width: 260px; padding: 7px;
  background: var(--paper-lift);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
}
.switch__menu[hidden] { display: none; }
.switch__menu button {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px; min-height: 44px;
  background: none; border: 0; border-radius: var(--r-sm);
  font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer;
}
.switch__menu button b { display: block; font-weight: 560; }
.switch__menu button span {
  display: block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px; color: var(--muted); margin-top: 2px;
}
.switch__menu button[aria-current='true'] { background: var(--gold-wash); }
@media (hover: hover) and (pointer: fine) {
  .switch__btn:hover { border-color: var(--gold); background: var(--gold-wash); }
  .switch__menu button:hover { background: var(--gold-wash); }
}

.apphead__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
