/* boobas.org — landing page.
   Palette and panel treatment are lifted from the toolkit's own interface so
   the site reads as a relative of the software rather than marketing for it. */

:root {
  --bg: #14161a;
  --panel: #1c1f25;
  --line: #313742;
  --text: #e6e9ef;
  --muted: #98a1b0;
  --dim: #7d8797;
  --accent: #6ea8fe;
  --accent-2: #f0a05a;
  --measure: 54rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* One screen where there is room for one. The page is short enough that the
   footer belongs at the bottom of the viewport rather than under the fold. */
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* A hairline grid, far enough back to read as paper rather than decoration. */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 44px 44px;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------ header */

header {
  border-bottom: 1px solid var(--line);
  background: rgba(20, 22, 26, .82);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.mark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mark .tld { color: var(--dim); }

.pill {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}

/* -------------------------------------------------------------------- hero */

main {
  flex: 1;
  display: grid;
  align-items: center;
}

.hero {
  padding: 56px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

/* The drawing is mirrored here rather than in the SVG. The generator draws a
   profile facing right, which is how its table of numbers reads; which way it
   faces on a page is a question about the page, and it belongs with the
   layout that put it beside a column of text. */
.hero-art { margin: 0; }

.hero-art svg {
  display: block;
  height: clamp(360px, 52vh, 560px);
  width: auto;
  transform: scaleX(-1);
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(32px, 6.4vw, 56px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.02em;
  max-width: 12ch;
}

h1 em {
  font-style: normal;
  color: var(--accent-2);
}

.lede {
  margin: 0 0 26px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 32ch;
}

.soon {
  margin: 0;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ------------------------------------------------------------------ footer */

footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--dim);
  font-size: 11px;
}

footer p { margin: 0; }

/* ----------------------------------------------------------------- narrow */

@media (max-width: 700px) {
  .wrap { padding: 0 18px; }
  .hero {
    padding: 40px 18px 48px;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    justify-items: center;
    text-align: center;
  }
  h1, .lede { max-width: 20ch; margin-inline: auto; }
  .hero-art svg { height: min(340px, 42vh); }
}
