@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('assets/fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  /* From balkapso.com */
  --paper: #fafaf7;
  --ink: #15171c;
  --ink-soft: #2b2f38;
  --muted: #5a5f6b;
  --line: #e3e1da;
  --line-strong: #cfccc2;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-dark: #1e3a8a;
  --accent-soft: #e8eefc;
  --accent-line: #93b4f8;

  /* blu's own: the cyanotype drawing sheet */
  --cyan: #173073;
  --cyan-grid: rgb(147 180 248 / .14);
  --on-cyan: #dfe8fd;
  --on-cyan-muted: #b4c8f6;

  --danger: #b91c1c;
  --success: #15803d;
  --header: 72px;
  --sans: 'Inter', system-ui, sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1px); }
body { margin: 0; background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cyanotype :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 64px; }

/* Type */
h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 1.7rem + 4.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; }
h3 { font-family: var(--display); font-size: 1.3rem; line-height: 1.25; font-weight: 600; letter-spacing: -.012em; }
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.index { font-family: var(--mono); font-size: .8125rem; color: var(--muted); }

/* Lockup: parent's mark and two-line structure, blu's name */
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.lockup img { width: 27px; height: 36px; }
.lockup-text { display: grid; gap: 2px; }
.lockup-name { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: .9; letter-spacing: -.04em; color: var(--accent); }
.lockup-sub { font-family: var(--mono); font-size: .625rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(250 250 247 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header); }
.nav > a:first-child { text-decoration: none; }
.nav-links { display: none; gap: 28px; }
.nav-links a { font-size: .9375rem; color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; font: inherit; font-size: .9375rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.button.small { min-height: 40px; padding: 0 14px; font-size: .875rem; white-space: nowrap; }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-hover); }
.button.outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.button.outline:hover { border-color: var(--ink); }
.button:disabled { opacity: .65; cursor: progress; }
.arrow { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; text-decoration: none; min-height: 44px; }
.link:hover { text-decoration: underline; }
.text-button { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Hero */
.hero { display: grid; gap: 44px; padding-block: 48px 56px; }
.hero-copy { display: grid; justify-items: start; }
.hero-sub { margin-top: 18px; font-family: var(--display); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); font-weight: 500; line-height: 1.3; letter-spacing: -.012em; }
.lead { margin-top: 14px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .25vw, 1.2rem); line-height: 1.6; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }

