/* MindPress brand system */
:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-soft: #080b0f;
  --bg-band: #0b1016;
  --surface: #10161f;
  --surface-2: #151c27;
  --surface-3: #1a2230;
  --line: #263342;
  --line-soft: rgba(234, 242, 255, 0.1);
  --text: #f4f8ff;
  --text-strong: #ffffff;
  --text-muted: #a7b4c8;
  --text-subtle: #6f7f95;
  --cobalt: #6b8cff;
  --teal: #2ad9d0;
  --mint: #7ce7b8;
  --brass: #d9a24c;
  --danger: #ff7a90;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(42, 217, 208, 0.03), transparent 360px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(234, 242, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 242, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

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

.narrow {
  max-width: 820px;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(5, 6, 7, 0.82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(22px);
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text-strong);
  font-weight: 750;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.brand-word {
  font-size: 1.02rem;
}

.logo-frame {
  fill: #0b121a;
  stroke: rgba(234, 242, 255, 0.18);
}

.logo-link {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.25;
  stroke-linejoin: round;
}

.logo-core {
  fill: #050607;
  stroke: #eef4ff;
  stroke-width: 1.6;
}

.logo-node-a {
  fill: var(--teal);
}

.logo-node-b {
  fill: var(--cobalt);
}

.logo-node-c {
  fill: var(--brass);
}

.logo-node-d {
  fill: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 620;
}

.nav-links a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-strong);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  color: #06100f;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  box-shadow: 0 14px 36px rgba(42, 217, 208, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(42, 217, 208, 0.24);
}

.btn-secondary {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-soft);
}

.btn-secondary:hover {
  border-color: rgba(107, 140, 255, 0.45);
  background: rgba(107, 140, 255, 0.1);
}

.btn-nav {
  min-height: 38px;
  padding: 0 14px;
  color: #08100f !important;
  background: var(--teal);
}

.btn-wide {
  width: 100%;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 150px 0 84px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
}

.page-hero {
  min-height: 0;
  padding: 142px 0 74px;
}

.hero-visual {
  position: absolute;
  inset: 72px 0 0;
  opacity: 0.7;
  pointer-events: none;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mint);
}

.hero-title,
.page-title,
.section-title,
.cta-title {
  margin: 0;
  color: var(--text-strong);
  font-weight: 820;
  line-height: 1.02;
}

.hero-title {
  max-width: 820px;
  font-size: 4.5rem;
}

.page-title {
  max-width: 880px;
  font-size: 3.5rem;
}

.section-title {
  max-width: 720px;
  font-size: 2.75rem;
}

.cta-title {
  max-width: 780px;
  font-size: 3rem;
}

.accent-text {
  color: var(--teal);
}

.hero-copy,
.page-copy,
.section-copy,
.card-copy,
.muted-copy {
  color: var(--text-muted);
}

.hero-copy {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.2rem;
}

.page-copy {
  max-width: 720px;
  margin-top: 20px;
  font-size: 1.13rem;
}

.section-copy {
  max-width: 700px;
  margin-top: 16px;
  font-size: 1.05rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(100% - 40px, var(--max));
  margin: -64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--line-soft);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 116px;
  padding: 24px;
  background: rgba(12, 17, 24, 0.94);
}

.proof-value {
  display: block;
  color: var(--text-strong);
  font-size: 1.55rem;
  font-weight: 820;
}

