/* RUN IT DOWN — the legal pad on the music stand.
   Canary pad, blue rules, red margin, matte gaffer tape, paint-marker white. */

@font-face { font-family: "Big Shoulders"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/fonts/big-shoulders.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/plex-cond-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/plex-cond-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/plex-cond-600.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/plex-cond-700.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/plex-mono-600.woff2) format("woff2"); }

:root {
  --pad: #F6E05E;
  --pad-deep: #EFD440;
  --rule: #0072B2;
  --rule-faint: rgba(0, 114, 178, .30);
  --margin: #D55E00;
  --tape: #18181B;
  --paper: #F5F2EA;
  --ink: #18181B;
  --soft-ink: #3F3B2C;
  --gap: 32px;                 /* line spacing of the pad */
  --gutter: 18px;
  --mx: 14px;                  /* where the red margin sits */
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; }
body {
  min-height: 100vh;
  background-color: var(--pad);
  background-image: repeating-linear-gradient(180deg, transparent 0 calc(var(--gap) - 1px), var(--rule-faint) calc(var(--gap) - 1px) var(--gap));
  background-position: 0 6px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
/* the red double margin line */
body::before {
  content: "";
  position: fixed; top: 0; bottom: 0;
  left: max(var(--mx), calc(50vw - 600px));
  width: 6px;
  border-left: 2px solid var(--margin);
  border-right: 2px solid var(--margin);
  opacity: .78;
  pointer-events: none;
  z-index: 0;
}
main, header.bar, footer.foot { position: relative; z-index: 1; }

a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--rule); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: calc(var(--mx) + 6px + var(--gutter) - 4px);
  padding-right: var(--gutter);
}
@media (min-width: 760px) {
  :root { --gutter: 32px; --mx: 26px; }
  body { font-size: 19px; }
}
@media (min-width: 1240px) {
  .wrap { padding-left: 48px; }
}

/* ---------- gaffer tape ---------- */
.tape {
  --tc: var(--tape);
  --tt: var(--paper);
  display: inline-block;
  background-color: var(--tc);
  background-image:
    linear-gradient(172deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 38%),
    repeating-linear-gradient(118deg, rgba(255,255,255,.035) 0 2px, transparent 2px 6px);
  color: var(--tt);
  clip-path: polygon(0 4%, 100% 0, calc(100% - 7px) 20%, 100% 38%, calc(100% - 5px) 58%, 100% 76%, calc(100% - 6px) 92%, 100% 100%, 0 100%, 6px 84%, 0 66%, 5px 46%, 0 28%, 7px 12%);
  padding: .14em .5em .1em .42em;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1;
}
.tape.t2 { clip-path: polygon(0 0, 100% 3%, calc(100% - 5px) 24%, 100% 44%, calc(100% - 7px) 66%, 100% 88%, 100% 100%, 0 97%, 5px 78%, 0 58%, 7px 36%, 0 18%); }
.tape.blue  { --tc: var(--rule); --tt: var(--paper); }
.tape.white { --tc: var(--paper); --tt: var(--ink); }
.tape.red   { --tc: var(--margin); --tt: var(--ink); }
.tape.yellow{ --tc: var(--pad); --tt: var(--ink); }
.shadow { filter: drop-shadow(0 2px 0 rgba(24,24,27,.18)) drop-shadow(0 6px 10px rgba(24,24,27,.18)); }

/* ---------- top band ---------- */
header.bar {
  background: var(--tape);
  color: var(--paper);
  background-image: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 60%);
  box-shadow: 0 3px 0 rgba(24,24,27,.15);
}
header.bar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px;
  padding-left: var(--gutter);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .04em;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }
