/* Softwarify public landing design system.
   Editorial typography (large, medium-weight display type, generous space,
   one blue accent) on the Softwarify dark-navy canvas. Tokens are documented
   in DESIGN.md. Sections: tokens, reset, layout, navigation, buttons, home
   screen (ambient, hero, prompt, launch, connect, footer), marketing sub-pages
   (about), dialog, responsive. */

/* ---------- Tokens ---------- */
:root {
  --landing-canvas: #020817;
  --landing-canvas-soft: #071024;
  --landing-panel: rgba(7, 16, 36, 0.75);
  --landing-panel-strong: rgba(9, 20, 44, 0.98);
  --landing-ink: #f8fafc;
  --landing-muted: #9aa8bd;
  --landing-faint: #7683a0;
  --landing-accent: #3b82f6;
  --landing-accent-hover: #60a5fa;
  --landing-accent-deep: #2563eb;
  --landing-accent-tint: rgba(59, 130, 246, 0.08);
  --landing-accent-border: rgba(59, 130, 246, 0.22);
  --landing-border: rgba(148, 163, 184, 0.16);
  --landing-border-strong: rgba(248, 250, 252, 0.24);
  --landing-focus-ring: 0 0 0 4px rgba(59, 130, 246, 0.18);
  --landing-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --landing-font: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --landing-display-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --landing-radius-pill: 999px;
  --landing-radius-xl: 28px;
  --landing-radius-lg: 20px;
  --landing-radius: 12px;
  --landing-nav-h: 76px;
  --landing-container: 1200px;
  --landing-gutter: 24px;
  --landing-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--landing-canvas);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--landing-canvas);
  color: var(--landing-ink);
  font-family: var(--landing-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 3px;
}

.landing-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--landing-radius-pill);
  background: var(--landing-accent);
  color: var(--landing-canvas);
  font-weight: 700;
  transition: top 120ms var(--landing-ease);
}

.landing-skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

/* ---------- Layout ---------- */
.landing-container {
  width: min(var(--landing-container), calc(100% - var(--landing-gutter) * 2));
  margin: 0 auto;
}

/* The home screen is sized to one viewport: nav, centred hero, one-line
   footer. Nothing is clipped; if a long brief grows the prompt box on a short
   screen, the page scrolls instead of hiding the connect row and footer. */
.landing-home {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--landing-nav-h);
  overflow-x: clip;
  isolation: isolate;
}

.landing-page {
  position: relative;
  padding-top: var(--landing-nav-h);
  overflow-x: clip;
  isolation: isolate;
}

/* ---------- Ambient background ---------- */
.landing-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.landing-ambient-page {
  height: min(100vh, 900px);
}

.landing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  will-change: transform;
}

.landing-orb-a {
  left: 50%;
  top: -34%;
  width: min(70vw, 980px);
  height: min(70vw, 980px);
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.38), rgba(59, 130, 246, 0.08) 45%, transparent 68%);
  animation: landing-drift-a 38s ease-in-out infinite alternate;
}

.landing-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 42%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 42%, #000 10%, transparent 72%);
}

/* The living pixel office: a low-resolution canvas scaled with crisp pixels,
   faded towards the middle so the headline and prompt stay legible. */
.landing-office {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 46%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.5) 55%, #000 100%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 46%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.5) 55%, #000 100%);
}

/* The pixel trail (pixel-trail.js): one canvas pixel per grid cell, scaled up
   with crisp edges, over the office and under the vignette, so cells behind
   the hero copy are dimmed with it. */
.landing-pixel-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* A soft dark vignette behind the hero copy so the headline, lede and prompt
   stay readable over the office without dimming its edges. */
.landing-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 52% at 50% 50%, rgba(2, 8, 23, 0.88) 0%, rgba(2, 8, 23, 0.62) 45%, rgba(2, 8, 23, 0) 75%);
}

@keyframes landing-drift-a {
  from { transform: translate(-50%, 0) scale(1); }
  to { transform: translate(-44%, 6%) scale(1.08); }
}

/* ---------- Navigation ---------- */
.landing-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--landing-nav-h);
  background: linear-gradient(to bottom, rgba(2, 8, 23, 0.92), rgba(2, 8, 23, 0.55));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.landing-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.landing-brand {
  order: 1;
}

.landing-menu {
  order: 2;
}

.landing-nav-actions {
  order: 3;
}

.landing-menu-button {
  order: 4;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  border-radius: var(--landing-radius);
}

.landing-brand-logo {
  width: auto;
  height: 38px;
  object-fit: contain;
}

/* The handshake alone, for a phone's bar: the wordmark would leave no room for the two ways in. */
.landing-brand-mark {
  display: none;
  width: auto;
  height: 32px;
}

.landing-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.landing-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.landing-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--landing-radius-pill);
  background: transparent;
  color: var(--landing-muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    color 160ms var(--landing-ease),
    background 160ms var(--landing-ease);
}

.landing-nav-link:hover,
.landing-nav-link.is-current {
  color: var(--landing-ink);
  background: rgba(248, 250, 252, 0.06);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.landing-nav-actions .landing-button-ghost {
  background: rgba(7, 16, 36, 0.7);
}

.landing-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-pill);
  background: rgba(248, 250, 252, 0.04);
  cursor: pointer;
}

.landing-menu-line {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--landing-ink);
  transition: transform 200ms var(--landing-ease);
}

.landing-menu-button[aria-expanded="true"] .landing-menu-line:first-child {
  transform: translateY(2.25px) rotate(45deg);
}

.landing-menu-button[aria-expanded="true"] .landing-menu-line:last-child {
  transform: translateY(-2.25px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--landing-radius-pill);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms var(--landing-ease),
    border-color 160ms var(--landing-ease),
    background 160ms var(--landing-ease),
    color 160ms var(--landing-ease);
}

.landing-button:hover {
  transform: translateY(-1px);
}

.landing-button:active {
  transform: translateY(0);
}

.landing-button-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.landing-button-primary {
  background: var(--landing-accent);
  color: var(--landing-canvas);
}

.landing-button-primary:hover {
  background: var(--landing-accent-hover);
}

.landing-button-ghost {
  border-color: var(--landing-border-strong);
  color: var(--landing-ink);
  background: transparent;
}

.landing-button-ghost:hover {
  border-color: rgba(248, 250, 252, 0.4);
  background: var(--landing-accent-tint);
}

.landing-button-muted {
  border-color: var(--landing-border);
  color: var(--landing-muted);
  background: rgba(148, 163, 184, 0.06);
}

.landing-button-muted:hover {
  color: var(--landing-ink);
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.landing-actions-center {
  justify-content: center;
}

/* ---------- Home hero ---------- */
.landing-hero-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 16px 0 24px;
  text-align: center;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: var(--landing-radius-pill);
  background: rgba(7, 16, 36, 0.88);
  color: var(--landing-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-kicker-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--landing-accent);
}

.landing-kicker-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--landing-accent);
  opacity: 0.5;
}

/* The display is a page's main message, so it is set in the display face:
   at this size a proportional sans reads faster than the monospace main
   face, whose letters are a fifth wider. 500 is the display's own weight;
   the reset's 700 is Space Mono's bold. */
