@font-face {
  font-family: Inter;
  src: url(assets/inter.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* Minimal and typographic, on Linear's rules (Refero): Inter 510/590, -0.022em display
   tracking, 6px buttons, pill sign-up, hairlines instead of shadows. Waybill's warm neutrals. */
:root, [data-theme="light"] {
  --bg: #fafaf8;
  --surface: #f2f2f0;
  --line: #e4e4e2;
  --line-2: #d3d3d1;
  --text: #0f0f0d;
  --text-2: #3a3a38;
  --text-3: #686865;
  --btn: #0f0f0d;
  --btn-text: #f9f9f7;
  --btn-hover: #2c2c2a;
  --slot: #1c1c1a;
  --nav: rgba(250, 250, 248, .8);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a0a09;
  --surface: #151514;
  --line: #242422;
  --line-2: #383836;
  --text: #f9f9f7;
  --text-2: #d6d6d2;
  --text-3: #8e8e8a;
  --btn: #f9f9f7;
  --btn-text: #0a0a09;
  --btn-hover: #e5e5e2;
  --slot: #2a2a28;
  --nav: rgba(10, 10, 9, .75);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 Inter, system-ui, sans-serif;
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #2e7a68; outline-offset: 3px; border-radius: 6px; }
.motion .hero-in { visibility: hidden; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 6px;
  background: var(--btn); color: var(--btn-text); font-size: 14px; font-weight: 510; letter-spacing: -.011em;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: none; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 400; }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-pill { height: 32px; padding: 0 16px; border-radius: 9999px; font-size: 13px; }
.link { font-size: 13px; color: var(--text-2); transition: color .15s; }
.link:hover { color: var(--text); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 10; height: 60px; padding: 0 max(24px, calc(50% - 560px));
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.nav.scrolled { background: var(--nav); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 590; letter-spacing: -.012em; }
.mark { width: 20px; height: 20px; fill: var(--text); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.theme { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--text-3); cursor: pointer; transition: color .15s, background .15s; }
.theme:hover { color: var(--text); background: var(--surface); }
.theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.theme .moon, [data-theme="dark"] .theme .sun { display: none; }
[data-theme="dark"] .theme .moon { display: block; }

/* hero */
main > section { padding: 0 24px; text-align: center; }
.hero { padding-top: 168px !important; }
h1 { margin: 0 auto; max-width: 880px; font-size: clamp(44px, 7vw, 80px); line-height: 1; font-weight: 510; letter-spacing: -.022em; }
.lede { max-width: 500px; margin: 24px auto 0; font-size: 18px; color: var(--text-3); letter-spacing: -.012em; }
.ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

/* the printer: a slot, and a label that feeds out from under it */
.printer { position: relative; width: 340px; margin: 88px auto 0; }
.slot { position: relative; z-index: 1; height: 12px; border-radius: 6px; background: var(--slot); box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .5); }
.feed { width: 300px; margin: -6px auto 0; }
.motion .feed { overflow: hidden; }
.label {
  --l-ink: #0f0f0d;
  display: flex; flex-direction: column; aspect-ratio: 4 / 6; padding: 14px 16px 12px;
  background: #fff; color: var(--l-ink); text-align: left; font-size: 12px; line-height: 1.4;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 0 1px rgba(15, 15, 13, .08), 0 18px 40px -18px rgba(15, 15, 13, .35);
  transform: translateY(14px) rotate(-2deg);
}
.l-top { display: flex; align-items: center; gap: 7px; padding-bottom: 10px; border-bottom: 2px solid var(--l-ink); font-weight: 600; }
.l-top svg { width: 14px; height: 14px; fill: var(--l-ink); }
.l-top b { margin-left: auto; font-size: 11px; letter-spacing: .04em; }
.l-block { display: grid; grid-template-columns: 38px 1fr; padding: 10px 0; border-bottom: 1px solid var(--l-ink); }
.l-block em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.l-block p { margin: 0; }
.l-to { padding: 12px 0; border-bottom-width: 2px; font-size: 14.5px; line-height: 1.35; }
.l-to b { font-weight: 700; }
.l-code { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 6px; text-align: center; }
/* two offset repeating stripes read as one irregular barcode */
.bars {
  height: 104px;
  background:
    repeating-linear-gradient(90deg, var(--l-ink) 0 2px, transparent 2px 4px, var(--l-ink) 4px 5px, transparent 5px 9px, var(--l-ink) 9px 12px, transparent 12px 13px, var(--l-ink) 13px 14px, transparent 14px 17px, var(--l-ink) 17px 19px, transparent 19px 23px),
    repeating-linear-gradient(90deg, transparent 0 6px, var(--l-ink) 6px 7px, transparent 7px 20px, var(--l-ink) 20px 22px, transparent 22px 37px);
}
.l-code span { font: 500 12px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; }
.l-foot { display: flex; justify-content: space-between; padding-top: 8px; border-top: 2px solid var(--l-ink); font-size: 11px; font-weight: 600; }
.cap { margin: 40px auto 0; font-size: 15px; color: var(--text-3); }
.cap b { color: var(--text); font-weight: 590; }
#cap-city { display: inline-block; color: var(--text); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; gap: 24px 48px; margin-top: 144px; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact b { font-size: 48px; line-height: 1.1; font-weight: 510; letter-spacing: -.022em; font-variant-numeric: tabular-nums; }
.fact > span { font-size: 15px; color: var(--text-3); }
.also { grid-column: 1 / -1; max-width: 520px; margin: 32px auto 0; font-size: 15px; color: var(--text-3); line-height: 1.6; }

/* prices */
.prices { margin-top: 160px; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 48px); line-height: 1.05; font-weight: 510; letter-spacing: -.022em; }
.sub { max-width: 460px; margin: 16px auto 0; font-size: 15px; color: var(--text-3); line-height: 1.6; }
.table { max-width: 760px; margin: 40px auto 0; overflow-x: auto; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; }
thead th { font-size: 13px; font-weight: 400; color: var(--text-3); }
th:first-child { text-align: left; }
tbody th { font-weight: 510; }
tbody td { color: var(--text-2); }
tbody tr { transition: background .15s; }
tbody tr:hover { background: var(--surface); }
.badge { margin: 20px auto 0; font-size: 13px; color: var(--text-3); }

/* cta */
.cta { margin-top: 176px; padding-bottom: 144px !important; }
.cta-mark { width: 56px; height: 56px; fill: var(--text); overflow: visible; }
.cta h2 { margin-top: 32px; }

/* footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 24px max(24px, calc(50% - 560px)) 32px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .nav-end { gap: 8px; }
  .hero { padding-top: 128px !important; }
  .lede { font-size: 16px; }
  .printer { width: 280px; margin-top: 64px; }
  .feed { width: 250px; }
  .label { padding: 12px 13px 10px; font-size: 10.5px; }
  .l-to { font-size: 12.5px; }
  .bars { height: 80px; }
  .facts { grid-template-columns: 1fr; margin-top: 96px; }
  .prices { margin-top: 112px; }
  .cta { margin-top: 120px; padding-bottom: 96px !important; }
}
