:root {
  --ink: #1b1b2f;
  --cream: #fff8f0;
  --coral: #ff5c39;
  --coral-deep: #e04a2a;
  /* Coral is 2.9:1 on cream. Text uses these instead: 3.8:1 for display
     sizes, 5.2:1 for body sizes (WCAG AA). */
  --coral-display: #e04a2a;
  --coral-text: #c2361a;
  --on-coral: #1b1b2f;
  --ok: #1c7c4a;
  --bad: #b3261e;
  --field-line: rgba(27, 27, 47, 0.55);
  --sun: #ffc83d;
  --muted: #5d5b6b;
  --line: rgba(27, 27, 47, 0.12);
  --card: #ffffff;
  --radius: 22px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #fff8f0;
    --cream: #15151f;
    --muted: #b8b5c6;
    --line: rgba(255, 248, 240, 0.14);
    --card: #1f1f2d;
    --coral-display: #ff5c39;
    --coral-text: #ff7a5c;
    --ok: #6fd39b;
    --bad: #ff8a80;
    --field-line: rgba(255, 248, 240, 0.5);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 0.4em;
}
h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
}
h1 em {
  font-style: italic;
  color: var(--coral-display);
}
h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}
h3 {
  font-size: 1.35rem;
}
.sr,
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--sun);
  color: #1b1b2f;
  padding: 12px 14px;
  border-radius: 8px;
  z-index: 10;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  max-width: 1160px;
  margin: 0 auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}
.wordmark b {
  color: var(--coral-text);
  font-weight: 800;
}
.wordmark sup {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 1px;
}
.pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sun);
  color: #1b1b2f;
  white-space: nowrap;
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
section {
  padding: 40px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 24px;
}
.lede {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.25;
  margin: 0 0 14px;
}
.sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 20px;
}
.proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.proof li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 800;
  margin-right: 8px;
}