.landing-display {
  max-width: 18ch;
  margin: 26px 0 18px;
  font-family: var(--landing-display-font);
  font-size: clamp(2.75rem, 6.4vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.landing-display span {
  color: var(--landing-accent);
}

/* The home headline asks a question in ink and answers it at full size in the
   accent, closing with the robot-and-human handshake from the logo. The
   question is set smaller so it fits one line on desktop and the headline
   keeps two lines, with the weight on the answer. */
.landing-display-dialogue {
  max-width: none;
}

.landing-display .landing-display-question {
  display: block;
  margin-bottom: 0.14em;
  color: var(--landing-ink);
  font-size: 0.64em;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

/* The question is three pieces on one line: the words before the turning
   word, the reel, the words after it. None of them may wrap, because the
   reel's word changes length and a line that broke for a long word and not
   for a short one would make the page jump; a line wider than the column
   (the longest words on a large screen) runs past it evenly on both sides,
   because the headline is a centred flex item. The lead and the tail are
   inline blocks so the script can slide them with `transform` when the reel
   changes width. Their colour is the question's, not the accent that
   `.landing-display span` gives every other piece of a headline. */
.landing-display .landing-display-question span {
  color: inherit;
}

.landing-display-lead,
.landing-display-tail {
  display: inline-block;
}

/* The tail is positioned for one reason: paint order. The reel is positioned
   (it holds its window), and a positioned box is painted after everything
   that is not, so without this the reel's word would lie on top of the
   tail's dark halo while the lead lies under it, and on a phone, where the
   tail is the line below, the two would differ by a shade. Positioned, the
   tail is painted after the reel, as the order in the page says. */
.landing-display-tail {
  position: relative;
}

/* The reel (DESIGN.md, "The Reel"): the question's middle word, which
   headline-reel.js turns like the reel of a slot machine. Without the script
   it is just the word. Once the script runs, the box gets its width from the
   script (in em, so it follows the headline through every size) and the real
   word stays in the line, unpainted: it keeps the box on the text's baseline
   and is the one word a screen reader, a search engine and a copy ever get. */
.landing-display-reel {
  position: relative;
  display: inline-block;
}

.landing-display-reel.is-live .landing-display-reel-word {
  opacity: 0;
}

/* The frame is the reel's window: a dark, rounded plate behind the word that
   says "this word turns" before it has moved. It is drawn only for a visitor
   whose word does turn; with reduced motion the question is plain text, as
   it is without this block. */
.landing-display-reel-frame {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  /* The frame reaches 0.26em past the word on each side, and the margin adds
     the room for it, so the words beside the reel stand a word space off
     its edge. The reel is its own stacking context one step up: that puts
     the frame over the dark halos of both neighbours alike (otherwise it
     would lie over one and under the other), and lets the frame go behind
     the word with a negative z-index. The word itself has no halo here: it
     stands on the frame's own dark fill, and a halo would dim the frame's
     edge beside it. */
  .landing-display-reel {
    z-index: 1;
    margin: 0 0.34em;
    text-shadow: none;
  }

  /* The frame is 0.14em taller than the line above and below, which centres
     it on the capitals. It is two halves, because its width changes with
     every word and only `transform` may move: each half is a clip that ends
     at the middle of the reel and holds one long plate, a rounded end with
     more than enough body behind it. To change width the script slides the
     two plates apart or together, and the clips hide whatever body crosses
     the middle. The halves are flex items so that they share that middle
     edge exactly (the second starts where the first ends), with no seam and
     no overlap; the negative margin lets each reach 6em outwards, so a plate
     that starts further out, closing in on a shorter word, is not cut. */
  .landing-display-reel-frame {
    position: absolute;
    z-index: -1;
    inset: -0.14em -0.26em;
    display: flex;
    pointer-events: none;
  }

  .landing-display-reel-side {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }

  .landing-display-reel-side:first-child {
    margin-left: -6em;
  }

  .landing-display-reel-side + .landing-display-reel-side {
    margin-right: -6em;
  }

  /* A plate: the prompt box's border, and a fill that is the canvas at the
     upper and lower edge and the prompt box's navy through the middle, like
     a drum lit from the front and turning away into the dark. 12em of body
     covers its half of the longest word even when it starts 3.4em out. */
  .landing-display-reel-plate {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12em;
    border: 1px solid rgba(96, 165, 250, 0.42);
    background: linear-gradient(180deg, rgba(2, 8, 23, 0.94), rgba(20, 33, 64, 0.94) 42%, rgba(20, 33, 64, 0.94) 58%, rgba(2, 8, 23, 0.94));
  }

  .landing-display-reel-side:first-child .landing-display-reel-plate {
    left: 6em;
    border-right: 0;
    border-radius: 0.22em 0 0 0.22em;
  }

  .landing-display-reel-side + .landing-display-reel-side .landing-display-reel-plate {
    right: 6em;
    border-left: 0;
    border-radius: 0 0.22em 0.22em 0;
  }

  /* The glint: when a word has landed, a soft band of pale light runs once
     along the frame's border, from left to right, slanted like the band on
     the answer below. It is a box over the whole frame of which only the
     border is seen (the mask is the box with its inside cut out), and in it
     the light, a box of the same size with the band through its middle,
     parked one width to the left. The script moves the light across with
     `transform`; nothing here animates. The glint lies still over the two
     halves, which is why it only runs while they stand: it has the frame's
     shape at rest. Without a way to cut the inside out of a mask there is
     no glint. */
  .landing-display-reel-glint {
    display: none;
  }

  @supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .landing-display-reel-glint {
      position: absolute;
      inset: 0;
      display: block;
      padding: 1px;
      border-radius: 0.22em;
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    }
  }

  .landing-display-reel-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 32%, rgba(191, 219, 254, 0.8) 50%, transparent 68%);
    transform: translateX(-100%);
  }

  /* The frame hangs 0.14em under the question's line, so what stands below
     it moves down: the answer by a tenth of an em more than without it... */
  .landing-display .landing-display-question {
    margin-bottom: 0.24em;
  }
}

/* ...and on a phone the question's own second line by 0.3em, which clears
   its tallest letters from the frame. */
@media (prefers-reduced-motion: no-preference) and (max-width: 799px) {
  .landing-display-tail {
    margin-top: 0.3em;
  }
}

/* The window is what is seen of the reel's words, and it is exactly as tall
   as the frame. Words roll downwards through it: the next one comes out from
   under the frame's upper edge, fading in over 0.22em, and the one that
   leaves goes under the lower edge, fading over 0.06em. The numbers follow
   the letters, which at this line height do not sit in the middle of their
   line: the tallest reach 0.11em below its top, and the tails of "g", "y"
   and "p" hang 0.08em below its bottom. So the mask is solid from 0.08em
   under the line's top to 0.08em under its bottom, and a standing word is
   never dimmed. The window is 5em wider than the box on each side, so a long
   word that is leaving is not cut at its ends before the frame closes in;
   the script times the frame so that no word is ever seen outside it. The
   script draws the window; it is hidden from assistive technology and takes
   no pointer and no selection. */
.landing-display-reel-window {
  position: absolute;
  inset: -0.14em -5em;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 0.22em, #000 calc(100% - 0.06em), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 0.22em, #000 calc(100% - 0.06em), transparent);
}

/* The strip holds the rows and is the only thing the roll moves (`transform`
   alone, so the compositor runs it without repainting the headline). */
.landing-display-reel-strip {
  position: absolute;
  inset: 0;
}

/* A row is one word, centred on the box, written by CSS from `data-word` so
   it never becomes text of the heading. Row 0 lies exactly on the real word
   (0.14em down, because the window starts that far above the line). Every
   further row is 1.3em higher, which puts all of it, hanging tails included,
   above the window until the strip rolls it in. */
