:root {
  --blue-900: #0b2e68;
  --blue-800: #12418c;
  --blue-700: #1757c2;
  --blue-600: #1f6fff;
  --blue-100: #eaf2ff;
  --blue-050: #f5f8ff;
  --red-500: #f04455;
  --green-500: #12b76a;
  --ink: #101828;
  --muted: #475467;
  --line: #d9e2f2;
  --soft: #f8fbff;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(11, 46, 104, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--white);
  line-height: 1.55;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 242, 0.78);
  backdrop-filter: blur(12px);
}

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

.logo {
  width: 136px;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red-500);
}

.button.secondary {
  color: var(--blue-800);
  background: var(--blue-100);
  border-color: #cbdcff;
}

.button.ghost {
  color: var(--blue-800);
  background: var(--white);
  border-color: var(--line);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(18, 183, 106, 0.12), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 48%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 46px;
  min-height: 680px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-800);
  background: #e8f1ff;
  border: 1px solid #cbdcff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--blue-900);
  font-size: clamp(44px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.proof-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-value {
  color: var(--blue-900);
  font-size: 24px;
  font-weight: 850;
}

.proof-label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.product-stage {
  position: relative;
  min-height: 520px;
}

.phone-shot {
  position: absolute;
  right: 0;
  top: 8px;
  z-index: 2;
  width: min(36%, 190px);
  filter: drop-shadow(0 24px 34px rgba(11, 46, 104, 0.26));
}

.dashboard-shot {
  position: absolute;
  right: 56px;
  bottom: 24px;
  width: min(92%, 620px);
  border: 1px solid #cfdef2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ops-note {
  position: absolute;
  left: 0;
  bottom: 12px;
  z-index: 3;
  width: min(300px, 58%);
  padding: 18px;
  color: var(--blue-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ops-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.ops-note span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h2 {
  color: var(--blue-900);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

.logo-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 12px;
  align-items: center;
}

.channel-logo {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.channel-logo img {
  max-height: 32px;
  object-fit: contain;
}

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

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

.card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--blue-900);
  font-size: 22px;
}

.card p,
.card li {
  color: var(--muted);
}

.metric {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-500);
  font-weight: 850;
}

.usecase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--muted);
  background: var(--white);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.tab-button.active {
  color: var(--white);
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.case-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.case-badge {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
}

.case-badge span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #eaf2ff;
  font-size: 12px;
  font-weight: 800;
}

.case-badge strong {
  font-size: 40px;
  line-height: 1;
}

.case-body {
  padding: 30px 30px 30px 0;
}

.case-body ul,
.report-card ul {
  padding-left: 20px;
  margin: 14px 0 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.certificate-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.certificate {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.certificate img {
  max-height: 96px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--blue-800);
}

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

.person {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.avatar {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 50%;
  font-weight: 850;
}

.developer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.code-block {
  overflow: auto;
  padding: 24px;
  color: #d7e7ff;
  background: #071b3d;
  border-radius: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.cta-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band .card p {
  color: var(--muted);
}

.footer {
  padding: 42px 0;
  color: #d7e7ff;
  background: #071b3d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.footer a,
.footer span {
  display: block;
  color: #b9cdf0;
  margin: 8px 0;
  font-size: 14px;
}

.footer strong {
  color: var(--white);
}

.report-hero {
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.report-hero h1 {
  color: var(--white);
}

.report-hero p {
  max-width: 760px;
  color: #d7e7ff;
  font-size: 19px;
}

.report-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.report-card {
  margin-bottom: 18px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote {
  padding-left: 18px;
  border-left: 4px solid var(--blue-700);
  color: var(--muted);
}

.source-list a {
  color: var(--blue-700);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .trust-grid,
  .developer,
  .case-card,
  .report-layout,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 56px 0;
  }

  .product-stage {
    min-height: 420px;
  }

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

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

  .case-body {
    padding: 28px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 66px;
  }

  .nav-actions .ghost {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .proof-strip,
  .grid-3,
  .grid-2,
  .logo-rail,
  .team-strip,
  .certificate-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .product-stage {
    min-height: 360px;
  }

  .phone-shot {
    width: 34%;
  }

  .dashboard-shot {
    right: 0;
    width: 95%;
  }

  .ops-note {
    width: 72%;
  }
}
