/* zani-fam.rocks, from the Claude Design canvas "Zani Family Landing Page"
   (boards "laptop" and "phone"), in Dusk. No inline styles anywhere: the
   site's Content-Security-Policy (nginx/sites-available/zani-fam.rocks.conf)
   allows only this file. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Inter-latin-wght.woff2") format("woff2");
}

/* Dusk tokens, the ones this page uses. */
:root {
  color-scheme: dark;
  --bg: #0e1019;
  --ink: #f2f3fb;
  --ink-2: #c6cae3;
  --ink-3: #9ca2c6;
  --ink-4: #8b92b8;
  --accent: #a5aeff;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter) 0;
}

.top img {
  display: block;
  flex: none;
  width: 36px;
  height: auto;
}

main {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
  width: 100%;
  max-width: 1320px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 24px var(--gutter);
}

.words {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1 {
  margin: 0;
  font-size: 152px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--accent);
}

.lede {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 30ch;
}

.note {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-3);
  max-width: 44ch;
}

.crest {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.crest svg {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
}

.crest text {
  font: 600 17px var(--font-sans);
  letter-spacing: 0.04em;
  fill: #c6cae3;
}

footer {
  padding: 0 var(--gutter) 32px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-4);
}

/* The phone board: the crest above the words, all in one column. Dusk's
   phone break. */
@media (max-width: 900px) {
  .top {
    padding-top: 24px;
  }

  main {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
  }

  .crest {
    order: -1;
    flex: none;
  }

  .crest svg {
    width: 280px;
  }

  .words {
    flex: none;
    gap: 14px;
  }

  h1 {
    font-size: 96px;
  }

  .lede {
    font-size: 20px;
    max-width: none;
  }

  .note {
    max-width: none;
  }

  footer {
    padding-bottom: 28px;
  }
}