.buy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 27, 47, 0.1);
}
.sheet {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ffe9c2, #ffd6c9);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .sheet {
    background: linear-gradient(135deg, #2a2340, #3a2330);
  }
}
.sheet .s {
  position: absolute;
  width: 30%;
  filter: drop-shadow(0 6px 14px rgba(27, 27, 47, 0.25));
  transition: transform 0.3s ease;
}
.sheet .s1 {
  left: 6%;
  top: 8%;
  transform: rotate(-8deg);
}
.sheet .s2 {
  left: 38%;
  top: 4%;
  width: 26%;
  transform: rotate(6deg);
}
.sheet .s3 {
  left: 62%;
  top: 12%;
  width: 34%;
  transform: rotate(4deg);
}
.sheet .s4 {
  left: 4%;
  top: 58%;
  width: 36%;
  transform: rotate(3deg);
}
.sheet .s5 {
  left: 42%;
  top: 50%;
  width: 24%;
  transform: rotate(-10deg);
}
.sheet .s6 {
  left: 66%;
  top: 52%;
  width: 30%;
  transform: rotate(-4deg);
}
.buy-card:hover .sheet .s {
  transform: rotate(0deg) scale(1.02);
}
.buy-body {
  padding: 22px 22px 24px;
}
.buy-body h2 {
  font-size: 1.7rem;
  margin-bottom: 4px;
}
.whats {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.98rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
}
.price-note {
  color: var(--muted);
  font-size: 0.85rem;
}
.ship-note {
  margin: 8px 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--coral-text);
}
@media (prefers-color-scheme: dark) {
  .ship-note {
    color: var(--sun);
  }
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
}
.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}
.qty-btn:hover {
  border-color: var(--ink);
}
.qty-btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}
.qty-btn[aria-disabled="true"]:hover {
  border-color: var(--field-line);
}
.qty output {
  min-width: 34px;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.qty-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-left: 4px;
}
.addon {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}
.addon input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--coral-deep);
  flex: none;
}
.addon small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}
.addon[hidden] {
  display: none;
}
.tax-note {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.cta {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background: var(--coral);
  color: var(--on-coral);
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(255, 92, 57, 0.35);
  transition:
    transform 0.12s ease,
    background 0.12s ease;
}
.cta:hover {
  background: #ff7354;
  transform: translateY(-1px);
}
.cta:disabled,
.cta[aria-disabled="true"] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.cta-small {
  width: auto;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 1rem;
}
.turnstile {
  margin-top: 8px;
  min-height: 0;
}
.secure {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.error {
  color: var(--bad);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 8px 0 0;
}
.ok {
  color: var(--ok);
  font-weight: 600;
}

.items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.items li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  font-size: 0.95rem;
}
.items img {
  width: 84px;
}
.card-note {
  color: var(--muted);
  margin-top: 16px;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.who-grid article {
  padding: 22px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.who-grid p {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  font-size: 1.05rem;
}
.steps b {
  font-family: var(--display);
  font-size: 1.8rem;
  display: block;
  color: var(--coral-display);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 3px 0;
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 9px 0;
  min-height: 44px;
}
.faq p {
  color: var(--muted);
  margin: 0 0 9px;
  max-width: 70ch;
}

.signup form {
  display: grid;
  gap: 10px;
  max-width: 520px;
}
.signup input[type="email"] {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  font: inherit;
  background: var(--card);
  color: var(--ink);
}
.signup [aria-invalid="true"] {
  border-color: var(--bad);
}
.consent {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--coral-deep);
  flex: none;
}
.buy-consent {
  margin: 0 0 12px;
}

footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.crisis {
  color: var(--ink);
  font-size: 0.95rem;
}
footer nav a {
  display: inline-block;
  padding: 13px 2px;
  margin-right: 4px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .items,
  .who-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .pill {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .sheet .s,
  .cta {
    transition: none;
  }
}

/* utility classes (no inline styles: CSP style-src 'self') */
.hero-single {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.cta-link {
  display: inline-block;
  text-decoration: none;
}
main.narrow {
  max-width: 760px;
}
.h1-small {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}
main.narrow h2 {
  font-size: 1.4rem;
  margin-top: 1.4em;
}
main.narrow ul {
  padding-left: 1.2em;
  color: var(--muted);
}
main.narrow li {
  margin-bottom: 0.5em;
}

/* ---------- header links ---------- */
.top-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.top-link {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 4px;
}

/* ---------- plan picker ---------- */
.plans {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
  min-width: 0;
}
.plans[hidden] {
  display: none;
}
.plan {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.plan:has(input:checked) {
  border-color: var(--coral);
  box-shadow: inset 0 0 0 1px var(--coral);
}
.plan input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--coral-deep);
  flex: none;
}
.plan-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.plan-price {
  font-weight: 600;
  font-size: 0.95rem;
}
.plan small {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- focus ---------- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
/* The radio is small; ring the whole option so the focus is easy to find. */
.plan:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.plan input:focus-visible {
  outline: none;
}
[tabindex="-1"]:focus {
  outline: none;
}

/* ---------- account ---------- */
.notice {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 600;
}
/* Stays in view while the page is scrolled, so a result is never off screen. */
.notice {
  position: sticky;
  top: 8px;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(27, 27, 47, 0.12);
}
.notice-bad {
  border-color: var(--bad);
}
.notice[hidden] {
  display: none;
}
.form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}
.form[hidden] {
  display: none;
}
.form label {
  display: grid;
  gap: 4px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form input[type="text"],
.form input[type="email"],
.form select {
  width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  font: inherit;
  font-weight: 400;
  background: var(--card);
  color: var(--ink);
}
.form [aria-invalid="true"] {
  border-color: var(--bad);
  box-shadow: inset 0 0 0 1px var(--bad);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--ink);
}
.btn:disabled,
.btn[aria-disabled="true"],
.link-btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
}
.btn[aria-disabled="true"]:hover {
  border-color: var(--field-line);
}
.btn-quiet {
  color: var(--muted);
}
.btn-danger {
  border-color: var(--bad);
  color: var(--bad);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.btn-row[hidden] {
  display: none;
}
.link-btn {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
}
.link-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.acct-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  margin: 0 0 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.acct-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.acct-card > *,
.acct-card-head > h3 {
  min-width: 0;
}
.acct-card h3 {
  margin: 0;
}
[data-email],
[data-signin-email],
.hero-single .sub,
.addr-line,
.row-main b {
  overflow-wrap: anywhere;
}
.acct-card h4 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.acct-line {
  margin: 0;
}
.acct-block address {
  font-style: normal;
  margin: 0 0 10px;
}
.addr-line {
  display: block;
  white-space: pre-wrap;
}
.confirm {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.confirm[hidden] {
  display: none;
}
.confirm p {
  margin: 0 0 10px;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.badge-ok {
  background: var(--sun);
  color: #1b1b2f;
  border-color: transparent;
}
.badge-warn {
  background: var(--coral);
  color: var(--on-coral);
  border-color: transparent;
}
.badge-quiet {
  color: var(--muted);
}
main.narrow ul.rows {
  list-style: none;
  padding: 0;
  margin: 0;
  color: inherit;
}
.rows .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.rows .row:last-child {
  border-bottom: 1px solid var(--line);
}
.rows .row-group {
  margin: 0;
  padding: 18px 0 6px;
}
.rows .row-group:first-child {
  padding-top: 4px;
}
.rows .row-group h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.row-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.row-main small {
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .acct-card {
    padding: 16px;
  }
}

/* Store closed: a calm panel where the buy controls were. */
.closed {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--field-line);
  border-radius: 14px;
}
.closed h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.closed h3:focus {
  outline: none;
}
.closed p {
  margin: 0 0 12px;
}
.closed form {
  margin-top: 4px;
}
.region-note {
  font-weight: 600;
}
