:root {
  color-scheme: dark;
  --canvas: #07130f;
  --surface: #0f1d18;
  --surface-raised: #152721;
  --surface-soft: #e8efe9;
  --text: #f4f7f2;
  --muted: #a9b9b0;
  --ink: #102019;
  --line: #2a4036;
  --accent: #a7f06d;
  --accent-ink: #10230e;
  --neutral: #afc2b8;
  --attention: #71c7ff;
  --warning: #f4c55b;
  --danger: #ff887b;
  --success: #78e0b3;
  --focus: #d1ff9f;
  --shadow: 0 28px 80px rgb(0 0 0 / 24%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 2%, rgb(167 240 109 / 12%), transparent 28rem),
    radial-gradient(circle at 92% 15%, rgb(113 199 255 / 10%), transparent 32rem),
    var(--canvas);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 820;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(167 240 109 / 45%);
  border-radius: 13px;
  background: rgb(167 240 109 / 10%);
  color: var(--accent);
}

.header-note {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
  min-height: 690px;
  padding-block: 72px 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  font-weight: 760;
  letter-spacing: -0.073em;
  line-height: 0.91;
}

.hero-lede {
  max-width: 700px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions,
.card-actions,
.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: 160ms ease;
}

.button:hover {
  border-color: #557064;
  background: rgb(255 255 255 / 4%);
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  border-color: #c2ff91;
  background: #c2ff91;
}

.button-quiet {
  min-height: 44px;
  padding: 10px 14px;
}

.hero-proof {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(150deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));
  box-shadow: var(--shadow);
}

.hero-proof::after {
  position: absolute;
  right: -40px;
  bottom: -54px;
  width: 170px;
  height: 170px;
  border: 34px solid rgb(167 240 109 / 9%);
  border-radius: 50%;
  content: "";
}

.proof-label,
.state-id,
.micro-label,
.metric-label {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-label,
.metric-label {
  color: var(--muted);
}

.proof-value {
  margin: 18px 0 0;
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.proof-copy {
  max-width: 250px;
  margin: 14px 0 26px;
  color: var(--muted);
  line-height: 1.6;
}

.proof-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.proof-list li::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgb(167 240 109 / 10%);
  content: "";
}

.section {
  padding-block: 92px;
}

.section-soft {
  color-scheme: light;
  background: var(--surface-soft);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 42px;
}

.section-heading h2,
.sync-copy h2,
.price-copy h2,
.interest-card h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.interest-price {
  margin: 0.4rem 0 1rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.section-heading p,
.sync-copy > p,
.price-copy > p {
  margin: 0;
  color: #52625a;
  font-size: 1.02rem;
  line-height: 1.7;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #c2cec6;
  border-radius: 999px;
  background: transparent;
  color: #34433b;
  cursor: pointer;
  font-weight: 720;
}

.filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text);
}

.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;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.state-card {
  --tone: var(--neutral);
  display: grid;
  min-height: 560px;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #c7d2ca;
  border-top: 5px solid var(--tone);
  border-radius: 24px;
  background: #f9fbf8;
  box-shadow: 0 20px 50px rgb(19 46 32 / 7%);
}

.state-card[data-tone="attention"] {
  --tone: var(--attention);
}

.state-card[data-tone="warning"] {
  --tone: var(--warning);
}

.state-card[data-tone="danger"] {
  --tone: var(--danger);
}

.state-card[data-tone="success"] {
  --tone: var(--success);
}

.state-card[hidden] {
  display: none;
}

.state-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 16px;
}

.state-id {
  margin: 0;
  color: #68776f;
  overflow-wrap: anywhere;
}

.state-card h3 {
  margin: 12px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.state-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--tone) 23%, white);
  color: #17251e;
}

.state-icon svg {
  width: 23px;
  height: 23px;
}

.status-pill {
  width: fit-content;
  margin: 22px 0 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tone) 24%, white);
  color: #17251e;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-body {
  padding-block: 24px;
}

.state-body > p {
  margin: 0;
  color: #46574e;
  line-height: 1.65;
}

.state-details {
  margin-top: 22px;
  border-top: 1px solid #d6dfd8;
}

.state-details details {
  border-bottom: 1px solid #d6dfd8;
}

.state-details summary {
  padding: 13px 0;
  cursor: pointer;
  font-weight: 760;
}

.state-details details p {
  margin: -2px 0 15px;
  color: #52625a;
  font-size: 0.91rem;
  line-height: 1.55;
}

.card-actions {
  display: grid;
}

.card-actions .button {
  width: 100%;
  cursor: default;
}

.card-actions .button:hover {
  transform: none;
}

.card-actions .button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text);
}

.card-actions .button:not(.button-primary) {
  border-color: #81958a;
  color: var(--ink);
}

.sync-layout,
.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
}

.sync-copy .eyebrow,
.section-soft .eyebrow {
  color: #3a681f;
}

.sync-copy > p,
.price-copy > p {
  margin-top: 24px;
}

.sync-diagram {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sync-row {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 2.5%);
}

.sync-row code {
  color: var(--accent);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
}

.sync-row strong {
  font-size: 0.92rem;
}

.sync-check {
  color: var(--success);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 3%);
}

.metric-value {
  margin: 9px 0 0;
  color: var(--accent);
  font-size: 1.65rem;
  font-weight: 800;
}

.price-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(370px, 1.15fr);
}

.price-card {
  padding: 28px;
  border: 1px solid #c2cec6;
  border-radius: 28px;
  background: #f9fbf8;
  box-shadow: 0 26px 70px rgb(19 46 32 / 10%);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #d6dfd8;
}

.price-row:first-child {
  padding-top: 0;
}

.price-row h3,
.price-row p {
  margin: 0;
}

.price-row p {
  margin-top: 5px;
  color: #627169;
  font-size: 0.9rem;
}

.price {
  font-size: 1.65rem;
  font-weight: 820;
  white-space: nowrap;
}

.price-actions {
  margin-top: 24px;
}

.price-actions .button {
  flex: 1;
}

.phase-note {
  margin: 18px 0 0;
  color: #627169;
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  padding-block: 56px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

.interest-main {
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  padding-block: 60px 100px;
}

.interest-card {
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(150deg, var(--surface-raised), var(--surface));
  box-shadow: var(--shadow);
}

.interest-card > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.interest-card .hero-actions {
  margin-top: 30px;
}

.privacy-copy {
  max-width: 760px;
  padding-block: 70px 110px;
}

.privacy-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.privacy-copy h2 {
  margin: 46px 0 12px;
  font-size: 1.35rem;
}

.privacy-copy p,
.privacy-copy li {
  color: var(--muted);
  line-height: 1.72;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .sync-layout,
  .price-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-proof {
    max-width: 440px;
  }

  .state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading p {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .header-note {
    display: none;
  }

  .hero {
    padding-block: 54px 72px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .section {
    padding-block: 70px;
  }

  .section-heading {
    gap: 22px;
    margin-bottom: 30px;
  }

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

  .state-card {
    min-height: 0;
  }

  .sync-diagram,
  .price-card,
  .interest-card {
    padding: 20px;
    border-radius: 22px;
  }

  .sync-row {
    grid-template-columns: 1fr auto;
  }

  .sync-row strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

  .hero-actions,
  .price-actions {
    display: grid;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

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

@media print {
  body {
    background: white;
    color: black;
  }

  .site-header,
  .hero-actions,
  .filters,
  .site-footer {
    display: none;
  }

  .section,
  .hero {
    padding-block: 24px;
  }

  .state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
