/* Eileen — eileen.singletask.ai
   Dark courtroom-at-night palette, arc-reactor red. */

:root {
  --bg: #0b0d10;
  --panel: #12151a;
  --panel-2: #171b21;
  --border: #23272f;
  --text: #e6e8eb;
  --muted: #9aa0a8;
  --faint: #565b64;
  --red: #e63329;
  --red-bright: #ff6a5e;
  --red-glow: rgba(230, 51, 41, 0.55);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: Consolas, 'Cascadia Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--red-bright); }
code, .mono { font-family: var(--mono); font-size: 0.92em; color: #d7dbe0; }

/* ------------------------------ top bar ------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.wordmark {
  font-family: var(--serif); font-size: 1.35rem; color: var(--text);
  text-decoration: none; letter-spacing: 0.04em;
}
.brand-dot {
  display: inline-block; width: 10px; height: 10px; margin-left: 6px;
  border-radius: 50%; background: var(--red);
  box-shadow: 0 0 10px 2px var(--red-glow);
  animation: pulse 2.6s ease-in-out infinite;
}
.topnav { display: flex; gap: 20px; margin-left: auto; }
.topnav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.topnav a:hover { color: var(--text); }
@media (max-width: 720px) { .topnav { display: none; } .topbar { justify-content: space-between; } }

/* ------------------------------ buttons ------------------------------ */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 0 22px -4px var(--red-glow);
}
.btn-primary:hover { background: #f04437; box-shadow: 0 0 30px -2px var(--red-glow); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red-bright); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ------------------------------ hero ------------------------------ */
.hero {
  max-width: 880px; margin: 0 auto; padding: 72px 24px 56px;
  text-align: center;
}
.eyebrow {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--faint); margin: 40px 0 12px;
}
.exhibit {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--red-bright); margin: 0 0 8px;
}
.exhibit::before { content: "— "; color: var(--faint); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.lede strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

/* ------------------------------ the reactor ------------------------------ */
.reactor {
  position: relative;
  width: min(64vw, 380px);
  aspect-ratio: 1;
  margin: 8px auto 0;
}
.reactor-halo {
  position: absolute; inset: -18%;
  background: radial-gradient(circle, rgba(230,51,41,0.28) 0%, rgba(230,51,41,0.10) 40%, transparent 68%);
  animation: pulse 3.4s ease-in-out infinite;
}
.reactor-coils {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    #262b33 0deg 26deg,
    rgba(230, 51, 41, 0.85) 26deg 30deg
  );
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 82%, transparent 83%);
          mask: radial-gradient(circle, transparent 62%, #000 63%, #000 82%, transparent 83%);
  animation: spin 90s linear infinite;
}
.reactor-ring {
  position: absolute; inset: 0;
  color: rgba(230, 51, 41, 0.8);
  animation: spin 60s linear infinite reverse;
}
.reactor-ring-inner {
  inset: 0;
  color: rgba(255, 106, 94, 0.5);
  animation: spin 45s linear infinite;
}
.reactor-core {
  position: absolute; inset: 33%;
  border-radius: 50%;
  background: radial-gradient(circle,
    #ffffff 0%, #ffe4df 16%, #ff8f82 38%, #e63329 62%, #7e150f 88%, transparent 100%);
  box-shadow:
    0 0 40px 8px var(--red-glow),
    0 0 120px 30px rgba(230, 51, 41, 0.25),
    inset 0 0 24px rgba(255, 255, 255, 0.55);
  animation: corePulse 2.6s ease-in-out infinite;
}
.reactor-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; opacity: 0.9;
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 71%);
          mask: radial-gradient(circle, #000 60%, transparent 71%);
}
/* When the nano-banana art is present it becomes the face of the reactor;
   the CSS core dims into a glow layer on top of it. */
.reactor:has(.reactor-img) .reactor-core { opacity: 0.35; mix-blend-mode: screen; }

