/* ==========================================================================
   ReviewTap — countertop NFC review stands
   Design language: countertop signage + receipt/stamp vernacular.
   Type: Oswald (signage), Public Sans (body), Space Mono (tickets/prices).
   ========================================================================== */

/* ---- Fonts ------------------------------------------------------------- */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald_600.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald_700.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pubsans_400.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/pubsans_500.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/pubsans_600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/spacemono_400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/spacemono_700.woff2") format("woff2");
}

/* ---- Tokens -------------------------------------------------------------
   Chosen for a small-business buyer, not a tech-startup one: navy reads as
   the most broadly trusted color in financial/professional-services
   research (the thing they need to believe before paying a stranger);
   warm bone keeps it human instead of sterile-corporate; the CTA accent is
   pushed toward saturated amber-orange, the color most consistently shown
   to lift click-through on primary buttons (urgency + approachability
   without red's alarm cue); teal-green carries the "approved / go ahead"
   signal — doubles as the stamp-of-approval motif already in the product
   illustrations.
   -------------------------------------------------------------------------- */
:root {
  --paper: #ede9df;
  --paper-raised: #f8f6ee;
  --paper-sunken: #e2dccb;
  --ink: #14213d;
  --ink-soft: #46516e;
  --ink-faint: #7a84a0;
  --line: rgba(20, 33, 61, 0.14);
  --line-strong: rgba(20, 33, 61, 0.26);

  --gold: #dc7f13;
  --gold-deep: #b3670e;
  --gold-ink: #2b1704;
  --gold-chip: rgba(220, 127, 19, 0.14);

  --stamp: #1f6e5c;
  --stamp-deep: #17503f;
  --stamp-chip: rgba(31, 110, 92, 0.13);

  --danger: #a3402f;

  --shadow: 0 1px 0 rgba(28, 35, 51, 0.06);
  --shadow-raised: 0 10px 30px -14px rgba(28, 35, 51, 0.35);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "SF Mono", ui-monospace, monospace;

  --container: 1120px;
  --radius-sm: 3px;
  --radius-md: 6px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10151f;
    --paper-raised: #1a2029;
    --paper-sunken: #0c0f16;
    --ink: #ede9df;
    --ink-soft: #b7bcc9;
    --ink-faint: #7d84a0;
    --line: rgba(237, 233, 223, 0.14);
    --line-strong: rgba(237, 233, 223, 0.26);

    --gold: #f0993a;
    --gold-deep: #ffae5c;
    --gold-ink: #291602;
    --gold-chip: rgba(240, 153, 58, 0.16);

    --stamp: #3fbb9c;
    --stamp-deep: #63d1b4;
    --stamp-chip: rgba(63, 187, 156, 0.16);

    --danger: #d97f6c;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    --shadow-raised: 0 10px 34px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #10151f;
  --paper-raised: #1a2029;
  --paper-sunken: #0c0f16;
  --ink: #ede9df;
  --ink-soft: #b7bcc9;
  --ink-faint: #7d84a0;
  --line: rgba(237, 233, 223, 0.14);
  --line-strong: rgba(237, 233, 223, 0.26);
  --gold: #f0993a;
  --gold-deep: #ffae5c;
  --gold-ink: #291602;
  --gold-chip: rgba(240, 153, 58, 0.16);
  --stamp: #3fbb9c;
  --stamp-deep: #63d1b4;
  --stamp-chip: rgba(63, 187, 156, 0.16);
  --danger: #d97f6c;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  --shadow-raised: 0 10px 34px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --paper: #ede9df;
  --paper-raised: #f8f6ee;
  --paper-sunken: #e2dccb;
  --ink: #14213d;
  --ink-soft: #46516e;
  --ink-faint: #7a84a0;
  --line: rgba(20, 33, 61, 0.14);
  --line-strong: rgba(20, 33, 61, 0.26);
  --gold: #dc7f13;
  --gold-deep: #b3670e;
  --gold-ink: #2b1704;
  --gold-chip: rgba(220, 127, 19, 0.14);
  --stamp: #1f6e5c;
  --stamp-deep: #17503f;
  --stamp-chip: rgba(31, 110, 92, 0.13);
  --danger: #a3402f;
  --shadow: 0 1px 0 rgba(28, 35, 51, 0.06);
  --shadow-raised: 0 10px 30px -14px rgba(28, 35, 51, 0.35);
  color-scheme: light;
}

/* ---- Reset --------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout utilities -----------------------------------------------------*/
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: 88px;
}
.section-tight { padding-block: 56px; }
@media (max-width: 720px) {
  .section { padding-block: 60px; }
  .section-tight { padding-block: 40px; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stamp);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stamp);
  flex: none;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  text-wrap: balance;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.08;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.15rem;
  line-height: 1.2;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.6;
}
.prose p + p { margin-top: 1em; }
.prose { max-width: 65ch; color: var(--ink-soft); }

.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---- Buttons --------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--gold);
  color: var(--gold-ink);
}
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---- Header ---------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-moon { display: none; }
  :root:not([data-theme="light"]) .icon-sun { display: block; }
}
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
}
@media (max-width: 800px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
}

/* ---- Scroll reveal ---------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Ticket divider -------------------------------------------------------*/
.ticket-rule {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0 8px,
    transparent 8px 16px
  );
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  padding-block: 64px 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 13px; height: 13px; color: var(--stamp); flex: none; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-inline: auto;
}

