    :root {
      --paper: #f3f2f2; --dark: #262424;
      --gold: #b68235; --gold-300: #f0c9a0; --gold-400: #e1ad66;
      --gold-tint: rgba(182, 130, 53, .14);
      --line-dark: rgba(243, 242, 242, .14);
      --paper-75: rgba(243, 242, 242, .75);
      --paper-68: rgba(243, 242, 242, .68);
      --paper-60: rgba(243, 242, 242, .60);
      --paper-45: rgba(243, 242, 242, .45);
      --serif: "Cormorant Garamond", Georgia, serif;
      --body: "Lora", Georgia, serif;
    }
    * { box-sizing: border-box; margin: 0; }
    html { overflow-x: clip; }
    body { font-family: var(--body); background: var(--dark); color: var(--paper);
      line-height: 1.6; text-wrap: pretty; overflow-x: clip; }
    a { color: var(--gold-400); }
    a:hover { color: var(--gold-300); }
    :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
    ::selection { background: rgba(182, 130, 53, .3); }

    /* One flat ground from top to bottom, with a soft shadow that follows
       the cursor. */
    /* overflow-x: clip keeps the tilted landing sheets from widening the page */
    #dz-page { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
      background: var(--dark); }
    #dz-glow { position: fixed; left: 0; top: 0; width: 760px; height: 760px; border-radius: 999px;
      pointer-events: none; opacity: 0;
      background: radial-gradient(circle, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .12) 30%, transparent 62%);
      transform: translate(-50%, -50%); will-change: transform;
      transition: transform .35s ease-out, opacity .6s ease; }

    .gate-nav { position: relative; display: flex; align-items: center; gap: 24px;
      padding: 20px 48px; }
    .gate-brand { font-family: var(--serif); font-weight: 500; font-size: 23px;
      color: var(--paper); text-decoration: none; }
    .gate-brand em { font-style: normal; color: var(--gold); }
    .gate-pill { flex: none; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; line-height: 1.4;
      color: var(--gold-400); border: 1px solid rgba(182, 130, 53, .5); border-radius: 999px; padding: 5px 12px;
      white-space: nowrap; }
    @media (max-width: 420px) {
      .gate-nav { gap: 12px; }
      .gate-pill { font-size: 10px; letter-spacing: .18em; padding: 4px 9px; }
    }
    /* LinkedIn, Instagram and email as the same ringed icons the signed-in
       footer shows, on the gate's dark ground */
    .gate-social { margin-left: auto; display: flex; align-items: center; gap: 10px; }
    .gate-social a { display: inline-flex; align-items: center; justify-content: center;
      width: 34px; height: 34px; border-radius: 50%; color: var(--paper-68);
      border: 1px solid rgba(243, 242, 242, .28);
      transition: color .2s, border-color .2s, transform .15s; }
    .gate-social a:hover { color: var(--paper); border-color: var(--paper);
      transform: translateY(-2px); }
    .gate-social svg { width: 15px; height: 15px; }

    .gate-main { position: relative; flex: 1; display: grid;
      grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px;
      align-items: center; max-width: 1180px; width: 100%; margin: 0 auto;
      padding: 30px 48px 50px; }
    @media (max-width: 920px) {
      .gate-main { grid-template-columns: 1fr; gap: 44px; padding: 24px 26px 48px; }
      .gate-nav { padding: 18px 26px; }
    }

    .kicker { font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
      color: var(--gold-400); margin-bottom: 22px; }
    h1 { font-family: var(--serif); font-weight: 400;
      font-size: clamp(44px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -.008em; }
    h1 .line { display: block; }
    h1 .gold { color: var(--gold); }
    .rx-x { font-size: .66em; vertical-align: -.18em; }
    .rule { width: 64px; height: 1px; background: var(--gold); margin-top: 26px; }
    .gate-sub { font-size: 16px; line-height: 27px; color: var(--paper-68);
      max-width: 50ch; margin-top: 22px; }

    .steps { display: flex; flex-direction: column; margin-top: 34px; max-width: 52ch; }
    .step { display: flex; gap: 18px; align-items: baseline; padding: 14px 0;
      border-top: 1px solid var(--line-dark); }
    .step:last-child { border-bottom: 1px solid var(--line-dark); }
    .step .n { font-family: var(--serif); font-weight: 500; font-size: 19px;
      color: var(--gold-400); min-width: 26px;
      font-feature-settings: "lnum" 1, "tnum" 1; }
    .step p { font-size: 14px; line-height: 23px; color: var(--paper-75); }
    .step b { font-weight: 600; color: var(--paper); }
    .type-caret { display: inline-block; width: 1px; height: .9em; background: var(--gold-400);
      vertical-align: -.1em; margin-left: 2px; }

    /* The card: a tight edge shadow only (no haze on the ground), gold
       hairline, brighter gold corner brackets. The brackets sit on a frame around the card because the
       morphing card clips its own overflow. */
    .card-frame { position: relative; }
    .card-frame .corner { position: absolute; z-index: 1; width: 18px; height: 18px;
      border: 0 solid var(--gold-400); pointer-events: none; }
    .card-frame .tl { left: 0; top: 0; border-top-width: 1px; border-left-width: 1px; border-radius: 7px 0 0 0; }
    .card-frame .tr { right: 0; top: 0; border-top-width: 1px; border-right-width: 1px; border-radius: 0 7px 0 0; }
    .card-frame .bl { left: 0; bottom: 0; border-bottom-width: 1px; border-left-width: 1px; border-radius: 0 0 0 7px; }
    .card-frame .br { right: 0; bottom: 0; border-bottom-width: 1px; border-right-width: 1px; border-radius: 0 0 7px 0; }
    .gate-card { position: relative; border: 1px solid rgba(182, 130, 53, .55); border-radius: 7px;
      padding: 36px 34px;
      background: linear-gradient(165deg, #312e2e 0%, #282626 60%, #242222 100%);
      box-shadow: inset 0 1px 0 rgba(243, 242, 242, .07), 0 1px 3px rgba(0, 0, 0, .3); }
    .gate-card .k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
      color: var(--gold-400); }
    .gate-card h2 { font-family: var(--serif); font-weight: 400; font-size: 30px;
      margin-top: 10px; }
    .btn-enter { display: block; width: 100%; text-align: center;
      font-family: var(--body); font-size: 15px; padding: 14px 24px; margin-top: 24px;
      border: 1px solid var(--gold); border-radius: 4px; color: var(--gold-300);
      background: linear-gradient(180deg, rgba(182, 130, 53, .16), rgba(182, 130, 53, .06));
      box-shadow: 0 4px 10px -8px rgba(182, 130, 53, .35), inset 0 1px 0 rgba(243, 242, 242, .08);
      text-decoration: none; cursor: pointer;
      transition: background .2s, box-shadow .2s, transform .2s; }
    .btn-enter:hover { background: rgba(182, 130, 53, .24); color: var(--gold-300);
      box-shadow: 0 6px 14px -8px rgba(182, 130, 53, .45), inset 0 1px 0 rgba(243, 242, 242, .1);
      transform: translateY(-1px); }
    /* taps on the card go straight through: no double-tap-zoom wait */
    .gate-card a, .gate-card button, .btn-enter { touch-action: manipulation; }
    .mfa-note { font-size: 12px; color: var(--paper-45); text-align: center;
      margin-top: 12px; }
    .gate-card .divider { border-top: 1px solid rgba(243, 242, 242, .12);
      margin-top: 22px; padding-top: 18px; }
    .gate-card .request { font-size: 13px; line-height: 21px; color: var(--paper-60);
      text-align: center; }
    .gate-card .request a { text-decoration: none;
      border-bottom: 1px solid var(--gold); }
    .disclaim { position: relative; z-index: 2; font-size: 11.5px; line-height: 18px; color: var(--paper-45);
      margin: 16px 4px 0; text-align: center; }

    .gate-foot { position: relative; display: flex; align-items: baseline; gap: 24px;
      padding: 22px 48px; border-top: 1px solid rgba(243, 242, 242, .12);
      flex-wrap: wrap; }
    .gate-foot .brand { font-family: var(--serif); font-size: 18px; color: var(--paper); }
    .gate-foot .brand em { font-style: normal; color: var(--gold); }
    .gate-foot .legal { font-size: 13.8px; color: var(--paper-45); flex: 1;
      text-align: center; }
    .gate-foot .links { display: flex; gap: 24px; }
    .gate-foot .links a { font-size: 14.4px; color: var(--paper-68);
      text-decoration: none; }
    .gate-foot .links a:hover { color: var(--paper); }
    /* phones: brand and links share the top row, the copyright line gets its own */
    @media (max-width: 560px) {
      .gate-foot { padding: 20px 26px; row-gap: 10px; }
      .gate-foot .links { margin-left: auto; }
      .gate-foot .legal { order: 3; flex-basis: 100%; text-align: left; }
    }

    @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- the landing's typewriter intro ------------------------------------
   Only on while html.dz-intro is set (the landing sets it before first paint
   when the intro should play); otherwise the page renders as a plain gate. */
#dz-intro, #dz-spacer { display: none; }
html.dz-intro #dz-intro { position: fixed; inset: 0; z-index: 20; display: flex;
  align-items: center; justify-content: center; overflow: hidden; background: var(--dark); }
