/* Brochure: the print-shop look. Cool paper, navy ink, process cyan, magenta and yellow,
   dashed fold lines between sections and registration marks in the corners. */
:root {
  --paper: #eef0f7;
  --paper-2: #e2e5f1;
  --ink: #0e1030;
  --mute: #4b4f73;
  --cyan: #0098dc;
  --magenta: #e6157d;
  --yellow: #ffd200;
  --white: #ffffff;
  --display: "Syne", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(14, 16, 48, .13) 1px, transparent 1.3px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--yellow); border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(238, 240, 247, .92); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--ink); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--mono); text-decoration: none; letter-spacing: -.01em; }
.wordmark::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--cyan) 0 25%, var(--magenta) 0 50%, var(--yellow) 0 75%, var(--ink) 0); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font: 500 14px/1 var(--mono); }
.nav a { text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--magenta); }

.eyebrow { display: inline-block; margin: 0 0 22px; padding: 7px 12px 6px; border: 1.5px solid var(--ink); border-radius: 99px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--white); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 84px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.lede { font-size: clamp(18px, 2vw, 22px); max-width: 34em; color: var(--mute); margin: 26px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-block; padding: 15px 24px 14px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: 99px; font: 500 15px/1 var(--mono); text-decoration: none; box-shadow: 4px 4px 0 var(--magenta); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--magenta); }
.btn-quiet { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--cyan); }
.btn-quiet:hover { box-shadow: 2px 2px 0 var(--cyan); }
.one-liner { margin: 30px 0 0; }
code, pre { font-family: var(--mono); }
.one-liner code { display: inline-block; max-width: 100%; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 10px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }

