/* LetzToken Lab. Colours from letztoken.com: one blue (the logo blue),
   the logo greens, navy ink on warm paper. Fonts are self-hosted (OFL). */
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-tight-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-tight-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #FBF9F5;
  --paper-2: #F3F0EB;
  --card: #FFFFFF;
  --ink: #101621;
  --ink-soft: #49505C;
  --ink-faint: #636974;
  --rule: #E3DFD8;
  --blue: #0A74F2;
  --blue-deep: #075BC0;
  --blue-soft: #EAF2FE;
  --green: #23C94E;
  --green-ink: #187E36;
  --green-soft: #DCF9E1;
  --amber-ink: #8A5300;
  --amber-soft: #FBEFD9;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 22, 33, .05), 0 6px 20px rgba(16, 22, 33, .06);
  --shadow-up: 0 2px 4px rgba(16, 22, 33, .06), 0 14px 34px rgba(16, 22, 33, .10);
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--text); overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Header ---- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--rule); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { height: 26px; width: auto; }
.lab-tag { font: 700 13px/1 var(--display); letter-spacing: .02em; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 7px 11px; }
.top-link { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 4px; }
.top-link:hover { color: var(--blue); }

/* ---- Hero ---- */
.hero { padding: clamp(28px, 6vw, 64px) 0 clamp(24px, 4vw, 40px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--display); color: var(--green-ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--green); }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.025em; font-weight: 700; }
.hero h1 .blue { color: var(--blue); }
.hero .lede { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 30em; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.facts svg { width: 20px; height: 20px; flex: none; }
.hero-art { width: 100%; height: auto; border-radius: 28px; background: var(--blue-soft); }

/* ---- Demos ---- */
.demos { padding: clamp(20px, 4vw, 40px) 0 clamp(48px, 8vw, 96px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.02em; font-weight: 700; }
.counts { display: flex; gap: 8px; flex-wrap: wrap; }

.status { display: inline-flex; align-items: center; gap: 7px; font: 700 13px/1 var(--display); border-radius: 999px; padding: 7px 11px 7px 9px; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--green-ink); background: var(--green-soft); }
.status.wip { color: var(--amber-ink); background: var(--amber-soft); }
.status.wip::before { background: none; box-shadow: inset 0 0 0 2px currentColor; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .art { background: var(--paper-2); }
.card .art svg { width: 100%; height: auto; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.area { font: 600 13px/1.2 var(--display); color: var(--ink-faint); }
.card h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.01em; font-weight: 700; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .later { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--ink-faint); }

/* The live demo: full width, the picture beside the words on wide screens. */
.card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.card.feature .art { background: var(--blue-soft); display: flex; align-items: flex-end; }
.card.feature .body { padding: clamp(22px, 3vw, 40px); gap: 16px; justify-content: center; }
.card.feature h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.02em; }
.card.feature p { font-size: 17px; }
.tries { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tries li { font-size: 14px; font-weight: 600; background: var(--paper-2); border-radius: 10px; padding: 7px 11px; }
.cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; font: 700 16px/1 var(--display); padding: 15px 22px; border-radius: 999px; box-shadow: 0 8px 22px rgba(10, 116, 242, .26); transition: background .15s, transform .15s; }
.cta:hover { background: var(--blue-deep); }
.cta:active { transform: translateY(1px); }
.cta svg { width: 18px; height: 18px; transition: transform .15s; }
.cta:hover svg { transform: translateX(3px); }
.small { font-size: 13.5px; color: var(--ink-faint); }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--rule); padding: 32px 0 40px; font-size: 14px; color: var(--ink-soft); }
.foot-in { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; align-items: start; }
.foot img { height: 22px; width: auto; margin-bottom: 12px; }
.foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot nav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 6px 0; }
.foot nav a:hover { color: var(--blue); }
.foot .note { max-width: 40em; margin-top: 6px; }

/* ---- Drawings: things arrive once, then stay still ---- */
.draw-line { stroke-dasharray: 6 7; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-art .record { opacity: 0; transform: translateY(-6px); animation: arrive .6s cubic-bezier(.2, 0, 0, 1) forwards; }
  .js .hero-art .record:nth-of-type(2) { animation-delay: .12s; }
  .js .hero-art .record:nth-of-type(3) { animation-delay: .24s; }
  .js .hero-art .record:nth-of-type(4) { animation-delay: .36s; }
  .js .hero-art .record:nth-of-type(5) { animation-delay: .48s; }
  .js .hero-art .drop { opacity: 0; animation: arrive .5s .65s ease-out forwards; }
  .card { transition: transform .2s cubic-bezier(.2, 0, 0, 1), box-shadow .2s; }
  .card.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
}
@keyframes arrive { to { opacity: 1; transform: none; } }

/* ---- Narrower screens ---- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.feature { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .top-link span { display: none; }
  .brand img { height: 22px; }
  .card.feature .body { padding: 22px; }
  .cta { align-self: stretch; justify-content: center; }
}
