@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg-primary: #0c0a08;
  --bg-secondary: #141210;
  --border: #2a2520;
  --text-primary: #e8e2d9;
  --text-secondary: #a09890;
  --accent-red: #cc1c1c;
  --accent-green: #2ecc71;
  --accent-blue: #c9a84c;
  --accent-gold: #c9a84c;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --container: 1120px;
  --radius: 16px;
  --header-h: 64px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent-gold);
  color: var(--bg-primary);
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 8, 0.94);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-primary);
}
.logo__img {
  display: block;
  height: 40px;
  width: auto;
}
.logo.logo--wordmark {
  gap: 0.45rem;
}
.logo.logo--wordmark .brand-mark {
  color: var(--accent-red);
  font-size: 1.35rem;
  line-height: 1;
  display: inline-block;
}
.logo.logo--wordmark .brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.site-nav a:hover {
  color: var(--accent-red);
  text-shadow: 0 0 18px rgba(204, 28, 28, 0.35);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: flex-start; }
}

/* Hero + spotlight */
.hero-spotlight {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.hero-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(231, 76, 60, 0.15),
    transparent 40%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-red);
  margin: 0 0 0.75rem;
}

.headline-gradient {
  background: linear-gradient(135deg, #e85a42 0%, #c9a84c 45%, #cc1c1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 700;
}

.authority-quote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-red);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.authority-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.hero-lede {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-keynote__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 1rem;
  background: #000;
}

.hero-keynote__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-keynote__caption {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}
.hero-keynote__caption a { color: var(--accent-blue); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: var(--accent-red);
  color: #fff;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(231, 76, 60, 0.25);
}

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

.btn--lg { padding: 0.85rem 1.5rem; font-size: 1.05rem; }

.btn--small {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text-primary);
}
.btn--secondary:hover {
  background: rgba(231, 76, 60, 0.12);
  border-color: rgba(231, 76, 60, 0.35);
}

/* Glass cards */
.card, .glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(231, 76, 60, 0.1);
}

/* Analyzer */
#analyzer {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.analyzer-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f5f0e8;
}

.section__lede {
  color: var(--text-secondary);
  margin: 0 0 2rem;
  max-width: 60ch;
}

.analyzer-progress {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.analyzer-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-red), #c0392b);
  transition: width 0.35s ease;
}

.analyzer-step h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.select-input {
  width: 100%;
  max-width: 420px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.radio-grid, .check-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
}
.choice:has(input:checked) {
  border-color: var(--accent-red);
  background: rgba(231, 76, 60, 0.08);
}

.choice input { margin-top: 0.2rem; }

.analyzer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.analyzer-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Results */
.results-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

#analyzer-results[hidden] {
  display: none !important;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.summary-span {
  grid-column: 1 / -1;
}

.summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.summary-val {
  margin: 0.25rem 0 0;
  font-weight: 600;
}

.org-chart-wrap {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  overflow-x: auto;
}

.org-chart-visual__inner {
  max-width: 720px;
  margin-inline: auto;
}

.org-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.org-row--split {
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
}

.org-row--split .org-node {
  flex: 1 1 200px;
  max-width: 280px;
}

.org-connect {
  display: flex;
  justify-content: center;
  color: var(--text-secondary);
}

.org-connector {
  display: block;
  color: var(--text-secondary);
}

.org-connector--wide {
  width: min(100%, 320px);
  height: 36px;
}

.org-node {
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.org-node__icon { font-size: 1.5rem; margin-bottom: 0.35rem; }
.org-node__title {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}
.org-node__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.org-node--ceo { border-color: rgba(255, 255, 255, 0.2); }
.org-node--coo { border-color: rgba(46, 204, 113, 0.45); }
.org-node--cco { border-color: rgba(231, 76, 60, 0.45); }
.org-node--cto { border-color: rgba(52, 152, 219, 0.45); }

.org-coo-bullets {
  max-width: 480px;
  margin: 0.75rem auto 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.org-row--teams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: start;
}

.org-teams__head {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.org-teams--cco .org-teams__head { color: var(--accent-red); }
.org-teams--cto .org-teams__head { color: var(--accent-blue); }

.org-team {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.org-team__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
}

.org-team__toggle:hover { background: rgba(255, 255, 255, 0.04); }

.org-team__chev {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.org-team__toggle[aria-expanded="true"] .org-team__chev {
  transform: rotate(-180deg);
}

.org-team__meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.org-team__panel {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid var(--border);
}

.org-agent {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.org-agent:last-child { border-bottom: 0; }

.org-agent__name { font-weight: 600; margin: 0; font-size: 0.9rem; }
.org-agent__fn {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.org-agent__save {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--accent-green);
}

.roi-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.roi-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.roi-list li strong { color: var(--text-primary); }

.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

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

.industry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.industry-links a {
  color: var(--accent-blue);
  text-decoration: none;
}
.industry-links a:hover { text-decoration: underline; }

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.price-card {
  position: relative;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.price-card--featured {
  border-color: rgba(231, 76, 60, 0.45);
  box-shadow: 0 0 0 1px rgba(231, 76, 60, 0.15);
}

.price-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-red);
  font-weight: 700;
}

.price-card__name { margin: 0 0 0.5rem; font-size: 1.25rem; }
.price-card__price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.price-card__features li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
}

.price-card__cta { width: 100%; text-align: center; }

.pricing__addons-title {
  margin-top: 3rem;
  font-size: 1.25rem;
}

/* FAQ */
.faq-list {
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  background: none;
  border: 0;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item__a {
  margin: 0;
  padding: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item__a[hidden] { display: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  background: #050505;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.footer__brand.footer__brand--wordmark {
  gap: 0.35rem;
}
.footer__brand.footer__brand--wordmark .brand-mark {
  font-size: 1.1rem;
  color: var(--accent-red);
}
.footer__brand.footer__brand--wordmark .brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer__links a:hover { color: var(--text-primary); }

.footer__note { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }

.cta-block {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

.cta-block__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
}
