:root {
  --paper: #f1efe7;
  --paper-deep: #e6e1d5;
  --paper-light: #faf8f1;
  --ink: #10251d;
  --ink-soft: #476058;
  --ink-faint: #778981;
  --forest: #0d2e24;
  --forest-light: #153d31;
  --signal: #f15b3f;
  --signal-dark: #ba3d28;
  --acid: #d9f46f;
  --line: rgba(16, 37, 29, 0.16);
  --line-strong: rgba(16, 37, 29, 0.34);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(32, 46, 39, 0.12);
  --radius: 2px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --page-pad: clamp(20px, 5vw, 76px);
  --max-width: 1600px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

::selection {
  color: var(--paper-light);
  background: var(--signal);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--forest);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient-grid {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 37, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 37, 29, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.grain {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, var(--max-width));
  min-height: 92px;
  padding: 18px var(--page-pad);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-light);
  background: var(--forest);
  border-radius: 50%;
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.brand-mark .needle {
  fill: var(--signal);
  stroke: var(--signal);
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live-dot,
.data-dot {
  width: 7px;
  height: 7px;
  background: #6ca443;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(108, 164, 67, 0.12);
}

.live-pill.is-limited .live-dot {
  background: #d59835;
  box-shadow: 0 0 0 4px rgba(213, 152, 53, 0.12);
}

.compact-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.compact-select::after {
  position: absolute;
  right: 10px;
  color: var(--ink-faint);
  content: "⌄";
  pointer-events: none;
}

.compact-select select {
  height: 34px;
  padding: 0 28px 0 11px;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 11px;
}

.language-select select {
  min-width: 66px;
}

main {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, 0.65fr);
  grid-template-rows: 1fr auto;
  gap: 42px clamp(32px, 6vw, 100px);
  width: min(100%, var(--max-width));
  min-height: calc(100vh - 92px);
  padding: clamp(72px, 10vh, 132px) var(--page-pad) 54px;
  margin: 0 auto;
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-rule {
  width: 44px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 970px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 8.1vw, 132px);
  font-weight: 500;
  letter-spacing: -0.067em;
  line-height: 0.79;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  position: relative;
  width: fit-content;
  color: var(--signal);
  font-weight: 400;
}

.hero h1 em::after {
  position: absolute;
  right: -0.06em;
  bottom: -0.13em;
  width: 36%;
  height: 8px;
  content: "";
  background: var(--acid);
  transform: rotate(-2deg);
  z-index: -1;
}

.hero-deck {
  max-width: 690px;
  margin: 42px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--forest);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--signal);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--signal-dark);
  border-color: var(--signal);
}

.hero-observatory {
  position: relative;
  align-self: center;
  min-height: 510px;
  overflow: hidden;
  color: #edf1de;
  background:
    radial-gradient(circle at 56% 42%, rgba(217, 244, 111, 0.12), transparent 28%),
    var(--forest);
  box-shadow: var(--shadow);
}

.hero-observatory::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
}

.orbit-stage {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(217, 244, 111, 0.35);
  border-radius: 50%;
}

.orbit-outer {
  inset: 0;
}

.orbit-mid {
  inset: 44px;
  border-style: dashed;
  animation: spin 36s linear infinite;
}

.orbit-inner {
  inset: 95px;
  border-color: rgba(241, 91, 63, 0.7);
}

.meridian {
  position: absolute;
  inset: 0 50%;
  width: 1px;
  background: rgba(217, 244, 111, 0.22);
  transform-origin: center;
}

.meridian-one {
  transform: rotate(45deg);
}

.meridian-two {
  transform: rotate(-45deg);
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: var(--forest);
  background: var(--acid);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(217, 244, 111, 0.26);
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--signal);
  border: 2px solid var(--forest);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--signal);
}

.dot-one {
  top: 46px;
  left: 61px;
}

.dot-two {
  top: 226px;
  right: 25px;
  background: var(--acid);
  box-shadow: 0 0 0 1px var(--acid);
}

.dot-three {
  bottom: 13px;
  left: 143px;
}

.observatory-caption {
  position: absolute;
  z-index: 2;
  bottom: 58px;
  left: 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 12px;
}