.proof-label {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section {
  padding: 104px 0;
}

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

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-header .section-copy {
  max-width: 470px;
  margin-top: 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.service-card,
.method-card,
.form-card,
.quote-panel,
.timeline-item,
.contact-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.card,
.service-card,
.method-card,
.form-card,
.quote-panel,
.contact-panel {
  padding: 28px;
}

.card-kicker,
.service-kicker {
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.card h3,
.service-card h3,
.method-card h3,
.contact-panel h3 {
  margin: 12px 0 10px;
  color: var(--text-strong);
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p,
.service-card p,
.method-card p,
.contact-panel p {
  color: var(--text-muted);
}

.service-card {
  position: relative;
  min-height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.65;
}

.service-list,
.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  list-style: none;
}

.service-list li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.service-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(42, 217, 208, 0.12);
}

.plain-list li {
  color: var(--text-muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 56px;
  align-items: start;
}

.signal-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(107, 140, 255, 0.1), transparent 35%),
    linear-gradient(315deg, rgba(217, 162, 76, 0.08), transparent 42%),
    #070b10;
}

.signal-panel svg {
  width: 100%;
  height: 100%;
}

.method-card {
  display: grid;
  gap: 18px;
}

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(42, 217, 208, 0.28);
  border-radius: var(--radius);
  color: var(--teal);
  background: rgba(42, 217, 208, 0.08);
  font-weight: 820;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.feature-table {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.feature-table-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1px;
  background: var(--line-soft);
}

.feature-table-row + .feature-table-row {
  border-top: 1px solid var(--line-soft);
}

.feature-table-label,
.feature-table-value {
  padding: 18px;
  background: rgba(15, 21, 30, 0.88);
}

.feature-table-label {
  color: var(--text-strong);
  font-weight: 750;
}

.feature-table-value {
  color: var(--text-muted);
}

.quote-panel {
  display: grid;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(42, 217, 208, 0.08), transparent),
    rgba(255, 255, 255, 0.025);
}

.quote-panel blockquote {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.55rem;
  line-height: 1.32;
}

.quote-meta {
  color: var(--text-muted);
}

.cta-band {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(42, 217, 208, 0.12), transparent 42%),
    linear-gradient(270deg, rgba(217, 162, 76, 0.1), transparent 48%),
    #070a0f;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.cta-inner p {
  max-width: 700px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 20px;
}

.timeline-time {
  color: var(--teal);
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--text-strong);
  font-size: 1.1rem;
}

.timeline-item p {
  color: var(--text-muted);
}

.form-card {
  box-shadow: var(--shadow);
}

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

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 6, 7, 0.66);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-subtle);
}

.form-note,
.small-note {
  color: var(--text-subtle);
  font-size: 0.86rem;
}

.success-panel {
  padding: 32px 0 6px;
  text-align: center;
}

.success-panel h3 {
  margin: 0 0 8px;
  color: var(--text-strong);
}

.is-hidden {
  display: none !important;
}

.intake-embed {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin: 32px 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.footer {
  padding: 56px 0 28px;
  background: #050607;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(140px, 1fr));
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 14px;
  color: var(--text-muted);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-col h4 {
  margin: 0 0 6px;
  color: var(--text-strong);
  font-size: 0.9rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 22px;
  color: var(--text-subtle);
  font-size: 0.86rem;
}

@media (max-width: 1020px) {
  .hero-title {
    font-size: 3.65rem;
  }

  .page-title {
    font-size: 3rem;
  }

  .section-title,
  .cta-title {
    font-size: 2.35rem;
  }

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

  .grid-3,
  .split-layout,
  .feature-row,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    margin-top: 0;
  }
}

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

  .nav-links {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(8, 11, 15, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: var(--radius);
  }

  .btn-nav {
    justify-content: center;
  }

  .hero {
    min-height: 0;
    padding: 128px 0 94px;
  }

  .page-hero {
    padding-bottom: 64px;
  }

  .hero-visual {
    opacity: 0.42;
  }

  .hero-title {
    font-size: 3rem;
  }

  .page-title {
    font-size: 2.55rem;
  }

  .proof-strip,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: -42px;
  }

  .section,
  .cta-band {
    padding: 74px 0;
  }

  .section-header {
    display: block;
  }

  .section-header .section-copy {
    margin-top: 14px;
  }

  .timeline-item,
  .feature-table-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand-word {
    font-size: 0.98rem;
  }

  .hero-title {
    font-size: 2.38rem;
  }

  .page-title {
    font-size: 2.12rem;
  }

  .section-title,
  .cta-title {
    font-size: 1.95rem;
  }

  .hero-copy,
  .page-copy {
    font-size: 1.02rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card,
  .service-card,
  .method-card,
  .form-card,
  .quote-panel,
  .contact-panel {
    padding: 22px;
  }
}

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