:root {
  color-scheme: light;
  --red: #D4151C;
  --red-hover: #B81117;
  --red-brand: #EC1D25;
  --blue: #4464AD;
  --blue-deep: #2F4A87;
  --blue-tint: #EEF2FA;
  --ink: #1C2230;
  --muted: #5B6475;
  --line: #E3E1DC;
  --bg: #FFFFFF;
  --soft: #F6F4F0;
  --ok: #1E7F4F;
  --ok-tint: #E8F4EE;
  --radius: 14px;
  --display: "League Spartan", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cartbar-h: 0px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  padding-bottom: var(--cartbar-h);
}

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 16px; }

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

/* Draft banner */
.draft-banner {
  background: #FFF4CC;
  color: #5C4A00;
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 16px;
  text-align: center;
}

/* Top bar */
.topbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo img { height: 44px; width: auto; }
.logo-text { font: 700 20px/1 var(--display); color: var(--red-brand); }
.call {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--blue); border-radius: 999px;
  color: var(--blue); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.call:hover { background: var(--blue-tint); }

/* Hero */
.hero { background: var(--blue); color: #fff; padding: 28px 0 30px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.hero h1 { font-size: clamp(34px, 9vw, 48px); margin: 8px 0 12px; letter-spacing: -.01em; }
.lede { font-size: 18px; max-width: 34ch; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li {
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 5px 10px; border-radius: 999px;
}

/* Steps */
.steps { padding-top: 24px; padding-bottom: 8px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps .num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; font: 700 15px/30px var(--display); text-align: center;
}
.steps p { color: var(--muted); font-size: 15px; }

/* Packages */
.packages { padding-top: 24px; }
.packages > h2 { font-size: 28px; margin-bottom: 14px; }
.more-heading { font-size: 20px; margin: 28px 0 12px; }
.pkg-list { display: grid; gap: 14px; }

.pkg {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px; background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.pkg.in-cart { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.pkg.highlight { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }

.pkg { overflow: hidden; }
.pkg-photo {
  display: block; width: calc(100% + 32px); max-width: none; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft);
  margin: -16px -16px 14px;
}
.pkg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pkg-head h3 { font-size: 20px; }
.pkg-size { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pkg-price { font: 700 24px/1 var(--display); color: var(--ink); white-space: nowrap; padding-top: 2px; }
.pkg-blurb { margin-top: 8px; color: var(--muted); font-size: 15px; }
.pkg-days { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--blue-deep); }

.choice { border: 0; padding: 0; margin: 14px 0 0; }
.choice legend, .addons legend { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 0; min-width: 96px; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 10px;
  font-weight: 600; font-size: 15px; text-align: center; line-height: 1.2; background: var(--bg);
}
.seg small { font-weight: 500; font-size: 12px; color: var(--muted); }
.seg input:checked + span { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-deep); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.seg input:disabled { cursor: not-allowed; }
.seg input:disabled + span { color: #A3A8B3; background: var(--soft); border-style: dashed; }

.includes { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.includes summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--blue-deep); min-height: 32px; display: flex; align-items: center; }
.includes ul { margin: 6px 0 0; padding-left: 0; list-style: none; display: grid; gap: 4px; }
.includes li { font-size: 15px; padding-left: 22px; position: relative; }
.includes li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.addons { border: 0; padding: 0; margin: 14px 0 0; }
.addon { display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--line); padding: 6px 0; }
.addon:first-of-type { border-top: 0; }
.addon input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--blue); margin: 0; }
.addon-label { flex: 1; font-size: 15px; }
.addon-price { font-weight: 600; font-size: 15px; white-space: nowrap; }
.addon.disabled .addon-label, .addon.disabled .addon-price { color: #A3A8B3; }
.tbd { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #8A6D00; background: #FFF4CC; padding: 2px 6px; border-radius: 6px; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.stepper button { width: 40px; height: 40px; border: 0; background: var(--soft); font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; }
.stepper button:disabled { color: #C2C6CE; cursor: not-allowed; }
.stepper output { min-width: 32px; text-align: center; font-weight: 700; }

.pkg-foot { margin-top: 16px; }
.pkg-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.nudge { margin-top: 12px; background: var(--ok-tint); color: #155C39; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.incart { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ok); font-weight: 700; min-height: 48px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-weight: 500; cursor: pointer; min-height: 44px; padding: 0 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border: 0; border-radius: 12px;
  font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-primary:disabled { background: #E6A3A6; cursor: progress; }
.btn-outline { background: var(--bg); color: var(--blue-deep); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-tint); }
.btn-block { width: 100%; }

.packages.locked { opacity: .6; }

/* Add a room */
.room { margin-top: 14px; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.room-text { flex: 1; }
.room-text strong { display: block; }
.room-text span { color: var(--muted); font-size: 14px; }
.room.disabled .room-text { opacity: .55; }

/* Promise */
.promise { padding-top: 28px; }
.promise-card { background: var(--soft); border-left: 4px solid var(--red-brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; }
.promise-card h2 { font-size: 20px; margin-bottom: 6px; }
.promise-card p { font-size: 15px; color: #3A4252; }

/* Order */
.order { padding-top: 32px; padding-bottom: 32px; scroll-margin-top: 12px; }
.order > h2 { font-size: 28px; margin-bottom: 12px; }
.summary { background: var(--soft); border-radius: var(--radius); padding: 16px; }
.summary-empty { color: var(--muted); }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.line .what { flex: 1; }
.line .what small { display: block; color: var(--muted); font-size: 13px; }
.line .amt { font-weight: 600; white-space: nowrap; }
.line.sub { padding-left: 14px; font-size: 15px; }
.line.save { color: var(--ok); }
.line.total { border-top: 1.5px solid var(--line); margin-top: 8px; padding-top: 12px; font: 700 22px/1.2 var(--display); }
.summary .nudge { margin-top: 10px; }

.order-form { margin-top: 24px; display: grid; gap: 14px; }
.order-form h3 { font-size: 20px; }
.order-form[hidden] { display: none; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #CFCCC5; border-radius: 10px; background: #fff;
  font: 16px/1.4 var(--body); color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid var(--blue-tint); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--blue); }
.form-error { color: var(--red); font-weight: 600; font-size: 15px; }
.pay-note { text-align: center; color: var(--muted); font-size: 14px; }

.thanks { margin-top: 20px; background: var(--ok-tint); border-radius: var(--radius); padding: 20px; }
.thanks:focus { outline: none; }
.thanks h3 { font-size: 24px; color: #155C39; margin-bottom: 8px; }
.thanks p + p { margin-top: 10px; }
.thanks .btn { margin-top: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--muted); font-size: 13px; }
.footer p + p { margin-top: 8px; }

/* Sticky cart bar */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(28,34,48,.08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.cartbar[hidden] { display: none; }
.cartbar-inner { max-width: 648px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cartbar-text { display: grid; }
.cartbar-count { font-size: 13px; color: var(--muted); }
.cartbar-total { font: 700 22px/1.1 var(--display); }

@media (min-width: 720px) {
  .hero { padding: 44px 0 46px; }
  .steps ol { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps li { flex-direction: column; gap: 8px; }
}
