/* ModuBrain public site — modubrain.com */
:root {
  --bg: #0a0f0d;
  --bg-alt: #0f1612;
  --bg-card: #141c17;
  --border: rgba(212, 165, 116, 0.18);
  --text: #e8ebe9;
  --muted: #9aa69b;
  --accent: #c9a227;
  --accent-soft: rgba(201, 162, 39, 0.15);
  --teal: #3ecf9b;
  --danger: #e07a5f;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --radius: 12px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --max: 1080px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(62, 207, 155, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 162, 39, 0.08), transparent);
  min-height: 100vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  margin-inline: auto;
}

.narrow-text {
  max-width: 640px;
}

.text-center {
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), #2a8f6a);
  box-shadow: 0 0 0 2px var(--border);
}

.logo-mark.sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

.lang-switch {
  color: var(--teal) !important;
  font-weight: 600;
  border: 1px solid rgba(62, 207, 155, 0.35);
  padding: 6px 12px !important;
}

.lang-switch:hover {
  background: rgba(62, 207, 155, 0.12) !important;
}

.fine-print a {
  color: var(--teal);
}

.fine-print a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 11px;
  transition: transform 0.2s;
}

.nav-toggle-bar {
  top: 21px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 12px;
    border-radius: 8px;
  }
}

/* Hero */
.hero {
  padding: clamp(48px, 12vw, 100px) 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin: 0 0 12px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: var(--accent);
  font-style: italic;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 52ch;
}

.lead strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(165deg, #d4af37, #a67c1a);
  color: #1a1508;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--bg-card);
}

.note-legal {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow);
}

.hero-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-list li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hero-list span {
  display: inline-block;
  min-width: 5rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.82rem;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-highlight {
  background: linear-gradient(160deg, rgba(62, 207, 155, 0.08), var(--bg-alt));
  border-top: 1px solid rgba(62, 207, 155, 0.2);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.section h3 {
  font-size: 1.15rem;
  margin: 0 0 12px;
  color: var(--text);
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card-muted {
  opacity: 0.95;
}

.checklist {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 12px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist-muted li::before {
  background: var(--muted);
  box-shadow: none;
}

.meta {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 12px !important;
  font-weight: 500;
}

.note {
  font-size: 0.9rem;
  color: var(--teal);
  margin-top: 12px !important;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
}

.timeline-current {
  border-color: rgba(62, 207, 155, 0.35);
  box-shadow: 0 0 0 1px rgba(62, 207, 155, 0.12);
}

/* Video */
.video-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #000;
  max-width: 900px;
  margin: 24px auto 0;
}

.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-shell--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #121a15, #0a0f0d);
  min-height: 220px;
}

.video-placeholder-inner {
  text-align: center;
  padding: 32px 24px;
  max-width: 420px;
}

.video-placeholder-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin: 0 0 12px;
}

.video-placeholder-text {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
}

code {
  font-size: 0.88em;
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.split-audience .audience-tech {
  border-color: rgba(201, 162, 39, 0.35);
}

.audience p {
  margin-bottom: 12px;
}

.contact-block {
  margin-top: 20px;
}

.contact-block .btn {
  font-size: 1rem;
}

.section-highlight .contact-block .fine-print {
  display: block;
  margin-top: 12px;
  text-align: left;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  font-size: 1.05rem;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
  opacity: 0.85;
}