.landing-display-reel-row {
  position: absolute;
  top: calc(0.14em - var(--reel-row, 0) * 1.3em);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.landing-display-reel-row::before {
  content: attr(data-word);
}

/* Below 800px the question with its longest word no longer fits one line, so
   it always takes two, broken at the same place whatever the word: the lead
   and the reel above, the tail below. A phone held sideways sets the headline
   small enough for one line again (the landscape step under "Responsive"). */
@media (max-width: 799px) {
  .landing-display-tail {
    display: block;
  }
}

.landing-display-answer {
  display: block;
  white-space: nowrap;
}

/* The shine: the one place on the landing where text is more than a flat
   colour (DESIGN.md, "The Shine"). The answer's words are lit from above,
   pale blue running down into the accent, with a soft glow of the accent
   around them, and a band of light crosses them every 8 seconds. This box is
   exactly the words, so the light never touches the handshake beside them. */
.landing-display-shine {
  position: relative;
  display: inline-block;
}

/* Letters reach outside their line box: the tail of the "y" below it and
   the last letter past its right edge. A clipped fill stops at the box, so
   the box grows by 0.16em and 0.1em of padding, and the same negative margin
   takes the space back so nothing moves. The glow is a blurred copy of the
   letters in the accent; it is a filter because a text shadow is painted
   over a clipped fill and would dim it. */
.landing-display-words {
  display: inline-block;
  margin: -0.16em -0.1em;
  padding: 0.16em 0.1em;
  filter: drop-shadow(0 0 0.3em rgba(59, 130, 246, 0.5));
}

/* The stops are measured from the top of the padded box, so they sit at the
   same height of the letters at every size: pale above the capitals, the
   lighter accent through the lowercase, the accent from the baseline down.
   Every stop is the accent or lighter, so the words only gain contrast on
   the canvas. Without clipped backgrounds they stay flat accent with the
   headline's halo. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .landing-display-shine .landing-display-words {
    background: linear-gradient(180deg, #bfdbfe 0.24em, var(--landing-accent-hover) 0.62em, var(--landing-accent) 0.98em);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}

/* The band of light is a second copy of the words in ink, seen through a
   slanted soft-edged window. The window travels across the words while the
   copy inside it travels the same distance back, so the letters stand still
   and only the light moves. Both run on `transform` alone, which the
   compositor animates without repainting the headline. The copy comes from
   `data-shine` on an `aria-hidden` element, so the answer is read once. The
   window covers the words' padded box, and the copy's padding puts its
   letters back on theirs. */
.landing-display-sweep {
  position: absolute;
  inset: -0.16em -0.1em;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(112deg, transparent 38%, #000 50%, transparent 62%);
  mask-image: linear-gradient(112deg, transparent 38%, #000 50%, transparent 62%);
  transform: translateX(-64%);
  animation: landing-shine-sweep 8s ease-in-out 1.2s infinite;
}

.landing-display-sweep::before {
  content: attr(data-shine);
  position: absolute;
  inset: 0;
  padding: 0.16em 0.1em;
  color: var(--landing-ink);
  text-shadow: none;
  transform: translateX(64%);
  animation: landing-shine-hold 8s ease-in-out 1.2s infinite;
}

/* The light crosses in 2.2 seconds and rests for the other 5.8, parked past
   the last letter (the window's band sits at its middle, so 64 percent of
   its width carries the band fully off either end). The two keyframe sets
   must stay mirror images of each other. */
@keyframes landing-shine-sweep {
  0% { transform: translateX(-64%); }
  27.5%, 100% { transform: translateX(64%); }
}

@keyframes landing-shine-hold {
  0% { transform: translateX(64%); }
  27.5%, 100% { transform: translateX(-64%); }
}

.landing-display-mark {
  display: inline-block;
  width: auto;
  height: 0.82em;
  margin-left: 0.22em;
  vertical-align: -0.06em;
}

/* On the home screen the headline, lede and call float over the living
   office, so they get a soft dark halo (legibility, not decoration). */
.landing-home .landing-display,
.landing-home .landing-start {
  text-shadow: 0 2px 28px rgba(2, 8, 23, 0.95), 0 0 6px rgba(2, 8, 23, 0.7);
}

/* 62 characters hold the home lede on two lines on a desktop: at 58 its
   first line breaks one word early and the hero grows a third line. */
.landing-home .landing-lede {
  max-width: 62ch;
  color: #b4c0d6;
  text-shadow: 0 1px 14px rgba(2, 8, 23, 0.95), 0 0 4px rgba(2, 8, 23, 0.8);
}

.landing-home .landing-kicker,
.landing-home .landing-connect-label {
  text-shadow: 0 1px 10px rgba(2, 8, 23, 0.9);
}

.landing-lede {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--landing-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* On the home page the lede is a second-level heading (what Softwarify is, for search engines and screen readers).
   It keeps the look of the paragraph it was: the weight and letter spacing that the heading reset above would give
   it are set back to body text. */
h2.landing-lede {
  font-weight: 400;
  letter-spacing: normal;
}

/* The call of the home page. Starting is describing an idea, not signing up,
   so the page says so in its second largest type, in the display face, right
   above the idea box, and a chevron under the words points into that box. */
.landing-start {
  margin: 28px 0 0;
  color: var(--landing-ink);
  font-family: var(--landing-display-font);
  font-size: clamp(1.375rem, 2.1vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* The chevron is the lower two sides of a square turned on its corner, so it
   is 1.41 times the square's side wide and half that tall. It dips towards
   the box once every 2.4 seconds; the keyframes repeat the rotation because
   they replace the whole transform. */
.landing-start::after {
  content: "";
  display: block;
  width: 0.46em;
  height: 0.46em;
  margin: 0.1em auto 0;
  border: solid var(--landing-accent);
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 2px;
  transform: rotate(45deg);
  animation: landing-start-nudge 2.4s ease-in-out infinite;
}

@keyframes landing-start-nudge {
  0%, 40%, 100% { transform: translateY(0) rotate(45deg); }
  20% { transform: translateY(5px) rotate(45deg); }
}

/* ---------- Prompt box ---------- */
.landing-prompt {
  position: relative;
  width: min(780px, 100%);
  margin: 18px auto 0;
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: var(--landing-radius-xl);
  background: linear-gradient(180deg, rgba(20, 33, 64, 0.96), rgba(12, 22, 46, 0.97));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(2, 8, 23, 0.9),
    0 0 0 2px rgba(59, 130, 246, 0.18),
    inset 0 1px 0 rgba(248, 250, 252, 0.08),
    var(--landing-shadow);
  text-align: left;
  transition:
    border-color 200ms var(--landing-ease),
    box-shadow 200ms var(--landing-ease),
    transform 200ms var(--landing-ease);
}

.landing-prompt:focus-within {
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow:
    0 0 0 1px rgba(2, 8, 23, 0.9),
    inset 0 1px 0 rgba(248, 250, 252, 0.08),
    var(--landing-shadow),
    var(--landing-focus-ring);
}

.landing-prompt-input {
  display: block;
  width: 100%;
  min-height: 108px;
  max-height: 200px;
  padding: 22px 24px 6px;
  border: 0;
  border-radius: var(--landing-radius-xl) var(--landing-radius-xl) 0 0;
  background: transparent;
  color: var(--landing-ink);
  font-size: 1.125rem;
  line-height: 1.55;
  resize: none;
  overflow-y: auto;
  outline: none;
}

.landing-prompt-input:focus-visible {
  outline: none;
}

/* The prompt fill is lighter than the canvas, so the placeholder and the
   ghost typewriter use a slightly lighter faint that keeps 4.5:1 at the top
   of the box (DESIGN.md, Contrast). */
.landing-prompt-input::placeholder {
  color: #7f8ca7;
  opacity: 1;
}

/* Typewriter examples render in an aria-hidden overlay so assistive tech only
   ever reads the static placeholder. */
.landing-prompt.is-ghosting .landing-prompt-input::placeholder {
  color: transparent;
}

.landing-prompt-ghost {
  position: absolute;
  top: 22px;
  right: 24px;
  left: 24px;
  color: #7f8ca7;
  font-size: 1.125rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  pointer-events: none;
}

/* The bar under the idea: the hint at the left, the microphone in the middle, Start building at the right. It is
   the box the microphone's floating line is placed against. */
.landing-prompt-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 12px 24px;
}

.landing-prompt-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--landing-faint);
  font-size: 0.8125rem;
}

.landing-prompt-hint kbd {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border: 1px solid var(--landing-border);
  border-radius: 6px;
  background: rgba(248, 250, 252, 0.04);
  color: var(--landing-muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 400;
}

.landing-prompt-hint .landing-icon {
  width: 0.9em;
  height: 0.9em;
}

.landing-prompt-hint-sep {
  margin: 0 4px;
}

.landing-prompt-submit {
  justify-self: end;
}

/* While the idea is posted and the office opens: the idea stays readable but
   quiet, and the button stops inviting a second press. */
.landing-prompt[aria-busy="true"] .landing-prompt-input {
  opacity: 0.7;
}

.landing-prompt[aria-busy="true"] .landing-prompt-submit {
  cursor: progress;
  pointer-events: none;
}

/* ---------- Launch: the hero turns away into the office ---------- */
/* A posted idea plays the first half of a flip before the page changes
   (landing.js): the kicker, headline, lede, call and connect row recede, the
   prompt box turns away, and the living office behind them zooms and dims. The page
   that answers, the visitor's office, turns in from the other side
   (virtual-office.css, "Arrival"). The hero and the status line share one
   grid cell, so the line stands where the hero was while the server works. */
.landing-home > main,
.landing-launch-status {
  grid-row: 1;
  grid-column: 1;
}

.landing-home.is-launching > main {
  perspective: 1400px;
  perspective-origin: 50% 50%;
}

.landing-home.is-launching .landing-kicker,
.landing-home.is-launching .landing-display,
.landing-home.is-launching .landing-lede,
.landing-home.is-launching .landing-start,
.landing-home.is-launching .landing-connect {
  opacity: 0;
  transform: translateZ(-360px) translateY(-24px);
  pointer-events: none;
  transition:
    opacity 480ms var(--landing-ease),
    transform 480ms var(--landing-ease);
}

/* The box is seen turning for the first half and is gone when it is edge-on. */
.landing-home.is-launching .landing-prompt {
  transform: rotateY(-90deg) scale(0.92);
  transform-origin: 50% 50%;
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    transform 520ms var(--landing-ease),
    opacity 260ms linear 260ms;
}

.landing-body-home .landing-office,
.landing-body-home .landing-hero-scrim {
  transition:
    transform 900ms var(--landing-ease),
    opacity 900ms var(--landing-ease);
}

.landing-home.is-launching .landing-office {
  transform: scale(1.28);
  opacity: 0.26;
}

.landing-home.is-launching .landing-hero-scrim {
  opacity: 0;
}

.landing-launch-status {
  place-self: center;
  margin: 0;
  color: var(--landing-muted);
  font-size: 1.125rem;
  opacity: 0;
  pointer-events: none;
}

/* It appears once the box has turned away, so a fast answer never shows it. */
.landing-home.is-launching .landing-launch-status {
  opacity: 1;
  transition: opacity 320ms var(--landing-ease) 560ms;
}

/* ---------- Connect row ---------- */
.landing-connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 26px;
}

.landing-connect-label {
  color: var(--landing-muted);
  font-size: 0.9375rem;
}

.landing-connect-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.landing-connect .landing-button {
  min-height: 44px;
  padding: 0 18px;
  border-color: rgba(248, 250, 252, 0.34);
  background: rgba(7, 16, 36, 0.82);
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(2, 8, 23, 0.8);
}

.landing-connect .landing-button:hover {
  border-color: rgba(248, 250, 252, 0.6);
  background: rgba(59, 130, 246, 0.18);
}

.landing-connect .landing-icon {
  width: 1.15em;
  height: 1.15em;
}

/* ---------- Home footer ---------- */
/* The home footer sits over the living office, so it gets its own dark,
   slightly blurred band and readable text. */
.landing-home-footer {
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(to top, rgba(2, 8, 23, 0.97), rgba(2, 8, 23, 0.88));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.landing-home-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  color: var(--landing-muted);
  font-size: 0.8125rem;
}

.landing-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.landing-footer-heart {
  display: inline-flex;
  color: var(--landing-accent);
  animation: landing-heartbeat 2.8s ease-in-out infinite;
}

.landing-footer-heart .landing-icon {
  width: 0.95em;
  height: 0.95em;
}

@keyframes landing-heartbeat {
  0%, 70%, 100% { transform: scale(1); }
  78% { transform: scale(1.22); }
  86% { transform: scale(0.96); }
  92% { transform: scale(1.14); }
}

.landing-footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  margin: 0 -8px;
  color: #c3cde0;
  text-underline-offset: 4px;
  transition: color 160ms var(--landing-ease);
}

.landing-footer-link:hover {
  color: var(--landing-ink);
  text-decoration: underline;
}

/* The start of the home footer's row: the copyright and the legal pages. From 861px the links stand in the row. Below
   that the row has neither the width for six links nor the height for a second line (the home page fits one screen), so
   it keeps one button that opens the same links as a list above the band (the phone tier). These rules come after
   .landing-footer-link, which the button also carries, so that they decide whether it shows. */
.landing-home-footer-start,
.landing-home-legal {
  display: flex;
  align-items: center;
}

.landing-home-footer-start {
  gap: 24px;
  min-width: 0;
}

.landing-home-legal {
  gap: 20px;
}

.landing-footer-copyright,
.landing-home-footer .landing-footer-link {
  white-space: nowrap;
}

.landing-home-legal-button {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.landing-legal-sheet {
  display: none;
}

/* ---------- Marketing sub-pages (about) ---------- */
.landing-about-hero {
  padding: 88px 0 56px;
}

.landing-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  text-align: center;
}

.landing-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  color: var(--landing-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-mission-grid,
.landing-founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Four people: one row on a wide window, two by two on a narrower one, one column on a phone (the 860px rules). */
.landing-founder-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 861px) and (max-width: 1180px) {
  .landing-founder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* The home footer's row holds the six legal links here: the note gives them its place. */
  .landing-footer-note {
    display: none;
  }

  .landing-home-footer-start,
  .landing-home-legal {
    gap: 16px;
  }

  /* A signed-in visitor's row ends in the longer way to their office, which the copyright would push off the row. */
  .landing-home-footer-inner.is-signed-in .landing-footer-copyright {
    display: none;
  }
}

.landing-mission-grid {
  padding: 24px 0 80px;
}

/* The film under the about hero: one 16:9 frame, the poster with a play button until it is pressed, then
   YouTube's player in the same frame (landing.js swaps the link for it). */
.landing-film {
  padding: 0 0 56px;
}

.landing-film-frame {
  position: relative;
  display: block;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-xl);
  background: var(--landing-canvas-soft);
  aspect-ratio: 16 / 9;
}

.landing-film-frame img,
.landing-film-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.landing-film-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 999px;
  background: var(--landing-accent);
  box-shadow: 0 18px 50px rgba(2, 8, 23, 0.55);
  color: var(--landing-canvas);
  font-size: 2rem;
  transform: translate(-50%, -50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.landing-film-frame:hover .landing-film-play {
  background: var(--landing-accent-hover);
  transform: translate(-50%, -50%) scale(1.06);
}

.landing-film-frame:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}

.landing-film-note {
  margin: 14px 0 0;
  color: var(--landing-faint);
  font-size: 0.8125rem;
  text-align: center;
}

/* What stays free: three promises side by side under their heading. */
.landing-open {
  padding: 0 0 80px;
}

.landing-open-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.landing-open-grid h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

/* A button may be hidden until a script offers it: its display rule must not undo that. */
.landing-button[hidden] {
  display: none;
}

/* The privacy page's analytics control: the answer so far in words, then one button per answer; the chosen one
   carries the accent border. */
.landing-choice-state {
  color: var(--landing-ink) !important;
  font-weight: 700;
}

.landing-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-choice-actions .landing-button[aria-pressed="true"] {
  border-color: var(--landing-accent);
  background: var(--landing-accent-tint);
  color: var(--landing-ink);
}

/* The privacy page: one readable column of panels, with smaller headings than the about page's two big ones. */
.landing-prose {
  display: grid;
  gap: 20px;
  max-width: 860px;
  padding: 24px 0 80px;
}

.landing-prose .landing-panel h2 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.2;
}