html.dz-intro #dz-spacer { display: block; height: 200vh; }
html.dz-intro #dz-page { position: fixed; inset: 0; overflow: hidden; opacity: 0; }
#dz-word { display: flex; flex-direction: column; align-items: center; gap: 22px; flex: none;
  will-change: transform, opacity; }
.dz-wordline { display: flex; align-items: baseline; font-family: var(--serif); font-weight: 500;
  font-size: clamp(72px, 11vw, 150px); line-height: 1; color: var(--paper); }
.dz-wordline .dot { color: var(--gold); }
#dz-typed, #dz-subtyped { white-space: pre; }
#dz-cursor { display: inline-block; width: 2px; height: .82em; background: var(--gold-400);
  margin-left: .06em; vertical-align: -.06em; opacity: 0; }
#dz-cursor.blink1 { animation: dz-blink .6s steps(1) 1; opacity: 1; }
#dz-subline { display: flex; align-items: center; min-height: 20px; font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold-400); white-space: nowrap; }
#dz-cursor2 { display: inline-block; width: 1.5px; height: 1.1em; background: var(--gold-400);
  margin-left: .15em; opacity: 0; }
#dz-cursor2.blink { animation: dz-blink 1s steps(1) infinite; }
#dz-cue { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex;
  flex-direction: column; align-items: center; gap: 12px; opacity: 0; transition: opacity .8s ease; }
