/* Quick Throttle landing page
   Palette lifted from the banner: orange, charcoal, the grey-blue of the thumbnail. */

:root {
  --ink:    #262523;
  --orange: #EA5B24;
  --paper:  #FBFAF8;
  --mist:   #C3CBD6;
  --mist-2: #D6DCE4;
  --muted:  #6B6863;
  --line:   var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  /* Montserrat does the work. The serif turns up twice on the whole page. */
  --serif:  "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:   Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif;
  --logo:   var(--sans);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 16.5px/1.7 var(--sans);
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; color: #fff; }

:where(a, button):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.topbar-in {
  max-width: 1120px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand-tile {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 19px/1 var(--logo);
  color: #fff; letter-spacing: -0.01em;
}
.blob {
  width: 22px; height: 22px; background: var(--orange);
  border-radius: 58% 42% 46% 54% / 52% 56% 44% 48%;
  transform: rotate(-8deg);
}
.topbar-buy {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.topbar.scrolled .topbar-buy { opacity: 1; visibility: visible; transform: none; }
.topbar-price { color: #fff; font-weight: 700; font-size: 17px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; text-align: center; text-decoration: none;
  font: 600 17px/1 var(--sans);
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn-buy { background: var(--orange); color: #fff; }
.btn-buy:hover { background: #d94e19; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-lg { display: block; width: 100%; padding: 18px 22px; font-size: 19px; font-weight: 700; }

/* ---------- shell ---------- */

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 20px 72px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 var(--ink);
}

.cover { margin: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.cover img { width: 100%; height: auto; }

.head { padding: 28px 32px 24px; border-bottom: 1px solid var(--line); }
h1 {
  margin: 0 0 12px;
  font: 700 clamp(27px, 3.9vw, 40px)/1.15 var(--sans);
  letter-spacing: -0.025em;
}
.summary { margin: 0 0 18px; max-width: 62ch; font-size: 17px; color: #3d3b38; }

.byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 15px; color: var(--muted);
}
.seller { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.avatar {
  width: 26px; height: 26px; background: var(--orange);
  border: 1px solid var(--ink);
  border-radius: 58% 42% 46% 54% / 52% 56% 44% 48%;
}
.stock { background: var(--mist-2); border: 1px solid var(--ink); padding: 3px 10px; color: var(--ink); font-weight: 500; }

/* ---------- two columns ---------- */

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; }

.desc { padding: 32px; border-right: 1px solid var(--line); min-width: 0; }
.desc > *:first-child { margin-top: 0; }

/* One of the two places the serif is allowed. */
.lede {
  font: 400 clamp(26px, 3.2vw, 34px)/1.25 var(--serif);
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.desc h2 {
  margin: 38px 0 10px;
  font: 700 20px/1.3 var(--sans);
  letter-spacing: -0.02em;
}
.desc p { margin: 0 0 16px; max-width: 68ch; }

.ticks { list-style: none; padding: 0; margin: 0 0 18px; max-width: 68ch; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 11px; height: 6px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}

.callout {
  border-left: 4px solid var(--orange);
  background: var(--mist-2);
  padding: 14px 18px;
  font-weight: 500;
}
.scarce { font-weight: 700; color: var(--orange); }
.vid-lede { font-weight: 500; }

/* ---------- videos ---------- */

/* Full width, stacked. Two side by side squeezes YouTube's own title bar. */
.videos {
  display: grid; gap: 20px;
  margin: 18px 0 8px;
}
.yt {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ink);
  background: #000;
  box-shadow: var(--shadow);
}

/* ---------- buy box ---------- */

.buy { padding: 32px 24px; }
.buy-box {
  position: sticky; top: 92px;
  background: var(--mist-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}
/* The other one. */
.price { font: 400 52px/1 var(--serif); letter-spacing: -0.02em; }
.price-note { margin: 8px 0 18px; font-size: 15px; color: var(--muted); }
.details { margin: 22px 0 0; border-top: 1px solid var(--ink); }
.details > div { padding: 12px 0; border-bottom: 1px solid rgba(38, 37, 35, .22); }
.details dt {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 3px;
}
.details dd { margin: 0; font-size: 15px; line-height: 1.45; }

.refund { margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: #3d3b38; }

/* ---------- footer ---------- */

.foot { margin-top: 28px; font-size: 15px; color: #3b3a37; }
.foot p { margin: 0 0 6px; }

/* ---------- mobile buy bar ---------- */

.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--ink);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 14px;
}
.mobile-price { color: #fff; font-weight: 700; font-size: 19px; }
.mobile-bar .btn { box-shadow: 3px 3px 0 #000; }

/* ---------- narrow ---------- */

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .desc { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 20px; }
  .buy { padding: 24px 20px; }
  .buy-box { position: static; }
  .head { padding: 24px 20px 20px; }
  .wrap { padding: 20px 14px 96px; }
  .mobile-bar { display: flex; }
  .topbar-buy { display: none; }
}

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