header.bar nav { display: flex; gap: 4px; }
header.bar nav a {
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding: 10px 8px; color: var(--paper); opacity: .86;
}
header.bar nav a:hover, header.bar nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--pad); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- hero ---------- */
.hero { padding: 30px 0 18px; }
.hero-grid { display: grid; gap: 26px; }
.hero-top { display: flex; align-items: flex-start; gap: 18px; }
.app-icon {
  position: relative; flex: 0 0 auto;
  width: 104px; height: 104px;
  transform: rotate(-3deg);
  margin-top: 6px;
}
.app-icon img { width: 100%; height: 100%; border-radius: 23%; box-shadow: 0 2px 0 rgba(24,24,27,.25), 0 12px 22px rgba(24,24,27,.22); }
.app-icon::after {
  content: ""; position: absolute; top: -9px; left: 50%; width: 56px; height: 20px; margin-left: -28px;
  background: rgba(245,242,234,.86);
  clip-path: polygon(0 10%, 100% 0, 96% 50%, 100% 100%, 0 92%, 4% 48%);
  transform: rotate(4deg);
}
.wordmark { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: clamp(64px, 19vw, 132px); }
.wordmark .tape { font-weight: 900; padding: .06em .32em .02em .2em; }
.wordmark .tape:nth-child(2) { margin-left: .06em; }
.kicker {
  margin: 16px 0 0;
  font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--rule);
}
.pitch { margin: 10px 0 0; font-size: 21px; line-height: 1.45; font-weight: 500; max-width: 33ch; }
.pitch strong { font-weight: 700; }
.cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 26px; padding: 15px 26px 13px 22px;
  text-decoration: none;
}
.store svg { width: 24px; height: 24px; flex: 0 0 auto; }
.store:hover { --tc: #000; }
.price-note { margin: 0; font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.price-note b { background: var(--paper); padding: 1px 6px; white-space: nowrap; }
.price-note span { white-space: nowrap; }

/* ---------- THE LINE card ---------- */
.card {
  position: relative;
  background: var(--paper);
  padding: 20px 18px 18px;
  box-shadow: 0 1px 0 rgba(24,24,27,.12), 0 10px 22px rgba(24,24,27,.14);
}
.card .corner {
  position: absolute; top: -10px; width: 64px; height: 22px; background: var(--tape);
  clip-path: polygon(0 12%, 100% 0, 94% 50%, 100% 100%, 0 90%, 6% 50%);
}
.card .corner.l { left: -12px; transform: rotate(-24deg); }
.card .corner.r { right: -4px; transform: rotate(22deg); }
@media (min-width: 760px) { .card .corner.r { right: -12px; } }
.label {
  margin: 0 0 6px;
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: #6B6656;
}
.head-line { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(54px, 15vw, 76px); line-height: .95; letter-spacing: -.005em; }
.sub-line { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--mono); font-size: 14px; color: var(--soft-ink); }
.chip { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .06em; background: var(--pad); color: var(--ink); padding: 3px 8px 2px; text-transform: uppercase; }
.the-line {
  margin: 14px 0 0;
  font-family: var(--mono); font-weight: 600; font-size: 17px; line-height: 1.7; word-spacing: -.08em;
  letter-spacing: .01em; text-transform: uppercase;
}
.the-line .tok { white-space: nowrap; }
.the-line .now { background: var(--tape); color: var(--paper); padding: 1px 4px; }

/* ---------- THE STRIPS ---------- */
.section-title {
  display: inline-block; margin: 0 0 18px;
  font-family: var(--display); font-weight: 900; font-size: 34px; letter-spacing: .02em; text-transform: uppercase; line-height: 1;
  padding-bottom: 6px; border-bottom: 5px solid var(--rule);
}
.strips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.strips li { display: grid; grid-template-columns: 1fr 52px; align-items: center; gap: 10px; }
.strip {
  width: calc(32% + var(--bars) * 4.25%);
  max-width: 100%;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 28px; padding: 10px 14px 8px 14px;
}
.strip b { font-size: 34px; font-weight: 900; }
.strip small { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; opacity: .85; }
.grp { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--soft-ink); line-height: 1.2; }
.grp span {
  display: block; margin: 0 auto 3px; width: 30px; height: 30px; line-height: 27px;
  border: 2px solid var(--ink); border-radius: 6px;
  font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); background: rgba(245,242,234,.5);
}

/* ---------- blocks ---------- */
.block { padding: 34px 0; }
.demo-grid { display: grid; gap: 34px; }
.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
.feature {
  position: relative;
  background: rgba(245, 242, 234, .86);
  border-top: 4px solid var(--ink);
  padding: 16px 16px 18px;
}
.feature h3 { margin: 0 0 10px; font-size: 27px; }
.feature h3 .tape { padding: 8px 14px 6px; }
.feature p { margin: 0; font-size: 18px; line-height: 1.5; }
.feature .alt { font-family: var(--mono); font-size: 14px; font-weight: 600; display: block; margin-top: 10px; color: var(--soft-ink); }
.kbd { font-family: var(--display); font-weight: 800; letter-spacing: .03em; }