#dz-cue span:first-child { font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(243, 242, 242, .55); }
#dz-cue span:last-child { width: 1px; height: 48px; background: var(--gold-400);
  animation: dz-cue 2.4s ease-in-out infinite; }
@keyframes dz-blink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes dz-cue {
  0% { transform: scaleY(0); transform-origin: top }
  45% { transform: scaleY(1); transform-origin: top }
  55% { transform: scaleY(1); transform-origin: bottom }
  100% { transform: scaleY(0); transform-origin: bottom } }

/* ---- forms in the gate palette -------------------------------------- */
.gate-card .lead { font-size: 14px; line-height: 22px; color: var(--paper-68); margin-top: 10px; }
.f { margin-top: 18px; }
    /* the honeypot field: off-screen, never seen, never filled by a person */
    .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
    .cf-turnstile { margin-top: 18px; }
.f label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper-60); margin-bottom: 6px; }
.f label .aside { float: right; font-size: 12px; letter-spacing: normal; text-transform: none; }
.f label .aside a { text-decoration: none; border-bottom: 1px solid rgba(182, 130, 53, .6); }
/* inputs are wells pressed into the card */
.f input { width: 100%; font-family: var(--body); font-size: 15px; padding: 12px 14px; color: var(--paper);
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(243, 242, 242, .28); border-radius: 4px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45); transition: border-color .2s, box-shadow .2s; }
.f input:focus { outline: none; border-color: var(--gold);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), 0 0 0 3px rgba(182, 130, 53, .18); }
.f input[readonly] { color: var(--paper-60); background: rgba(0, 0, 0, .14); }
.f input.code { font-size: 26px; letter-spacing: .42em; text-align: center; padding: 12px 6px 12px 18px;
  font-variant-numeric: tabular-nums; }