/* ---- Feature grid ---------------------------------------------------------*/
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--paper-raised);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card svg { width: 24px; height: 24px; color: var(--stamp); }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---- Steps ---------------------------------------------------------------*/
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  counter-reset: step;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding-top: 8px;
}
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
.step-connector {
  position: absolute;
  top: 17px;
  left: calc(100% - 4px);
  width: calc(36px + 4px);
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
}
@media (max-width: 760px) { .step-connector { display: none; } }

/* ---- Pricing / product ----------------------------------------------------*/
.product-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
}
@media (max-width: 860px) {
  .product-panel { grid-template-columns: 1fr; }
}
.product-visual {
  background: var(--paper-sunken);
  padding: 40px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
@media (max-width: 860px) {
  .product-visual { border-right: none; border-bottom: 1px solid var(--line); padding: 32px; }
}
.product-info { padding: 40px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .product-info { padding: 30px 26px; } }

/* ---- Product photography (real supplier photos) --------------------------- */
.product-shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
  width: 100%;
}
.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spec-list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0; }
.spec-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.spec-list svg { width: 15px; height: 15px; color: var(--stamp); margin-top: 3px; flex: none; }

.color-field { display: flex; align-items: center; gap: 16px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex: none;
}
.color-swatches { display: flex; gap: 10px; }
.qty-input {
  width: 80px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-family: var(--font-mono);
  font-size: 1rem;
}
.qty-input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.swatch[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold-chip);
  color: var(--ink);
}
.swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex: none;
}
.swatch-dot.dot-black { background: #17181b; }
.swatch-dot.dot-white { background: #fbfbfa; }

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
}
.price-tag .amount { font-size: 2.1rem; font-weight: 700; }
.price-tag .unit { color: var(--ink-faint); font-size: 0.85rem; }

.buy-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ---- Use-case chips --------------------------------------------------------*/
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.86rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

/* ---- FAQ -------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.faq-item summary .plus::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-item summary .plus::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-item[open] summary .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item p { padding: 0 4px 22px; color: var(--ink-soft); max-width: 60ch; }

/* ---- Final CTA --------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
:root[data-theme="dark"] .cta-band {
  background: var(--paper-raised);
  border: 1px solid var(--line);
}
.cta-band .lede { color: color-mix(in srgb, var(--paper) 70%, transparent); max-width: 50ch; }
:root[data-theme="dark"] .cta-band .lede { color: var(--ink-soft); }
@media (prefers-color-scheme: dark) {
  .cta-band { background: var(--paper-raised); border: 1px solid var(--line); }
  .cta-band .lede { color: var(--ink-soft); }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.88rem; }
.footer-links a:hover { color: var(--ink); }
.footer-fine { color: var(--ink-faint); font-size: 0.8rem; margin-top: 18px; }

/* ---- Simple / utility page (setup, policies) ---------------------------- */
.doc-page { padding-block: 56px 100px; }
.doc-page .wrap { max-width: 760px; }
.doc-header { margin-bottom: 44px; }
.doc-header .eyebrow { margin-bottom: 14px; }
.doc-section { margin-top: 44px; }
.doc-section h2 { font-size: 1.4rem; margin-bottom: 14px; }
.doc-section ol, .doc-section ul { margin: 14px 0 0; padding-left: 22px; color: var(--ink-soft); }
.doc-section li { margin-bottom: 8px; }
.doc-section li::marker { color: var(--gold); font-family: var(--font-mono); font-weight: 700; }

.status-card {
  background: var(--stamp-chip);
  border: 1px solid var(--stamp);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.status-card svg { width: 26px; height: 26px; color: var(--stamp); flex: none; margin-top: 2px; }

.receipt-box {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--paper-raised);
}
.receipt-box div + div { margin-top: 6px; }

/* ---- Order summary (review page) ------------------------------------------*/
.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}
.order-card-photo { aspect-ratio: 16/9; }
.order-rows { padding: 8px 28px 4px; }
.order-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--line-strong);
  font-size: 0.95rem;
}
.order-row .label { color: var(--ink-soft); }
.order-row .value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.order-row.total {
  border-bottom: none;
  border-top: 1px solid var(--line-strong);
  margin-top: 4px;
  padding-top: 20px;
  font-size: 1.15rem;
  font-weight: 700;
}
.order-row.total .value { font-size: 1.3rem; }
.color-dot-inline {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  margin-right: 6px;
  vertical-align: -1px;
}
.color-dot-inline.dot-black { background: #17181b; }
.color-dot-inline.dot-white { background: #fbfbfa; }

/* ---- Checkout form (embedded Stripe payment) -------------------------- */
.checkout-fieldset { margin-top: 36px; }
.checkout-fieldset:first-of-type { margin-top: 28px; }
.checkout-legend {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; }
.form-field-full { grid-column: 1 / -1; }
.form-field span { color: var(--ink-soft); font-weight: 500; }
.form-field em { font-style: normal; color: var(--ink-faint); }
.form-field input {
  font: inherit;
  font-family: var(--font-body);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}
.form-field input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-field input:disabled { color: var(--ink-faint); background: var(--paper-sunken); }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field { grid-column: 1 / -1; }
}

#payment-element {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  min-height: 44px;
}

.checkout-error {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--danger);
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  font-size: 0.9rem;
}
