/* Night print for the web (2026-11-23): the iOS app's system, for every signed-out page.
   Values: Shared/Pool/Kit/Design/NightTokens.swift. Screens: the "PhotoPool Launch Screens"
   canvas (first/*, join/*, account/*). Prefix .nt-. The sign-in scripts also need a few
   older hook names (.si-step, .auth-note, .auth-link, .auth-social, .auth-card); they are
   styled here and nowhere else on these pages. */

@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url("/design/fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url("/design/fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-display: swap; src: url("/design/fonts/geist-600.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 700; font-display: swap; src: url("/design/fonts/geist-700.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url("/design/fonts/geist-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Doto"; font-weight: 900; font-display: swap; src: url("/design/fonts/doto-900.woff2") format("woff2"); }

:root {
  --nt-stock: #000000;
  --nt-ink: #F4F4F2;
  --nt-soft: #C9C9C5;
  --nt-secondary: #B5B5B1;
  --nt-quiet: #9A9A96;
  --nt-tertiary: #7D7D79;
  --nt-hairline: #1E1E1C;
  --nt-border: #2A2A28;
  --nt-live: #FF453A;
  --nt-gain: #30D158;
  --nt-danger: #FF9B85;
  --nt-sans: "Geist", -apple-system, system-ui, sans-serif;
  --nt-mono: "Geist Mono", ui-monospace, monospace;
  --nt-dot: "Doto", var(--nt-mono);
  /* the app's 6 pt dot tint on controls, and the denser one on focus */
  --nt-tint: radial-gradient(circle, rgba(244, 244, 242, 0.2) 0 1px, transparent 1.4px) 0 0 / 6px 6px;
  --nt-tint-on: radial-gradient(circle, rgba(244, 244, 242, 0.36) 0 1.2px, transparent 1.6px) 0 0 / 6px 6px;
  --nt-rule: radial-gradient(circle, rgba(244, 244, 242, 0.4) 0 0.8px, transparent 1.1px) 0 50% / 5px 3px repeat-x;
  --nt-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

html { background: var(--nt-stock); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--nt-stock); color: var(--nt-ink); font-family: var(--nt-sans); font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--nt-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--nt-ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.nt-skip { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 10px 14px; background: var(--nt-ink); color: #000; border-radius: 8px; }
.nt-skip:focus { left: 8px; }
.nt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header: sitebar.css (site/templates/site-bar.html), shared with the home page ---- */

/* ---- keys (buttons) ---- */
.nt-key, .nt-key2, .nt-text {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 17px/1 var(--nt-sans); text-decoration: none; cursor: pointer;
  transition: transform 0.15s var(--nt-ease), opacity 0.2s ease;
}
.nt-key { width: 100%; min-height: 56px; padding: 0 22px; border: 0; border-radius: 16px; background: var(--nt-ink); color: #000; }
.nt-key2 { width: 100%; min-height: 54px; padding: 0 22px; border: 1px solid var(--nt-border); border-radius: 16px; background: var(--nt-stock) var(--nt-tint); color: var(--nt-ink); }
.nt-text { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--nt-secondary); font-weight: 500; font-size: 15px; }
.nt-text:hover, .nt-key2:hover { color: var(--nt-ink); }
.nt-key:active, .nt-key2:active { transform: scale(0.98); }
.nt-key[disabled], .nt-key2[disabled] { opacity: 0.4; cursor: default; transform: none; }
.nt-key svg, .nt-key2 svg { flex-shrink: 0; width: 18px; height: 18px; }
.is-loading { opacity: 0.6; pointer-events: none; }

/* ---- fields ---- */
.nt-label { display: block; font-size: 13px; color: var(--nt-quiet); margin: 0 0 8px; }
.nt-field {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; min-height: 62px; margin: 0;
  padding: 0 16px; border: 1px solid var(--nt-border); border-radius: 16px; background: var(--nt-stock) var(--nt-tint);
  color: var(--nt-ink); font: 500 20px/1.2 var(--nt-sans); outline: none; transition: border-color 0.2s ease;
}
.nt-field::placeholder { color: var(--nt-tertiary); }
.nt-field:focus { border-color: var(--nt-ink); background: var(--nt-stock) var(--nt-tint-on); }
.nt-field[disabled] { opacity: 0.6; }
.nt-field--big { font-size: 24px; letter-spacing: 0.01em; }
.nt-phone { display: flex; gap: 10px; }
.nt-cc { flex-shrink: 0; display: flex; align-items: center; min-height: 62px; padding: 0 16px; border: 1px solid var(--nt-border); border-radius: 16px; background: var(--nt-stock) var(--nt-tint); font: 600 20px var(--nt-sans); }

/* the code: six boxes over one real input (paste and one-time-code autofill keep working) */
.nt-code { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.nt-code-box {
  height: 66px; border: 1px solid var(--nt-border); border-radius: 14px; background: var(--nt-stock) var(--nt-tint);
  display: flex; align-items: center; justify-content: center;
  font: 900 42px/1 var(--nt-dot); color: var(--nt-ink); transition: border-color 0.15s ease;
}
.nt-code-box.is-next { border-color: var(--nt-ink); background: var(--nt-stock) var(--nt-tint-on); }
.nt-code-box.is-next::after { content: ""; width: 2px; height: 30px; border-radius: 1px; background: var(--nt-ink); animation: nt-caret 1.1s steps(1) infinite; }
@keyframes nt-caret { 50% { opacity: 0; } }
.nt-code input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; outline: none;
  background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 2em; opacity: 0.01;
}
.nt-code.is-wrong { animation: nt-shake 0.32s var(--nt-ease); }
@keyframes nt-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---- notes: one line under the thing it is about ---- */
.auth-note { margin: 10px 0 0; font-size: 15px; line-height: 1.4; color: var(--nt-secondary); }
.auth-note--err { color: var(--nt-danger); }
.auth-note--ok { color: var(--nt-ink); }
.nt-fine { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--nt-tertiary); }
.nt-fine a { color: var(--nt-secondary); }
.nt-mono { font-family: var(--nt-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nt-quiet); }

/* ---- the auth shell: one column, a print beside it on wide screens ---- */
.nt-auth { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .nt-auth { grid-template-columns: minmax(0, 1.1fr) minmax(440px, 1fr); } }
.nt-auth-art { display: none; position: relative; overflow: hidden; background: var(--nt-stock); }
@media (min-width: 960px) { .nt-auth-art { display: block; } }
.nt-auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nt-auth-art .nt-art-lit { opacity: 0; transition: opacity 0.35s ease;
  -webkit-mask-image: radial-gradient(circle 240px at var(--lx, 50%) var(--ly, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 75%);
  mask-image: radial-gradient(circle 240px at var(--lx, 50%) var(--ly, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 75%); }
.nt-auth-art.is-lit .nt-art-lit { opacity: 1; }
.nt-auth-main { display: flex; flex-direction: column; justify-content: center; padding: 88px 20px 40px; }
.nt-col { width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; }
.nt-wordmark { font: 900 56px/1 var(--nt-dot); letter-spacing: -0.01em; margin: 0; }
.nt-h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.nt-lead { margin: 10px 0 0; font-size: 17px; line-height: 1.45; color: var(--nt-secondary); }
.nt-stack { display: flex; flex-direction: column; gap: 12px; }
.nt-gap { height: 28px; }
.nt-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 14px; }
.nt-dotrule { height: 3px; margin: 8px 8px; background: var(--nt-rule); }
.nt-guest { margin: 0; font-size: 13px; line-height: 1.45; color: var(--nt-tertiary); text-align: center; }

/* hooks the sign-in scripts look for */
.si-step { animation: nt-in 0.32s var(--nt-ease); }
@keyframes nt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.auth-link { -webkit-appearance: none; appearance: none; min-height: 44px; padding: 0; border: 0; background: none; color: var(--nt-ink); font: 500 15px var(--nt-sans); cursor: pointer; text-decoration: none; }
.auth-link:hover { opacity: 0.75; }
.auth-link[disabled] { color: var(--nt-quiet); font: 400 12px var(--nt-mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: default; opacity: 1; }
.auth-link--block { display: block; margin-top: 12px; }
.auth-social { display: flex; flex-direction: column; gap: 12px; }
.auth-social:empty { display: none; }
.auth-demo-btn { width: 100%; min-height: 48px; margin-bottom: 12px; border: 1px dashed var(--nt-border); border-radius: 16px; background: none; color: var(--nt-quiet); font: 500 15px var(--nt-sans); }

/* ---- long-form pages: privacy, terms, support ---- */
.nt-prose { max-width: 680px; margin: 0 auto; padding: 120px 24px 96px; font-size: 17px; line-height: 1.6; color: var(--nt-soft); }
.nt-prose h1 { margin: 0 0 8px; color: var(--nt-ink); font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.nt-prose h2 { margin: 48px 0 12px; color: var(--nt-ink); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.nt-prose h3 { margin: 28px 0 8px; color: var(--nt-ink); font-size: 18px; font-weight: 600; }
.nt-prose p, .nt-prose ul, .nt-prose ol { margin: 0 0 16px; }
.nt-prose li { margin: 0 0 6px; }
.nt-prose strong { color: var(--nt-ink); font-weight: 600; }
.nt-prose a { color: var(--nt-ink); }
.nt-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.nt-prose th, .nt-prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--nt-hairline); }
.nt-prose th { color: var(--nt-ink); font-weight: 600; }
.nt-prose .nt-meta { color: var(--nt-quiet); font-size: 15px; margin-bottom: 40px; }
.nt-prose hr { border: 0; height: 3px; margin: 40px 0; background: var(--nt-rule); }

/* ---- status pages: 404, 500, expired links ---- */
.nt-status { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 96px 24px; box-sizing: border-box; }
.nt-status-col { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 14px; }
.nt-status-num { font: 900 clamp(96px, 22vw, 168px)/0.85 var(--nt-dot); margin: 0 0 12px; }

/* ---- footer ---- */
.nt-foot { border-top: 1px solid var(--nt-hairline); padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; color: var(--nt-quiet); }
.nt-foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.nt-foot a { color: var(--nt-secondary); text-decoration: none; }
.nt-foot a:hover { color: var(--nt-ink); }

@media (prefers-reduced-motion: reduce) {
  .si-step, .nt-code.is-wrong, .nt-code-box.is-next::after { animation: none; }
  .nt-key, .nt-key2, .nt-text, .nt-auth-art .nt-art-lit { transition: none; }
}

.nt-more { margin-top: 20px; }
.nt-back { align-self: flex-start; margin: 0 0 18px -2px; padding-left: 18px; position: relative; color: var(--nt-ink); }
.nt-back::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; border-left: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.nt-prose .pl-lede { font-size: 19px; color: var(--nt-ink); margin: 16px 0 8px; }
.nt-prose .pl-meta { color: var(--nt-quiet); font-size: 15px; margin: 0 0 40px; }
.nt-prose b { color: var(--nt-ink); font-weight: 600; }

[data-lc="result"]:focus { outline: none; }
