:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #132238;
  --muted: #5d6b7d;
  --line: #dde5ef;
  --brand: #0f62fe;
  --brand-2: #17a8ff;
  --brand-3: #0d3b82;
  --shadow: 0 16px 40px rgba(16, 35, 64, 0.08);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
}

a {
  color: inherit;
}

.page {
  position: relative;
  overflow: visible;
}

.page::before,
.page::after {
  display: none;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header__row,
.footer__row,
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header__row {
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav,
.hero__actions,
.cta__actions,
.footer__links,
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.nav a,
.footer__links a,
.related-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.footer__links a:hover,
.footer__links a:focus-visible,
.related-links a:hover,
.related-links a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(15, 98, 254, 0.18);
}

.button.button--primary,
.nav .button.button--primary,
.nav .button.button--primary:hover,
.nav .button.button--primary:focus-visible {
  color: #fff;
}

.button--ghost {
  background: #ffffff;
  border-color: var(--line);
}

.hero {
  padding: 70px 0 36px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(15, 98, 254, 0.08);
  color: var(--brand-3);
  font-size: 14px;
  font-weight: 700;
}

.hero h1,
.section__head h1,
.section__head h2,
.cta h2,
.related h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.98;
}

.hero p,
.section__head p,
.hero-point span,
.problem-card p,
.narrative-card p,
.capability-card p,
.faq__item p,
.cta p,
.footer p,
.related p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.hero p + p {
  margin-top: 12px;
}

.hero__actions {
  margin-top: 28px;
}

.hero-panel,
.problem-card,
.narrative-card,
.showcase-frame,
.capability-card,
.faq__item,
.cta,
.related {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-panel {
  padding: 26px;
}

.hero-panel__grid,
.problem-grid,
.capability-grid {
  display: grid;
  gap: 16px;
}

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

.hero-point,
.problem-card,
.capability-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(19, 34, 56, 0.08);
}

.hero-point strong,
.problem-card h3,
.capability-card h3 {
  display: block;
  margin: 0 0 8px;
  font-size: 18px;
}

.section {
  padding: 38px 0;
}

.section--problem {
  padding-top: 28px;
  padding-bottom: 30px;
}

.section--compact {
  padding-top: 8px;
  padding-bottom: 18px;
}

.container--reading {
  width: min(1160px, calc(100% - 32px));
}

.problem-shell {
  padding: 42px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.section__head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section__head p + p {
  margin-top: 12px;
}

.section__head .section__lead {
  font-size: 20px;
  line-height: 1.75;
}

.section__head h1,
.section__head h2,
.cta h2,
.related h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
}

.problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.7;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

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

.problem-card {
  padding: 24px;
  border-radius: 22px;
  background: #f8fafc;
  box-shadow: none;
}

.problem-card__label,
.narrative-card__label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 98, 254, 0.08);
  color: var(--brand-3);
  font-size: 13px;
  font-weight: 700;
}

.problem-card h3 {
  margin-top: 14px;
}

.narrative-card {
  padding: 30px;
  background: #f8fbff;
  border-color: rgba(15, 98, 254, 0.14);
  box-shadow: none;
}

.narrative-card--problem {
  margin-top: 22px;
}

.narrative-card__lead {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 12px;
}

.narrative-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.narrative-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-weight: 600;
}

.narrative-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.showcase-frame {
  overflow: hidden;
  background: #ffffff;
}

.showcase-frame iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

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

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  padding: 0 22px 18px;
}

.related {
  padding: 30px;
}

.related p {
  margin-top: 10px;
}

.related-links {
  margin-top: 18px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.cta {
  padding: 30px;
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.94), rgba(23, 168, 255, 0.94));
  color: #fff;
}

.cta h2,
.cta p {
  color: inherit;
}

.cta .button--primary {
  background: #ffffff;
  color: var(--brand-3);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 28px rgba(8, 31, 74, 0.18);
}

.cta .button--ghost {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.footer {
  padding: 28px 0 54px;
}

.footer__row {
  padding-top: 18px;
  border-top: 1px solid rgba(19, 34, 56, 0.1);
}

@media (max-width: 1080px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero__grid,
  .problem-grid,
  .narrative-list {
    grid-template-columns: 1fr;
  }

  .header__row,
  .footer__row,
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .container--reading {
    width: min(100% - 24px, 1160px);
  }

  .hero-panel,
  .problem-card,
  .narrative-card,
  .capability-card,
  .cta,
  .related {
    padding: 20px;
  }

  .problem-shell {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .hero-panel__grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