.words { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.words li { font-size: 22px; }
.words li .tape { padding: 7px 12px 5px; }
.legend { margin: 18px 0 0; display: grid; gap: 6px; font-size: 17px; }
.legend code { font-family: var(--mono); font-weight: 600; background: var(--paper); padding: 1px 6px; }
.legend code.watch { background: var(--margin); color: var(--ink); }

.stays { background: var(--tape); color: var(--paper); padding: 30px 0 32px; position: relative; }
.stays::before, .stays::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--tape);
}
.stays::before { top: -9px; clip-path: polygon(0 100%, 0 40%, 4% 70%, 9% 20%, 15% 60%, 22% 30%, 30% 75%, 37% 25%, 45% 65%, 52% 15%, 60% 70%, 68% 35%, 75% 80%, 83% 30%, 90% 65%, 96% 25%, 100% 55%, 100% 100%); }
.stays::after { bottom: -9px; clip-path: polygon(0 0, 100% 0, 100% 45%, 95% 80%, 88% 30%, 81% 70%, 73% 20%, 66% 75%, 58% 35%, 50% 85%, 43% 30%, 35% 70%, 27% 25%, 19% 80%, 12% 35%, 6% 75%, 0 40%); }
.stays .wrap { position: relative; z-index: 1; }
.stays h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; text-transform: uppercase; color: var(--pad); }
.stays ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stays li { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; border: 2px solid rgba(245,242,234,.55); padding: 5px 10px 3px; }
.stays p { margin: 0; max-width: 60ch; color: #E9E5D8; }
.stays a { color: var(--pad); font-weight: 600; }

.price { text-align: left; }
.price .big { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(76px, 24vw, 140px); line-height: .9; }
.price .big small { font-size: .36em; letter-spacing: .04em; display: block; margin-top: 6px; }
.price p { margin: 14px 0 0; max-width: 46ch; font-size: 19px; }

/* ---------- footer ---------- */
footer.foot { margin-top: 30px; background: var(--tape); color: var(--paper); padding: 26px 0 34px; }
footer.foot .wrap { padding-left: var(--gutter); }
.foot-row { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.foot a { color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; }
.foot a:hover { color: var(--pad); }
.foot a.mail { font-family: var(--mono); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; word-break: break-all; }
.foot p { margin: 14px 0 0; font-size: 15px; color: #BDB8A8; }

/* ---------- document pages (privacy, support) ---------- */
.doc { padding: 30px 0 10px; }
.doc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.doc-head img { width: 64px; height: 64px; border-radius: 15px; transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(24,24,27,.22); }
.doc h1 { margin: 0; font-size: clamp(46px, 13vw, 84px); }
.doc h1 .tape { padding: .08em .3em .04em .2em; font-weight: 900; }
.doc .meta { margin: 14px 0 0; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.doc .lede { margin: 16px 0 0; font-size: 21px; font-weight: 500; max-width: 40ch; }
.sheet { margin-top: 26px; background: var(--paper); padding: 22px 18px 26px; box-shadow: 0 1px 0 rgba(24,24,27,.12), 0 10px 22px rgba(24,24,27,.14); position: relative; max-width: 780px; }
.sheet h2 { margin: 30px 0 8px; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.sheet h2:first-of-type { margin-top: 8px; }
.sheet p, .sheet li { font-size: 18px; line-height: 1.55; }
.sheet p { margin: 0 0 12px; }
.sheet ul { margin: 0 0 12px; padding-left: 22px; }
.sheet li { margin-bottom: 6px; }
.sheet a { color: var(--rule); font-weight: 600; text-underline-offset: 3px; }
.sheet .kbd { background: var(--pad); padding: 0 5px; }
.short { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.short li { margin: 0 !important; font-size: 20px !important; }
.short .tape { padding: 7px 11px 5px; }
.faq { margin-top: 26px; display: grid; gap: 16px; max-width: 780px; }
.qa { background: var(--paper); padding: 18px 18px 18px; box-shadow: 0 1px 0 rgba(24,24,27,.12), 0 8px 18px rgba(24,24,27,.12); border-left: 6px solid var(--rule); }
.qa h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: 27px; line-height: 1.08; text-transform: uppercase; }
.qa p, .qa li { margin: 0 0 10px; font-size: 18px; line-height: 1.55; }
.qa p:last-child, .qa ul:last-child { margin-bottom: 0; }
.qa ul, .qa ol { margin: 0 0 10px; padding-left: 22px; }
.qa a { color: var(--rule); font-weight: 600; }
.qa .kbd { background: var(--pad); padding: 0 5px; }
.qa.contact { border-left-color: var(--margin); }
.mailbig { display: inline-block; margin-top: 4px; font-family: var(--mono); font-weight: 600; font-size: 17px; word-break: break-all; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .hero { padding: 54px 0 30px; }
  .app-icon { width: 150px; height: 150px; }
  .kicker { font-size: 30px; }
  .pitch { font-size: 24px; }
  .card { padding: 26px 26px 24px; }
  .the-line { font-size: 19px; }
  .sheet { padding: 30px 34px 34px; }
  .qa { padding: 22px 26px; }
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
  .demo-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; }
  .features { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .strip { transition: transform .15s ease; }
  .strips li:hover .strip { transform: translateX(4px); }
}
@media print {
  body { background: #fff; }
  body::before, header.bar nav, .stays::before, .stays::after { display: none; }
}
