@font-face {
  font-family: Figtree;
  src: url("media/Figtree-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("media/Figtree-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("media/Figtree-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #171614;
  --ink-soft: #22211f;
  --paper: #f5f0e5;
  --muted: #5c5349;
  --light-muted: #d2c8b9;
  --line: #cfc5b3;
  --dark-line: #49413a;
  --red: #ff3b30;
  --red-text: #b5261d;
  --red-light: #ff796d;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.55 Figtree, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sales { background: var(--ink); color: var(--paper); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; }
h1, h2 { letter-spacing: -.045em; line-height: .99; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #3865e9; outline-offset: 4px; }
.sales :focus-visible, .download :focus-visible { outline-color: #ffbcae; }
.shell { width: min(1190px, calc(100% - 96px)); margin-inline: auto; }

.masthead { border-bottom: 1px solid var(--line); }
.sales .masthead { border-color: var(--dark-line); }
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
}
.sales .masthead-inner { justify-content: center; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: var(--red);
  color: var(--ink);
  font-size: 23px;
  letter-spacing: 0;
}
.version { color: var(--red-text); font-size: .77em; }
.sales .version { color: var(--red-light); }
.mast-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: .89rem;
  font-weight: 800;
  text-decoration: none;
}
.mast-link:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow, .stage-meta, .download-meta, .step-number {
  font: 700 .75rem/1.35 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--red-text); }
.sales-copy .eyebrow { justify-content: center; color: var(--red-light); }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 58px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: var(--red);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}
.cta:hover { background: #ff786b; transform: translateY(-2px); }
.cta:active { transform: none; }
.cta-price {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  background: var(--ink);
  color: var(--paper);
  font: 700 .87rem/1 var(--mono);
  white-space: nowrap;
}

.sales-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  padding-block: 24px 38px;
}
.sales-copy { width: 100%; text-align: center; }
.sales-copy h1 {
  max-width: 24ch;
  margin: 12px auto 10px;
  font-size: clamp(34px, 6vw, 55px);
  line-height: 1;
  text-wrap: balance;
}
.sales-copy h1 em { color: var(--red-light); font-style: normal; white-space: nowrap; }
.hero-caption { color: var(--light-muted); }
.keep-together { white-space: nowrap; }
.sales-action { width: min(100%, 420px); margin: 15px auto 0; }
.sales-action .cta { width: 100%; border-color: var(--red); }
.checkout-status, .delivery-note { margin-top: 8px; font-size: .86rem; }
.checkout-status { color: var(--light-muted); }

.demo-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 13px;
  overflow: hidden;
  isolation: isolate;
  width: min(100%, 420px);
  padding: 14px 17px 15px;
  border: 1px solid var(--dark-line);
  background:
    repeating-linear-gradient(0deg, #f5f0e50f 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, #f5f0e50f 0 1px, transparent 1px 24px),
    var(--ink-soft);
}
.demo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #a92d24;
  clip-path: polygon(0 63%, 100% 15%, 100% 48%, 0 96%);
}
.stage-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  color: var(--light-muted);
}
.stage-meta > span:first-child { display: flex; align-items: center; gap: 7px; }
.demo {
  position: relative;
  isolation: isolate;
  width: min(100%, 285px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid #e9dfcd75;
  border-radius: 13px;
  background: #151618;
  box-shadow: 0 15px 32px #080706a6;
}
.demo video { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: linear-gradient(transparent, #110e143b);
  color: #fffaf4;
  font-size: .86rem;
  font-weight: 800;
  text-shadow: 0 2px 7px #0a060b;
  cursor: pointer;
}
.demo-play:focus-visible { outline-offset: -6px; }
.play-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #ffe1db;
  border-radius: 50%;
  background: var(--red);
  color: var(--ink);
  box-shadow: 0 0 0 5px #ff3b3038, 0 6px 24px #120c15a6;
  transition: transform .16s ease;
}
.play-icon svg { width: 25px; height: 25px; }
.demo-play:hover .play-icon { transform: scale(1.08); }
.demo-stage figcaption { width: 100%; font-size: .92rem; font-weight: 800; }
.demo-stage figcaption span { margin-right: 7px; color: var(--light-muted); font: 700 .68rem/1.3 var(--mono); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 21px 27px;
  color: var(--muted);
  font-size: .86rem;
}
.footer a { text-decoration: none; }

.thanks-main { width: min(1060px, calc(100% - 96px)); }
.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: 26px 45px;
  padding-block: 43px 38px;
  border-bottom: 2px solid var(--ink);
}
.welcome h1 { margin-top: 13px; font-size: clamp(48px, 6.8vw, 89px); letter-spacing: -.05em; }
.welcome h1 em { display: block; color: var(--red-text); font-style: normal; }
.intro { max-width: 43ch; margin-top: 15px; color: var(--muted); font-size: 1.08rem; }
.download {
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 7px 7px 0 var(--red);
}
.download-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--light-muted); }
.download-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-block: 15px 10px;
  border: 1px solid #ff796d9e;
  color: var(--red-light);
  font-size: 28px;
  line-height: 1;
}
.download h2 { font-size: clamp(27px, 3.2vw, 41px); overflow-wrap: anywhere; }
.download p { margin-top: 6px; color: var(--light-muted); }
.download .cta { width: 100%; margin-top: 13px; border-color: var(--red); }
.download .delivery-note { margin-top: 9px; }