.hint { font-size: 12px; line-height: 18px; color: var(--paper-45); margin-top: 6px; }
.alert { margin-top: 18px; padding: 11px 13px; border-radius: 4px; font-size: 13.5px; line-height: 20px;
  border: 1px solid rgba(224, 119, 107, .5); background: rgba(224, 119, 107, .10); color: #f2b3ab; }
.alert.ok { border-color: rgba(143, 199, 154, .5); background: rgba(143, 199, 154, .10); color: #bfe4c6; }
.alert.pin { border-color: rgba(182, 130, 53, .5); background: var(--gold-tint); color: var(--gold-300); }
.consent { font-size: 11.5px; line-height: 18px; color: var(--paper-45); margin-top: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qr-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 18px; }
.qr-row > div { min-width: 0; }
.qr { width: 132px; height: 132px; background: var(--paper); border-radius: 4px; padding: 8px; }
.qr svg { width: 100%; height: 100%; display: block; }
.key { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; letter-spacing: .08em;
  color: var(--paper); background: rgba(243, 242, 242, .06); border: 1px solid var(--line-dark);
  border-radius: 4px; padding: 8px 10px; word-break: break-all; }
.gate-main.solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.gate-main.solo > div { width: 100%; max-width: 440px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } .qr-row { grid-template-columns: 1fr; justify-items: center; } }

/* ---- the landing card that morphs into sign-in / request access ------ */
.gate-card.morph { overflow: hidden; transition: height .42s cubic-bezier(.2, .7, .2, 1); }
.gate-card.morph .pane { transition: opacity .22s ease, transform .32s cubic-bezier(.2, .7, .2, 1); }
.gate-card.morph .pane.out { opacity: 0; transform: translateY(-6px); }
.gate-card.morph .pane.in { opacity: 0; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) { .gate-card.morph, .gate-card.morph .pane { transition: none !important; } }

/* ---- landing: source records streaming in behind a glass sign-in card --
   The sheets travel in 3D from the distance toward the card (positions set
   each frame by the script in beta-landing.html); the card is frosted glass,
   so they show through it blurred. Depth comes from blur, translucency and
   gold edge light, not shadow. */
.gate-main.landing { background: radial-gradient(ellipse 45% 60% at 78% 50%, rgba(243, 242, 242, .035), transparent 70%); }
.records { position: absolute; inset: -120px -150px 0 -210px; z-index: 0; pointer-events: none; perspective: 1400px; }
.records-rig { position: absolute; inset: 0; transform-style: preserve-3d; }
.sheet { position: absolute; left: 0; top: 0; width: 250px; padding: 16px 18px 18px; border-radius: 6px; opacity: 0;
  background: linear-gradient(170deg, rgba(243, 242, 242, .085), rgba(243, 242, 242, .03));
  border: 1px solid rgba(243, 242, 242, .12); border-top-color: rgba(225, 173, 102, .45);
  will-change: transform, opacity; }
.sheet h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.3; color: var(--gold-400); white-space: nowrap; }
.sheet .f { display: block; margin-top: 9px; font-size: 10.5px; line-height: 1.4; color: rgba(243, 242, 242, .5); }
.sheet .f i { display: block; height: 6px; margin-top: 5px; border-radius: 3px; background: rgba(243, 242, 242, .16); }
.sheet .bars { display: block; }
.sheet .bars i { display: block; height: 5px; margin-top: 8px; border-radius: 3px; background: rgba(243, 242, 242, .11); }
.card-frame .corner { z-index: 2; }
.landing .card-frame .gate-card { z-index: 1; background: rgba(40, 38, 38, .62);
  backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(243, 242, 242, .10), inset 0 0 0 1px rgba(243, 242, 242, .03), 0 1px 3px rgba(0, 0, 0, .3); }
/* the stream is desktop only; phones get the plain glass card */
@media (max-width: 920px) { .records { display: none; } }

    /* a form's button that reads as one of the links around it */
    .inline-form { display: inline; }
    .linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-400);
      text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
    .linklike:hover { color: var(--paper); }
