@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --panel: #100d17;
  --border: #34303d;
  --hairline: rgba(255, 255, 255, 0.06);
  --text: #f5f5f5;
  --muted: #9b93a8;
  --faint: #6b6478;
  --accent: #bf98ff;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

body, html {
  font-family: var(--font);
  background: #080808;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b60cf;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pricehead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8.5rem var(--gutter) 3.5rem;
  background: radial-gradient(ellipse at 50% -30%, #8000ff30, transparent 65%);
}

.anchor {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1rem;
}

.anchor .amount {
  font-size: clamp(4rem, 13vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.anchor .unit {
  font-family: var(--mono);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--accent);
}

.pricehead h1 {
  margin-top: 1.5rem;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lede {
  margin-top: 0.85rem;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--muted);
  text-wrap: pretty;
}

.shutter {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #8000ff55;
  border-radius: 100rem;
  background: #8000ff14;
  font-size: 0.85rem;
  color: var(--muted);
}

.ledger {
  padding: 0 var(--gutter);
}

.ledger-panel {
  max-width: 46rem;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--panel);
  overflow: hidden;
}

.lrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem 8rem;
  align-items: center;
  border-top: 1px solid var(--hairline);
}

.lrow:first-child {
  border-top: none;
}

.lk {
  padding: 0.75rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.lv {
  padding: 0.75rem 1rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  text-align: center;
}

.lv.lit {
  background: #8000ff14;
  box-shadow: inset 1px 0 0 var(--hairline);
  color: var(--accent);
}

.lhead {
  align-items: end;
}

.lhead .lk {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.lhead .lv {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.25rem;
}

.lhead .lv b {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.lhead .lv.lit b {
  color: var(--accent);
}

.lprice {
  font-size: 0.82rem;
  color: var(--faint);
}

.lprice small {
  margin-left: 0.3rem;
  font-size: 0.9em;
}

.lfoot .lv {
  padding: 1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.45rem 0.9rem;
  border-radius: 100rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out,
              transform 0.2s ease-in-out;
}

.cta.solid {
  border: 1px solid #8000ffaa;
  background: #8000ff75;
  color: var(--text);
}

.cta.ghost {
  border: 1px solid var(--border);
  background: #ffffff08;
  color: var(--text);
}

a.cta:hover {
  transform: translateY(-1px);
}

a.cta.solid:hover {
  background: #8000ff9e;
}

a.cta.ghost:hover {
  border-color: #8000ff80;
}

a.cta:focus-visible {
  outline: 2px solid #8b60cf;
  outline-offset: 2px;
}

.cta.shut {
  color: var(--faint);
  background: none;
  border-style: dashed;
  cursor: default;
}

.addons {
  max-width: calc(46rem + 3rem);
  margin: 5rem auto 0;
  padding: 0 1.5rem;
}

.addons h2,
.notes h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.addons .sub {
  margin-top: 0.4rem;
  color: var(--muted);
  text-wrap: pretty;
}

.addon-list {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--panel);
  list-style: none;
  overflow: hidden;
}

.addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem 9rem;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--hairline);
}

.addon:first-child {
  border-top: none;
}

.addon-text b {
  font-size: 1rem;
  font-weight: 600;
}

.addon-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--faint);
  text-wrap: pretty;
}

.addon-price {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  text-align: end;
}

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px dashed var(--border);
}

.total span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.total b {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
}

.notes {
  max-width: calc(46rem + 3rem);
  margin: 4.5rem auto 0;
  padding: 0 1.5rem;
}

.notes ul {
  margin-top: 1rem;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notes li {
  font-size: 0.92rem;
  color: var(--muted);
  text-wrap: pretty;
}

.notes li::marker {
  color: var(--border);
}

.notes-link {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.notes-link a {
  color: var(--accent);
}

.notes-link a:hover {
  text-decoration: underline;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--faint);
}

@media (max-width: 720px) {
  .lrow {
    grid-template-columns: minmax(0, 1fr) 4.75rem 4.75rem;
  }

  .lk,
  .lv {
    padding-inline: 0.6rem;
    font-size: 0.8rem;
  }

  .lhead .lv b {
    font-size: 0.92rem;
  }

  .lprice small {
    display: block;
    margin-left: 0;
  }

  .cta {
    padding-inline: 0.5rem;
    font-size: 0.78rem;
  }

  .addon {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem 1rem;
  }

  .addon-price {
    text-align: end;
  }

  .addon .cta {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.cta:hover {
    transform: none;
  }
}
