/*
  The front door, on the FLAIR semantic dark system.

  THE SAME CANVAS AND THE SAME COLUMN AS THE DASHBOARD, so the public page
  and the tool behind it read as one product rather than two. Tokens are
  repeated here rather than shared, because this page loads no stylesheet
  but its own and a second request for four colours would be a worse trade
  than four lines of duplication.

  NO GRADIENT, NO GLOW, AND ALMOST NO COLOUR. What stood here was a pair of
  blurred colour washes over a gradient mesh. The system this now follows
  spends colour only where it states something, and this page states no
  figure at all: no count, no rate, no snapshot. So it is near black, the
  type does the work, and the only colour on it belongs to the mark.
*/
:root {
  color-scheme: dark;

  --ground: #0b090d;
  --card: #111014;
  --raised: #222025;
  --line: #2b272e;

  --ink: #efebf0;
  --ink-soft: #aaa4af;
  --ink-faint: #7f7986;

  --column: min(2200px, calc(100% - 80px));
  --radius: 10px;

  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--ground); }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 13px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/*
  THE ONE MOTIF. Discrete observations along a timeline, which is the shape
  of everything underneath this service: ticks of differing height, most of
  them short, a few taller, and gaps where nothing was recorded. Solid
  colour at low opacity rather than a gradient, and heights written out
  rather than randomised, so two loads of this page are identical.
*/
.ticks {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 2.4%;
  padding: 0 6vw;
  pointer-events: none;
  z-index: 0;
}
.ticks i {
  flex: 1 1 0;
  background: var(--line);
  border-radius: 1px 1px 0 0;
  height: 8px;
}
.ticks i:nth-child(3n)  { height: 20px; }
.ticks i:nth-child(4n)  { height: 38px; }
.ticks i:nth-child(7n)  { height: 62px; background: #3a353f; }
.ticks i:nth-child(11n) { height: 96px; background: #46404c; }
/* Gaps: nothing was recorded here, and the row says so by being empty. */
.ticks i:nth-child(5n)  { height: 0; }
.ticks i:nth-child(13n) { height: 0; }

main {
  position: relative;
  z-index: 1;
  width: var(--column);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 120px;
  max-width: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-faint);
  font-size: .68rem;
  font-weight: 680;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--ink);
}
.hero-mark {
  display: block;
  width: auto;
  height: clamp(44px, 7vw, 80px);
  flex: none;
}
/* The interpuncts mark an initialism: lighter, so they separate the
   letters without competing with them. */
.wordmark .dot-sep { color: #6f6a76; font-weight: 400; margin: 0 .04em; }

/* The expansion of the initials. Each term is a word the service does, so
   they are set as a row of quiet labels rather than a sentence. */
.expand {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.expand span {
  color: var(--ink-soft);
  font-size: .82rem;
  letter-spacing: .01em;
}
.expand span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  vertical-align: 2px;
  border-radius: 50%;
  background: #4a444f;
}

.tagline {
  margin: 30px 0 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -.02em;
  max-width: 34ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 620;
  text-decoration: none;
}
.button:hover { background: var(--raised); border-color: #38343b; }
.button::after { content: "\2192"; color: var(--ink-soft); }

.quiet {
  color: var(--ink-soft);
  font-size: .82rem;
  text-decoration-color: #4a464f;
  text-underline-offset: 3px;
}
.quiet:hover { color: var(--ink); text-decoration-color: var(--ink-soft); }

footer {
  position: relative;
  z-index: 1;
  /* OPAQUE, so the tick row behind it stops at the rule rather than
     running up through the credit line. */
  background: var(--ground);
  width: var(--column);
  margin: 0 auto;
  padding: 18px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: .72rem;
}
footer .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4a444f;
}
footer code { font-family: var(--mono); font-size: .7rem; color: var(--ink-soft); }

a:focus-visible, .button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  :root { --column: calc(100% - 36px); }
  main { padding: 48px 0 90px; }
  .ticks { height: 130px; padding: 0 5vw; }
  .wordmark { gap: 14px; }
  .tagline { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
