@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #282828;
  --muted: #55544f;
  --canvas: #f8f6f2;
  --edge: #dbd7cf;
  --blue: #2332d5;
  --deep-blue: #1826af;
  --ice: #dee6ff;
  --alert: #8a2b19;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.masthead { background: white; }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 1rem; gap: 1rem; }
.brand { display: block; width: 105px; height: auto; }
.masthead-inner span { font-weight: 650; font-size: .88rem; }
.demo-tools { background: var(--ink); color: white; }
.demo-tools-inner { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; padding-block: .4rem; font-size: .84rem; }
.demo-tools strong span { color: #e5dcca; font-weight: 500; margin-left: .65rem; }
.demo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.15rem; }
.demo-actions a, .text-button { color: white; font: inherit; text-decoration: underline; text-underline-offset: .2em; }
.text-button { padding: .45rem 0; border: 0; background: transparent; cursor: pointer; min-height: 32px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: .65rem; overflow: hidden; color: white; background: var(--blue); margin-block: 1.6rem 0; }
.hero-copy { padding: clamp(1.5rem, 4.5vw, 3.4rem); align-self: center; }
.hero-image { overflow: hidden; background: #d9e8f2; min-width: 0; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 52%; }
.hero.compact .hero-copy { padding-block: 1.4rem 1.65rem; }
.hero.compact .hero-image { max-height: 13rem; }
h1, h2, legend { font-family: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif; font-weight: 700; }
h1 { font-size: clamp(2.9rem, 6vw, 5.8rem); line-height: .9; letter-spacing: -.018em; margin: 0; max-width: 12ch; }
.hero.compact h1 { font-size: clamp(2.55rem, 5vw, 4.1rem); max-width: 17ch; }
h1:focus { outline: none; }
h2, legend { font-size: 1.85rem; line-height: 1.1; margin: 0; }
.hero-copy > :last-child { max-width: 36ch; margin: .95rem 0 0; line-height: 1.45; color: #f3f5ff; }
.order { font-weight: 650; font-size: .9rem; margin: 0 0 1.1rem; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 1.25rem 0 1.5rem; gap: .35rem; color: var(--muted); font-size: .84rem; }
.progress li { border-top: 3px solid var(--edge); padding-top: .48rem; }
.progress .past { border-top-color: #8a95e8; }
.progress [aria-current="step"] { color: var(--blue); border-top-color: var(--blue); font-weight: 750; }
fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
.original { color: var(--muted); margin: .25rem 0 .8rem; font-size: .9rem; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .9rem; }
.option-filters { display: flex; gap: .7rem; flex-wrap: wrap; margin: 0 0 .9rem; }
.option-filters label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 700; }
.filter-select { position: relative; }
.filter-select::after { content: ""; position: absolute; inset-inline-end: .9rem; top: 50%; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.option-filters select { appearance: none; width: 100%; min-height: 40px; padding: .4rem 2.25rem .4rem .7rem; border: 1px solid var(--edge); border-radius: .35rem; font: inherit; background: white; color: var(--ink); cursor: pointer; }
.filter-empty { color: var(--muted); }
.option { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--edge); border-radius: .55rem; background: white; min-width: 0; }
.option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.option:focus-within { outline: 2px solid var(--blue); outline-offset: 4px; }
.option input { accent-color: var(--blue); position: absolute; inset: .75rem .75rem auto auto; height: 1.15rem; width: 1.15rem; margin: 0; z-index: 1; }
.option-select { display: flex; flex-direction: column; cursor: pointer; }
.option-image { display: block; }
.option img { display: block; width: 100%; aspect-ratio: 1.48; object-fit: contain; background: #f5f5f5; }
.option-copy { display: block; padding: .9rem; min-width: 0; }
.option-image[hidden] + .option-copy { padding-right: 2.5rem; }
.option b, .option small, .option .cost { display: block; }
.option small { color: var(--muted); }
.cost { margin-top: .4rem; font-size: .87rem; }
.cost s { color: var(--muted); margin-right: .3rem; }
.option .price-note { color: var(--deep-blue); margin-top: .23rem; font-weight: 650; }
.option-variants { display: grid; gap: .55rem; padding: .75rem .9rem .9rem; border-top: 1px solid var(--edge); margin-top: auto; }
.variant-field { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: start; gap: .4rem; }
.variant-name { padding-top: .35rem; color: var(--muted); font-size: .81rem; font-weight: 700; }
.variant-values { display: flex; flex-wrap: wrap; gap: .35rem; }
.variant-chip { min-height: 32px; padding: .24rem .56rem; border: 1px solid var(--edge); border-radius: .28rem; background: white; color: var(--ink); font: 600 .8rem/1.2 system-ui, sans-serif; cursor: pointer; }
.variant-chip:enabled:hover { border-color: var(--blue); }
.variant-chip:disabled { text-decoration: line-through; }
.variant-chip[aria-pressed="true"] { border-color: var(--blue); color: var(--deep-blue); background: var(--ice); }
.actions, .email-controls { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
button.primary, button.secondary { min-height: 46px; padding: .65rem 1.13rem; border-radius: .3rem; border: 1px solid var(--blue); cursor: pointer; font: inherit; font-weight: 750; }
button.primary { background: var(--blue); color: white; }
button.primary:hover { background: var(--deep-blue); }
button.secondary { color: var(--blue); background: transparent; }
button:disabled { opacity: .55; cursor: default; }
a { color: var(--blue); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#notice:not(:empty), #email-status:not(:empty) { color: var(--alert); margin: 1rem 0; font-weight: 650; }
#email-status.success { color: #075334; }
.test-email { background: white; padding: 1.25rem; border: 1px solid var(--edge); margin-top: 1.15rem; border-radius: .55rem; }
.test-email p { margin: .4rem 0 .7rem; }
.test-email label { display: block; font-size: .85rem; font-weight: 750; margin-bottom: .3rem; }
.test-email .email-controls { align-items: end; }
.test-email .email-controls > div { max-width: 100%; }
.test-email input, .test-email select { min-height: 46px; max-width: 100%; border: 1px solid #716f69; border-radius: .3rem; padding: .55rem .65rem; font: inherit; }
.test-email input { width: 18rem; }
.summary { max-width: 42rem; background: white; border: 1px solid var(--edge); border-radius: .5rem; padding: 1.2rem; margin: 0 0 1.15rem; }
.summary ul { list-style: none; padding: 0; margin: 0; }
.summary li { padding: .7rem 0; border-bottom: 1px solid var(--edge); overflow-wrap: anywhere; }
.summary small { display: block; color: var(--muted); }
.refund { font-size: 1.22rem; font-weight: 800; margin: .75rem 0 .2rem; color: var(--deep-blue); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; border-top: 1px solid var(--edge); padding-top: .95rem; margin-block: 2.4rem 1.7rem; color: var(--muted); font-size: .88rem; }
@media (max-width: 660px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; margin-top: 1rem; }
  .hero-image { max-height: 9.5rem; }
  .hero-image img { height: 9.5rem; object-position: 55% 49%; }
  .hero.compact .hero-image { display: none; }
  .options { grid-template-columns: 1fr; }
  .option-select { flex-direction: row; align-items: center; min-height: 104px; }
  .option-image { flex: 0 0 31%; max-width: 122px; }
  .option img { aspect-ratio: 1; }
  .option-copy { padding-right: 2.4rem; }
  .actions button, .email-controls button { width: 100%; }
  .email-controls > div, .email-controls input, .email-controls select { width: 100%; }
}
