/* Gentian web. One ink on white, as in docs/store/DIRECTION.md section 4. No shadow, gradient, blur or glow. */
@font-face {
  font-family: "National Park";
  src: url("/fonts/NationalPark-var.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #FFFFFF;
  --ink: #45279B;
  --ink-2: #6E5BB5;
  --tint: #D9D2EF;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--ink); text-decoration-color: var(--tint); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.np { font-family: "National Park", -apple-system, sans-serif; }
.label { font-family: "National Park", -apple-system, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.small { font-size: 15px; color: var(--ink-2); }

/* top bar */
.top { border-bottom: 1px solid var(--tint); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "National Park", sans-serif; font-weight: 600; font-size: 22px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--ink); }

/* hero */
.hero { padding: 56px 0 40px; }
.hero h1 { font-family: "National Park", sans-serif; font-weight: 600; font-size: clamp(44px, 7.4vw, 92px); line-height: 1.0; letter-spacing: -.012em; margin: 14px 0 22px; }
.lede { font-size: 20px; max-width: 34em; margin: 0 0 26px; }
.store { display: inline-flex; flex-direction: column; border: 1.5px solid var(--ink); border-radius: 6px; padding: 9px 18px; line-height: 1.15; }
.store small { font-size: 12px; color: var(--ink-2); }
.store b { font-family: "National Park", sans-serif; font-weight: 600; font-size: 20px; }

/* the pass */
.pass { margin: 44px 0 0; }
.sheet { position: relative; border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; aspect-ratio: 1200 / 806; touch-action: none; cursor: ns-resize; user-select: none; -webkit-user-select: none; }
.sheet img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.sheet .lines { clip-path: inset(0 0 calc(100% - var(--p, 57%)) 0); }
.sheet .bar { position: absolute; left: 0; right: 0; top: var(--p, 57%); height: 2px; margin-top: -1px; background: var(--ink); pointer-events: none; }
.sheet .grip { position: absolute; right: 16px; top: var(--p, 57%); width: 46px; height: 30px; margin-top: -15px; border-radius: 5px; background: var(--ink); pointer-events: none; }
.sheet .grip::before, .sheet .grip::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper); top: 10px; }
.sheet .grip::after { top: 17px; }
.passnote { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.pass input[type=range] { width: 100%; margin: 14px 0 0; accent-color: var(--ink); }
.credit { margin-top: 8px; }

/* parts */
.part { border-top: 1px solid var(--tint); padding: 48px 0; }
.part .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
.part h2 { font-family: "National Park", sans-serif; font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.01em; margin: 10px 0 0; }
.part h3 { font-family: "National Park", sans-serif; font-weight: 600; font-size: 20px; margin: 26px 0 4px; }
.body > :first-child { margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tint); }
.rows li { border-bottom: 1px solid var(--tint); padding: 12px 0 12px 28px; position: relative; }
.rows li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1.5px; background: var(--ink); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; }
.prices div { border-top: 3px solid var(--ink); padding-top: 10px; }
.prices div + div { border-top-color: var(--tint); }
.prices b { display: block; font-family: "National Park", sans-serif; font-weight: 300; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.prices span { font-size: 15px; color: var(--ink-2); }

/* documents */
.doc main { padding-bottom: 56px; }
.doc-head { padding: 44px 0 10px; border-bottom: 1px solid var(--tint); margin-bottom: 8px; }
.doc-head h1 { font-family: "National Park", sans-serif; font-weight: 600; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; margin: 10px 0 12px; }
.doc main h2 { font-family: "National Park", sans-serif; font-weight: 600; font-size: 26px; margin: 34px 0 6px; }
.doc main p, .doc main ul { max-width: 42em; }
.doc main li { margin: 6px 0; }

footer { border-top: 1px solid var(--tint); padding: 26px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer nav { display: flex; gap: 18px; font-size: 15px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 36px; }
  .part .wrap, .cols2 { grid-template-columns: 1fr; gap: 14px; }
  .prices { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet.intro .lines, .sheet.intro .bar, .sheet.intro .grip { transition: clip-path .9s cubic-bezier(.2,.7,.2,1), top .9s cubic-bezier(.2,.7,.2,1); }
}