.reactor-small { width: 56px; margin: 0 auto; }
.reactor-small .reactor-core { inset: 18%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 40px 8px var(--red-glow), 0 0 120px 30px rgba(230,51,41,0.25), inset 0 0 24px rgba(255,255,255,0.55); }
  50%      { box-shadow: 0 0 60px 16px var(--red-glow), 0 0 160px 44px rgba(230,51,41,0.35), inset 0 0 30px rgba(255,255,255,0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .reactor-coils, .reactor-ring, .reactor-ring-inner { animation: none; }
  .reactor-core, .reactor-halo, .brand-dot { animation: none; }
}

/* ------------------------------ deposition block ------------------------------ */
.depo {
  display: inline-block; text-align: left;
  font-family: var(--mono); font-size: 0.95rem;
  background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--red);
  border-radius: 8px; padding: 16px 22px; color: var(--muted);
}
.depo-line { white-space: nowrap; }
.depo-ts { color: var(--faint); margin-right: 14px; font-size: 0.82em; }
.depo-q, .depo-a { color: var(--red-bright); margin-right: 10px; }
@media (max-width: 520px) { .depo { font-size: 0.8rem; } }

/* ------------------------------ sections ------------------------------ */
.section { max-width: 1020px; margin: 0 auto; padding: 72px 24px; }
.section-lede { color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card em { color: var(--red-bright); font-style: normal; }

.privacy-strip {
  margin-top: 28px; padding: 16px 22px;
  border: 1px dashed var(--border); border-radius: 10px;
  color: var(--muted); font-size: 0.98rem;
}
.seal { color: var(--red); margin-right: 10px; text-shadow: 0 0 8px var(--red-glow); }

/* ------------------------------ steps ------------------------------ */
.steps {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
  counter-reset: step;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: 50%; border: 2px solid var(--red);
  font-family: var(--serif); font-size: 1.2rem; color: var(--red-bright);
  box-shadow: 0 0 14px -2px var(--red-glow), inset 0 0 8px rgba(230,51,41,0.25);
}
.settings-tour summary {
  cursor: pointer; font-family: var(--serif); font-size: 1.15rem; color: var(--text);
}
.settings-tour ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.settings-tour li { margin-bottom: 8px; }
.settings-tour strong { color: var(--text); }

/* ------------------------------ video ------------------------------ */
.video-frame {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: #000; box-shadow: 0 12px 60px -18px var(--red-glow);
}
.video-frame video { display: block; width: 100%; height: auto; }

/* ------------------------------ pricing ------------------------------ */
.pricing { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card ul { margin: 0 0 22px; padding-left: 20px; color: var(--muted); flex: 1; }
.price-card li { margin-bottom: 8px; }
.price-featured { border-color: var(--red); box-shadow: 0 0 40px -14px var(--red-glow); }
.price {
  font-family: var(--serif); font-size: 3rem; color: var(--text); margin: 4px 0 14px;
}
.price-note { font-size: 1.05rem; color: var(--muted); font-family: var(--sans); }
.stamp {
  position: absolute; top: 18px; right: 16px; transform: rotate(9deg);
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red-bright); text-align: center; line-height: 1.5;
  border: 1.5px solid var(--red); border-radius: 4px; padding: 5px 8px;
  opacity: 0.75; text-shadow: 0 0 8px var(--red-glow);
}
.fine { color: var(--faint); font-size: 0.88rem; max-width: 640px; }

/* ------------------------------ forms ------------------------------ */
.split { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.form-card p { color: var(--muted); }
.form-card form { display: flex; gap: 10px; flex-wrap: wrap; }
.form-card input[type="email"] {
  flex: 1 1 200px; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; font-size: 1rem;
}
.form-card input[type="email"]:focus { outline: none; border-color: var(--red); }
.form-msg { min-height: 1.4em; color: var(--red-bright); font-size: 0.95rem; margin: 10px 0 0; }

/* ------------------------------ faq ------------------------------ */
.faq-list details {
  border-bottom: 1px solid var(--border); padding: 16px 4px;
}
.faq-list summary {
  cursor: pointer; font-family: var(--serif); font-size: 1.12rem; color: var(--text);
  list-style-position: outside;
}
.faq-list summary::marker { color: var(--red); }
.faq-list p { color: var(--muted); margin: 12px 0 0; max-width: 700px; }

/* ------------------------------ footer ------------------------------ */
.footer {
  border-top: 1px solid var(--border); margin-top: 40px;
  padding: 48px 24px 64px; text-align: center; color: var(--muted);
}
.footer-word { font-family: var(--serif); margin: 18px 0 6px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer .fine { margin: 14px auto 0; }

/* ------------------------------ simple pages (download errors, unsub, legal) --- */
.simple-page {
  display: grid; place-items: center; min-height: 100vh; padding: 24px;
}
.simple-card {
  max-width: 520px; text-align: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 48px 36px;
}
.simple-card h1 { font-size: 1.8rem; }
.simple-card p { color: var(--muted); }

.legal { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }
