@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #111827;
  --panel: #111827;
  --panel-strong: #030712;
  --text: #ffffff;
  --muted: #d1d5db;
  --muted-blue: #dbeafe;
  --line: #374151;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --green: #22c55e;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.skip-link {
  background: var(--panel-strong);
  color: white;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: absolute;
  text-decoration: none;
  top: -4rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  backdrop-filter: blur(14px);
  background: rgba(17, 24, 39, 0.82);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav-inner {
  align-items: center;
  display: flex;
  min-height: 80px;
  justify-content: space-between;
}

.brand img {
  height: clamp(44px, 7vw, 80px);
  width: auto;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.primary-nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover {
  color: white;
}

.primary-nav a[aria-current="page"] {
  color: white;
}

.nav-cta {
  background: #2563eb;
  border-radius: 8px;
  color: white !important;
  padding: 0.65rem 1rem;
}

.menu-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  display: none;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
}

.hero,
.section-panel {
  overflow: hidden;
  position: relative;
}

.hero {
  padding: 6rem 0 8rem;
}

.section-panel {
  padding: 6rem 0 8rem;
}

.background,
.hero-shade,
.section-shade {
  inset: 0;
  position: absolute;
}

.background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.background.purple {
  background-image: url("/assets/old-purple-gradient.png");
}

.background.blue {
  background-image: url("/assets/old-blue-gradient.png");
}

.hero-shade {
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    linear-gradient(to bottom, transparent calc(100% - 8rem), rgba(30, 64, 175, 0.3));
}

.section-shade {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.blue-shade {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    linear-gradient(to bottom, rgba(17, 24, 39, 0.2), transparent, rgba(88, 28, 135, 0.2));
}

.purple-shade {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    linear-gradient(to bottom, rgba(30, 64, 175, 0.1), transparent, rgba(30, 64, 175, 0.1));
}

.cta-shade {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    linear-gradient(to bottom, rgba(88, 28, 135, 0.15), transparent, rgba(0, 0, 0, 0.2));
}

.section-inner {
  position: relative;
  z-index: 2;
}

.hero-inner,
.section-heading,
.cta-inner,
.contact-copy,
.footer-inner {
  text-align: center;
}

.badge {
  background: #1e3a8a;
  border: 1px solid #1e40af;
  border-radius: 999px;
  color: #dbeafe;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

h1 span {
  color: var(--blue-bright);
  display: block;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.25;
}

.hero-copy,
.section-heading p,
.cta-inner p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.gradient-button,
.solid-button,
.ghost-button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.gradient-button {
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--blue));
  border: 0;
  color: white;
}

.solid-button {
  background: #2563eb;
  border: 1px solid #3b82f6;
  color: white;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
}

.section-heading {
  margin-bottom: 4rem;
}

.section-heading.narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
}

.feature-layout {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.feature-stack {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  position: relative;
  text-align: left;
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.feature-card::before {
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--blue), var(--purple));
  background-size: 300% 100%;
  border-radius: inherit;
  content: "";
  inset: -1px;
  opacity: 0;
  position: absolute;
  transition: opacity 180ms ease;
  z-index: -1;
}