.observatory-caption p {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: rgba(237, 241, 222, 0.62);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.observatory-caption strong {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.observatory-caption span {
  max-width: 100px;
  color: rgba(237, 241, 222, 0.72);
  font-size: 11px;
  line-height: 1.25;
}

.coordinate-strip {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  color: rgba(237, 241, 222, 0.52);
  border-top: 1px solid var(--white-line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.coordinate-strip b {
  color: var(--acid);
  font-weight: 500;
}

.hero-ledger {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.7fr 0.7fr 1.6fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.ledger-cell {
  position: relative;
  min-height: 96px;
  padding: 22px 26px 18px 48px;
  border-right: 1px solid var(--line);
}

.ledger-cell:last-child {
  border-right: 0;
}

.ledger-index {
  position: absolute;
  top: 25px;
  left: 14px;
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 9px;
}

.ledger-cell strong,
.ledger-cell small {
  display: block;
}

.ledger-cell strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.ledger-cell small {
  margin-top: 5px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  color: var(--paper-light);
  background: var(--signal);
  border-top: 1px solid var(--signal-dark);
  border-bottom: 1px solid var(--signal-dark);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 38px;
  gap: 27px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  animation: ticker 34s linear infinite;
}

.ticker-track b {
  color: var(--acid);
}

.compare-section,
.methodology-section {
  width: min(100%, var(--max-width));
  padding: clamp(90px, 10vw, 150px) var(--page-pad);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: 50px;
}

.section-heading h2,
.method-heading h2,
.aigenora-window h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5.5vw, 82px);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.97;
}

.section-intro,
.method-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.control-deck {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(230px, 1.15fr) minmax(220px, 1.1fr);
  gap: 0;
  margin-top: 58px;
  background: var(--paper-light);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 50px rgba(32, 46, 39, 0.07);
}

.segmented-field,
.select-field,
.search-field {
  min-width: 0;
  padding: 16px 18px 18px;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--line);
}

.search-field {
  border-right: 0;
}

.segmented-field legend,
.select-field > span:first-child,
.search-field > span:first-child {
  display: block;
  padding: 0;
  margin-bottom: 9px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 7px;
  padding: 0 11px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.segmented button:hover {
  border-color: var(--line-strong);
}

.segmented button.is-active {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.provider-glyph {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--forest);
  background: var(--acid);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 11px;
}

.claude-glyph {
  color: white;
  background: var(--signal);
}

.segmented svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.select-field select,
.search-input-wrap {
  width: 100%;
  height: 42px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
}

.select-field select {
  padding: 0 28px 0 0;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 700;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.search-input-wrap svg {
  flex: 0 0 auto;
  width: 16px;
  fill: none;
  stroke: var(--ink-faint);
  stroke-linecap: round;
  stroke-width: 1.3;
}

.search-input-wrap input {
  width: 100%;
  height: 100%;
  padding: 0;
  outline: none;
  background: transparent;
  border: 0;
  font-size: 12px;
}

.search-input-wrap input::placeholder {
  color: var(--ink-faint);
}

.plan-map {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  margin-top: 14px;
  background: var(--paper-light);
  border: 1px solid var(--line-strong);
}

.plan-map-intro {
  display: flex;
  padding: 19px 20px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border-right: 1px solid var(--line);
}

.plan-map-intro > span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-map-intro p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.5;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 116px;
  padding: 18px 17px 16px;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 17px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.plan-card:last-child {
  border-right: 0;
}

.plan-card:hover {
  background: rgba(202, 255, 68, 0.12);
}

.plan-card.is-active {
  color: white;
  background: var(--forest);
}

.plan-card.is-active::after {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(202, 255, 68, 0.12);
}

.plan-card-name {
  display: block;
  padding-right: 12px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-card-usage {
  display: block;
  margin-top: 4px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card.is-active .plan-card-usage {
  color: rgba(255, 255, 255, 0.56);
}

.plan-card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.plan-card-price {
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-card-period {
  flex: 0 0 auto;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-card.is-active .plan-card-period {
  color: rgba(255, 255, 255, 0.58);
}

.plan-card[data-status="unresolved_duplicate_label"] {
  color: var(--signal);
  background: rgba(255, 91, 68, 0.045);
  outline: 1px dashed rgba(255, 91, 68, 0.42);
  outline-offset: -7px;
}

.plan-card[data-status="unresolved_duplicate_label"].is-active {
  color: white;
  background: var(--signal);
}

.plan-proof {
  position: relative;
  display: grid;
  grid-template-columns: minmax(310px, 1.15fr) minmax(390px, 1fr) 210px;
  margin-top: 14px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(202, 255, 68, 0.08), transparent 40%),
    rgba(250, 248, 241, 0.7);
  border: 1px solid var(--line-strong);
}

.plan-proof::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--acid);
}

.plan-proof-copy {
  padding: 24px 28px 25px 30px;
}

.plan-proof-copy .section-kicker {
  margin-bottom: 10px;
}

.plan-proof-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 39px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-proof-copy > p:last-child {
  max-width: 680px;
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.plan-proof-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-left: 1px solid var(--line);
}

.plan-proof-facts > div {
  display: flex;
  min-width: 0;
  padding: 24px 18px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.plan-proof-facts dt {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.plan-proof-facts dd {
  margin: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(19px, 1.75vw, 27px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-proof-links {
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.plan-proof-links a {
  display: flex;
  min-height: 36px;
  padding: 0 11px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--forest);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.plan-proof-links a:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.plan-proof[data-status="unresolved_duplicate_label"] {
  background:
    linear-gradient(115deg, rgba(255, 91, 68, 0.09), transparent 45%),
    rgba(250, 248, 241, 0.74);
  border-color: rgba(255, 91, 68, 0.62);
}

.plan-proof[data-status="unresolved_duplicate_label"]::before {
  background: var(--signal);
}

.plan-proof[data-status="unresolved_duplicate_label"] h3 {
  color: var(--signal);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  border: 1px solid var(--line);
}

.insight-card {
  position: relative;
  min-height: 156px;
  padding: 22px;
  overflow: hidden;
  background: rgba(250, 248, 241, 0.46);
  border-right: 1px solid var(--line);
}

.insight-card:last-child {
  border-right: 0;
}

.insight-primary {
  color: white;
  background: var(--forest);
}

.insight-label {
  display: block;
  margin-bottom: 21px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insight-primary .insight-label {
  color: rgba(255, 255, 255, 0.52);
}

.insight-card strong {
  display: block;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-card p {
  margin: 10px 0 0;
  color: var(--ink-faint);
  font-size: 10px;
}

.insight-primary p {
  color: rgba(255, 255, 255, 0.63);
}

.micro-line {
  position: absolute;
  right: -10px;
  bottom: 25px;
  width: 110px;
  height: 38px;
  opacity: 0.35;
  background:
    linear-gradient(135deg, transparent 0 18%, var(--acid) 18% 20%, transparent 20% 43%, var(--acid) 43% 45%, transparent 45% 65%, var(--acid) 65% 67%, transparent 67%);
  clip-path: polygon(0 70%, 20% 48%, 35% 78%, 56% 23%, 72% 55%, 100% 0, 100% 100%, 0 100%);
}

.google-limitation {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 180px;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  margin-top: 22px;
  color: #eef1e5;
  background:
    linear-gradient(135deg, transparent 0 49.8%, rgba(255, 255, 255, 0.035) 50%, transparent 50.2%),
    var(--forest);
  background-size: 26px 26px;
  border: 1px solid var(--forest);
}

.limitation-symbol {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 1px solid rgba(217, 244, 111, 0.45);
  border-radius: 50%;
}

.limitation-symbol::before {
  position: absolute;
  inset: 13px;
  content: "";
  border: 1px dashed rgba(217, 244, 111, 0.28);
  border-radius: 50%;
  animation: spin 20s linear infinite reverse;
}

.limitation-symbol span {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 42px;
}

.limitation-symbol i {
  position: absolute;
  right: -3px;
  bottom: 17px;
  width: 13px;
  height: 13px;
  background: var(--signal);
  border: 3px solid var(--forest);
  border-radius: 50%;
}

.limitation-copy .section-kicker {
  margin-bottom: 12px;
  color: var(--acid);
}

.limitation-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.limitation-copy > p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(238, 241, 229, 0.7);
  font-size: 13px;
  line-height: 1.75;
}

.limitation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.limitation-actions a {
  padding-bottom: 3px;
  color: var(--acid);
  border-bottom: 1px solid rgba(217, 244, 111, 0.4);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.limitation-stamp {
  padding: 15px;
  border: 1px solid rgba(241, 91, 63, 0.65);
  transform: rotate(2deg);
}

.limitation-stamp span {
  display: block;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.limitation-stamp strong {
  display: block;
  margin-top: 6px;
  color: white;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.35;
}

.comparison-panel {
  padding: 24px;
  margin-top: 22px;
  color: white;
  background: var(--forest);
  border-left: 5px solid var(--signal);
}

.comparison-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.comparison-panel .section-kicker {
  margin-bottom: 4px;
  color: var(--acid);
}

.comparison-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: transparent;
  border: 1px solid var(--white-line);
  border-radius: 0;
  font-size: 22px;
}

.comparison-bars {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.comparison-bar {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) minmax(180px, 2fr) minmax(100px, auto);
  align-items: center;
  gap: 16px;
}

.comparison-bar-label {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comparison-bar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
}

.comparison-bar-fill {
  height: 100%;
  background: var(--acid);
  transform-origin: left;
  animation: expand 450ms ease both;
}

.comparison-bar:nth-child(2) .comparison-bar-fill {
  background: var(--signal);
}

.comparison-bar:nth-child(3) .comparison-bar-fill {
  background: #80cdb1;
}

.comparison-bar strong {
  justify-self: end;
  font-family: var(--mono);
  font-size: 11px;
}

.price-ledger {
  margin-top: 22px;
  background: var(--paper-light);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 60px rgba(32, 46, 39, 0.08);
}

.ledger-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.ledger-toolbar > div,
.ledger-toolbar > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.ledger-toolbar strong {
  font-size: 12px;
}

.checked-label,
.ledger-toolbar p {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ledger-toolbar p strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}

.info-button {
  display: inline-grid;
  width: 17px;
  height: 17px;
  padding: 0;
  place-items: center;
  color: var(--ink-faint);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 10px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  height: 46px;
  color: var(--ink-faint);
  background: rgba(230, 225, 213, 0.34);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

th:nth-child(1) {
  width: 48px;
}

th:nth-child(2) {
  width: 26%;
}

th:nth-child(3),
th:nth-child(4) {
  width: 18%;
}

th:nth-child(5) {
  width: 17%;
}

th:nth-child(6) {
  width: 13%;
}

tbody tr {
  transition: background 140ms ease;
}

tbody tr:hover {
  background: rgba(217, 244, 111, 0.12);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td {
  height: 68px;
  font-size: 12px;
}

.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.sort-button i {
  color: var(--ink-faint);
  font-style: normal;
  font-size: 9px;
}

.sort-button.is-active {
  color: var(--ink);
}

.compare-checkbox {
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  color: white;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 13px;
  transition:
    background 140ms ease,
    border-color 140ms ease;
}

.compare-checkbox.is-selected {
  background: var(--signal);
  border-color: var(--signal);
}

.country-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--paper-deep);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.country-copy {
  min-width: 0;
}

.country-copy strong,
.country-copy small {
  display: block;
}

.country-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-copy small {
  margin-top: 2px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
}

.store-amount {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
}

.currency-code {
  display: inline-block;
  margin-top: 3px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
}

.converted-amount {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.delta {
  display: inline-flex;
  min-width: 74px;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
}

.delta-lower {
  color: #365e1e;
  background: rgba(133, 185, 89, 0.18);
}

.delta-higher {
  color: #9e3c2b;
  background: rgba(241, 91, 63, 0.13);
}

.delta-reference {
  color: var(--ink-soft);
  background: var(--paper-deep);
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.source-link:hover,
.source-link:focus-visible {
  color: var(--signal-dark);
  border-color: var(--signal);
}

.source-link::after {
  content: "↗";
}

.ledger-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}

.ledger-footer p {
  margin: 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button-secondary {
  min-height: 38px;
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
  font-size: 10px;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.ledger-empty {
  padding: 76px 24px;
  text-align: center;
}

.ledger-empty > span {
  display: block;
  color: var(--signal);
  font-family: var(--serif);
  font-size: 50px;
}

.ledger-empty strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.ledger-empty p {
  margin: 7px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
}

.skeleton-row td {
  padding: 23px 18px;
}

.skeleton-row span {
  display: block;
  width: 100%;
  height: 20px;
  background: linear-gradient(90deg, var(--paper-deep), var(--paper-light), var(--paper-deep));
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
}

.period-note {
  display: flex;
  gap: 10px;
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.6;
}

.period-note > span:first-child {
  color: var(--signal-dark);
  font-family: var(--serif);
  font-size: 18px;
}

.methodology-section {
  position: relative;
  border-top: 1px solid var(--line);
}

.method-number {
  position: absolute;
  top: 78px;
  right: var(--page-pad);
  color: rgba(16, 37, 29, 0.045);
  font-family: var(--serif);
  font-size: clamp(130px, 20vw, 320px);
  line-height: 0.8;
  pointer-events: none;
}

.method-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.5fr);
  gap: 26px 60px;
  align-items: end;
}

.method-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.source-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  border: 1px solid var(--line-strong);
}

.source-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 28px;
  background: rgba(250, 248, 241, 0.55);
  border-right: 1px solid var(--line-strong);
}

.source-card:last-child {
  border-right: 0;
}

.source-card-limited {
  background: var(--paper-deep);
}

.source-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.source-monogram {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: white;
  background: var(--forest);
  font-size: 25px;
}

.source-monogram-serif {
  font-family: var(--serif);
  font-size: 31px;
}

.source-monogram-play {
  color: var(--forest);
  background: var(--acid);
  font-size: 16px;
}

.source-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-status::before {
  width: 5px;
  height: 5px;
  content: "";
  background: #74a84f;
  border-radius: 50%;
}

.source-status-limited::before {
  background: #d59835;
}

.source-index {
  margin: 52px 0 10px;
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.source-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.source-card > p:not(.source-index) {
  margin: 18px 0 26px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.72;
}

.source-card > a {
  width: fit-content;
  padding-bottom: 3px;
  margin-top: auto;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 9px;
}

.source-card > a:hover,
.source-card > a:focus-visible {
  color: var(--signal-dark);
  border-color: var(--signal);
}

.method-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
}

.method-notes article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 25px 24px 0 0;
  border-right: 1px solid var(--line);
}

.method-notes article + article {
  padding-left: 24px;
}

.method-notes article:last-child {
  border-right: 0;
}

.method-notes article > span {
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 9px;
}

.method-notes h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.method-notes p {
  margin: 9px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.65;
}

.aigenora-window {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  align-items: end;
  gap: clamp(28px, 6vw, 90px);
  width: min(calc(100% - var(--page-pad) * 2), calc(var(--max-width) - var(--page-pad) * 2));
  padding: clamp(42px, 6vw, 76px);
  margin: 0 auto clamp(80px, 10vw, 140px);
  color: white;
  background:
    radial-gradient(circle at 85% 0, rgba(217, 244, 111, 0.14), transparent 28%),
    var(--forest);
}

.aigenora-window .section-kicker {
  color: var(--acid);
}

.aigenora-window h2 {
  font-size: clamp(39px, 4.4vw, 67px);
}

.aigenora-window > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.75;
}

.aigenora-window > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 170px;
  padding: 14px 0;
  color: var(--acid);
  border-top: 1px solid rgba(217, 244, 111, 0.45);
  border-bottom: 1px solid rgba(217, 244, 111, 0.45);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  width: min(100%, var(--max-width));
  padding: 42px var(--page-pad);
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark-small {
  width: 36px;
  height: 36px;
}

.brand-mark-small svg {
  width: 24px;
  height: 24px;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 18px;
}

.footer-brand p,
.footer-legal {
  margin: 2px 0 0;
  color: var(--ink-faint);
  font-size: 9px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--signal-dark);
}

.footer-legal {
  grid-column: 1 / -1;
  max-width: 860px;
  line-height: 1.6;
}

.reveal {
  animation: reveal 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.reveal-delay {
  animation-delay: 100ms;
}

.reveal-later {
  animation-delay: 220ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes expand {
  from {
    transform: scaleX(0);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(60px, 8.5vw, 96px);
  }

  .hero-observatory {
    min-height: 470px;
  }

  .control-deck {
    grid-template-columns: 1fr 1fr;
  }

  .segmented-field:nth-child(2) {
    border-right: 0;
  }

  .plan-field,
  .search-field {
    border-top: 1px solid var(--line);
  }

  .plan-proof {
    grid-template-columns: 1fr 1fr;
  }

  .plan-proof-links {
    grid-column: 1 / -1;
    padding: 0 26px 22px;
    flex-direction: row;
  }

  .plan-proof-links a {
    flex: 1;
  }

  .plan-map {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .insight-card:nth-child(2) {
    border-right: 0;
  }

  .insight-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .google-limitation {
    grid-template-columns: 100px 1fr;
  }

  .limitation-stamp {
    display: none;
  }

  .aigenora-window {
    grid-template-columns: 1fr 0.8fr;
  }

  .aigenora-window > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad: 22px;
  }

  .site-header {
    position: sticky;
    top: 0;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(241, 239, 231, 0.92);
    backdrop-filter: blur(14px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark svg {
    width: 24px;
    height: 24px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small,
  .live-pill {
    display: none;
  }

  .compact-select select {
    max-width: 74px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(56px, 16vw, 90px);
    line-height: 0.84;
  }

  .hero-deck {
    margin-top: 32px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

  .hero-observatory {
    width: 100%;
    min-height: 440px;
  }

  .hero-ledger {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-cell:nth-child(2) {
    border-right: 0;
  }

  .ledger-cell-wide {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .method-heading {
    display: block;
  }

  .section-intro,
  .method-heading > p:last-child {
    max-width: 620px;
    margin-top: 24px;
  }

  .control-deck {
    grid-template-columns: 1fr;
  }

  .segmented-field,
  .select-field,
  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-field {
    border-bottom: 0;
  }

  .plan-field {
    border-top: 0;
  }

  .plan-proof {
    grid-template-columns: 1fr;
  }

  .plan-map {
    grid-template-columns: 1fr;
  }

  .plan-map-intro {
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .plan-map-intro p {
    max-width: 440px;
    text-align: right;
  }

  .plan-proof-facts {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .plan-proof-links {
    grid-column: auto;
  }

  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .google-limitation {
    grid-template-columns: 1fr;
  }

  .limitation-symbol {
    width: 74px;
    height: 74px;
  }

  .limitation-copy h3 {
    font-size: 31px;
  }

  .comparison-bar {
    grid-template-columns: minmax(90px, 0.6fr) 1fr;
  }

  .comparison-bar strong {
    grid-column: 2;
    justify-self: start;
  }

  .ledger-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-cards {
    grid-template-columns: 1fr;
  }

  .source-card {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .source-card:last-child {
    border-bottom: 0;
  }

  .method-notes {
    grid-template-columns: 1fr;
  }

  .method-notes article,
  .method-notes article + article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .aigenora-window {
    grid-template-columns: 1fr;
  }

  .aigenora-window > a {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .header-tools {
    gap: 4px;
  }

  .compact-select select {
    height: 32px;
    max-width: 66px;
    padding-left: 8px;
    font-size: 9px;
  }

  .hero {
    padding-top: 56px;
  }

  .eyebrow {
    flex-wrap: wrap;
    font-size: 8px;
  }

  .eyebrow-rule {
    width: 24px;
  }

  .hero h1 {
    font-size: clamp(51px, 17vw, 76px);
  }

  .hero h1 em::after {
    height: 5px;
  }

  .hero-observatory {
    min-height: 380px;
  }

  .orbit-stage {
    width: 260px;
    height: 260px;
  }

  .orbit-mid {
    inset: 35px;
  }

  .orbit-inner {
    inset: 75px;
  }

  .dot-one {
    top: 37px;
    left: 48px;
  }

  .dot-two {
    top: 178px;
    right: 19px;
  }

  .dot-three {
    bottom: 10px;
    left: 112px;
  }

  .hero-ledger,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .plan-proof-facts {
    grid-template-columns: 1fr;
  }

  .plan-map-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-map-intro p {
    text-align: left;
  }

  .plan-cards {
    grid-template-columns: 1fr 1fr;
  }

  .plan-card:nth-child(2n) {
    border-right: 0;
  }

  .plan-proof-facts > div {
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .plan-proof-links {
    flex-direction: column;
  }

  .ledger-cell,
  .insight-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ledger-cell-wide {
    grid-column: auto;
    border-top: 0;
  }

  .insight-card:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .insight-card:last-child {
    border-bottom: 0;
  }

  .section-heading h2,
  .method-heading h2 {
    font-size: 43px;
  }

  .compare-section,
  .methodology-section {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .ledger-toolbar > div {
    flex-wrap: wrap;
  }

  .checked-label {
    width: 100%;
    margin-left: 17px;
  }

  .ledger-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button-secondary {
    width: 100%;
  }

  .aigenora-window {
    width: calc(100% - 28px);
    padding: 34px 24px;
  }

  .aigenora-window h2 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
