:root {
  --blue: #1877f2;
  --blue-dark: #0757c9;
  --blue-soft: #eaf4ff;
  --ink: #071522;
  --muted: #334155;
  --line: #d9e8f7;
  --card: #ffffff;
  --bg: #f7fbff;
  --cream: #fffaf1;
  --shadow: 0 24px 80px rgba(24, 119, 242, 0.16);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(24, 119, 242, 0.08), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(72, 167, 255, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(7, 21, 34, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 21, 34, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 70%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(217, 232, 247, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(7, 21, 34, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
}

.header-cta,
.button.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(24, 119, 242, 0.28);
}

.button.secondary {
  color: var(--blue-dark);
  background: white;
  border: 1px solid var(--line);
}

.button.white {
  color: var(--blue-dark);
  background: white;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding: 92px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #bfe0ff;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(52px, 7.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-lede {
  max-width: 650px;
  font-size: 24px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  padding: 9px 13px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #cfe7ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.brain-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 232, 247, 0.95);
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,1), rgba(234,244,255,0.78) 48%, rgba(24,119,242,0.11)),
    linear-gradient(145deg, #ffffff, #f2f8ff);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brain-card::before,
.brain-card::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(24, 119, 242, 0.11);
  border-radius: 50%;
}

.brain-card::after {
  width: 360px;
  height: 360px;
}

.brain-card img {
  position: relative;
  z-index: 2;
  width: 285px;
  max-width: 68%;
}

.signal {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cfe7ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(7, 21, 34, 0.08);
}

.signal-one { top: 18%; left: 12%; }
.signal-two { top: 22%; right: 12%; }
.signal-three { bottom: 18%; left: 13%; }
.signal-four { right: 12%; bottom: 20%; }

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.large-text p {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(23px, 2.7vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.blue-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 92px;
  padding: 54px;
  color: white;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.24), transparent 32%),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blue-panel h2,
.blue-panel p {
  color: white;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.panel-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 20px;
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.function-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.function-card,
.platform-cards article,
.flow-line article,
.example-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(7, 21, 34, 0.06);
}

.function-card {
  min-height: 280px;
  padding: 28px;
}

.function-number {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.platform-section,
.inside-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  align-items: stretch;
  padding: 96px 0 70px;
}

.platform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.platform-cards article {
  padding: 34px;
}

.platform-cards span {
  display: inline-flex;
  margin-bottom: 44px;
  padding: 8px 12px;
  color: white;
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.flow-section {
  padding: 74px 0 84px;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flow-line article {
  position: relative;
  padding: 28px;
}

.flow-line strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: white;
  background: var(--blue);
  border-radius: 50%;
}

.no-section {
  padding: 86px 0;
}

.no-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.no-grid div {
  padding: 22px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 18px;
  font-weight: 900;
}

.inside-section {
  padding-top: 62px;
}

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

.inside-list div {
  min-height: 190px;
  padding: 28px;
  background: var(--blue-soft);
  border: 1px solid #cfe7ff;
  border-radius: 24px;
}

.inside-list strong {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 68px;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.inside-list span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.example-section {
  padding: 54px 0 96px;
}

.example-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  padding: 48px;
}

.example-answer {
  padding: 28px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.example-answer ol {
  margin: 18px 0;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.9;
}

.final-cta {
  margin-bottom: 40px;
  padding: 70px 34px;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.28), transparent 42%),
    linear-gradient(135deg, #1877f2, #064bb0);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.final-cta img {
  width: 130px;
  margin-bottom: 10px;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,0.16));
}

.final-cta h2,
.final-cta p {
  color: white;
}

.final-cta p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 960px) {
  nav,
  .header-cta {
    display: none;
  }

  .hero,
  .split-section,
  .blue-panel,
  .platform-section,
  .inside-section,
  .example-card {
    grid-template-columns: 1fr;
  }

  .function-grid,
  .flow-line,
  .no-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 58px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell {
    width: min(100% - 26px, var(--max));
  }

  .brand span {
    font-size: 15px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-lede {
    font-size: 20px;
  }

  .function-grid,
  .flow-line,
  .no-grid,
  .platform-cards,
  .inside-list,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .blue-panel,
  .example-card {
    padding: 28px;
  }

  .brain-card {
    border-radius: 32px;
  }

  .signal {
    display: none;
  }
}

/* Final readability polish */
.hero-lede,
.section-heading p,
.platform-copy p,
.inside-copy p,
.example-answer p,
.final-cta p,
.function-card p,
.platform-cards p,
.flow-line p {
  color: #243447;
}

.blue-panel h2 {
  line-height: 1.02;
}

@media (max-width: 960px) {
  .header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .blue-panel {
    padding-bottom: 38px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 9px 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero-actions {
    margin-bottom: 34px;
  }

  .proof-row {
    gap: 8px;
  }

  p {
    font-size: 17px;
  }
}
