/* MindTracks shared theme (2026-11-01): every public page and the members area share this file.
   Skin = the MindTracks Creator page (/creator/creator.css): navy #0b1020 / #17365d, gold #e7a625, Lato.
   Readability floor: body 18px on desktop, 17px on phones, nothing a visitor reads under 16px. */
:root {
  --base: #0b1020; --base-2: #0f1730; --surface: #141e3a; --surface-2: #1a2648; --navy: #17365d;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .2); --text: #f3f5fa; --muted: #a6b0c5; --dim: #7f89a0;
  --accent: #e7a625; --accent-hi: #f2b53a; --accent-ink: #1b1300; --warn: #ef6a5a; --ok: #3ccf91;
  --paper: #f8f5ee; --paper-2: #efe7d6; --paper-ink: #1d1b16;
  --f-body: Lato, Arial, Helvetica, sans-serif; --f-hand: Georgia, "Times New Roman", serif;
  --col: 660px; --wide: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--base); }
body { margin: 0; background: var(--base); color: var(--muted); font: 18px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
p { margin: 0 0 1em; }
b, strong { color: var(--text); font-weight: 700; }
h1, h2, h3, h4 { margin: 0 0 .4em; color: var(--text); font-weight: 900; letter-spacing: -.01em; line-height: 1.15; }
.wrap { max-width: calc(var(--wide) + 48px); margin: 0 auto; padding: 0 24px; }
.col { max-width: calc(var(--col) + 48px); margin: 0 auto; padding: 0 24px; }
.c { text-align: center; }
[hidden] { display: none !important; }

/* ---- buttons (Creator .btn) ---- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 17px; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; font-family: var(--f-body); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 34px rgba(231, 166, 37, .32); transition: background .15s ease, box-shadow .15s ease, translate .15s ease; }
.btn:hover { background: var(--accent-hi); translate: 0 -1px; color: var(--accent-ink); }
.btn .arr { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-ink); color: var(--accent); flex: none; }
.btn .arr svg { width: 18px; height: 18px; fill: currentColor; }
.btn.plain { padding: 13px 26px; }
.btn-lg { font-size: 19px; padding: 10px 10px 10px 30px; }
.btn-lg .arr { width: 44px; height: 44px; }
.btn-ghost { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-weight: 700; font-size: 17px; text-decoration: none; background: none; cursor: pointer; font-family: var(--f-body); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:focus-visible, .btn-ghost:focus-visible, .nav a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- header (Creator) ---- */
.top { position: sticky; top: 0; z-index: 60; background: rgba(11, 16, 32, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 26px; min-height: 66px; padding-top: 6px; padding-bottom: 6px; }
.top .logo img { display: block; width: 180px; height: auto; }
.nav { display: flex; gap: 22px; margin: 0 auto; flex-wrap: wrap; }
.nav a { color: #c6cddc; font-size: 16px; font-weight: 700; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--accent); }
.nav a.on { color: var(--text); border-color: var(--accent); }
.top .btn { font-size: 16px; padding: 5px 5px 5px 18px; box-shadow: none; white-space: nowrap; }
.top .btn .arr { width: 30px; height: 30px; }
.top .btn .arr svg { width: 15px; height: 15px; }
.top .login { color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.top .login:hover { color: var(--accent); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; font: 700 16px var(--f-body); padding: .5em .8em; cursor: pointer; }

/* ---- footer (Creator) ---- */
.foot { padding: 44px 0 36px; border-top: 1px solid var(--line); background: #080c18; font-size: 16px; margin-top: auto; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; align-items: center; }
.foot img { width: 170px; height: auto; display: block; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot nav a { color: #a6b0c5; text-decoration: none; }
.foot nav a:hover, .foot nav a.on { color: var(--accent); }
.foot .copy { margin: 16px 0 0; color: var(--dim); font-size: 16px; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* ---- eyebrow, page band ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.band { position: relative; padding: 56px 0 44px; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(231, 166, 37, .12), transparent 70%), var(--base); border-bottom: 1px solid var(--line); text-align: center; }
.band h1 { font-size: 40px; }
.band .intro { max-width: 720px; margin: .6em auto 0; font-size: 19px; color: var(--muted); }

/* ---- legal and text pages ---- */
.legal { padding: 40px 0 70px; }
.legal .doc { max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 40px 48px; font-size: 18px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.legal .doc h1, .legal .doc h2 { font-size: 26px; margin: 1.5em 0 .5em; }
.legal .doc h3, .legal .doc h4 { font-size: 20px; margin: 1.3em 0 .45em; }
.legal .doc > :first-child { margin-top: 0; }
.legal .doc p { margin: 0 0 1em; }
.legal .doc ul, .legal .doc ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.legal .doc li { margin-bottom: .45em; }
.legal .doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; display: block; overflow-x: auto; }
.legal .doc td, .legal .doc th { border: 1px solid var(--line); padding: .6em .7em; text-align: left; vertical-align: top; }

/* ---- form pages (login, contact, waitlist) ---- */
.formpage { padding: 48px 20px 80px; display: flex; justify-content: center; align-items: flex-start; }
.card { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid rgba(231, 166, 37, .3); border-radius: 22px; padding: 36px 34px; background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(231, 166, 37, .12), transparent 70%); }
.card.wide { max-width: 640px; }
.card h1 { font-size: 30px; text-align: center; margin-bottom: .3em; }
.card .lead { color: var(--muted); text-align: center; font-size: 18px; margin: 0 0 1.4em; }
.card label { display: block; margin: 16px 0 6px; color: var(--text); font-size: 16px; font-weight: 700; }
.card input[type=text], .card input[type=email], .card input[type=password], .card input[type=number], .card select, .card textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--base); color: var(--text); font: 17px/1.3 var(--f-body); }
.card textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.card input:focus, .card select:focus, .card textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.card ::placeholder { color: #7f89a0; }
.card button, .card input[type=submit] { width: 100%; margin-top: 22px; padding: 15px 26px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 900 17px var(--f-body); cursor: pointer; box-shadow: 0 10px 34px rgba(231, 166, 37, .32); }
.card button:hover, .card input[type=submit]:hover { background: var(--accent-hi); }
.card .msg { margin: 0 0 6px; padding: 14px 18px; border-radius: 12px; background: rgba(231, 166, 37, .12); color: var(--text); font-size: 17px; }
.card .msg.err { background: rgba(239, 106, 90, .14); }
.card .message, .card .after { margin: 16px 0 0; font-size: 16px; color: var(--muted); text-align: center; }
.card .message a, .card .after a { color: var(--accent); }
.card .logo-row { text-align: center; margin-bottom: 18px; }
.card .logo-row img { width: 200px; }

/* ---- phones ---- */
@media (max-width: 860px) {
  .nav, .top .login, .top .btn, .top-in > .btn { display: none; }
  .menu-btn { display: inline-block; }
  .top-in { flex-wrap: wrap; }
  .top.open .nav { display: flex; flex-direction: column; width: 100%; gap: 0; margin: 6px 0 4px; }
  .top.open .nav a { font-size: 18px; padding: .75em .2em; border-top: 1px solid var(--line); border-bottom: 0; }
  .top.open .nav a.on { color: var(--accent); }
  .top.open .login { display: block; width: 100%; text-align: center; padding: .8em 0; font-size: 18px; border-top: 1px solid var(--line); }
  .top.open .btn, .top.open .top-in > .btn { display: inline-flex; margin: 6px auto 10px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .top .logo img { width: 150px; }
  .band h1 { font-size: 32px; }
  .band .intro { font-size: 17px; }
  .legal .doc { padding: 26px 20px; font-size: 17px; }
  .legal .doc h1, .legal .doc h2 { font-size: 23px; }
  .card { padding: 26px 20px; }
  .card h1 { font-size: 26px; }
  .foot nav { gap: 6px 14px; }
}