.landing-prose .landing-panel p,
.landing-prose .landing-panel ul {
  margin: 0 0 14px;
}

.landing-prose .landing-panel > :last-child {
  margin-bottom: 0;
}

.landing-prose ul {
  padding-left: 1.2em;
  color: var(--landing-muted);
  line-height: 1.65;
}

.landing-prose li + li {
  margin-top: 10px;
}

.landing-prose strong {
  color: var(--landing-ink);
  font-weight: 700;
}

.landing-prose .landing-prose-date {
  color: var(--landing-faint);
  font-size: 0.8125rem;
}

.landing-prose a,
.landing-about-hero .landing-lede a {
  color: var(--landing-ink);
  text-decoration: underline;
}

.landing-panel,
.landing-founder-card,
.landing-values article,
.landing-cta {
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-xl);
  background: var(--landing-panel);
}

.landing-panel,
.landing-founder-card,
.landing-values article {
  padding: 32px;
}

.landing-panel h2,
.landing-cta h2,
.landing-section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.landing-panel p,
.landing-founder-card p,
.landing-values p,
.landing-cta p,
.landing-section-heading p {
  color: var(--landing-muted);
  line-height: 1.65;
}

.landing-section-heading {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.landing-founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-founder-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.landing-founder-image,
.landing-founder-placeholder {
  width: 148px;
  height: 148px;
  margin-bottom: 22px;
  border: 1px solid var(--landing-accent-border);
  border-radius: var(--landing-radius-xl);
  background: var(--landing-accent-tint);
}

.landing-founder-image {
  object-fit: cover;
  image-rendering: pixelated;
}

.landing-founder-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-accent);
  font-size: 3.5rem;
  font-weight: 700;
}