.section-heading { margin-block: 33px 15px; }
.section-heading h2, .packs > h2 { margin-top: 8px; font-size: clamp(36px, 5vw, 63px); }
.steps, .guide-frames, .pack-list, .notes ul { margin: 0; padding: 0; list-style: none; }
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 15px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.step-number {
  display: grid;
  place-items: center;
  align-self: start;
  width: 48px;
  height: 42px;
  border: 1px solid var(--red-text);
  color: var(--red-text);
  font-size: 1.05rem;
}
.step h2, .notes h2, .help h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; }
.step p, .packs > p:not(.eyebrow), .pack p, .notes p, .notes li, .help p { margin-top: 7px; color: var(--muted); }
code { color: var(--ink); font: 500 .84em/1.5 var(--mono); overflow-wrap: anywhere; }

.guide { margin-top: 13px; padding: 15px; border: 1px solid var(--line); background: #eee6d8; }
.guide h3 { font-size: 1.07rem; }
.guide h3:not(:first-child) { margin-top: 21px; }
.guide > p { font-size: .9rem; }
.guide-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 13px;
}
.guide-frames li { border: 1px solid var(--line); background: var(--paper); }
.guide-frames img { width: 100%; background: var(--ink); }
.guide-frames figcaption { padding: 10px 12px 12px; font-size: .9rem; }
.guide-frames figcaption strong { font-weight: 800; }
.guide-frames figcaption strong span { color: var(--red-text); font: 700 .74rem/1 var(--mono); }
.guide-frames figcaption p { margin-top: 3px; line-height: 1.35; }
.guide-route { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.guide-route > * { padding: 3px 8px; border: 1px solid var(--line); background: var(--paper); font-size: .78rem; }
.guide-route strong { color: var(--red-text); }

details { margin-top: 13px; padding-top: 9px; border-top: 1px solid var(--line); }
summary { width: fit-content; cursor: pointer; font-weight: 700; }
details p { font-size: .92rem; }
.prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 5px 5px 5px 10px;
  border: 1px solid var(--line);
  background: #eee6d8;
}
.copy {
  flex: none;
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.copy:hover { background: #483b33; }

.packs { margin-top: 40px; }
.pack-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.pack { display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); padding: 15px; }
.pack h3 { color: var(--red-text); font-size: 1.04rem; }
.pack p { font-size: .92rem; }
.notes, .help { margin-top: 14px; padding: 21px; border: 1px solid var(--line); }
.packs + .notes { margin-top: 34px; }
.notes ul { margin-top: 10px; }
.notes li { position: relative; padding-left: 16px; }
.notes li::before { position: absolute; top: .63em; left: 0; width: 6px; height: 6px; background: var(--red); content: ""; }
.help { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.help p { color: var(--light-muted); }

@media (max-width: 950px) {
  .shell, .thanks-main { width: calc(100% - 56px); }
  .pack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .shell, .thanks-main { width: calc(100% - 36px); }
  .masthead-inner { min-height: 59px; }
  .wordmark { font-size: 22px; }
  .brand-mark { width: 28px; height: 28px; font-size: 21px; }
  .welcome { grid-template-columns: 1fr; }
  .sales-hero { gap: 14px; padding-block: 18px 25px; }
  .demo-stage { padding: 11px; }
  .demo { width: min(100%, 252px); }
  .welcome { gap: 20px; padding-block: 26px 25px; }
  .download { margin-right: 6px; }
  .step { grid-template-columns: 35px minmax(0, 1fr); gap: 9px; padding-block: 17px; }
  .step-number { width: 34px; height: 33px; font-size: .88rem; }
  .guide { margin-left: -44px; padding: 9px; }
  .guide-frames { grid-template-columns: 1fr; }
  .pack-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
