/* sagevtt.com, Direction A "Lantern" (2026-11-26). Plain CSS, no framework, nothing loaded from another site.
   The colours are the app's Ember (dark) tokens, copied from docs/design-system/tokens/tokens.css; site-tokens.test.ts holds them equal. */
:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --surface-1: #18181b;
  --surface-2: #212125;
  --line: #ffffff17;
  --line-strong: #7c7c86;
  --edge: #ffffff1c;
  --fill-1: #ffffff0d;
  --fill-2: #ffffff17;
  --fill-3: #ffffff21;
  --text: #f4f4f6;
  --text-2: #c4c4cb;
  --text-3: #a1a1aa;
  --accent: #e2a85a;
  --accent-hover: #edbe7e;
  --on-accent: #1b1204;
  --sage: #8cb9f2;
  --visible: #86cab2;
  --hidden: #c8ace6;
  --focus-soft: #e2a85a4d;
  /* The app's own type: Inter where it is installed, else the system's UI face. No web font is fetched. */
  --font-ui: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-display: Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --site-motion: 100ms; /* The site's one transition length; none when the visitor asks for reduced motion. */
  --board-grid: #ffffff1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px / 1.5 var(--font-ui);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.brand svg {
  width: 24px;
  height: 24px;
  display: block;
}
.top a.quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--fill-1);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  transition: background var(--site-motion) var(--ease);
}
.top a.quiet:hover {
  background: var(--fill-2);
  color: var(--text);
}

/* Hero: the die lights the board. The grid is the app's board grid, seen only inside the light. */
.hero {
  position: relative;
  text-align: center;
  padding-top: 56px;
  padding-bottom: 72px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: -64px;
  width: 100vw;
  height: 680px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(var(--board-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--board-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: calc(50% + 28px) 36px;
  -webkit-mask-image: radial-gradient(
    ellipse 560px 400px at 50% 190px,
    #000 0%,
    rgba(0, 0, 0, 0.5) 45%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 560px 400px at 50% 190px,
    #000 0%,
    rgba(0, 0, 0, 0.5) 45%,
    transparent 100%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: 900px;
  max-width: 100vw;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 50% 50% at 50% 42%,
    rgba(226, 168, 90, 0.16),
    rgba(226, 168, 90, 0.05) 45%,
    transparent 72%
  );
  pointer-events: none;
}
/* The page is no wider than the window: the light and the grid are clipped to it (the 390 px phone shows no sideways scroll). */
body {
  overflow-x: hidden;
}
.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 28px;
  box-shadow:
    0 0 0 1px #00000073,
    0 4px 12px #0000003d,
    0 28px 64px -12px #000000a6;
}
h1 {
  font: 600 84px / 1 var(--font-display);
  letter-spacing: -0.035em;
}
.pitch {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.022em;
  color: var(--text-2);
  text-wrap: balance;
}

.beta {
  margin: 44px auto 0;
  max-width: 520px;
}
.beta h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 17px / 1.2 var(--font-ui);
}
.beta h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.beta > p {
  margin-top: 6px;
  color: var(--text-2);
}
form.row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface-1);
  color: var(--text);
  font: 400 16px / 1 var(--font-ui);
  letter-spacing: -0.011em;
  transition:
    border-color var(--site-motion) var(--ease),
    box-shadow var(--site-motion) var(--ease);
}
input::placeholder {
  color: var(--text-3);
  opacity: 1;
}
input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-soft);
}
button {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: 600 15px / 1 var(--font-ui);
  letter-spacing: -0.011em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--site-motion) var(--ease),
    transform var(--site-motion) var(--ease);
}
button:active:not(:disabled) {
  transform: scale(0.97);
}
.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.primary:hover:not(:disabled) {
  background: var(--accent-hover);
}
.tinted {
  background: var(--fill-2);
  color: var(--text);
}
.tinted:hover {
  background: var(--fill-3);
}
button:disabled {
  cursor: progress;
}
/* The honeypot: off the page for people (and out of the tab order and the accessibility tree), there for a bot that fills every field. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.note,
.status {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-2);
}
.status:empty {
  display: none;
}

/* Join */
.join {
  margin: 56px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  align-items: center;
  text-align: left;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--edge);
}
.join h2 {
  font: 600 17px / 1.2 var(--font-ui);
}
.join form.row {
  margin-top: 0;
}
.join input {
  background: var(--surface-2);
}
.join .status,
.join .note {
  grid-column: 1 / -1;
  margin-top: 0;
}

/* Features */
.features {
  border-top: 1px solid var(--line);
  padding: 56px 0 72px;
}
.features h2 {
  font: 600 13px / 1.4 var(--font-ui);
  letter-spacing: 0;
  color: var(--text-2);
  margin-bottom: 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.f svg {
  width: 24px;
  height: 24px;
  display: block;
  margin-bottom: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.f h3 {
  font: 600 17px / 1.25 var(--font-ui);
  margin-bottom: 8px;
}
.f p {
  color: var(--text-2);
}
.c-sage {
  color: var(--sage);
}
.c-visible {
  color: var(--visible);
}
.c-hidden {
  color: var(--hidden);
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-3);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 8px;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--text-2);
  text-underline-offset: 3px;
}
footer a:hover {
  color: var(--text);
}

/* A short page (Privacy, Removed, Thanks, Try again). */
.page {
  padding-top: 40px;
  padding-bottom: 72px;
  max-width: 720px;
}
.page h1 {
  font-size: 44px;
  margin-bottom: 24px;
}
.page h2 {
  font: 600 17px / 1.25 var(--font-ui);
  margin: 28px 0 8px;
}
.page p,
.page li {
  color: var(--text-2);
}
.page p + p {
  margin-top: 12px;
}
.page ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.page li + li {
  margin-top: 6px;
}
/* A link on a line of its own ("Back to the home page") is a full 44 px target. */
.page a.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Kept after the rules above so no later, less specific selector reads as overriding them (they style different elements). */
.join > div > p {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-2);
  margin-top: 4px;
}
.note a {
  color: var(--text);
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 32px;
  }
  h1 {
    font-size: 64px;
  }
  .join {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 640px) {
  form.row {
    flex-direction: column;
  }
  form.row input {
    flex: none;
    width: 100%;
  }
  form.row button {
    width: 100%;
  }
  .hero {
    padding-bottom: 56px;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 52px;
  }
  .pitch {
    font-size: 20px;
  }
  .beta {
    margin-top: 36px;
  }
  .join {
    margin-top: 40px;
    padding: 20px 16px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features {
    padding: 40px 0 48px;
  }
  .page h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --site-motion: 0ms;
  }
}