.landing-founder-card .landing-button {
  margin-top: auto;
}

.landing-founder-role {
  margin: 0 0 12px;
  color: var(--landing-accent) !important;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 22px;
}

.landing-tags span {
  padding: 6px 12px;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-pill);
  color: var(--landing-muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.landing-values {
  padding: 80px 0;
}

.landing-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-values h3 {
  margin: 18px 0 8px;
  font-size: 1.125rem;
}

.landing-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--landing-accent-border);
  border-radius: 16px;
  background: var(--landing-accent-tint);
  color: var(--landing-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.landing-cta {
  margin-bottom: 80px;
  padding: 56px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1), rgba(7, 16, 36, 0.6));
}

.landing-cta p {
  max-width: 56ch;
  margin: 0 auto;
}

.landing-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--landing-faint);
}

.landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 26px 0;
  font-size: 0.8125rem;
}

/* ---------- Contact dialog ---------- */
body.landing-dialog-is-open {
  overflow: hidden;
}

.landing-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 8, 23, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.landing-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 90;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-xl);
  background: var(--landing-canvas-soft);
  padding: 32px;
  box-shadow: var(--landing-shadow);
}

.landing-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.landing-dialog-header h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}

.landing-dialog-header p {
  color: var(--landing-muted);
  font-size: 0.9375rem;
}