.feature-card:hover,
.feature-card.active {
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.feature-card:hover::before,
.feature-card.active::before {
  animation: flowing-gradient 3s linear infinite;
  opacity: 1;
}

.feature-card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card em {
  color: var(--muted);
  display: block;
  font-style: normal;
}

.feature-detail,
.audience-card,
.roi-card,
.contact-form {
  background: var(--panel);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.feature-detail {
  padding: 2rem;
}

.detail-title {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-detail p {
  color: var(--muted);
}

.check-list,
.audience-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.check-list {
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 0.75rem;
}

.check-list li::before {
  background: var(--green);
  border-radius: 50%;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.icon {
  background: #374151;
  border-radius: 10px;
  display: inline-block;
  flex: 0 0 auto;
  height: 44px;
  position: relative;
  width: 44px;
}

.icon.large {
  height: 56px;
  width: 56px;
}

.icon.centered {
  display: block;
  margin: 0 auto 1rem;
}

.feature-card.active .icon,
.detail-title .icon {
  background: #1e3a8a;
}

.icon::after {
  color: currentColor;
  content: "";
  font-size: 1.4rem;
  font-weight: 800;
  inset: 0;
  line-height: 44px;
  position: absolute;
  text-align: center;
}

.icon.large::after {
  line-height: 56px;
}

.users::after {
  content: "U";
}

.mic::after {
  content: "M";
}

.chart::after {
  content: "A";
}

.graduation::after {
  content: "T";
}

.settings::after {
  content: "C";
}

.calculator::after {
  content: "$";
}

.audience-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  overflow: hidden;
}

.audience-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
}

.blue-card {
  background: linear-gradient(90deg, #1e3a8a, #1e40af);
}

.purple-card {
  background: linear-gradient(90deg, #581c87, #6b21a8);
}

.audience-header p {
  color: var(--muted-blue);
  margin-bottom: 0;
}

.audience-list {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.audience-list li {
  display: grid;
  gap: 0.25rem;
}

.audience-list span {
  color: var(--muted);
}

.roi-card {
  background: linear-gradient(90deg, #14532d, #1e3a8a);
  border-color: #15803d;
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
}

.roi-card p {
  color: #dcfce7;
}

.calculator-fields {
  display: grid;
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 520px;
}

.calculator-fields label {
  color: #dcfce7;
  display: grid;
  font-weight: 700;
  gap: 0.75rem;
  text-align: left;
}

input[type="range"] {
  accent-color: var(--green);
}

output {
  color: #bbf7d0;
  text-align: center;
}

.savings-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: grid;
  gap: 0.25rem;
  padding: 1.5rem;
}

.savings-box strong {
  font-size: 2rem;
}

.progress-wrap {
  background: rgba(30, 64, 175, 0.5);
  border-radius: 999px;
  margin: 2rem auto 0.5rem;
  max-width: 420px;
  padding: 0.25rem;
}

.progress-wrap span {
  background: linear-gradient(90deg, #4ade80, #60a5fa);
  border-radius: inherit;
  display: block;
  height: 12px;
}

.small {
  color: #bfdbfe;
  font-size: 0.9rem !important;
}

.trust-grid {
  color: var(--muted-blue);
  display: grid;
  font-size: 0.85rem;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.contact-section {
  background: linear-gradient(135deg, #2563eb, #7e22ce);
  padding: 5rem 1rem;
}

.contact-copy {
  margin: 0 auto 2rem;
  max-width: 820px;
}

.contact-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 820px;
  padding: 1.5rem;
  text-align: left;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full,
.hp-field,
.turnstile-widget,
.form-status,
.contact-form button {
  grid-column: 1 / -1;
}

.hp-field {
  display: none;
}

label {
  color: white;
  font-weight: 700;
}

input,
select,
textarea {
  background: #030712;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-status {
  color: var(--muted);
  min-height: 1.4rem;
  text-align: center;
}

.form-status.error {
  color: #fecaca;
}

.site-footer {
  background: #000000;
  color: white;
  padding: 3rem 0;
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.footer-inner img {
  height: 48px;
  width: auto;
}

.footer-inner p,
.footer-inner a {
  color: #9ca3af;
}

.footer-inner a {
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover {
  color: white;
}

.copyright {
  border-top: 1px solid #1f2937;
  margin-top: 1rem;
  padding-top: 2rem;
  width: 100%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.page-hero {
  overflow: hidden;
  padding: 6rem 0;
  position: relative;
}

.page-hero-inner {
  text-align: center;
}

.page-section {
  background: var(--bg);
  padding: 5rem 0;
}

.muted-section {
  background: #0b1120;
}

.narrow-content {
  max-width: 920px;
}

.spotlight-callout,
.callout-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 12px;
  margin: 2rem auto 0;
  max-width: 760px;
  padding: 1.5rem;
}

.spotlight-callout p,
.callout-card p {
  color: var(--muted-blue);
  margin-bottom: 0;
}

.spotlight-callout span {
  color: #bfdbfe;
  display: block;
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.resource-grid,
.values-grid,
.metric-grid {
  display: grid;
  gap: 1.5rem;
}

.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card,
.value-card,
.metric-card {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: 1.5rem;
}

.resource-card {
  backdrop-filter: blur(12px);
}

.resource-card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.resource-card-header p,
.value-card p,
.metric-card p,
.prose-block p {
  color: var(--muted);
}

.resource-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 10px;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.accent-blue .resource-icon {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.accent-green .resource-icon {
  background: linear-gradient(135deg, #15803d, #4ade80);
}

.accent-pink .resource-icon {
  background: linear-gradient(135deg, #be185d, #f472b6);
}

.accent-yellow .resource-icon {
  background: linear-gradient(135deg, #a16207, #facc15);
}

.resource-list {
  display: grid;
  gap: 0.75rem;
}

.resource-action {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.resource-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.resource-action span {
  color: white;
  font-weight: 700;
}

.resource-action strong {
  color: #bfdbfe;
  font-size: 0.8rem;
  white-space: nowrap;
}

.value-card {
  min-height: 210px;
}

.value-card .resource-icon,
.metric-card .resource-icon {
  margin-bottom: 1rem;
}

.prose-block {
  display: grid;
  gap: 1.5rem;
}

.prose-block p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.prose-block > p:first-child {
  color: #e5e7eb;
  font-size: 1.2rem;
}

.callout-card {
  border-color: rgba(139, 92, 246, 0.38);
}

.callout-card p:first-child {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.callout-card p + p {
  margin-top: 1rem;
  text-align: center;
}

.centered-callout {
  margin-top: 3rem;
}

.metric-card {
  display: grid;
  gap: 0.75rem;
}

.target-pill {
  align-self: start;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
  color: #bfdbfe;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-self: start;
  padding: 0.35rem 0.65rem;
}

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

.quiz-open {
  overflow: hidden;
}

.quiz-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 1rem;
  position: fixed;
  z-index: 100;
}

.quiz-modal[hidden] {
  display: none;
}

.quiz-scrim {
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  inset: 0;
  position: absolute;
}

.quiz-panel {
  background: #f9fafb;
  border-radius: 14px;
  color: #111827;
  max-height: min(760px, 92vh);
  max-width: 760px;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  width: min(100%, 760px);
}

.quiz-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.quiz-header p,
.quiz-progress {
  color: #4b5563;
}

.quiz-close {
  background: white;
  color: #111827;
}

.quiz-progress {
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.quiz-progress-bar {
  background: #e5e7eb;
  border-radius: 999px;
  height: 8px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.quiz-progress-bar span {
  background: linear-gradient(90deg, var(--purple), var(--blue));
  display: block;
  height: 100%;
  transition: width 160ms ease;
}

.quiz-body {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quiz-question-card {
  align-items: flex-start;
  background: linear-gradient(135deg, #f5f3ff, #eff6ff);
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
}

.quiz-question-card span {
  align-items: center;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 999px;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.quiz-options {
  display: grid;
  gap: 0.75rem;
}

.quiz-option {
  align-items: center;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  color: #111827;
  cursor: pointer;
  display: flex;
  gap: 0.8rem;
  padding: 1rem;
  text-align: left;
}

.quiz-option.selected {
  background: #f5f3ff;
  border-color: var(--purple);
}

.quiz-option strong {
  align-items: center;
  background: #f3f4f6;
  border-radius: 999px;
  color: #4b5563;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.quiz-option.selected strong {
  background: var(--purple);
  color: white;
}

.quiz-controls {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.quiz-controls .ghost-button {
  background: white;
  border-color: #d1d5db;
  color: #111827;
}

.quiz-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quiz-results {
  padding: 2rem 1rem;
  text-align: center;
}

.quiz-results strong {
  background: linear-gradient(90deg, var(--purple), var(--blue));
  background-clip: text;
  color: transparent;
  display: block;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.quiz-results p {
  color: #4b5563;
  margin: 0 auto;
  max-width: 420px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes flowing-gradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .feature-card,
  .feature-card::before {
    transition: none;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    min-height: 72px;
  }

  .menu-button {
    display: inline-flex;
  }

  .primary-nav {
    background: var(--panel);
    border-top: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

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

  .hero,
  .section-panel {
    padding: 4rem 0 5rem;
  }

  .feature-layout,
  .audience-grid,
  .resource-grid,
  .values-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-header,
  .quiz-controls {
    flex-direction: column;
  }

  .quiz-controls button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.4rem;
  }

  .hero-copy,
  .section-heading p,
  .cta-inner p,
  .contact-copy p {
    font-size: 1.05rem;
  }

  .feature-card,
  .audience-header {
    align-items: flex-start;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
