/* Taulon — front page.
   Deliberately a single screen: the mark, one statement, one line of
   explanation, and the two ways in. Everything else lives in the deck. */

html, body { height: 100%; }
body.splash { display: flex; flex-direction: column; }

/* ---------- top line ---------- */
.topline__cta {
  margin-left: auto;
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.topline__cta:hover { border-color: var(--blue-lt); background: rgba(5, 124, 183, 0.12); }

.topline {
  position: relative;
  z-index: 10;
  flex: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px clamp(20px, 5vw, 64px);
}
/* ---------- hero ---------- */
.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px clamp(20px, 5vw, 64px) clamp(56px, 12vh, 120px);
}
.hero__glow-a { top: -120px; left: 2%;  width: 520px; height: 380px; background: var(--blue); }
.hero__glow-b { top: -100px; right: 0;  width: 480px; height: 360px; background: var(--indigo); opacity: 0.38; }

.hero__inner { position: relative; width: 100%; max-width: 1060px; }

.hero h1 {
  font-size: clamp(34px, 6vw, 76px);
  letter-spacing: -0.034em;
  line-height: 1.06;
  /* The measure is set by .hero__inner, not by a ch cap: `ch` resolves off the
     digit width and broke this to four lines. Balancing is off so the wrap is
     predictable when the headline text changes. */
  margin-bottom: clamp(24px, 3.4vh, 36px);
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 62ch;
  font-size: clamp(16px, 1.7vw, 21px);
  color: var(--text-dim);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(30px, 4.5vh, 46px);
}

/* On a phone the glows are wider than the screen, which reads as a wash rather
   than as light. Pull them in and down. */
@media (max-width: 760px) {
  .hero__glow-a { width: 300px; height: 240px; top: -60px; opacity: 0.38; }
  .hero__glow-b { width: 280px; height: 230px; top: 40px; opacity: 0.26; }
}

/* On a short window the hero simply scrolls rather than squeezing the type. */
@media (max-height: 560px) {
  html, body { height: auto; }
  .hero { padding-top: 24px; padding-bottom: 56px; }
}
