@font-face {
  font-family: "Epika Serif";
  src: url("/order/fonts/EpikaSerifExtraCondensedPremium-Light.woff2") format("woff2"),
       url("/order/fonts/EpikaSerifExtraCondensedPremium-Light.woff") format("woff");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

@font-face {
  font-family: "Epika Serif";
  src: url("/order/fonts/EpikaSerifExtraCondensedPremium-LightItalic.woff2") format("woff2"),
       url("/order/fonts/EpikaSerifExtraCondensedPremium-LightItalic.woff") format("woff");
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("/order/fonts/Roobert-Regular.woff2") format("woff2"),
       url("/order/fonts/Roobert-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("/order/fonts/Roobert-RegularItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("/order/fonts/Roobert-SemiBold.woff2") format("woff2"),
       url("/order/fonts/Roobert-SemiBold.woff") format("woff");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("/order/fonts/Roobert-SemiBoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Roobert Mono";
  src: url("/order/fonts/RoobertMono-Medium.woff2") format("woff2"),
       url("/order/fonts/RoobertMono-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --canvas: #fdfcf9;
  --sunken: #f9f6f0;
  --control: #f1ece4;
  --white: #ffffff;
  --ink: #232222;
  --ink-subtle: #484646;
  --ink-muted: #7a7777;
  --border: #e3ddd3;
  --border-subtle: #f1ece4;
  --butter: #ffd582;
  --butter-deep: #ffbf2b;
  --success: #15803d;
  --danger: #be123c;
  --serif: "Epika Serif", "Instrument Serif", Georgia, serif;
  --sans: "Roobert", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Roobert Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-sm: 0 1px 3px rgba(35, 34, 34, 0.06), 0 1px 2px rgba(35, 34, 34, 0.04);
  --shadow-lg: 0 8px 24px rgba(35, 34, 34, 0.08), 0 2px 6px rgba(35, 34, 34, 0.05);
  --shadow-bar: 0 -4px 24px rgba(35, 34, 34, 0.06);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--canvas); }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.site-header,
.site-footer {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
}

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand img,
.site-footer img {
  width: 78px;
  height: auto;
  display: block;
}

.support-link {
  color: var(--ink-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.support-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-shell {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
  padding: 40px 0 72px;
  outline: none;
}

.state-layout { display: block; }
.state-content { max-width: 640px; container-type: inline-size; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px #d8f9e3;
}

h1 {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 15vw, 4.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

h1 em,
h2 em { font-weight: 300; }

.lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--ink-subtle);
  font-size: 1.1rem;
  line-height: 1.36;
}

.product-card {
  margin: 32px 0 0;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--sunken);
}

.product-card figcaption {
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card img {
  display: block;
  width: 100%;
  max-height: 260px;
  margin: 4px auto 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.25);
  transform-origin: center;
}

.product-card > p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-align: center;
}

.product-card-desktop { display: none; }
.compact-product img { max-height: 210px; }

.circle-card,
.reassurance-card,
.confirmation-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.circle-card { padding: 16px; background: #fffef7; border-color: #ffe9b8; }

.circle-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.circle-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.circle-identity img { width: 38px; height: 38px; flex: 0 0 auto; object-fit: contain; }
.circle-card .circle-identity h2 { margin: 0 0 2px; font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.circle-identity .eyebrow { font-size: 0.65rem; line-height: 1.38; letter-spacing: 0.04em; }

.offer-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--butter);
  font-family: var(--mono);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.circle-card h2,
.confirmation-card h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.11;
  letter-spacing: -0.02em;
}

.circle-tagline { margin: 12px 0 0; color: var(--ink-subtle); font-family: var(--serif); font-size: 1.5rem; font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; }

.circle-card > p,
.confirmation-card > p {
  margin: 8px 0 0;
  color: var(--ink-subtle);
  line-height: 1.5rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
}

.price-row strong {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.11;
  letter-spacing: -0.02em;
}

.price-row strong span {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
}

.standard-price { color: var(--ink-muted); font-size: 0.812rem; line-height: 1.38; }
.standard-price s { text-decoration-thickness: 1px; }
.circle-card .fine-print { margin-top: 16px; color: var(--ink-muted); font-size: 0.812rem; line-height: 1.38; }

.payment-actions {
  position: sticky;
  z-index: 20;
  bottom: 0;
  margin: 24px -20px -72px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-subtle);
  background: rgba(253, 252, 249, 0.94);
  box-shadow: var(--shadow-bar);
  backdrop-filter: blur(10px);
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, filter 150ms ease, opacity 150ms ease;
}

.button:not(:disabled):hover { filter: brightness(0.96); }
.button:not(:disabled):active { transform: scale(0.97); }
.button:focus-visible, .text-button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--butter-deep); outline-offset: 3px; }
.button:disabled { cursor: wait; opacity: 0.65; }
.button-large { min-height: 3.5rem; width: 100%; font-size: 0.88rem; }
.button-primary { background: var(--ink); color: white; }
.button-secondary { border-color: var(--border); background: var(--white); color: var(--ink); }