/* Hero */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.05; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); }
.reg { position: absolute; width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; opacity: .75; pointer-events: none; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--ink); }
.reg::before { left: 50%; top: -8px; bottom: -8px; width: 1.5px; margin-left: -.75px; }
.reg::after { top: 50%; left: -8px; right: -8px; height: 1.5px; margin-top: -.75px; }
.reg-a { right: 22px; top: 22px; } .reg-b { left: 22px; bottom: 26px; }
.spread { position: relative; }
.spread figure { margin: 0; position: relative; }
.spread img { border-radius: 4px; box-shadow: 0 2px 4px rgba(14, 16, 48, .12), 0 30px 60px rgba(14, 16, 48, .25); }
.spread .page-in { transform: rotate(1.2deg); position: relative; z-index: 2; }
.spread .page-out { width: 74%; margin: -16% 0 0 -3%; transform: rotate(-3deg); }
.spread figcaption { position: absolute; left: 12px; top: -14px; z-index: 3; padding: 5px 10px 4px; background: var(--yellow); border: 1.5px solid var(--ink); font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.page-out figcaption { background: var(--cyan); color: #fff; }
.folds { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.folds i { position: absolute; top: -10px; bottom: -10px; border-left: 2px dashed var(--magenta); }
.folds i::after { content: "fold"; position: absolute; top: -2px; left: 6px; font: 500 11px/1 var(--mono); color: var(--magenta); background: var(--paper); padding: 3px 5px; }
.folds i:nth-child(1) { left: 33.56%; } .folds i:nth-child(2) { left: 67.11%; }

/* Sections */
section[id], .band { position: relative; }
.fold-rule { border: 0; border-top: 2px dashed var(--ink); margin: 0; position: relative; opacity: .55; }
.band { padding: 88px 0; }
.band-dark { background: var(--ink); color: #fff; }
.band-dark .section-lede { color: #b9bddb; }
.section-lede { max-width: 38em; color: var(--mute); margin: 18px 0 0; font-size: 19px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { padding: 22px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); }
.facts li:nth-child(2) { box-shadow: 5px 5px 0 var(--cyan); } .facts li:nth-child(3) { box-shadow: 5px 5px 0 var(--magenta); } .facts li:nth-child(4) { box-shadow: 5px 5px 0 var(--yellow); }
.facts b { display: block; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.facts span { color: var(--mute); font-size: 16px; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 26px 24px 28px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; }
.steps li::before { content: counter(s); position: absolute; top: -20px; left: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--magenta); color: #fff; border: 1.5px solid var(--ink); font: 800 19px/1 var(--display); }
.steps li:nth-child(2)::before { background: var(--cyan); } .steps li:nth-child(3)::before { background: var(--yellow); color: var(--ink); }
.steps h3 { margin: 6px 0 10px; }
.steps p { margin: 0; color: var(--mute); font-size: 16.5px; }
.ask { margin: 14px 0 0; padding: 12px 14px; background: var(--paper); border-left: 4px solid var(--magenta); font-style: italic; font-size: 15.5px; color: var(--ink); }
.reading { margin: 44px 0 0; }
.reading img { border-radius: 10px; border: 1.5px solid var(--ink); background: var(--paper-2); }
.reading figcaption { margin-top: 12px; font: 400 13px/1.5 var(--mono); color: var(--mute); }

.widths { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.bars { display: grid; gap: 22px; }
.bar-label { font: 500 13px/1.3 var(--mono); letter-spacing: .04em; margin-bottom: 8px; color: #b9bddb; }
.bar { display: flex; height: 70px; border: 1.5px solid #fff; border-radius: 8px; overflow: hidden; }
.bar b { display: grid; place-items: center; font: 500 14px/1 var(--mono); border-right: 1.5px dashed #fff; color: var(--ink); }
.bar b:last-child { border-right: 0; }
.bar .w1 { background: var(--cyan); } .bar .w2 { background: var(--yellow); } .bar .w3 { background: var(--magenta); color: #fff; }
.widths p { color: #d4d7ee; margin: 0 0 14px; }
.widths strong { color: #fff; }

.themes { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.themes figure { margin: 0; }
.themes a { display: block; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s; background: var(--white); }
.themes a:hover { transform: translateY(-4px) rotate(-.6deg); }
.themes img { width: 100%; }
.themes figcaption { margin-top: 18px; font-size: 15px; line-height: 1.45; color: var(--mute); }
.themes b { display: block; font: 700 20px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }

.examples { list-style: none; margin: 46px 0 0; padding: 0; display: grid; gap: 40px; }
.example { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.example:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.example:nth-child(even) .ex-img { order: 2; }
.ex-img { display: block; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.example:nth-child(3n+2) .ex-img { box-shadow: 8px 8px 0 var(--cyan); } .example:nth-child(3n) .ex-img { box-shadow: 8px 8px 0 var(--magenta); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.badges li { padding: 5px 10px 4px; border: 1.5px solid var(--ink); border-radius: 99px; font: 500 12px/1 var(--mono); background: var(--white); }
.example p { margin: 14px 0 0; color: var(--mute); }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font: 500 14px/1 var(--mono); }

.install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.install > div { min-width: 0; }
.install h3 { margin-bottom: 12px; font-size: 19px; }
pre { margin: 0; padding: 16px 18px; background: var(--ink); color: #fff; border-radius: 12px; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; box-shadow: 5px 5px 0 var(--yellow); }
pre code { font: inherit; }
.note { margin: 28px 0 0; color: var(--mute); font: 400 14px/1.5 var(--mono); }

.foot { margin-top: 40px; background: var(--ink); color: #d9dcf2; padding: 48px 0 56px; border-top: 6px solid; border-image: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 0 50%, var(--yellow) 0 75%, #fff 0) 1; }
.foot-row { display: grid; gap: 14px; font-size: 15.5px; }
.foot-row p { margin: 0; }
.foot .wordmark { color: #fff; }
.foot .wordmark::before { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px #fff; }
.foot a { color: #fff; }

.lost { padding: 110px 0 140px; }
.lost h1 { font-size: clamp(40px, 7vw, 92px); }

@media (max-width: 1080px) {
  .themes { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .install { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .hero-grid, .widths, .example, .example:nth-child(even) { grid-template-columns: 1fr; }
  .example:nth-child(even) .ex-img { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; }
  .band { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 12px; font-size: 12.5px; }
  .nav li:nth-child(-n+3) { display: none; }
  .wordmark { white-space: nowrap; }
  .themes { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .facts { grid-template-columns: 1fr; }
  .folds i::after { display: none; }
  .reg { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