/* Cyanotype sheets */
.hero-sheet, .cyanotype, .join-copy {
  background-color: var(--cyan);
  background-image: linear-gradient(var(--cyan-grid) 1px, transparent 1px), linear-gradient(90deg, var(--cyan-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--on-cyan);
}
.hero-sheet { display: grid; border-radius: 2px; overflow: hidden; }
.hero-drawing { position: relative; display: flex; justify-content: flex-end; padding: 28px 20px 0; min-height: 440px; overflow: hidden; }
.drawing { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.drawing .faint { stroke: var(--accent-line); stroke-opacity: .6; }
.drawing .ground { stroke: var(--on-cyan); stroke-width: 1.2; }
.drawing .line { stroke: var(--on-cyan); stroke-width: 1.4; stroke-linejoin: round; }
.drawing .dim { stroke: var(--accent-line); }
.drawing .label { fill: var(--on-cyan-muted); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.hero-drawing .phone { position: relative; width: min(58%, 250px); margin-bottom: -56px; align-self: flex-start; }

.title-block { position: relative; display: grid; grid-template-columns: repeat(4, auto); background: var(--cyan); border-top: 1px solid var(--accent-line); font-family: var(--mono); }
.title-block > div { padding: 10px 12px; border-left: 1px solid rgb(147 180 248 / .4); min-width: 0; }
.title-block > div:first-child { border-left: 0; }
.title-block dt { font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-cyan-muted); }
.title-block dd { margin-top: 2px; font-size: .75rem; color: #fff; white-space: nowrap; }

/* Phone */
.phone { padding: 6px; border-radius: 30px; background: #0c0e13; box-shadow: 0 0 0 1px rgb(147 180 248 / .4), 0 24px 48px -16px rgb(5 12 40 / .7); }
.phone img { width: 100%; padding-top: 14px; border-radius: 24px; background: #f6f7fa; }

/* Facts */
.facts { border-block: 1px solid var(--line); }
.facts-grid { display: grid; }
.facts-grid li { display: grid; gap: 8px; padding-block: 24px; border-top: 1px solid var(--line); }
.facts-grid li:first-child { border-top: 0; }
.facts-grid strong { font-family: var(--display); font-size: 1.85rem; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.facts-grid span { font-size: .9375rem; line-height: 1.5; color: var(--muted); }

/* Heading on the left, content on the right, as on the parent */
.split { display: grid; gap: 36px; }

.services li { display: grid; grid-template-columns: 44px 1fr; padding-block: 24px; border-top: 1px solid var(--line); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services .index { padding-top: 5px; }
.services p { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.services .lede { margin-block: 6px; font-weight: 600; color: var(--ink); }
.tag { display: inline-block; margin-left: 10px; padding: 2px 7px; border: 1px solid var(--accent-line); border-radius: 2px; background: var(--accent-soft); color: var(--accent-dark); font-family: var(--mono); font-size: .6875rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }

/* App screens */
.sheet-head { padding-block: 64px 36px; }
.cyanotype h2 { color: #fff; max-width: 20em; }
.cyanotype .eyebrow { color: var(--accent-line); }
.screens { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; padding: 4px max(20px, calc((100vw - 1080px) / 2)) 24px; scrollbar-color: var(--accent-line) transparent; }
.screen { flex: 0 0 236px; scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.dimension { position: relative; display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--accent-line); font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-cyan-muted); }
.dimension::before, .dimension::after { content: ''; position: absolute; bottom: -5px; width: 1px; height: 9px; background: var(--accent-line); }
.dimension::before { left: 0; }
.dimension::after { right: 0; }
.dimension span:first-child { padding-left: 8px; color: #fff; }
.dimension span:last-child { padding-right: 8px; }
.screen figcaption { font-size: .875rem; line-height: 1.5; color: var(--on-cyan); }
.screen figcaption strong { display: block; margin-bottom: 3px; font-family: var(--display); font-size: 1.0625rem; font-weight: 600; color: #fff; }
.sheet-note { padding-block: 8px 44px; font-family: var(--mono); font-size: .75rem; line-height: 1.6; color: var(--on-cyan-muted); }

/* Steps */
.steps li { display: grid; gap: 6px; padding-block: 22px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps p { line-height: 1.6; color: var(--muted); }

/* Parent */
.parent { background: #fff; border-block: 1px solid var(--line); }
.parent-copy { margin-top: 16px; max-width: 32em; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
.motto { margin-block: 18px 8px; font-family: var(--display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.012em; }
.spec { align-self: start; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .875rem; line-height: 1.5; }
.spec > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top: 0; }
.spec dt { color: var(--muted); }

/* Waitlist */
.join { display: grid; border: 1px solid var(--line-strong); border-radius: 2px; overflow: hidden; }
.join-copy { display: grid; grid-template-rows: auto auto auto 1fr; gap: 10px; padding: 28px 24px; }
.join-copy .eyebrow { margin: 0 0 6px; color: var(--accent-line); }
.join-copy h2 { color: #fff; }
.join-copy > p:last-of-type { font-size: 1.0625rem; line-height: 1.55; color: var(--on-cyan); }
.districts { align-self: end; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--accent-line); font-family: var(--mono); font-size: .75rem; line-height: 1.6; }
.districts dt { font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-cyan-muted); }
.districts dd { margin-top: 2px; color: #fff; }
.form { display: grid; gap: 16px; padding: 28px 24px; background: #fff; }
.field { display: grid; gap: 6px; }
label { font-size: .875rem; font-weight: 500; color: var(--ink-soft); }
input, select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
input::placeholder { color: #6b7080; }
input:hover, select:hover { border-color: var(--muted); }
[aria-invalid='true'] { border-color: var(--danger); }
.error { font-size: .8125rem; line-height: 1.4; color: var(--danger); }
.consent { font-size: .8125rem; line-height: 1.5; color: var(--muted); text-align: center; }
.done { justify-items: center; align-content: center; text-align: center; padding-block: 48px; gap: 10px; }
.done p { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.check { width: 48px; height: 48px; padding: 11px; border: 1px solid var(--success); border-radius: 2px; fill: none; stroke: var(--success); stroke-width: 2; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 28px; font-size: .875rem; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a, .footer-links button { color: var(--ink-soft); line-height: 24px; }
.footer-links a:hover, .footer-links button:hover { color: var(--accent); }

/* Privacy */
.privacy { width: min(480px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--paper); color: var(--ink); }
.privacy::backdrop { background: rgb(21 23 28 / .5); }
.privacy h2 { font-size: 1.5rem; margin-bottom: 12px; }
.privacy p { font-size: .9375rem; line-height: 1.55; margin-bottom: 12px; color: var(--muted); }
.privacy a { color: var(--accent); overflow-wrap: anywhere; }
.privacy .button { width: 100%; margin-top: 4px; }

@media (min-width: 640px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid li { padding: 28px 24px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .facts-grid li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts-grid li:nth-child(-n + 2) { border-top: 0; }
  .hero-drawing { min-height: 500px; }
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .section { padding-block: 96px; }
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; padding-block: 72px; }
  .split { grid-template-columns: 2fr 3fr; gap: 64px; }
  .split-head { position: sticky; top: calc(var(--header) + 32px); align-self: start; }
  .join { grid-template-columns: 1fr 440px; }
  .join-copy { padding: 44px; }
  .form { padding: 36px; }
  .sheet-head { padding-block: 96px 44px; }
  .sheet-note { padding-block: 16px 64px; }
}

@media (min-width: 1024px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid li { border-top: 0; border-left: 1px solid var(--line); }
  .facts-grid li:nth-child(odd) { padding-left: 24px; border-left: 1px solid var(--line); }
  .facts-grid li:first-child { padding-left: 0; border-left: 0; }
  .screens { justify-content: safe center; gap: 24px; }
  .screen { flex: 1 1 0; min-width: 196px; max-width: 216px; }
}
