/* Visitor page of the web nginx, served without the bundle: no presentation import. Values copied from the World
   landing's pre-launch page (apps/landing WorldSoon: nc-site, nc-site-utility, nc-display, nc-lead, nc-button,
   nc-brand, nc-world-footer; @stackirl/ui site header and footer). Jost from @fontsource/jost (OFL-1.1, jost-OFL.txt). */
@font-face { font-family: Jost; font-style: normal; font-display: swap; font-weight: 400; src: url(jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Jost; font-style: normal; font-display: swap; font-weight: 600; src: url(jost-latin-600-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --nc-gate-ink: #f0f0f0;
  --nc-gate-ink-strong: #f5f5f5;
  --nc-gate-muted: #a8a8a8;
  --nc-gate-faint: #737373;
  --nc-gate-inline: max(28px, calc((100% - 1340px) / 2));
  --nc-gate-wordmark: 2rem;
  --nc-gate-header: 84px;
  --nc-gate-section: clamp(96px, 10vw, 140px);
}
@media (max-width: 760px) { :root { --nc-gate-header: 64px; --nc-gate-inline: 20px; --nc-gate-wordmark: 1.4rem; --nc-gate-section: 72px; } }
@media (max-width: 480px) { :root { --nc-gate-inline: 16px; } }

* { box-sizing: border-box; }
html {
  min-width: 320px; background: #000; color: var(--nc-gate-ink); font-family: Jost, Arial, sans-serif; font-size: 16px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none;
}
body { min-width: 320px; margin: 0; background: #000; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--nc-gate-ink-strong); outline-offset: 3px; }
[hidden] { display: none !important; }

.nc-gate { display: flex; flex-direction: column; min-height: 100svh; }

.nc-gate__header { position: relative; display: flex; align-items: center; min-height: var(--nc-gate-header); padding-inline: var(--nc-gate-inline); }
.nc-gate__home {
  position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--nc-gate-ink-strong); font-size: .92rem; font-weight: 600; line-height: 1; text-decoration: none; transform: translate(-50%, -50%);
}

.nc-gate__brand { display: inline-flex; align-items: baseline; gap: .6em; max-width: 100%; line-height: 1; white-space: nowrap; }
.nc-gate__brand-name {
  font-size: var(--nc-gate-wordmark); font-weight: 600; letter-spacing: .24em; text-indent: .24em; text-transform: uppercase;
}
.nc-gate__brand-separator { color: var(--nc-gate-muted); font-weight: 400; }
.nc-gate__brand-surface {
  color: var(--nc-gate-muted); font-size: .64rem; font-weight: 600; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase;
}

.nc-gate__main {
  display: grid; align-content: center; justify-items: center; gap: 24px; min-height: 65svh;
  padding: clamp(64px, 8vw, 112px) var(--nc-gate-inline) var(--nc-gate-section); text-align: center;
}
.nc-gate__icon { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; }
.nc-gate__kicker {
  margin: 0; color: var(--nc-gate-muted); font-size: .64rem; font-weight: 600; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase;
}
.nc-gate__title {
  max-width: 16em; margin: 0; font-size: clamp(2.6rem, 5vw, 5.2rem); font-weight: 400; letter-spacing: -.045em; line-height: 1;
  overflow-wrap: anywhere; text-wrap: balance;
}
.nc-gate__lead { max-width: 690px; margin: 0; color: var(--nc-gate-muted); font-size: 1.08rem; line-height: 1.85; }
.nc-gate__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
/* Home: the actions row keeps its place, empty and inert, so the title sits where the landing puts it. */
.nc-gate__actions[hidden] { display: flex !important; visibility: hidden; }
.nc-gate__button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 32px;
  border: 1px solid var(--nc-gate-ink-strong); background: var(--nc-gate-ink-strong); color: #000;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}
@media (hover: hover) { .nc-gate__button:hover { border-color: var(--nc-gate-muted); background: var(--nc-gate-muted); } }

.nc-gate__footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  margin-top: auto; padding: clamp(40px, 5vw, 64px) var(--nc-gate-inline); color: var(--nc-gate-faint); font-size: .68rem;
}
.nc-gate__signature { display: inline-flex; align-items: center; min-height: 44px; color: var(--nc-gate-ink-strong); }
.nc-gate__legal {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; transition: opacity .2s ease;
}
.nc-gate__legal:hover, .nc-gate__legal:focus-visible { opacity: .62; }

@media (prefers-reduced-motion: reduce) { .nc-gate__button, .nc-gate__legal { transition: none; } }