.countdown-wrap { margin-top: 12px; }
.countdown { margin: 0; color: var(--ink-subtle); font-size: 0.812rem; font-variant-numeric: tabular-nums; text-align: center; }
.countdown-track { height: 3px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: var(--control); }
.countdown-track span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--butter-deep); transition: width 1s linear; }
.action-error { margin: 10px 0 0; color: var(--danger); font-size: 0.88rem; text-align: center; }

.reassurance-card { padding: 8px 20px 20px; }
.reassurance-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border-subtle); }
.reassurance-item:last-of-type { margin-bottom: 20px; }
.reassurance-item .number { color: var(--ink-muted); font-family: var(--mono); font-size: 0.688rem; font-weight: 500; letter-spacing: 0.04em; }
.reassurance-item strong { display: block; font-size: 1rem; line-height: 1.38; }
.reassurance-item p { margin: 4px 0 0; color: var(--ink-muted); font-size: 0.88rem; line-height: 1.42; }

.refund-option { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.refund-option p { margin: 0; color: var(--ink-muted); font-size: 0.88rem; line-height: 1.42; }
.text-button { margin-top: 12px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--ink-subtle); font-size: 0.88rem; font-weight: 700; cursor: pointer; }

.confirmation-card { padding: 24px; }
.confirmation-card h2 { font-size: 2.75rem; line-height: 1.05; }
.confirmation-note { padding-top: 16px; border-top: 1px solid var(--border-subtle); color: var(--ink-muted) !important; font-size: 0.812rem; line-height: 1.46 !important; }
.refund-confirmation { border-color: #fedfe2; background: #fffafb; }

.lookup-form { display: flex; flex-direction: column; margin-top: 32px; }
.lookup-form label { color: var(--ink-subtle); font-size: 0.88rem; font-weight: 700; }
.lookup-form input { width: 100%; min-height: 56px; margin-top: 8px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--ink); font-size: 1rem; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.lookup-form input:focus { border-color: var(--butter-deep); box-shadow: 0 0 0 3px rgba(255, 213, 130, 0.45); }
.lookup-form input[aria-invalid="true"] { border-color: var(--danger); box-shadow: none; }
.field-helper, .field-error { margin: 7px 0 0; font-size: 0.75rem; line-height: 1.42; }
.field-helper { color: var(--ink-muted); }
.field-error { color: var(--danger); }
.lookup-form .button { margin-top: 20px; }
.contact-note { margin: 24px 0 0; color: var(--ink-muted); font-size: 0.88rem; line-height: 1.42; }
.contact-note a { color: var(--ink-subtle); font-weight: 700; text-underline-offset: 3px; }
.customer-email { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }

.state-actions { margin-top: 28px; }
.state-actions .button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.completion-state { max-width: 620px; margin-inline: auto; text-align: center; }
.completion-state .eyebrow { justify-content: center; }
.completion-state .lead { margin-inline: auto; }
.completion-state img { display: block; width: min(100%, 430px); margin: 24px auto; mix-blend-mode: multiply; }
.completion-state .button { width: auto; }
.completion-mark { width: 48px; height: 48px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 999px; background: #d8f9e3; color: var(--success); font-size: 1.375rem; font-weight: 700; }

.site-footer { padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border-subtle); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.site-footer a { color: var(--ink-muted); font-size: 0.812rem; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }


.snackbar { position: fixed; z-index: 60; right: 20px; bottom: 20px; left: 20px; max-width: 460px; margin-inline: auto; padding: 14px 18px; border-radius: 999px; background: var(--ink); box-shadow: var(--shadow-lg); color: white; font-size: 0.88rem; text-align: center; }

.notice-dialog {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 24, 21, 0.45);
}
.notice-dialog[hidden] { display: none; }
.notice-dialog-card {
  width: min(100%, 420px);
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--canvas, #FDFCF9);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.notice-dialog-card h2 { margin: 0 0 20px; font-size: 2rem; }
.notice-dialog-card .button { width: 100%; }

@media (min-width: 760px) {
  .site-header { min-height: 80px; }
  .page-shell { padding: 64px 0 96px; }
  .state-layout { grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); align-items: center; gap: 64px; }
  .state-layout:not([hidden]) { display: grid; }
  h1 { font-size: clamp(3.75rem, 12cqi, 6rem); white-space: nowrap; }
  h1 em { white-space: nowrap; }
  .product-card-mobile { display: none; }
  .product-card-desktop { display: block; margin: 0; padding: 28px; }
  .product-card-desktop img { max-height: 520px; transform: scale(1.3); margin: 12px auto; }
  .circle-card, .reassurance-card, .confirmation-card { margin-top: 32px; padding: 24px; }
  .circle-card { max-width: 560px; }
  .payment-actions { position: static; margin: 28px 0 0; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .button-large { width: auto; min-width: 230px; }
  .countdown-wrap { max-width: 320px; }
  .countdown { text-align: left; }
  .lookup-product { margin: 0; padding: 28px; }
  .lookup-product img { max-height: 520px; transform: scale(1.3); margin: 12px auto; }
  .site-footer { padding-bottom: 32px; }
  .snackbar { right: 24px; bottom: 24px; left: auto; }
}

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