:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --card: #f2f4f7;
  --text: #0b0f14;
  --muted: #475467;
  --line: #e5e7eb;
  --accent: #5e5ce6;
  --amber: #ff9f0a;
  --shadow: 0 18px 50px rgba(11, 15, 20, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 68rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}

h1 { font-size: clamp(3.1rem, 7vw, 5.4rem); }

h2 { font-size: clamp(2.1rem, 4vw, 3.15rem); }

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--text);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus { top: 1rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.4rem;
  background: rgba(248, 249, 251, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.brand img,
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-links a:hover { color: var(--text); }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--text);
  overflow: hidden;
  background: #2a241c;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 249, 251, 0) 42%, rgba(248, 249, 251, 0.55) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: min(40rem, calc(100% - 2rem));
  margin: 0 1rem 1.25rem;
  padding: 1.25rem 1.15rem 1.15rem;
  background: rgba(248, 249, 251, 0.94);
  border-radius: 1.15rem;
}

.hero h1 {
  font-size: clamp(2.45rem, 11vw, 3.2rem);
}

.hero .eyebrow { color: var(--accent); }

.lede {
  font-size: 1.25rem;
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
  padding: 0.55rem 0.95rem 0.55rem 0.75rem;
  border-radius: 0.7rem;
  background: #0b0f14;
  color: #f8f9fb;
  text-decoration: none;
}

.store-badge-compact {
  margin-top: 0;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border-radius: 0.55rem;
}

.store-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  opacity: 0.82;
}

.store-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.store-badge-compact .store-name { font-size: 0.92rem; }

.store-badge[aria-disabled="true"] { cursor: default; }

.band { padding: 5.2rem 1.4rem; }

.band-alt { background: var(--surface); }

.wrap { max-width: var(--wrap); margin: 0 auto; }

.narrow { max-width: 40rem; }

.section-lead { max-width: 38rem; color: var(--muted); }

.split {
  display: grid;
  gap: 2.2rem;
}

.ways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ways li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
}

.band-alt .ways li { background: var(--bg); }

.way-label {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.way-detail { color: var(--muted); }

.packs {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.packs li {
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 1.4rem 1.35rem 1.3rem;
  box-shadow: var(--shadow);
}

.packs h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.pack-count {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.9;
  margin: 0;
}

.pack-unit {
  margin: 0.25rem 0 0.8rem;
  color: var(--muted);
}

.pack-price {
  margin: 0 0 0.55rem;
  font-weight: 600;
  color: var(--accent);
}

.pack-detail,
.fine {
  color: var(--muted);
  font-size: 0.98rem;
}

.fine { margin-top: 1.2rem; }

form {
  display: grid;
  gap: 0.35rem;
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.3rem;
}

label {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 0.7rem;
  padding: 0.75rem 0.8rem;
  font: inherit;
}

textarea { resize: vertical; min-height: 8rem; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

button {
  margin-top: 0.8rem;
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
}

button:disabled { opacity: 0.65; cursor: progress; }

.form-status { min-height: 1.4rem; margin: 0.4rem 0 0; }

.form-status.is-success { color: #1f7a3a; }

.form-status.is-error { color: #b42318; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding: 1.6rem 1.4rem 2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer p { margin: 0; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.footer a {
  color: var(--muted);
  margin-right: 1rem;
}

@media (max-width: 799px) {
  .hero { min-height: 100svh; }
  .lede { font-size: 1.08rem; }
  .hero-photo { object-position: 68% 70%; }
}

@media (min-width: 800px) {
  .hero { align-items: center; min-height: 100vh; background: var(--bg); }

  .hero-copy {
    width: clamp(22rem, 40vw, 40rem);
    margin-left: max(3.5rem, calc((100vw - 72rem) / 2));
    margin-right: 0;
    margin-bottom: 0;
    padding: 0;
    background: none;
    border-radius: 0;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 2.4rem + 1.5vw, 4.75rem);
  }

  .hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(248, 249, 251, 0.96) 0%,
      rgba(248, 249, 251, 0.9) min(32rem, 34%),
      rgba(248, 249, 251, 0.35) min(48rem, 52%),
      rgba(248, 249, 251, 0) min(60rem, 68%)
    );
  }

  .hero h1,
  .hero .lede {
    color: var(--text);
    text-shadow: none;
  }

  .split { grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: 3.5rem; }

  #shape.split { grid-template-columns: 1fr 1fr; }

  .packs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
