:root {
  --paper: #f2eee3;
  --card: #fbf9f3;
  --ink: #141414;
  --muted: #5c5a54;
  --grey: #9a968c;
  --red: #e5432d;
  --amber: #d9a04a;
  --brown: #7a4a2a;
  --rule: rgba(20, 20, 20, .14);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 18px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; max-width: 62ch; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.label { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.label::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--red); vertical-align: 1px; }
.intro { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }

.btn { display: inline-block; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 14px 18px; font: 500 14px/1 var(--mono); text-decoration: none; box-shadow: 3px 3px 0 var(--grey); transition: background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { background: var(--red); border-color: var(--red); box-shadow: 3px 3px 0 var(--ink); }
.btn-sm { padding: 10px 14px; font-size: 13px; box-shadow: none; }
.link { font: 500 14px var(--mono); }

/* Nav */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 18px var(--mono); text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 20px; height: 20px; image-rendering: pixelated; }
.nav ul { display: flex; gap: 24px; margin-left: auto; font: 500 13px var(--mono); }
.nav ul a { text-decoration: none; }
.nav ul a:hover { text-decoration: underline; }

/* Hero */
.hero { display: grid; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-art { justify-self: end; width: min(100%, calc((100svh - var(--nav-h)) * 16 / 9)); }
.hero-frame { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }
.hero-frame img { width: 100%; height: auto; image-rendering: pixelated; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding-block: 48px; }
.hero-copy > * { max-width: min(440px, calc(40vw - 40px)); }
.hero h1 { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -.04em; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--red); }
.lede { font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
@media (min-width: 1024px) {
  .hero > * { grid-area: 1 / 1; }
}

.steam { position: absolute; top: 37%; width: 4.2%; aspect-ratio: 1 / 2; background: url("steam.svg") center / contain no-repeat; image-rendering: pixelated; opacity: 0; animation: steam 3.6s steps(9) infinite; }
.steam:nth-of-type(1) { left: 51.3%; }
.steam:nth-of-type(2) { left: 65.2%; animation-delay: -.9s; }
.steam:nth-of-type(3) { left: 78.1%; animation-delay: -1.8s; }
.steam:nth-of-type(4) { left: 89.7%; animation-delay: -2.7s; }
@keyframes steam {
  0% { transform: translateY(30%); opacity: 0; }
  30% { opacity: .9; }
  100% { transform: translateY(-40%); opacity: 0; }
}

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); border-bottom: 1px solid var(--rule); }
.alt { background: radial-gradient(rgba(20, 20, 20, .07) 1px, transparent 1.3px) 0 0 / 6px 6px, var(--paper); }
.section-head { max-width: 700px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.small { font: 400 13px/1.5 var(--mono); color: var(--muted); }
.sub { font-size: 22px; margin: 72px 0 10px; }
.split .sub { margin-top: 32px; }

/* Ticket edges, shared by journey tickets and the receipt */
.edge { filter: drop-shadow(0 0 1px rgba(20, 20, 20, .35)) drop-shadow(0 10px 12px rgba(20, 20, 20, .07)); }
.zig { background: var(--card); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }

/* Problem: ignored follow-ups on a ticket spike */
.spike { position: relative; isolation: isolate; margin: 0; padding: 56px 0 40px; display: grid; justify-items: center; }
.spike::before { content: ""; position: absolute; z-index: -1; top: 12px; bottom: 36px; left: 50%; width: 3px; margin-left: -1.5px; background: var(--ink); }
.spike::after { content: ""; position: absolute; bottom: 24px; left: 50%; width: 132px; height: 12px; margin-left: -66px; background: var(--ink); }
.spike ul { display: grid; justify-items: center; width: 100%; }
.spike li { width: min(280px, 86%); margin-top: -6px; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule); font: 500 14px var(--mono); color: var(--muted); }
.spike li:nth-child(odd) { transform: rotate(-3deg) translateX(-10px); }
.spike li:nth-child(even) { transform: rotate(2.5deg) translateX(12px); }
.stamp { position: absolute; right: 4%; bottom: 30%; margin: 0; padding: 8px 12px; border: 3px solid var(--red); color: var(--red); background: rgba(242, 238, 227, .88); font: 600 15px var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-8deg); }

/* Committee */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.roles li { background: var(--card); border: 1px solid var(--rule); padding: 22px; display: flex; flex-direction: column; }
.roles img, .steps img { width: 32px; height: 32px; image-rendering: pixelated; }
.roles h4 { font-size: 18px; margin: 16px 0 6px; }
.roles p { color: var(--muted); font-size: 15px; }
.roles small { margin-top: auto; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: var(--rule); border: 1px solid var(--rule); }
.steps li { background: var(--card); padding: 28px 24px; display: flex; flex-direction: column; }
.steps img { width: 40px; height: 40px; }
.step-no { margin: 20px 0 6px; font: 500 12px var(--mono); color: var(--grey); letter-spacing: .1em; }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; }
.output { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--grey); font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.not-menu { max-width: none; margin: 32px 0 0; font: 400 14px/1.6 var(--mono); color: var(--muted); }
.not-menu strong { margin-right: 12px; padding: 3px 8px; border: 1px solid var(--ink); color: var(--ink); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

/* Ad surfaces */
.surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; align-items: start; }
.surface { min-height: 270px; display: flex; flex-direction: column; padding: 20px; }
.surface-line { font: 500 19px/1.4 var(--sans); margin: 14px 0 24px; }
.surface-meta { font: 500 12px var(--mono); color: var(--grey); margin: 0; }
.logo-chip { margin: auto 0 0 auto; padding: 4px 8px; border: 1px dashed var(--grey); font: 600 11px var(--mono); letter-spacing: .1em; color: var(--muted); }
.notes { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; }
.notes .surface-meta:first-child { color: var(--amber); font-weight: 600; }
.slack { background: var(--card); border: 1px solid var(--ink); border-radius: 8px; padding: 0; }
.slack .surface-meta { padding: 12px 16px; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 600; }
.slack .surface-line { margin: 16px; padding: 12px; border: 1px solid var(--grey); border-radius: 6px; }
.slack .surface-line::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.slack .logo-chip { margin: auto 16px 16px auto; }
.postit { background: color-mix(in srgb, var(--amber) 55%, var(--paper)); transform: rotate(-2deg); box-shadow: 0 14px 18px -14px rgba(20, 20, 20, .5); }
.postit .surface-line { font-family: var(--mono); font-size: 20px; }
@keyframes blink { 50% { opacity: 0; } }

