/* neuralcache.app: the app's look (deep space, glass, cyan + amber light). No web fonts and no
   third-party requests: the site practices the privacy it describes. */
:root {
  --space: #02040c;
  --text: #e8f1ff;
  --text-2: #a9bbdc;
  --muted: #6f82a8;
  --cyan: #39d0ff;
  --blue: #2f86ff;
  --violet: #9a7bff;
  --amber: #ffb347;
  --line: rgba(90, 170, 255, 0.2);
  --line-hi: rgba(110, 200, 255, 0.55);
  --glass: linear-gradient(180deg, rgba(16, 32, 70, 0.55), rgba(6, 14, 34, 0.7));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #030a1c; }
body {
  margin: 0;
  font: 17px/1.6 var(--font);
  color: var(--text);
  background: radial-gradient(ellipse at 45% 30%, #071a3d, #030a1c 55%, var(--space));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
kbd { font: 600 0.85em var(--font); padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-hi); background: rgba(57, 208, 255, 0.08); color: var(--text); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 16px clamp(20px, 5vw, 64px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(2, 6, 18, 0.55); border-bottom: 1px solid rgba(90, 170, 255, 0.1); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; filter: drop-shadow(0 0 10px rgba(57, 208, 255, 0.45)); }
.brand b { color: var(--cyan); font-weight: 650; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav nav a { color: var(--text-2); }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav .nav-cta { color: #fff; padding: 8px 16px; border-radius: 999px; background: linear-gradient(180deg, #2f9bff, #1a5fe0); box-shadow: 0 0 18px rgba(57, 180, 255, 0.4); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 82px); font-weight: 750; }
h2 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 720; }
h3 { font-size: 19px; font-weight: 650; }
.grad { background: linear-gradient(90deg, var(--cyan), #8fb8ff 45%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { color: var(--text-2); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 32px; min-height: calc(100vh - 70px); padding: 40px 0 20px; }
.lede { font-size: 19px; max-width: 34em; margin: 22px 0 30px; }
.hero-orb { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.hero-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist.center { margin: 0 auto; justify-content: center; }
.waitlist input[type="email"] { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 16px; color: var(--text); padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-hi); background: rgba(4, 12, 30, 0.6); }
.waitlist input[type="email"]::placeholder { color: var(--muted); }
.waitlist button { font: inherit; font-size: 16px; font-weight: 650; color: #fff; padding: 13px 22px; border-radius: 12px; border: 1.5px solid rgba(140, 225, 255, 0.9); background: linear-gradient(180deg, #2f9bff, #1a5fe0); box-shadow: 0 0 22px rgba(57, 180, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3); cursor: pointer; }
.waitlist button:hover { filter: brightness(1.1); }
.waitlist button:disabled { opacity: 0.6; cursor: default; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { flex-basis: 100%; margin: 4px 2px 0; font-size: 14px; color: var(--muted); }
.form-note.ok { color: #7ff0c0; }
.form-note.err { color: #ffb3c4; }

.shot { margin: 30px 0 120px; }
.frame { border-radius: 22px; padding: 10px; background: var(--glass); border: 1px solid var(--line-hi); box-shadow: 0 0 60px rgba(57, 160, 255, 0.22), 0 30px 80px rgba(0, 0, 0, 0.5); }
.frame img { border-radius: 14px; }

.features { display: flex; flex-direction: column; gap: 130px; }
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.feature.reverse .feature-text { order: 2; }
.feature-text p { font-size: 18px; margin: 16px 0 0; }
.feature-text ul { margin: 20px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.feature-text li { padding: 6px 0 6px 26px; position: relative; }
.feature-text li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.feature-media img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 0 40px rgba(57, 160, 255, 0.16), 0 20px 60px rgba(0, 0, 0, 0.45); }
.feature-media.float img { border: 0; box-shadow: none; max-width: 470px; margin: 0 auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55)); }
.feature-media.stack { position: relative; padding-bottom: 56px; }
.feature-media.stack .overlay { position: absolute; right: -18px; bottom: 0; width: 52%; border: 0; box-shadow: none; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 22px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.tile p { font-size: 15px; margin: 10px 0 0; }

.privacy { margin: 140px 0 0; padding: 56px clamp(24px, 5vw, 64px); border-radius: 26px; background: var(--glass); border: 1px solid var(--line-hi); box-shadow: inset 0 0 40px rgba(57, 208, 255, 0.06), 0 0 50px rgba(57, 160, 255, 0.12); }
.privacy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 34px; }
.privacy-grid b { display: block; font-size: 17px; margin-bottom: 6px; color: var(--text); }
.privacy-grid span { font-size: 15px; color: var(--text-2); }

.cta { text-align: center; padding: 140px 0 120px; }
.cta p { max-width: 34em; margin: 16px auto 30px; font-size: 18px; }

.foot { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; padding: 28px 20px 40px; font-size: 14px; color: var(--muted); border-top: 1px solid rgba(90, 170, 255, 0.1); }
.foot a { color: var(--text-2); }

/* Sections fade up as they scroll in (JS adds .in; without JS they're simply shown). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* The privacy page. */
.doc { max-width: 760px; margin: 60px auto 100px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc .updated { color: var(--muted); font-size: 15px; margin-top: 10px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; text-align: left; }
  .hero-orb { max-width: 380px; order: -1; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-text { order: 0; }
  .features { gap: 90px; }
  .grid, .privacy-grid { grid-template-columns: 1fr 1fr; }
  .feature-media.stack .overlay { right: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav nav a:not(.nav-cta) { display: none; }
  .grid, .privacy-grid { grid-template-columns: 1fr; }
  .waitlist button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