.landing-dialog-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-pill);
  background: rgba(248, 250, 252, 0.04);
  color: var(--landing-ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.landing-form,
.landing-form-grid {
  display: grid;
  gap: 16px;
}

.landing-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-form label {
  display: grid;
  gap: 8px;
  color: var(--landing-ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.landing-form input,
.landing-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-lg);
  background: rgba(2, 8, 23, 0.7);
  color: var(--landing-ink);
  font-size: 0.9375rem;
  transition:
    border-color 160ms var(--landing-ease),
    box-shadow 160ms var(--landing-ease);
}

.landing-form input:focus-visible,
.landing-form textarea:focus-visible {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: var(--landing-focus-ring);
}

.landing-form textarea {
  resize: vertical;
}

.landing-honeypot {
  display: none !important;
}

/* "(optional)" beside a label: the form asks only for a name and an email address. */
.landing-form-optional {
  color: var(--landing-muted);
  font-weight: 400;
}

/* The form's reCAPTCHA, above its status line: a checkbox key's "I'm not a robot" box, or a policy-based key's
   inline badge. Without a key (or for a signed-in person) the holder is not rendered at all; until Google's script
   has drawn the widget it is empty and takes no room. Google's box is 304px wide, wider than the form on the
   narrowest phones, so it is scaled down there instead of being cut off. */
.landing-form-recaptcha:empty {
  display: none;
}

@media (max-width: 380px) {
  .landing-form-recaptcha {
    transform: scale(0.85);
    transform-origin: left top;
  }
}

.landing-form-status {
  min-height: 20px;
  color: var(--landing-muted);
  font-size: 0.875rem;
}

.landing-form-status.is-success {
  color: #86efac;
}

.landing-form-status.is-error {
  color: #fca5a5;
}

.landing-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.landing-dialog-note {
  margin: 20px 0 0;
  color: var(--landing-muted);
  font-size: 0.875rem;
  text-align: center;
}

.landing-dialog-note a {
  color: var(--landing-accent);
}

/* ---------- Responsive ---------- */
/* The three desktop steps are cut by height, each where the step above it
   stops fitting one screen with the call in it: at its widest the full hero
   needs 842px, this step 747px and the next 596px. */
@media (max-height: 850px) and (min-width: 861px) {
  .landing-display {
    margin: 18px 0 14px;
    font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  }

  .landing-lede {
    font-size: 1.0625rem;
  }

  .landing-start {
    margin-top: 20px;
    font-size: clamp(1.375rem, 2.1vw, 1.75rem);
  }

  .landing-prompt {
    margin-top: 16px;
  }

  .landing-prompt-input {
    min-height: 92px;
  }

  .landing-connect {
    margin-top: 18px;
  }
}

/* Laptops with browser chrome (viewports about 600 to 760px tall, such as
   1366x657 or 1440x718). */
@media (max-height: 760px) and (min-width: 861px) {
  .landing-hero-home {
    padding: 2px 0 6px;
  }

  .landing-kicker {
    padding: 5px 12px 5px 8px;
  }

  /* The call stays; on a screen this low the kicker gives its place to it. */
  .landing-home .landing-kicker {
    display: none;
  }

  /* A tenth of the height keeps the headline as large as each screen in this
     step allows: at most 61px at 610px tall, up to the full 72px from 720px. */
  .landing-display {
    margin: 14px 0 10px;
    font-size: clamp(2.25rem, min(4.8vw, 10vh), 4.5rem);
  }

  .landing-home .landing-display {
    margin: 0 0 14px;
  }

  .landing-lede {
    font-size: 1rem;
  }

  .landing-start {
    margin-top: 18px;
    font-size: 1.375rem;
  }

  .landing-prompt {
    margin-top: 14px;
  }

  .landing-prompt-input {
    min-height: 72px;
    max-height: 160px;
    padding-top: 16px;
  }

  .landing-prompt-ghost {
    top: 16px;
  }

  .landing-prompt-bar {
    padding-bottom: 8px;
  }

  .landing-connect {
    margin-top: 14px;
  }

  .landing-home-footer-inner {
    min-height: 44px;
  }
}

@media (max-width: 860px) {
  :root {
    --landing-nav-h: 64px;
    --landing-gutter: 16px;
  }

  body {
    font-size: 1rem;
  }

  .landing-nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .landing-brand-logo {
    height: 32px;
  }

  .landing-nav-actions {
    gap: 6px;
  }

  .landing-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .landing-menu {
    position: absolute;
    top: calc(var(--landing-nav-h) + 8px);
    right: var(--landing-gutter);
    left: var(--landing-gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    background: var(--landing-canvas-soft);
    box-shadow: var(--landing-shadow);
  }

  .landing-menu.is-open {
    display: flex;
  }

  .landing-nav-link {
    justify-content: flex-start;
    min-height: 44px;
    font-size: 1rem;
  }


  .landing-hero-home {
    padding: 8px 0 16px;
  }

  .landing-office {
    opacity: 0.6;
  }

  .landing-kicker {
    font-size: 0.6875rem;
  }

  .landing-display {
    margin: 20px 0 14px;
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }

  .landing-lede {
    font-size: 1rem;
  }

  .landing-start {
    margin-top: 24px;
    font-size: 1.25rem;
  }

  .landing-prompt {
    margin-top: 16px;
    border-radius: 22px;
  }

  .landing-prompt-input {
    min-height: 96px;
    padding: 18px 18px 4px;
    font-size: 1rem;
  }

  .landing-prompt-ghost {
    top: 18px;
    right: 18px;
    left: 18px;
    font-size: 1rem;
  }

  .landing-prompt-bar {
    padding: 4px 10px 10px 18px;
  }

  .landing-prompt-hint {
    display: none;
  }

  .landing-prompt-submit {
    justify-self: stretch;
    min-height: 44px;
  }

  .landing-connect {
    margin-top: 20px;
    gap: 10px;
  }

  .landing-connect-label {
    width: 100%;
    font-size: 0.875rem;
  }

  .landing-home-footer-inner {
    justify-content: center;
    min-height: 48px;
    font-size: 0.75rem;
  }

  .landing-footer-note {
    display: none;
  }

  /* The legal pages leave the row for a list behind one button. */
  .landing-home-footer-start {
    gap: 16px;
  }

  .landing-home-footer-inner.is-signed-in .landing-footer-copyright {
    display: none;
  }

  .landing-home-legal {
    display: none;
  }

  .landing-home-legal-button {
    display: inline-flex;
  }

  /* The list is a popover: it stands in the browser's top layer, two links to a line, just above the footer band
     (which is at most 49px high in this tier). The values a browser gives every popover are set over: its centering,
     its own border, padding and colors. */
  .landing-legal-sheet:popover-open {
    position: fixed;
    inset: auto var(--landing-gutter) 60px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    width: auto;
    max-height: calc(100dvh - 72px);
    margin: 0;
    padding: 8px 16px;
    overflow: auto;
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    background: var(--landing-canvas-soft);
    box-shadow: var(--landing-shadow);
    color: var(--landing-muted);
    font-size: 0.8125rem;
  }

  /* A browser without popovers cannot open the list, so there it stands under the row and the button is left out:
     the page then scrolls a little, and the legal pages stay in reach. */
  @supports not selector(:popover-open) {
    .landing-home-legal-button {
      display: none;
    }

    .landing-legal-sheet {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0 20px;
      padding: 0 var(--landing-gutter) 8px;
      font-size: 0.75rem;
    }
  }

  .landing-about-hero {
    padding: 56px 0 40px;
  }

  .landing-mission-grid,
  .landing-founder-grid,
  .landing-open-grid,
  .landing-values-grid {
    grid-template-columns: 1fr;
  }

  .landing-film {
    padding-bottom: 40px;
  }

  .landing-open {
    padding-bottom: 56px;
  }

  .landing-film-play {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .landing-mission-grid {
    padding-bottom: 56px;
  }

  .landing-values {
    padding: 56px 0;
  }

  .landing-panel,
  .landing-founder-card,
  .landing-values article {
    padding: 24px;
  }

  .landing-cta {
    margin-bottom: 56px;
    padding: 40px 20px;
  }

  .landing-footer-inner,
  .landing-dialog-actions {
    flex-direction: column;
  }

  .landing-dialog {
    padding: 24px;
  }

  .landing-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Phones: the bar holds the handshake, both ways in and the menu button. */
@media (max-width: 560px) {
  .landing-brand-logo {
    display: none;
  }

  .landing-brand-mark {
    display: block;
  }

  .landing-nav-actions .landing-button-sm {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 360px) {
  .landing-nav-actions .landing-button-sm {
    padding: 0 10px;
    font-size: 0.75rem;
  }
}

@media (max-width: 860px) and (max-height: 760px) {
  .landing-hero-home {
    padding: 4px 0 10px;
  }

  /* The call stays; on a screen this low the kicker gives its place to it. */
  .landing-home .landing-kicker {
    display: none;
  }

  .landing-display {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 9.5vw, 2.75rem);
  }

  .landing-home .landing-display {
    margin-top: 0;
  }

  .landing-lede {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .landing-start {
    margin-top: 16px;
  }

  .landing-prompt {
    margin-top: 12px;
  }

  .landing-prompt-input {
    min-height: 76px;
    padding-top: 14px;
  }

  .landing-prompt-ghost {
    top: 14px;
  }

  .landing-prompt-bar {
    padding-bottom: 8px;
  }

  .landing-connect {
    margin-top: 14px;
  }

  .landing-connect .landing-button {
    min-height: 40px;
  }

  .landing-home-footer-inner {
    min-height: 40px;
  }
}

/* Phones held sideways: keep the essentials on one short screen. */
@media (max-width: 1024px) and (max-height: 480px) and (orientation: landscape) {
  :root {
    --landing-nav-h: 56px;
  }

  .landing-hero-home {
    padding: 0 0 6px;
  }

  .landing-kicker {
    padding: 4px 10px 4px 7px;
    font-size: 0.625rem;
  }

  /* The call stays; on a screen this low the kicker gives its place to it. */
  .landing-home .landing-kicker {
    display: none;
  }

  .landing-display {
    margin: 10px 0 8px;
    font-size: clamp(1.75rem, 4.2vw, 2.25rem);
    max-width: none;
  }

  /* At this size the question fits one line with its longest word, so the tail needs no room above it either. */
  .landing-display-tail {
    display: inline-block;
    margin-top: 0;
  }

  .landing-home .landing-display {
    margin: 0 0 6px;
  }

  .landing-lede {
    display: none;
  }

  .landing-start {
    margin-top: 0;
    font-size: 1.0625rem;
  }

  /* A line of its own is the 10px this screen does not have, so the chevron
     stands beside the words. */
  .landing-start::after {
    display: inline-block;
    margin: 0 0 0.2em 0.6em;
  }

  .landing-prompt {
    width: min(640px, 100%);
    margin-top: 8px;
  }

  .landing-prompt-input {
    min-height: 48px;
    max-height: 96px;
    padding: 10px 16px 2px;
    font-size: 0.9375rem;
  }

  .landing-prompt-ghost {
    top: 10px;
    right: 16px;
    left: 16px;
    font-size: 0.9375rem;
  }

  .landing-prompt-bar {
    padding: 2px 8px 8px 16px;
  }

  .landing-prompt-hint {
    display: none;
  }

  .landing-prompt-submit {
    justify-self: stretch;
    min-height: 40px;
  }

  .landing-connect {
    margin-top: 8px;
    gap: 8px;
  }

  .landing-connect-label {
    width: auto;
    font-size: 0.8125rem;
  }

  .landing-connect .landing-button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.8125rem;
  }

  .landing-home-footer-inner {
    min-height: 36px;
    font-size: 0.6875rem;
  }

  .landing-footer-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .landing-orb,
  .landing-footer-heart,
  .landing-start::after {
    animation: none;
  }

  /* The band of light is only ever seen moving; the lit words and their glow stay. */
  .landing-display-sweep {
    display: none;
  }

  .landing-button,
  .landing-prompt,
  .landing-nav-link,
  .landing-skip-link {
    transition: none;
  }

  .landing-button:hover {
    transform: none;
  }
}

/* The "I'm not a robot" box of a checkbox reCAPTCHA key: shown under the prompt when the idea is sent. An
   invisible key's holder waits in the form, empty, until Google's script is fetched (when the visitor turns to the
   idea box) and must take no room there: the form would be 12px taller until then and jump as the visitor
   starts to type. */
.landing-prompt .landing-recaptcha:not([hidden]):not(:empty) {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* An invisible key's holder is moved to the end of the body (landing.js) for the badge, which is fixed in a
   corner; the holder itself takes no height there, or its margin would be the only thing to scroll to. */
body > .landing-recaptcha {
  height: 0;
  margin: 0;
}

/* Type or talk: the microphone, a round button centred in the prompt's bar between the hint and Start building,
   with "Type or talk" beside it. The glyph is the record-red everyone knows, at rest; while it records the button
   fills solid red with a pulsing ring. The pair is no taller than Start building, so the bar keeps the height the
   home page is measured for: the page ends at the bottom of every viewport, with nothing to scroll. A press where
   it cannot record lights the line red for a moment instead.
   Holding the button must not select text or open a menu on touch screens. */
.landing-prompt-talk { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.landing-talk-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; border: 2px solid rgba(248, 113, 113, 0.5); border-radius: 50%; background: rgba(248, 113, 113, 0.1); color: #f87171; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.landing-talk-button .landing-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.landing-talk-button:hover { border-color: #f87171; background: rgba(248, 113, 113, 0.2); }
.landing-talk-button:focus-visible { outline: 2px solid #f87171; outline-offset: 3px; }
.landing-talk-button[aria-pressed="true"] { border-color: #fca5a5; background: #dc2626; color: #fff; box-shadow: 0 0 0 6px rgba(248, 113, 113, 0.3); animation: landing-talk-pulse 1s ease-in-out infinite; }
@keyframes landing-talk-pulse { 50% { box-shadow: 0 0 0 12px rgba(248, 113, 113, 0.08); } }
.landing-prompt-talk-hint { max-width: 30ch; color: var(--landing-muted); font-size: 0.8125rem; line-height: 1.3; }
/* Any line but "Type or talk" floats above the bar, centred over the box's bottom edge and never wider than the
   bar, so a long guide or refusal never makes the bar taller: the page keeps its height and nothing scrolls. */
.landing-prompt-talk-hint.is-note { position: absolute; left: 50%; bottom: calc(100% + 2px); z-index: 3; width: max-content; max-width: calc(100% - 24px); padding: 6px 12px; border: 1px solid var(--landing-border-strong); border-radius: 12px; background: var(--landing-panel-strong); color: var(--landing-ink); text-align: center; transform: translateX(-50%); }
/* The next step a line offers: the account to create, or the page that settles a refusal about money or keys. */
.landing-prompt-talk-link { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--landing-accent); color: #fff; font-weight: 700; text-decoration: none; }
.landing-prompt-talk-link:hover { background: var(--landing-accent-hover); }
.landing-prompt-talk-link[hidden] { display: none; }
.landing-prompt-talk-hint.is-alert { border-color: #f87171; background: linear-gradient(rgba(248, 113, 113, 0.18), rgba(248, 113, 113, 0.18)), var(--landing-panel-strong); color: #fecaca; animation: landing-alert-glow 1.1s ease-out 2; }
@keyframes landing-alert-glow { 30% { box-shadow: 0 0 18px 3px rgba(248, 113, 113, 0.7); } 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); } }
@media (prefers-reduced-motion: reduce) {
  .landing-talk-button[aria-pressed="true"] { animation: none; }
  .landing-prompt-talk-hint.is-alert { animation: none; box-shadow: 0 0 14px 2px rgba(248, 113, 113, 0.6); }
}
/* Phones: the hint is gone, so the bar is two columns, the microphone and its line at the left and Start building
   across the rest; the line wraps rather than widen, so the row stays one button tall. */
@media (max-width: 560px) {
  .landing-prompt-bar { grid-template-columns: auto 1fr; }
  .landing-prompt-talk { justify-self: start; gap: 8px; }
  .landing-talk-button { width: 44px; height: 44px; }
  .landing-prompt-talk-hint { max-width: 11ch; font-size: 0.75rem; }
  .landing-prompt-submit { justify-self: stretch; }
}
/* The narrowest phones leave the line a few characters: smaller, so "Type or talk" is two lines beside the button. */
@media (max-width: 400px) {
  .landing-prompt-talk-hint { max-width: 8ch; font-size: 0.6875rem; }
}
@media (max-width: 1024px) and (max-height: 480px) and (orientation: landscape) {
  .landing-talk-button { width: 40px; height: 40px; }
}

/* The footer's way into the office carries the office glyph before its words. */
.landing-footer-office { display: inline-flex; align-items: center; gap: 6px; }
.landing-footer-office .landing-icon { width: 1em; height: 1em; }

/* ---------- Check your inbox (right after an early-access request) ----------
   A full screen over the page, not a line in the dialog: the request only counts once the link in the email is
   opened, and that must be impossible to miss. It scrolls by itself on a small phone. The envelope drops in and
   bobs, its red "1" pops, the three steps rise one after the other; all of it stands still for a visitor who asks
   for reduced motion. Closing it leaves a reminder pill at the bottom until that is dismissed. */
.landing-inbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.25) 0%, transparent 60%), rgba(2, 8, 23, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: landing-inbox-in 240ms ease-out both;
}

.landing-inbox[hidden],
.landing-inbox-reminder[hidden] {
  display: none;
}

.landing-inbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--landing-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.landing-inbox-close:hover {
  background: var(--landing-accent-tint);
  color: var(--landing-ink);
}

.landing-inbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 672px;
  min-height: 100%;
  margin: 0 auto;
  padding: 56px 16px;
  text-align: center;
}

.landing-inbox-envelope {
  position: relative;
  width: 112px;
  margin-bottom: 32px;
  animation: landing-inbox-drop 700ms cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.landing-inbox-float {
  display: block;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.55));
  animation: landing-inbox-bob 2.4s ease-in-out 1s infinite;
}

.landing-inbox-float svg {
  display: block;
  width: 100%;
  height: auto;
}

.landing-inbox-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 4px var(--landing-canvas);
  color: #ffffff;
  font-weight: 700;
  animation: landing-inbox-pop 500ms ease-out 700ms both;
}

.landing-inbox-kicker,
.landing-inbox-perks-title {
  margin: 0 0 12px;
  color: var(--landing-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.landing-inbox-title,
.landing-welcome-title {
  margin: 0 0 20px;
  font-family: "Pixelify Sans", "Space Mono", ui-monospace, monospace;
  font-size: clamp(2.125rem, 8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.5px;
}

.landing-inbox-name,
.landing-welcome-title span {
  color: var(--landing-accent);
  text-shadow: 0 0 24px rgba(59, 130, 246, 0.55);
}

.landing-inbox-lede {
  margin: 0 0 12px;
  color: var(--landing-muted);
  font-size: 1.125rem;
}

.landing-inbox-address {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 12px 20px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  font-size: 1.125rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.landing-inbox-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 32px;
  padding: 16px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.1);
  color: #fef3c7;
  text-align: left;
}

.landing-inbox-warning .landing-icon {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: #fcd34d;
}

.landing-inbox-warning p {
  margin: 0;
  line-height: 1.55;
}

.landing-inbox-warning strong {
  color: #fcd34d;
}

.landing-inbox-steps,
.landing-inbox-perks ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.landing-inbox-steps li,
.landing-inbox-perks li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  background: rgba(7, 16, 36, 0.7);
  text-align: left;
}

.landing-inbox-steps li {
  animation: landing-inbox-rise 500ms ease-out both;
}

.landing-inbox-steps li:nth-child(1) { animation-delay: 400ms; }
.landing-inbox-steps li:nth-child(2) { animation-delay: 550ms; }
.landing-inbox-steps li:nth-child(3) { animation-delay: 700ms; }

.landing-inbox-step {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 8px;
  background: var(--landing-accent);
  color: var(--landing-canvas);
  font-size: 0.875rem;
  font-weight: 700;
}

.landing-inbox-steps li > span:last-child,
.landing-inbox-perks li > span {
  color: var(--landing-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.landing-inbox-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 32px;
}

.landing-inbox-perks {
  width: 100%;
  margin: 0 0 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(59, 130, 246, 0.12);
}

.landing-inbox-perks-title {
  margin-bottom: 16px;
  color: var(--landing-muted);
}

.landing-inbox-perks ul {
  margin-bottom: 0;
}

.landing-inbox-perks li {
  align-items: center;
  border-color: rgba(59, 130, 246, 0.12);
  background: rgba(7, 16, 36, 0.4);
  text-align: center;
}

.landing-inbox-perks .landing-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  color: var(--landing-accent);
}

.landing-inbox-help {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.875rem;
}

.landing-inbox-fix {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--landing-accent);
  font: inherit;
  font-weight: 700;
  text-underline-offset: 4px;
  cursor: pointer;
}

.landing-inbox-fix:hover {
  text-decoration: underline;
}

.landing-inbox-close:focus-visible,
.landing-inbox-fix:focus-visible,
.landing-inbox-reminder button:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 2px;
}

/* The reminder that stays after the screen is closed: one pill, bottom centre. */
.landing-inbox-reminder {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  padding: 4px 4px 4px 16px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 999px;
  background: rgba(7, 16, 36, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-size: 0.875rem;
  transform: translateX(-50%);
  animation: landing-inbox-rise 300ms ease-out both;
}

.landing-inbox-reminder-open {
  min-height: 40px;
  overflow: hidden;
  border: 0;
  background: none;
  color: var(--landing-ink);
  font: inherit;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.landing-inbox-reminder-open strong {
  color: #fcd34d;
}

.landing-inbox-reminder-address {
  color: var(--landing-muted);
}

.landing-inbox-reminder-dismiss {
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--landing-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

/* The cookie notice lies along the bottom edge, above everything. While the early-access form or this screen is
   open it steps aside, because on a phone it would lie on the form's "Send request" button; it is back when they
   close, still unanswered. The reminder stands above it. */
.landing-dialog-is-open .consent {
  display: none;
}

body:has(.consent) .landing-inbox-reminder {
  bottom: 112px;
}

@media (max-width: 899px) {
  body:has(.consent) .landing-inbox-reminder {
    bottom: 164px;
  }
}

@media (max-width: 640px) {
  .landing-inbox-inner {
    justify-content: flex-start;
    padding-top: 72px;
  }

  .landing-inbox-steps,
  .landing-inbox-perks ul {
    grid-template-columns: 1fr;
  }

  .landing-inbox-actions {
    flex-direction: column;
    width: 100%;
  }

  .landing-inbox-reminder-address {
    display: none;
  }
}

@keyframes landing-inbox-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes landing-inbox-drop { from { opacity: 0; transform: translateY(-80px) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes landing-inbox-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes landing-inbox-pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes landing-inbox-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* The reminder's own transform centres it, so it rises without the keyframe's "transform: none". */
.landing-inbox-reminder {
  animation-name: landing-inbox-in;
}

/* ---------- The pages a confirmation link opens (welcome, and the notice for a link that did not work) ----------
   A page of its own: logo, the team in a row with speech bubbles that take turns, the headline, two buttons, and a
   short burst of pixel confetti behind it all (landing/js/welcome.js). */
.landing-welcome-body {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 20px;
  overflow-x: hidden;
  background: radial-gradient(ellipse at top, #0b1a45 0%, var(--landing-canvas) 60%);
  background-color: var(--landing-canvas);
}

.landing-confetti {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing-welcome {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.landing-welcome-logo {
  display: inline-block;
  margin-bottom: 28px;
  opacity: 0.9;
}

.landing-welcome-logo img {
  display: block;
  width: 170px;
  height: auto;
}

.landing-welcome-team {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 64px 0 36px;
}

.landing-welcome-member {
  position: relative;
  opacity: 0;
  animation: landing-welcome-pop 500ms cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}

.landing-welcome-member:nth-child(2) { animation-delay: 200ms; }
.landing-welcome-member:nth-child(3) { animation-delay: 400ms; }
.landing-welcome-member:nth-child(4) { animation-delay: 600ms; }

.landing-welcome-portrait {
  display: block;
  width: 96px;
  height: 96px;
  border: 3px solid var(--landing-accent);
  border-radius: 20px;
  background: #8fb8de;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12), 0 12px 32px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  object-position: top;
  image-rendering: pixelated;
  animation: landing-inbox-bob 3.2s ease-in-out infinite;
}

.landing-welcome-member:nth-child(2) .landing-welcome-portrait { animation-delay: 800ms; }
.landing-welcome-member:nth-child(3) .landing-welcome-portrait { animation-delay: 1600ms; }
.landing-welcome-member:nth-child(4) .landing-welcome-portrait { animation-delay: 2400ms; }

/* One bubble at a time: each speaks for about two seconds of an eight-second round. */
.landing-welcome-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--landing-ink);
  color: var(--landing-canvas);
  font-family: "Pixelify Sans", "Space Mono", ui-monospace, monospace;
  font-size: 15px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
  transform-origin: bottom center;
  animation: landing-welcome-say 8s ease-in-out infinite;
}

.landing-welcome-bubble::after {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top-color: var(--landing-ink);
  content: "";
}

.landing-welcome-member:nth-child(1) .landing-welcome-bubble { animation-delay: 900ms; }
.landing-welcome-member:nth-child(2) .landing-welcome-bubble { animation-delay: 2900ms; }
.landing-welcome-member:nth-child(3) .landing-welcome-bubble { animation-delay: 4900ms; }
.landing-welcome-member:nth-child(4) .landing-welcome-bubble { animation-delay: 6900ms; }

.landing-welcome-name {
  margin-top: 10px;
  color: var(--landing-muted);
  font-size: 13px;
}

.landing-welcome-title {
  margin-bottom: 16px;
}

.landing-welcome-seat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  font-size: 14px;
  font-weight: 700;
}

.landing-welcome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: landing-welcome-blink 1.6s ease-in-out infinite;
}

.landing-welcome-text {
  max-width: 460px;
  margin: 0 auto 14px;
  color: var(--landing-muted);
  font-size: 17px;
  line-height: 1.6;
}

.landing-welcome-text strong {
  color: var(--landing-ink);
}

.landing-welcome-text a {
  color: var(--landing-accent);
}

.landing-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 460px) {
  .landing-welcome-team {
    gap: 12px;
    margin-top: 56px;
  }

  .landing-welcome-portrait {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .landing-welcome-bubble {
    font-size: 13px;
  }

  /* The outer two bubbles would hang over the screen's edge when centred: they hold on to their own side. */
  .landing-welcome-member:first-child .landing-welcome-bubble {
    left: 0;
    transform: none;
    animation-name: landing-welcome-say-edge;
  }

  .landing-welcome-member:first-child .landing-welcome-bubble::after {
    left: 34px;
  }

  .landing-welcome-member:last-child .landing-welcome-bubble {
    right: 0;
    left: auto;
    transform: none;
    animation-name: landing-welcome-say-edge;
  }

  .landing-welcome-member:last-child .landing-welcome-bubble::after {
    right: 27px;
    left: auto;
    margin-left: 0;
  }
}

@keyframes landing-welcome-pop { from { opacity: 0; transform: translateY(24px) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes landing-welcome-say { 0% { opacity: 0; transform: translateX(-50%) scale(0.6); } 4%, 22% { opacity: 1; transform: translateX(-50%) scale(1); } 25%, 100% { opacity: 0; transform: translateX(-50%) scale(1); } }
@keyframes landing-welcome-say-edge { 0% { opacity: 0; } 4%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes landing-welcome-blink { 50% { opacity: 0.35; } }

/* Reduced motion: everything stands where its animation would end, and the first person's greeting stays. */
@media (prefers-reduced-motion: reduce) {
  .landing-inbox,
  .landing-inbox *,
  .landing-inbox-reminder,
  .landing-welcome * {
    animation: none !important;
  }

  .landing-welcome-member {
    opacity: 1;
  }

  .landing-welcome-member:first-child .landing-welcome-bubble {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 460px) {
  .landing-welcome-member:first-child .landing-welcome-bubble {
    transform: none;
  }
}
