/* Ninox landing page: the same night, hood and eye as the app. Fonts are self-hosted. */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --night: #080b11;
  --night-2: #0d121b;
  --hood: #121a26;
  --hood-2: #182233;
  --line: rgba(206, 218, 238, 0.09);
  --line-strong: rgba(206, 218, 238, 0.16);
  --text: #e9edf3;
  --soft: #b9c2d0;
  --dim: #7d889a;
  --eye: #f3ba2f;
  --eye-ink: #1a1405;
  --eye-wash: rgba(243, 186, 47, 0.1);
  --eye-line: rgba(243, 186, 47, 0.35);
  --display: "Fraunces", Georgia, "Songti SC", "Noto Serif SC", serif;
  --body: "Hanken Grotesk", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(243, 186, 47, 0.08), transparent 60%),
    radial-gradient(900px 700px at 105% 40%, rgba(80, 120, 200, 0.08), transparent 60%),
    var(--night);
  color: var(--text);
  font: 400 16.5px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 580;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
p {
  margin: 0;
}
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(8, 11, 17, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 620;
  font-size: 1.3rem;
  text-decoration: none;
}
.brand.small {
  font-size: 1rem;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.93rem;
}
.top nav a {
  text-decoration: none;
  color: var(--soft);
}
.top nav a:hover {
  color: var(--text);
}
.top nav .x-link {
  font-size: 1.05rem;
  color: var(--text);
}
.lang {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--soft);
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}
.cta {
  background: var(--eye);
  color: var(--eye-ink) !important;
}
.cta:hover {
  background: #f7c94f;
}
.cta.small {
  min-height: 36px;
  padding: 0 16px;
}
.ghost {
  border: 1px solid var(--line-strong);
}
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
section {
  padding: clamp(56px, 8vw, 96px) 0 0;
}
section > h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 26px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 110px);
}
.hero-copy {
  display: grid;
  gap: 22px;
}
.kicker {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eye);
}
.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.3rem);
  font-weight: 620;
  line-height: 1;
}
.hero h1 em {
  font-weight: 360;
  color: var(--soft);
}
.lede {
  font-size: 1.16rem;
  color: var(--soft);
  max-width: 33em;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fine {
  font-size: 0.85rem;
  color: var(--dim);
}
.hero-owl {
  position: relative;
  display: grid;
  justify-items: center;
}
.hero-owl > img {
  width: min(260px, 60%);
  filter: drop-shadow(0 0 60px rgba(243, 186, 47, 0.25));
  margin-bottom: -40px;
}
.chat {
  width: 100%;
  background: linear-gradient(180deg, var(--hood), var(--night-2));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.chat .you {
  justify-self: end;
  background: var(--hood-2);
  border-radius: 14px 14px 4px 14px;
  padding: 8px 12px;
  font-size: 0.93rem;
}
.chat .trail {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chat .trail span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.chat .trail span::before {
  content: "◉ ";
  color: var(--eye);
}
.chat .owl {
  font-size: 0.93rem;
  color: var(--soft);
}
.chat .card {
  border: 1px solid var(--eye-line);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}
.chat .card strong {
  color: var(--eye);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chat .card span {
  font-size: 0.88rem;
  color: var(--soft);
}
.chat .card b {
  justify-self: start;
  margin-top: 6px;
  background: var(--eye);
  color: var(--eye-ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pillars article,
.fee-grid div {
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.pillars h3 {
  font-size: 1.3rem;
}
.pillars p {
  color: var(--dim);
  font-size: 0.94rem;
}
.how ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.how li {
  display: grid;
  gap: 14px;
  align-content: start;
}
.n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--eye-line);
  color: var(--eye);
  font-family: var(--mono);
}
.how h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.how p {
  color: var(--dim);
}
.table {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
}
.table .row {
  display: grid;
  grid-template-columns: 150px repeat(3, 1fr);
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--soft);
}
.table .row:first-child {
  border-top: 0;
}
.table .row span:first-child {
  color: var(--text);
  font-weight: 650;
}
.table .head {
  background: var(--hood);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.note {
  margin-top: 18px;
  color: var(--dim);
  max-width: 52em;
}
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fee-grid strong {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 560;
  color: var(--eye);
}
.fee-grid span {
  color: var(--soft);
}
.token p {
  max-width: 46em;
  color: var(--soft);
  margin-bottom: 12px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
}
.faq details p {
  margin-top: 10px;
  color: var(--dim);
  max-width: 52em;
}
footer {
  max-width: 1180px;
  margin: 80px auto 0;
  padding: 26px clamp(16px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 0.9rem;
}
.scan-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}
.scan-card {
  background: linear-gradient(180deg, var(--hood), var(--night-2));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.dial {
  --score: 50;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(closest-side, var(--night-2) 78%, transparent 79% 100%),
    conic-gradient(var(--eye) calc(var(--score) * 1%), rgba(206, 218, 238, 0.1) 0);
}
.dial b {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
}
.dial span {
  font-size: 0.82rem;
  color: var(--soft);
}
.scan-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  width: 100%;
  font-size: 0.92rem;
}
.scan-card li::before {
  content: "●  ";
}
.scan-card li.good::before {
  color: #57d69a;
}
.scan-card li.bad::before {
  color: #ff9f5a;
}
.scan-copy {
  display: grid;
  gap: 14px;
  color: var(--soft);
}
@media (max-width: 900px) {
  .scan-grid {
    grid-template-columns: 1fr;
  }
  .hero,
  .how ol,
  .fee-grid {
    grid-template-columns: 1fr;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .top nav a:not(.cta) {
    display: none;
  }
  .table .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .table .head {
    display: none;
  }
}
@media (max-width: 560px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* Launch v1: Nightwatch. Generated artwork is separate from live, bilingual UI. */
:root { --dim: #9ba6b6; --line: rgba(206,218,238,.13); }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
:focus-visible { outline: 2px solid var(--eye); outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: var(--eye); color: var(--eye-ink); padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.top { padding: 20px clamp(20px,5vw,72px); background: rgba(8,11,17,.94); }
.top nav { gap: clamp(12px,1.5vw,24px); }
.brand { font-size: 1.65rem; gap: 12px; }
main { max-width: 1392px; padding: 0 clamp(24px,5vw,72px); }
.hero { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 28px; padding: 72px 0 0; min-height: 680px; }
.hero-copy { gap: 24px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem,5.7vw,5.25rem); letter-spacing: -.045em; line-height: 1.05; }
.hero h1 em { color: var(--eye); font-weight: 380; }
.lede { font-size: 1.08rem; max-width: 31em; line-height: 1.75; }
.hero-actions { margin-top: 5px; }
.cta, .ghost { min-height: 48px; padding: 0 25px; }
.hero-copy .fine { max-width: 34em; line-height: 1.6; }
.hero-owl { align-self: center; min-width: 0; }
.nightwatch-art { display: block; width: 100%; height: 350px; overflow: hidden; }
.nightwatch-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 79% center; }
.hero-owl .chat { position: relative; width: 95%; margin-top: -10px; padding: 20px; border-radius: 12px; background: #0d121b; box-shadow: 0 24px 72px rgba(0,0,0,.25); gap: 13px; }
.chat .card { border-radius: 8px; }
.chat .trail span { color: var(--soft); }
.pillars { gap: 0; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.pillars article { background: none; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 8px 26px 8px 0; }
.pillars article + article { padding-left: 26px; }
.pillars article:last-child { border-right: 0; }
.pillars h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 650; margin-bottom: 4px; }
.how { margin-top: 32px; }
.how ol { gap: 48px; }
.how li { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.scan-card { border-radius: 12px; }
.who, .fees, .token, .faq { scroll-margin-top: 96px; }
.token { max-width: 880px; }
footer { max-width: 1392px; padding-left: clamp(24px,5vw,72px); padding-right: clamp(24px,5vw,72px); }
@media (max-width: 1050px) { .top nav { gap: 12px; } .top nav a:not(.cta) { display: none; } .hero h1 { font-size: clamp(3rem,6vw,4.4rem); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; min-height: auto; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(3rem,9vw,5.25rem); }
  .hero-owl { width: min(100%,640px); justify-self: center; }
  .nightwatch-art { height: 360px; }
  .pillars { margin-top: 42px; gap: 24px 0; }
  .pillars article:nth-child(2) { border-right: 0; }
  .pillars article:nth-child(3) { padding-left: 0; }
}
@media (max-width: 560px) {
  .top { padding: 16px 20px; gap: 10px; }
  .top nav { gap: 8px; } .brand { font-size: 1.3rem; gap: 8px; }
  .cta.small { padding: 0 12px; font-size: .84rem; }
  .lang { min-height: 36px; padding: 4px 9px; }
  .hero h1 { font-size: clamp(2.7rem,10.4vw,3.7rem); }
  .lede { font-size: 1rem; }
  .nightwatch-art { height: 280px; }
  .hero-owl .chat { width: 100%; padding: 16px; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillars article, .pillars article + article { padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); }
  .hero-actions > a { flex: 1 0 auto; padding: 0 18px; }
  .table .row { padding: 18px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
