

/* ── header ──────────────────────────────────────────────── */
.hd {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(253, 253, 252, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hair);
}

.hd__in {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 62px;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hd__lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

/* The lockup is a mask, so the mark takes its colour from the
   context: ink on paper, mint on dark — never mint on paper. */
.hd__logo {
  display: block;
  width: 128px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("../assets/logo-lockup.svg") no-repeat left center / contain;
  mask: url("../assets/logo-lockup.svg") no-repeat left center / contain;
  color: var(--ink);
}

.hd__nav {
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.hd__nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.hd__nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hd__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── buttons ─────────────────────────────────────────────── */
.hbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}

.hbtn:hover {
  background: var(--paper);
  color: var(--ink);
}

.hbtn:active {
  transform: translateY(1px);
}

.hbtn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--field-line);
}

.hbtn--ghost:hover {
  border-color: var(--ink);
  background: transparent;
}

.hbtn--sm {
  padding: 7px 12px;
  font-size: 10px;
}

/* ── hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
}

/* The nodal field belongs to the hero and stops at its edge. Every
   section below carries its own text, and the field over it read as
   noise. */
.nodal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  color: var(--ink-4);
  opacity: 0.5;
  pointer-events: none;
}

.hero > *:not(.nodal) {
  position: relative;
}

.hero__text {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--ink-3);
}

.hero__sub {
  margin: 0 0 30px;
  max-width: 42ch;
  font-size: 13px;
  line-height: var(--lh-loose);
  color: var(--ink-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

/* ── the letters ─────────────────────────────────────────── */
/* No panel, no border, no caption — the stage is the page. */
.eq-stage {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
}

.eq-stage:active {
  cursor: grabbing;
}

.eq {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
  color: var(--ink);
  user-select: none;
  /* The renderer sizes its own grid; a scrollbar on the letters
     would only ever be a few stray pixels. */
  overflow: hidden;
}

/* ── license teaser ──────────────────────────────────────── */
.hero-license {
  max-width: var(--w-page);
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
}

.hero-license__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 38px 46px;
  text-align: center;
}

.hero-license__text h2 {
  margin: 0;
  max-width: 22ch;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.hero-license__text p {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-2);
  line-height: var(--lh-loose);
  text-wrap: pretty;
}

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 32px;
  }
  .eq-stage {
    height: 420px;
    order: -1;
  }
  .hero-license {
    grid-template-columns: minmax(0, 1fr);
  }
  .hd__nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 34px;
  }
  .eq-stage {
    height: 320px;
  }
  .eq {
    font-size: 7px;
  }
  .hero-license__text {
    padding: 26px 20px;
  }
}

/* ─────────────────────────────────────────────────────────────
   SONARIS — page sections
   The body of the landing page: what the plugin is, what it does,
   the three phase paths, install, requirements, the beta's limits,
   and the FAQ. Built only from the system's own parts — hairlines,
   mono labels, ink buttons, one dark screen.
   ───────────────────────────────────────────────────────────── */

/* an icon inside a button: square, on the text line, never squashed */
.btn__ico {
  width: 13px;
  height: 13px;
  flex: none;
}

.sec-label {
  font-size: 10px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-3);
}

/* The line under the buttons in the free block. The column there
   stacks its children with a 14px gap, so the line gives that gap
   back on top and keeps a smaller one below. */
.hero-license .hero__cta {
  justify-content: center;
  margin-bottom: 8px;
}

.hero__line {
  margin: -22px 0 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ── responsive ──────────────────────────────────────────── */
