/* Layout concept: one left-aligned column per page; the opt-in hero sets the headline beside a live stack of order notifications. */
:root {
  --paper: #F3F5F1;      /* cool, slightly sage page ground */
  --card: #FFFFFF;
  --ink: #162033;        /* deep ink navy for text */
  --muted: #536077;      /* secondary text, biased toward the ink */
  --rule: #D6DCD3;       /* borders and dividers */
  --blue: #2244C4;       /* the one accent: buttons, links, focus */
  --blue-deep: #172F8C;
  --sticker: #FFD23F;    /* reserved for the "stranger" order and the guarantee */
  --good: #1D7148;
  --bad: #A3312B;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.375rem;
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

  --radius-control: 10px;
  --radius-panel: 18px;
  --measure: 62ch;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}

img, iframe, video { max-width: 100%; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

/* Header */
.site-head { padding-block: 22px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wordmark .box {
  width: 22px; height: 22px;
  border: 2.5px solid var(--ink);
  border-radius: 4px;
  position: relative;
}
.wordmark .box::after {
  content: "";
  position: absolute;
  left: 50%; top: -2.5px; bottom: -2.5px;
  width: 6px;
  transform: translateX(-50%);
  background: var(--sticker);
  border-inline: 2.5px solid var(--ink);
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--rule); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: var(--measure); }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }
.fine { font-size: var(--step--1); color: var(--muted); }
.qualifier {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  width: fit-content;
}
.qualifier .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--good);
  display: inline-grid; place-items: center;
  color: var(--card); font-size: 11px; font-weight: 800;
}

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
[data-page="optin"] .hero h1 { max-width: 12ch; }

/* Order feed: the page's one bold element */
.feed {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.feed-label {
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 4px;
}
.order {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 0 var(--rule);
  animation: drop 520ms cubic-bezier(.2,.8,.2,1) both;
}
.order:nth-child(2) { animation-delay: 120ms; }
.order:nth-child(3) { animation-delay: 240ms; }
.order:nth-child(4) { animation-delay: 360ms; }
.order:nth-child(5) { animation-delay: 480ms; }
.order:nth-child(6) { animation-delay: 1100ms; }
.order .bag {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
}
.order .bag svg { width: 20px; height: 20px; }
.order .what { display: flex; flex-direction: column; min-width: 0; }
.order .num { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.order .who { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.order.faded { opacity: .62; }
.order.stranger {
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1.2deg);
  margin-top: 8px;
}
.order.stranger .bag { background: var(--sticker); border-color: var(--ink); }
.order.stranger .who { white-space: normal; }
@keyframes drop {
  from { opacity: 0; translate: 0 -14px; }
  to   { opacity: 1; translate: 0 0; }
}

/* Forms */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-control);
  padding: 12px 14px;
  min-height: 50px;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #B9C1B5; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 68, 196, .18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field .error { color: var(--bad); font-size: var(--step--1); font-weight: 600; }

.choices { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice {
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-control);
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 500;
}
.choice:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  background: var(--blue);
  border: 0;
  border-radius: var(--radius-control);
  padding: 16px 26px;
  min-height: 56px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--blue-deep);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover { background: var(--blue-deep); color: #FFFFFF; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--blue-deep); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn.block { width: 100%; }

/* Lists */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 28px; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  width: 56px; height: 56px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
}
.steps li > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 6px; }
.steps p { color: var(--muted); max-width: var(--measure); }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.fit h3 { margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--good)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks.no li::before {
  background: var(--muted)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Video */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: var(--ink);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #E8ECF5; text-align: center; padding: 24px;
}
.video .placeholder strong { font-family: var(--font-display); font-size: var(--step-1); }
.video .placeholder span { font-size: var(--step--1); opacity: .8; max-width: 44ch; }

/* Proof */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.result {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.result .move { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.result .move small { font-size: var(--step--1); color: var(--muted); font-weight: 600; letter-spacing: 0; display: block; }
.result blockquote { margin: 0; color: var(--ink); }
.result .by { font-size: var(--step--1); color: var(--muted); margin-top: auto; }

/* Offer stack */
.offer { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.offer-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--rule);
}
.offer-item h3 { font-size: 1.125rem; }
.offer-item p { color: var(--muted); }

.guarantee {
  background: var(--sticker);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(22px, 4vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
}
.guarantee h3 { font-size: var(--step-2); }

.limit {
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
  font-weight: 600;
}
.limit > span:last-child { flex: 1 1 32ch; min-width: 0; }
.limit .count { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 18px;
  font-weight: 700;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 20px; color: var(--muted); max-width: var(--measure); }

/* Panels used on apply/book/confirmed */
.panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  padding: clamp(20px, 4vw, 36px);
}
.calendar-frame { min-height: 700px; }
.notice {
  border: 1.5px dashed #AEB7AA;
  border-radius: var(--radius-panel);
  padding: 24px;
  color: var(--muted);
  background: var(--card);
}
.prep { list-style: none; counter-reset: prep; padding: 0; margin: 0; display: grid; gap: 18px; }
.prep li { counter-increment: prep; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.prep li::before {
  content: counter(prep);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
}
.prep li > div { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; min-width: 0; }
.video-links { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }

.price-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: 40px 56px; color: var(--muted); font-size: var(--step--1); }
.site-foot .wrap { display: flex; flex-direction: column; gap: 14px; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot p { max-width: 90ch; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  [data-page="optin"] .hero h1 { max-width: 14ch; }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .offer-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 620px) {
  .fit, .form-row { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .steps li::before { width: 44px; height: 44px; font-size: 1.2rem; }
  .btn { width: 100%; }
  .order.stranger { transform: none; box-shadow: 4px 4px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .order { animation: none; }
  .btn { transition: none; }
}
