/* Transilume, transilume.com: styles for the sub-pages (/go, /download, /privacy, /eula, 404).
   The home page inlines its own copy of these tokens for speed. */
@font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin.woff2) format("woff2"); }
@font-face { font-family: "Manrope Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 103.5%; ascent-override: 103%; descent-override: 29%; line-gap-override: 0%; }
:root {
  --bg: #030305; --ink: #f3f0f7; --dim: rgba(243, 240, 247, .64); --faint: rgba(243, 240, 247, .38); --line: rgba(255, 255, 255, .1);
  --violet: #7b5cff; --violet-2: #a08aff; --amber: #ff9a3c;
  --pad: clamp(20px, 3.4vw, 48px); --ease: cubic-bezier(.2, .7, .2, 1);
  --font: Manrope, "Manrope Fallback", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img, video, svg { display: block; }
::selection { background: rgba(123, 92, 255, .45); }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
.show-todo .ph { outline: 2px dashed var(--amber); outline-offset: 2px; }
.ph { color: #ffd9b3; }
.todo-only { display: none; }
.show-todo .todo-only { display: inline; }
.show-todo .todo-only.callout { display: block; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: max(16px, env(safe-area-inset-top)) var(--pad) 0; height: 76px; position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span { font-size: 12.5px; letter-spacing: .52em; margin-right: -.52em; }
.nav-cta { font-size: 13.5px; font-weight: 500; text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .3s, background .3s; }
.nav-cta:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .1); }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); transition: background .25s, border-color .25s, transform .2s var(--ease), box-shadow .3s; cursor: pointer; }
.btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.btn.primary { border: 0; color: #120c1f; background: linear-gradient(100deg, #f4efff 0%, #ffd9b3 100%); box-shadow: 0 10px 40px rgba(255, 160, 80, .18); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 44px rgba(255, 160, 80, .34); }
.btn[aria-disabled=true] { opacity: .45; cursor: default; pointer-events: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--violet-2); }
h1 { font-weight: 300; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.045em; background: linear-gradient(180deg, #fff 18%, #ddd5ee 62%, #a597c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.sub { margin-top: 18px; max-width: 34em; color: var(--dim); font-size: clamp(15.5px, 1.25vw, 18px); }

form.waitlist { margin-top: 22px; display: flex; gap: 6px; width: 100%; max-width: 440px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .11); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .3s; }
form.waitlist:focus-within { border-color: rgba(185, 160, 255, .45); }
form.waitlist input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 15px; padding: 0 16px; color: var(--ink); }
form.waitlist input::placeholder { color: var(--faint); }
.btn-primary { white-space: nowrap; font-size: 14px; font-weight: 600; color: #120c1f; padding: 12px 20px; border-radius: 999px; background: linear-gradient(100deg, #f4efff 0%, #ffd9b3 100%); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.note { margin-top: 12px; min-height: 1.4em; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.note.ok { color: #d8c9ff; letter-spacing: .02em; text-transform: none; font-size: 14px; }

/* legal and help pages */
.doc { width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--pad) clamp(64px, 9vw, 120px); flex: 1; }
.doc h1 { font-size: clamp(38px, 5vw, 60px); }
.doc .meta { margin-top: 14px; color: var(--faint); font-size: 13.5px; }
.doc h2 { margin-top: 44px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.doc h3 { margin-top: 26px; font-size: 16.5px; font-weight: 600; }
.doc p, .doc li { color: var(--dim); font-size: 15.5px; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .callout { margin-top: 28px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-size: 14.5px; color: var(--dim); }
.doc table { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--dim); }
.doc th { color: var(--ink); font-weight: 600; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 22px; padding: 32px var(--pad) max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

@media (max-width: 560px) {
  form.waitlist { flex-direction: column; border-radius: 22px; padding: 7px; }
  form.waitlist input { padding: 13px 14px; text-align: center; }
  .nav { height: 64px; padding-top: max(12px, env(safe-area-inset-top)); }
  .nav-cta { padding: 8px 14px; font-size: 12.5px; }
  .brand span { font-size: 11px; letter-spacing: .44em; margin-right: -.44em; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
