:root {
  color-scheme: light;
  --ink: #1d272c;
  --muted: #536169;
  --line: #c9d4d5;
  --accent: #096157;
  --paper: #fff;
  font-family: system-ui, "PingFang SC", sans-serif;
  color: var(--ink);
  background: #f3f7f6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select,
input,
textarea {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  color: var(--ink);
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid #007d9e;
  outline-offset: 3px;
}
a {
  color: var(--accent);
}
header,
footer {
  max-width: 680px;
  margin: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  text-decoration: none;
  font-weight: 750;
  font-size: 1.3rem;
}
.demo-bar {
  text-align: center;
  background: #fff2d2;
  color: #694000;
  padding: 0.4rem;
}
.compact {
  background: #fff;
  max-width: 650px;
  margin: 1rem auto;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.25rem;
}
small,
.back {
  color: var(--muted);
}
.plans,
.network-options {
  display: grid;
  gap: 0.6rem;
  margin: 0.65rem 0 1.3rem;
}
.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plan {
  display: grid;
  justify-items: center;
  padding: 0.8rem 0.25rem;
}
.plan strong {
  font-size: clamp(1rem, 4vw, 1.65rem);
}
button[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: #e4f3ef;
}
.network-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.network-option b,
.network-option small {
  display: block;
}
.coin,
.radio {
  display: none;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.full {
  width: 100%;
}
.primary span {
  margin-left: 0.6rem;
}
.card {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
}
.payment-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.payment-box code {
  display: block;
  overflow-wrap: anywhere;
  margin: 0.5rem 0;
}
.payment-box img {
  max-width: 100%;
  height: auto;
}
textarea {
  width: 100%;
}
.error {
  color: #942727;
  background: #fff1ef;
  padding: 0.7rem;
  margin: 0.6rem 0;
}
.receipts {
  max-width: 1000px;
}
.receipts label {
  display: grid;
  gap: 0.25rem;
}
.receipts form {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.table-wrap {
  overflow-x: auto;
}
.receipts th,
.receipts td {
  padding: 0.5rem;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 680px) {
  .compact {
    margin: 0.5rem;
  }
  .receipts form label {
    width: 100%;
  }
}

/* The dusk palette belongs to the storefront, not the staff ledger. */
body:has(.demo-bar) {
  --ink: #fff7f4;
  --muted: #d4bfd3;
  --line: #69516c;
  --accent: #ffadbc;
  color-scheme: dark;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 13% 18%, #39213e, transparent 53%), #15121f;
}
.demo-bar {
  color: #ffdbad;
  background: #342234;
  font-size: 0.88rem;
  font-weight: 650;
}
.status-dot {
  display: inline-block;
  margin-inline-end: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ffb074;
}
header,
footer {
  max-width: 1064px;
}
.logo {
  color: #ffe1d6;
  font-weight: 900;
  font-size: 1.75rem;
  font-style: italic;
  letter-spacing: -0.075em;
}
footer .logo {
  color: var(--muted);
  font-size: 1.1rem;
}
footer a {
  font-weight: 650;
  text-underline-offset: 0.24em;
}
body:has(.demo-bar) :is(button, select, textarea) {
  background-color: #322638;
}
body:has(.demo-bar) :focus-visible {
  outline-color: #8cece2;
}
body:has(.demo-bar) .compact {
  background: #231b2b;
  border-color: #5e475f;
}
.compact.purchase {
  max-width: 1032px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1.4rem 4rem #0d091839;
}
.coast-poster {
  position: relative;
  background: #874675 url("/miami-sunset.svg") center / cover no-repeat;
  border-inline-end: 1px solid var(--line);
}
.coast-poster::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #ffe1cb55;
  border-radius: 4px;
}
.checkout-controls {
  min-width: 0;
  padding: clamp(1.2rem, 3.4vw, 2.75rem);
}
.checkout-controls h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1.2;
  font-weight: 850;
}
.checkout-controls h1::before {
  content: "";
  display: block;
  width: 2.9rem;
  height: 0.25rem;
  margin-bottom: 0.8rem;
  transform: skewX(-28deg);
  background: linear-gradient(90deg, #ffa96e, #f28ba5 60%, #bb9df0);
}
.plan {
  gap: 0.1rem;
  padding: 0.75rem 0.15rem;
}
.plan strong {
  font-size: clamp(1.65rem, 3.3vw, 2.4rem);
  line-height: 1.2;
  font-style: italic;
  letter-spacing: -0.055em;
}
.plan small {
  font-weight: 650;
  letter-spacing: 0.08em;
}
.purchase button[aria-pressed="true"] {
  color: #ffe6c6;
  background: #4b2c44;
  border-color: #ffaf97;
  box-shadow: inset 0 0 0 1px #ffaf97;
}
.purchase button:not(:disabled):hover {
  border-color: #ffd7c2;
}
.field-label {
  font-weight: 700;
}
.network-option {
  display: flex;
  align-items: center;
  text-align: start;
  justify-content: space-between;
  gap: 0.35rem;
}
.radio {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 1px solid var(--muted);
  flex: none;
}
[aria-pressed="true"] .radio {
  background: #ffbb9e;
  border: 3px solid #4b2c44;
  outline: 1px solid #ffbb9e;
}
.purchase .primary {
  padding: 0.82rem;
  border: 0;
  background: linear-gradient(110deg, #ffbe8d, #ffa6b5 65%, #e8abdc);
  color: #2b1828;
  font-weight: 800;
}
.payment-box > div {
  min-width: 0;
}
body:has(.demo-bar) .error {
  color: #ffe1dd;
  background: #542b3b;
}
@media (min-width: 701px) and (max-width: 1064px) {
  .compact.purchase {
    margin-inline: 1rem;
  }
}
@media (max-width: 700px) {
  .compact.purchase {
    grid-template-columns: 1fr;
    margin: 0.25rem 0.75rem;
  }
  .coast-poster {
    height: clamp(6rem, 27vw, 10rem);
    background-position: center 57%;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .coast-poster::after {
    inset: 6px;
  }
  .checkout-controls {
    padding: 1.15rem;
  }
  header,
  footer {
    padding: 0.75rem 1rem;
  }
}

nav {white-space:nowrap} nav [aria-current] {color:white;font-weight:bold} .plan {border:1px solid var(--line);border-radius:.6rem;background:#322638;text-align:center} .plan dd {margin:0} .plan small {display:block;font-size:clamp(.65rem,2vw,.85rem)} .coast-poster {min-height:19rem} @media(max-width:700px){.coast-poster{min-height:0}}