/* Buyer's journey */
.rail { margin: 56px calc(var(--gutter) * -1) 0; padding: 18px var(--gutter) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
.tickets { position: relative; display: grid; grid-template-columns: repeat(5, minmax(196px, 1fr)); gap: 16px; padding-top: 22px; }
.tickets::before { content: ""; position: absolute; top: 0; left: -8px; right: -8px; height: 8px; background: var(--ink); border-radius: 2px; }
.ticket { position: relative; scroll-snap-align: start; }
.ticket::before { content: ""; position: absolute; z-index: 1; top: -26px; left: 50%; width: 26px; height: 20px; margin-left: -13px; background: var(--grey); border: 2px solid var(--ink); }
.ticket article { height: 100%; padding: 24px 18px 40px; display: flex; flex-direction: column; }
.ticket-no { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px dashed var(--grey); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket h3 { font-size: 22px; margin-bottom: 14px; }
.thought { font: 500 18px/1.35 var(--sans); }
.shows { font-size: 14px; color: var(--muted); }
.example { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--grey); font: 400 13px/1.5 var(--mono); }
.example span { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.ticket--hot .zig { background: var(--red); color: var(--paper); }
.ticket--hot .ticket-no, .ticket--hot .shows, .ticket--hot .example span { color: rgba(242, 238, 227, .8); }
.ticket--hot .ticket-no, .ticket--hot .example { border-color: rgba(242, 238, 227, .5); }
.goal { margin: 40px 0 12px; font: 500 20px/1.45 var(--sans); max-width: 760px; }

/* Readiness */
.ready-list { margin-top: 24px; font: 400 14px/1.8 var(--mono); }
.ready-list li::before { content: "+ "; color: var(--red); }
.receipt { margin: 0; font-family: var(--mono); }
.receipt .zig { padding: 28px 26px 48px; }
.receipt-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--grey); font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.score { margin: 24px 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.score strong { display: block; font-size: 64px; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.meters li { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0; font-size: 13px; text-transform: uppercase; }
.meters em { font-style: normal; color: var(--red); }
.bar { grid-column: 1 / -1; height: 10px; background: repeating-linear-gradient(90deg, var(--rule) 0 8px, transparent 8px 10px); }
.bar i { display: block; height: 100%; width: var(--v); background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 10px); }
.receipt-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--grey); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.order-up { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 3px solid var(--red); color: var(--red); font-weight: 600; letter-spacing: .08em; transform: rotate(-4deg); }
.order-up img { width: 18px; height: 18px; image-rendering: pixelated; }

/* Pricing */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); padding: 32px 28px; }
.plan--pick { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--red); }
.tag { position: absolute; top: -13px; left: 26px; margin: 0; padding: 4px 10px; background: var(--red); color: var(--paper); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plan h3 { font-size: 24px; }
.price { margin: 14px 0 24px; color: var(--muted); font: 400 14px var(--mono); }
.price strong { font-size: 40px; letter-spacing: -.03em; color: var(--ink); }
.plan dl { margin: 0 0 32px; }
.plan dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dotted var(--grey); font-size: 15px; }
.plan dt { color: var(--muted); }
.plan dd { margin: 0; text-align: right; font-weight: 500; }
.plan dd.no { color: var(--grey); font-weight: 400; }
.plan .btn { margin-top: auto; text-align: center; }
.menu-note { margin: 40px auto 0; text-align: center; font: 500 14px var(--mono); color: var(--muted); }

/* Final CTA */
.cta { text-align: center; }
.cta img { width: 48px; height: 48px; margin: 0 auto; image-rendering: pixelated; }
.cta p { margin-inline: auto; }

/* Legal pages */
.legal { max-width: 760px; padding-block: clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 14px 0 12px; }
.legal h2 { font-size: 22px; margin: 48px 0 12px; }
.legal ul { margin: 0 0 16px; }
.legal li { padding: 4px 0 4px 18px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; background: var(--red); }

/* Footer */
.site-footer { padding-block: 40px; font: 400 13px var(--mono); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer p { margin: 0; }
.site-footer strong { display: block; color: var(--ink); font-size: 15px; }
.site-footer ul { display: flex; gap: 24px; }

@media (max-width: 1023px) {
  .hero-copy { order: -1; padding-block: 56px 8px; }
  .hero-copy > * { max-width: 600px; }
  .hero-art { width: 100%; overflow: hidden; }
  .hero-frame { width: 172%; margin-left: -72%; -webkit-mask-image: none; mask-image: none; }
  .roles, .steps { grid-template-columns: repeat(2, 1fr); }
  .surfaces, .menu { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .tickets { grid-template-columns: repeat(5, min(78vw, 300px)); }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav ul { display: none; }
  .nav .btn { margin-left: auto; }
  body { font-size: 16px; }
}

@media (max-width: 520px) {
  .roles, .steps { grid-template-columns: 1fr; }
  .stamp { right: 0; }
  .receipt-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steam { animation: none; opacity: .6; }
  .slack .surface-line::after { animation: none; }
}
