:root {
  color-scheme: dark;
  --background: #0e130b;
  --panel: #161e12;
  --surface: #202b18;
  --ink: #f8f9ec;
  --muted: #bac4ae;
  --line: #343f2b;
  --lime: #dce932;
  --green: #60c45b;
  --brand-gradient: linear-gradient(160deg, #f1ef2d 8%, #c3dd30 47%, #50bc54 87%);
  --button-gradient: linear-gradient(105deg, #e9ed36, #bddc38 63%, #8ed756);
  --sans: "Instrument Sans", Arial, Helvetica, sans-serif;
  --display: "Barlow Condensed", "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.inner { width: min(1216px, calc(100% - 112px)); margin-inline: auto; }

.header { border-bottom: 1px solid var(--line); background: #11170f; }
.header-content { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark, .footer-brand { font-family: var(--display); font-weight: 900; letter-spacing: -.085em; }
.wordmark {
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
  text-decoration: none;
  color: var(--lime);
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-edition, .eyebrow, figcaption, .price-label, .preview-label {
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.header-edition { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.header-edition span { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.header-link {
  min-height: 42px;
  border: 1px solid #56634a;
  border-radius: 999px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-link:hover { border-color: var(--lime); color: var(--lime); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "copy cover" "purchase cover";
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 29px clamp(32px, 6.1vw, 93px);
  padding-block: clamp(36px, 5.7vw, 79px);
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 28% 50%, #65831919, transparent 68%);
}
.hero-copy { grid-area: copy; align-self: end; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #d9e699; }
.eyebrow span { width: 22px; height: 2px; background: var(--lime); }
h1 {
  font-family: var(--display);
  font-size: clamp(5.4rem, 10.6vw, 10rem);
  font-weight: 900;
  line-height: .79;
  letter-spacing: -.087em;
  text-transform: uppercase;
}
h1 em {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: .19em .09em 0 0;
  font-style: normal;
  color: var(--lime);
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro { max-width: 375px; margin-top: 27px; color: var(--muted); font-size: clamp(1rem, 1.43vw, 1.16rem); line-height: 1.56; }

.cover { grid-area: cover; align-self: center; min-width: 0; }
.cover-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 53% 40%, #8aaf3c 0%, #526e25 33%, transparent 67%),
    linear-gradient(145deg, #384c22 0%, #1a3017 60%, #122111 100%);
  border: 1px solid #657942;
  border-radius: 26px;
  padding: clamp(22px, 3.8vw, 52px);
  box-shadow: 0 22px 49px #0609034d;
}
.cover-stage::before, .cover-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid #d9ed9466;
  border-radius: 50%;
  width: 106%;
  aspect-ratio: 1 / 1.36;
  transform: rotate(28deg);
}
.cover-stage::after { width: 126%; transform: rotate(33deg); border-color: #d9ed9430; }
.cover-frame {
  width: min(100%, 354px);
  background: #ead6b2;
  border: 1px solid #fff0c87a;
  padding: 3px;
  box-shadow: 10px 21px 38px #090d05b0, 2px 4px 8px #10190a94;
}
.cover img { display: block; width: 100%; height: auto; }
figcaption { display: flex; justify-content: space-between; gap: 10px; margin: 15px 2px 0; color: var(--muted); }

.purchase {
  grid-area: purchase;
  width: min(100%, 475px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: linear-gradient(147deg, #242f1d, #171f13);
  padding: 22px;
  scroll-margin-top: 20px;
}
.price-row { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 16px; }
.price-label { margin-bottom: 6px; color: var(--muted); }
.price { font-size: clamp(2rem, 3.1vw, 2.75rem); font-weight: 850; line-height: 1; letter-spacing: -.07em; white-space: nowrap; }
.single-payment { margin-bottom: 3px; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.buy-button {
  min-height: 60px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--button-gradient);
  color: #11180a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px 7px 21px;
  text-align: left;
  font-size: .94rem;
  font-weight: 850;
  box-shadow: 0 6px 24px #b8df2726;
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.buy-button:hover { box-shadow: 0 8px 26px #c4e33a52; transform: translateY(-2px); }
.buy-button:active { transform: translateY(0); }
.button-icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #172410;
  color: #eff47d;
}
.arrow { position: relative; display: inline-block; flex: 0 0 13px; width: 13px; height: 13px; }
.arrow::before { content: ""; position: absolute; inset: 1px 1px auto auto; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { content: ""; position: absolute; width: 13px; top: 6px; right: 0; border-top: 1.5px solid; transform: rotate(-45deg); }
.delivery { display: flex; align-items: flex-start; gap: 9px; margin: 12px 2px 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.mail-icon { flex: 0 0 14px; height: 10px; margin-top: 3px; border: 1px solid currentColor; border-radius: 2px; position: relative; overflow: hidden; }
.mail-icon::before { content: ""; width: 8px; height: 8px; border-right: 1px solid; border-bottom: 1px solid; position: absolute; transform: rotate(45deg); left: 2px; top: -5px; }

.footer { border-top: 1px solid var(--line); background: #11170f; }
.footer-content { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .73rem; }
.footer-brand { color: var(--lime); font-size: 1.15rem; }

dialog {
  padding: 0;
  border: 1px solid #586348;
  border-radius: 25px;
  width: min(calc(100% - 28px), 500px);
  max-height: calc(100% - 28px);
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 40px 100px #020400ba;
}
dialog::backdrop { background: #040703cc; backdrop-filter: blur(5px); }
.dialog-content { position: relative; padding: 30px; }
.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 42px;
  min-height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}
.close-button:hover, .back-button:hover { border-color: var(--lime); color: var(--lime); }
.preview-label { padding-right: 40px; color: #d9e699; }
h2 { margin: 11px 0 20px; font-size: clamp(1.75rem, 6vw, 2.45rem); line-height: 1.05; letter-spacing: -.06em; }
.order-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  font-size: .86rem;
}
.order-line img { display: block; width: 48px; height: auto; border-radius: 4px; }
.order-line span { display: block; margin-top: 5px; font-size: .71rem; color: var(--muted); }
.order-line > strong { white-space: nowrap; }
.dialog-note, .confirmation p { margin: 16px 0; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.confirmation h3 { margin-top: 20px; color: var(--lime); font-size: 1.05rem; }
.back-button { display: block; width: 100%; min-height: 48px; background: transparent; color: var(--ink); border: 1px solid #56634a; border-radius: 999px; font-weight: 750; }

@media (max-width: 980px) {
  .inner { width: calc(100% - 72px); }
  .hero { column-gap: 30px; }
  h1 { font-size: clamp(4.5rem, 11vw, 7rem); }
  .cover-stage { padding: clamp(20px, 4vw, 34px); }
}
@media (max-width: 690px) {
  .inner { width: calc(100% - 36px); }
  .header-content { min-height: 64px; gap: 10px; }
  .header-edition { display: none; }
  .header-link { min-height: 39px; gap: 7px; padding-inline: 11px; font-size: .7rem; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "copy" "cover" "purchase";
    gap: 23px;
    padding-block: 29px 32px;
  }
  .hero-copy, .cover, .purchase { width: min(100%, 490px); margin-inline: auto; }
  .eyebrow { margin-bottom: 13px; }
  h1 { font-size: clamp(3.45rem, 13.2vw, 6.3rem); white-space: nowrap; }
  h1 em { display: inline-block; }
  .intro { margin-top: 15px; }
  .cover-stage { padding: 20px; border-radius: 19px; }
  .cover-frame { width: min(82%, 290px); }
  figcaption { margin-top: 10px; font-size: .6rem; letter-spacing: .12em; }
  .purchase { padding: 17px; border-radius: 19px; }
  .footer-content { min-height: 58px; font-size: .66rem; }
  .dialog-content { padding: 23px 17px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
