:root {
  --paper: #f2eee6;
  --paper-2: #e8e2d6;
  --ink: #151515;
  --ink-2: #4a4741;
  --signal: #ff4f17;
  --line: rgba(21, 21, 21, 0.16);
  --wrap: 1080px;
  --pad: 20px;
  --cond: "Archivo", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 "Archivo", system-ui, -apple-system, sans-serif;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.display {
  font-family: var(--cond);
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
}

/* top bar */
.top { border-bottom: 2px solid var(--ink); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mark { font-weight: 800; font-variation-settings: "wdth" 75; letter-spacing: 0.06em; text-decoration: none; font-size: 15px; }
.top a.ig { font-size: 14px; color: var(--ink-2); text-decoration: none; }

/* buttons */
.btn {
  appearance: none; border: 2px solid var(--ink); background: var(--signal); color: var(--ink);
  font: 800 18px/1 "Archivo", sans-serif; font-variation-settings: "wdth" 85;
  text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 20px; cursor: pointer; width: 100%; box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn .p { font-variation-settings: "wdth" 100; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn.ghost { background: transparent; box-shadow: none; }

/* hero */
.hero { padding: 28px 0 44px; border-bottom: 2px solid var(--ink); }
.hero-grid { display: grid; gap: 30px; }
.hero h1 { font-size: clamp(58px, 17vw, 128px); }
.hero h1 .hl { color: var(--signal); -webkit-text-stroke: 0; }
.hero .lede { font-size: 19px; line-height: 1.5; margin: 20px 0 26px; max-width: 34ch; color: var(--ink); }
.hero .small { font-size: 14px; color: var(--ink-2); margin: 14px 0 0; }

/* tear-off calendar */
.cal { width: min(300px, 78vw); margin: 4px auto 0; position: relative; }
.cal .sheet { position: relative; background: #fff; border: 2px solid var(--ink); }
.cal .stack { position: absolute; inset: 0; border: 2px solid var(--ink); background: #fff; }
.cal .stack.s1 { transform: translate(6px, 6px); }
.cal .stack.s2 { transform: translate(12px, 12px); }
.cal .band { background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; padding: 10px 14px; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; }
.cal .rings { position: absolute; top: -9px; left: 0; right: 0; display: flex; justify-content: space-around; }
.cal .rings i { width: 8px; height: 20px; border: 2px solid var(--ink); background: var(--paper); border-radius: 4px; display: block; }
.cal .num { font-family: var(--cond); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 190px; line-height: 0.85; text-align: center; padding: 22px 0 4px; letter-spacing: -0.03em; }
.cal .lbl { text-align: center; font-weight: 700; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px; padding: 0 0 18px; }
.cal .foot { border-top: 2px dashed var(--line); display: flex; justify-content: space-between; padding: 10px 14px; font-size: 13px; color: var(--ink-2); }

/* sections */
section { padding: 56px 0; border-bottom: 2px solid var(--ink); }
h2.display { font-size: clamp(44px, 12vw, 84px); margin-bottom: 22px; }
.kicker-num { font-family: var(--cond); font-variation-settings: "wdth" 62; font-weight: 900; color: var(--signal); }

/* proof */
.proof { background: var(--ink); color: var(--paper); }
.proof .stat { font-size: clamp(76px, 25vw, 180px); color: var(--paper); }
.proof .stat small { display: block; font-size: 0.3em; line-height: 1.1; color: var(--signal); margin-top: 8px; }
.proof p { color: #cfc9bd; max-width: 40ch; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 30px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 6px; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; aspect-ratio: 9 / 16; border: 2px solid #3a3833; background: #222; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .d { font-family: var(--cond); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 64px; line-height: 0.9; text-transform: uppercase; position: relative; }
.reel .v { position: relative; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.reel .v svg { width: 16px; height: 16px; }
.reel .ph { position: relative; font-size: 12px; color: #8d877c; }

/* contents */
.toc { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.toc li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.toc .n { font-family: var(--cond); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 34px; line-height: 1; color: var(--signal); }
.toc h3 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700; }
.toc p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: 16px; }
.skillbox { margin-top: 34px; border: 2px solid var(--ink); background: #fff; }
.skillbox .head { border-bottom: 2px solid var(--ink); padding: 12px 16px; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; display: flex; justify-content: space-between; }
.skillbox .body { padding: 18px 16px 20px; }
.skillbox h3 { font-size: 24px; margin: 0 0 8px; line-height: 1.15; }
.skillbox p { margin: 0 0 12px; }
.skillbox pre { margin: 14px 0 0; background: var(--ink); color: var(--paper); padding: 14px; font: 13px/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; }
.skillbox pre b { color: var(--signal); font-weight: 400; }

/* need */
.rows { border-top: 2px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; }
.rows dd { margin: 2px 0 0; color: var(--ink-2); }

/* about */
.about { display: grid; gap: 22px; }
.about .face { width: 96px; height: 96px; border: 2px solid var(--ink); background: var(--paper-2); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); text-align: center; }
.about p { margin: 0 0 14px; max-width: 46ch; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 28px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 60ch; }

/* final */
.final { background: var(--signal); }
.final .btn { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 rgba(0,0,0,.25); border-color: var(--ink); }
.final .price { font-family: var(--cond); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 96px; line-height: 1; margin: 6px 0 18px; }
.final .price s { font-size: 0.4em; opacity: 0.6; }
.final ul { margin: 0 0 26px; padding: 0 0 0 18px; }
.final li { margin: 4px 0; }

footer { padding: 30px 0 120px; font-size: 14px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* sticky buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--paper); border-top: 2px solid var(--ink); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform 0.2s; }
.buybar.on { transform: none; }
.buybar .btn { padding: 16px 18px; box-shadow: none; }

/* checkout sheet */
dialog.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 520px; background: var(--paper); color: var(--ink); border-top: 2px solid var(--ink); }
dialog.sheet::backdrop { background: rgba(21, 21, 21, 0.55); }
.sheet form { padding: 22px var(--pad) calc(24px + env(safe-area-inset-bottom)); }
.sheet .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 18px; }
.sheet .row strong { font-size: 18px; line-height: 1.25; }
.sheet .row span { font-weight: 800; font-size: 22px; white-space: nowrap; }
label.f { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
input.f { width: 100%; font: 400 18px "Archivo", sans-serif; padding: 15px 14px; border: 2px solid var(--ink); background: #fff; border-radius: 0; color: var(--ink); }
input.f:focus { outline: 3px solid var(--signal); outline-offset: 0; }
.hint { font-size: 13px; color: var(--ink-2); margin: 8px 0 18px; }
.err { color: #b3260a; font-size: 14px; font-weight: 700; min-height: 1em; margin: 10px 0 0; }
.x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); }

/* plain pages */
.page { padding: 40px 0 70px; }
.page h1 { font-size: clamp(54px, 15vw, 104px); margin-bottom: 18px; }
.page h2 { font-size: 22px; margin: 34px 0 8px; }
.page p, .page li { max-width: 62ch; }
.panel { border: 2px solid var(--ink); background: #fff; margin: 26px 0; }
.panel .head { border-bottom: 2px solid var(--ink); padding: 12px 16px; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; display: flex; justify-content: space-between; gap: 10px; }
.file { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.file:last-child { border-bottom: 0; }
.file strong { display: block; font-size: 18px; }
.file small { color: var(--ink-2); font-size: 14px; }
.file .go { flex: none; border: 2px solid var(--ink); background: var(--signal); font-weight: 800; padding: 10px 14px; font-size: 14px; text-transform: uppercase; }
.spin { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: s 0.8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes s { to { transform: rotate(360deg); } }
.muted { color: var(--ink-2); }
.hidden { display: none !important; }

@media (min-width: 820px) {
  :root { --pad: 32px; }
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 48px; }
  .hero .btn { width: auto; min-width: 380px; }
  .cal { width: 340px; }
  .reels { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 36px 0 0; padding: 0; }
  .split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
  .rows > div { grid-template-columns: 220px 1fr; }
  .about { grid-template-columns: 140px 1fr; }
  .about .face { width: 140px; height: 140px; }
  .final .btn { width: auto; min-width: 380px; }
  .buybar { display: none; }
  dialog.sheet { margin: auto; border: 2px solid var(--ink); }
  footer { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
