/* Text Gabriel, dark (Tyler 10/8, second pass): near-black with a little jade light, big quiet type, one bright
   button. Geist for words, JetBrains Mono for the small machine labels. */
:root {
  --bg: #0a0d0f; --ink: #eef1ef; --soft: #a7b1ae; --dim: #808b88; --line: rgba(238, 241, 239, .24);
  --jade: #93bba9; --emerald: #365e4c;
  --pad: clamp(24px, 6vw, 88px);
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  position: relative; margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font: 300 21px/1.45 Geist, system-ui, -apple-system, sans-serif; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Light from the top right, deeper green from the bottom left, and a fine grain so the black isn't flat. */
body::before, body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; }
body::before {
  background:
    radial-gradient(70vmax 55vmax at 92% -14%, rgba(147, 187, 169, .17), transparent 62%),
    radial-gradient(60vmax 50vmax at -14% 114%, rgba(54, 94, 76, .32), transparent 60%);
}
body::after {
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.t-top, .t-main, .t-foot { position: relative; z-index: 1; }

.t-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 32px var(--pad) 0; }
.t-mark { display: block; width: 104px; height: auto; }
.t-status { margin: 0; display: flex; align-items: center; gap: 10px; font: 400 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); animation: t-pulse 2.4s ease-out infinite; }
@keyframes t-pulse {
  0% { box-shadow: 0 0 0 0 rgba(147, 187, 169, .55); }
  70% { box-shadow: 0 0 0 10px rgba(147, 187, 169, 0); }
  100% { box-shadow: 0 0 0 0 rgba(147, 187, 169, 0); }
}

.t-main { flex: 1; width: 100%; max-width: 900px; padding: clamp(72px, 15vh, 164px) var(--pad) 56px; }
.t-lead { margin: 0 0 30px; max-width: 13em; font-weight: 300; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.035em; color: var(--ink); }
.t-caret { display: inline-block; width: .055em; height: .8em; margin-left: .1em; vertical-align: -.05em; background: var(--jade); animation: t-blink 1.1s steps(1) infinite; }
@keyframes t-blink { 50% { opacity: 0; } }
.t-p { margin: 0 0 18px; max-width: 33em; }
.t-soft { color: var(--soft); }
.t-nw { white-space: nowrap; }

/* Each phrase opens Messages with that question filled in. */
.t-ex { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--line); transition: text-decoration-color .25s, color .25s; }
.t-ex:hover { color: #fff; text-decoration-color: var(--jade); }

.t-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 42px 0 0; }
.t-cta {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 26px 0 30px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font: 500 18px/1 Geist, system-ui, -apple-system, sans-serif; letter-spacing: -.01em;
  box-shadow: 0 10px 44px rgba(147, 187, 169, .22);
  transition: background .3s, box-shadow .3s;
}
.t-cta:hover { background: #fff; box-shadow: 0 0 0 1px rgba(147, 187, 169, .55), 0 12px 52px rgba(147, 187, 169, .34); }
.t-cta svg { flex: none; transition: transform .2s; }
.t-cta:hover svg { transform: translateX(3px); }
.t-num { margin: 0; display: flex; flex-direction: column; gap: 7px; font: 400 11px/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.t-num span:first-child { font-size: 13px; letter-spacing: .08em; color: var(--soft); }

/* Computers can't text, so the links show the number and a code to scan with a phone. */
.t-desk {
  display: flex; align-items: center; gap: 22px; max-width: 560px; margin: 28px 0 0; padding: 18px;
  background: rgba(238, 241, 239, .045); border: 1px solid rgba(238, 241, 239, .1); border-radius: 20px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 16px; line-height: 1.5; letter-spacing: 0;
}
.t-desk[hidden] { display: none; }
.t-desk:focus { outline: none; }
.t-qr { flex: none; width: 132px; height: 132px; border-radius: 12px; background: #fff; }
.t-desk-copy p { margin: 0 0 .5em; }
.t-desk-copy p:last-child { margin: 0; }
.t-desk a { color: inherit; font-weight: 500; white-space: nowrap; text-decoration-color: var(--line); }
.t-desk-ask { color: var(--soft); }

.t-fine { margin: 52px 0 0; max-width: 40em; font: 400 12px/1.6 Geist, system-ui, -apple-system, sans-serif; letter-spacing: 0; color: var(--dim); }
.t-fine a { color: var(--soft); }

.t-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 var(--pad) 30px; font: 400 11px/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.t-foot a { color: inherit; text-decoration: none; }
.t-foot a:hover { color: var(--ink); }

a:focus-visible { outline: 2px solid var(--jade); outline-offset: 4px; border-radius: 4px; }
.t-cta:focus-visible { border-radius: 999px; }

/* Lines rise in once, a beat apart. */
@media (prefers-reduced-motion: no-preference) {
  .t-main > * { opacity: 0; transform: translateY(14px); animation: t-rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
  .t-main > :nth-child(2) { animation-delay: .1s; }
  .t-main > :nth-child(3) { animation-delay: .2s; }
  .t-main > :nth-child(4) { animation-delay: .3s; }
  .t-main > :nth-child(5) { animation-delay: .42s; }
  .t-main > :nth-child(n+6) { animation-delay: .5s; }
}
@keyframes t-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .t-dot, .t-caret { animation: none; } }

@media (max-width: 640px) {
  body { font-size: 19px; }
  .t-top { padding-top: 24px; }
  .t-main { padding-top: 64px; padding-bottom: 44px; }
  .t-lead { font-size: 38px; margin-bottom: 26px; }
  .t-cta-row { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 36px; }
  .t-cta { justify-content: center; }
  .t-num { flex-direction: row; justify-content: center; gap: 14px; }
  .t-fine { margin-top: 40px; }
  .t-foot { padding-bottom: 26px; }
}

/* ---------- The orb (shared/fx/orb.js; Tyler picked it 10/8) ---------- */
/* Wide screens: to the right of the words, centred on the first screen. */
.t-fx { position: absolute; z-index: 1; top: 50vh; right: var(--pad); width: min(32vw, 500px); transform: translateY(-50%); }
@media (max-width: 1239px) { .t-fx { display: none; } }
.t-orb[data-fx="orb"] { width: 100%; max-width: none; }
/* Phones and tablets: a small one in the status line, standing in for the dot. */
.t-status.has-mini .t-dot { display: none; }
.t-status .t-orb.t-mini { flex: none; width: 36px; margin: -11px -3px -11px -8px; }
