:root {
  --navy-950: #072149;
  --navy-900: #12396d;
  --navy-850: #1e4778;
  --navy-800: #264f7f;
  --navy-200: #d9e3ee;
  --navy-text: #1a396a;
  --teal-500: #39b7b3;
  --teal-400: #5fd3ca;
  --green-600: #1d7b57;
  --red-500: #c85151;
  --paper: #f7f8fb;
  --white: #ffffff;
  --shadow-soft: 0 12px 30px rgba(17, 43, 81, 0.12);
  --shadow-strong: 0 18px 36px rgba(6, 24, 52, 0.2);
  --radius-xl: 22px;
  --radius-lg: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--navy-text);
  background:
    radial-gradient(circle at top, rgba(16, 63, 122, 0.08), transparent 26%),
    linear-gradient(180deg, #f9fbfe 0%, #ffffff 30%, #f6f9fd 100%);
}

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

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

.site-header {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #183c6a 0%, #15345d 100%);
  border-bottom: 1px solid rgba(215, 231, 247, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: linear-gradient(180deg, #d9eef7 0%, #b7dfe8 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px 5px 6px 10px;
  background: linear-gradient(180deg, #103765 0%, #0b2d58 100%);
  clip-path: polygon(0 0, 58% 0, 100% 27%, 63% 53%, 100% 100%, 64% 100%, 40% 66%, 40% 100%, 0 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 5px;
  width: 9px;
  height: 28px;
  background: linear-gradient(180deg, #44cdc5 0%, #2ab1ad 100%);
  transform: skew(-18deg);
}

.brand-r {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.brand-text {
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-text span {
  color: var(--teal-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 500;
}

.nav-cta {
  padding: 14px 22px;
  border: 2px solid #65d0e2;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 54px;
  color: #fff;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #173b69 0%, #0f2d57 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, transparent 0 50%, rgba(113, 161, 205, 0.17) 50%, rgba(113, 161, 205, 0.17) 66%, transparent 66%),
    linear-gradient(33deg, transparent 0 58%, rgba(40, 77, 129, 0.42) 58%, rgba(40, 77, 129, 0.42) 67%, transparent 67%),
    linear-gradient(145deg, transparent 0 64%, rgba(132, 182, 220, 0.18) 64%, rgba(132, 182, 220, 0.18) 79%, transparent 79%),
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.06), transparent 22%);
  opacity: 0.95;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 660px;
  padding: 10px 0 18px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
  color: #fff;
}

.hero-rule {
  width: min(100%, 470px);
  height: 1px;
  margin: 24px 0 18px;
  background: rgba(233, 242, 251, 0.32);
}

.hero-copy p {
  margin: 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245, 249, 255, 0.92);
}

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

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  padding: 15px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-1px);
}

.hero-button-primary {
  background: #ffffff;
  color: #14386f;
  box-shadow: 0 10px 24px rgba(10, 28, 56, 0.16);
}

.hero-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.snapshot-card {
  position: relative;
  padding: 22px 26px 34px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
  color: #1f3d70;
}

.snapshot-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
  color: #1a3868;
}

.snapshot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #d9e1eb;
  font-size: 17px;
  font-weight: 700;
}

.snapshot-row strong {
  font-size: 24px;
  line-height: 1;
}

.value-green {
  color: var(--green-600);
}

.value-blue {
  color: #163d7b;
}

.value-red {
  color: var(--red-500);
}

.snapshot-alert {
  position: absolute;
  right: 16px;
  bottom: 10px;
  width: 44px;
  height: 38px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #d95858;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.section {
  padding: 32px 0 42px;
}

.section-soft {
  background:
    radial-gradient(circle at center, rgba(35, 70, 124, 0.07), transparent 36%),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.section-title span {
  height: 1px;
  background: #cad8e5;
}

.section-title h2,
.section-title p {
  margin: 0;
  color: #173d77;
  font-size: clamp(2rem, 3vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
}

.section-title-tight {
  margin-bottom: 28px;
}

.section-title-tight p {
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-intro,
.cta-copy,
.positioning-copy {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  color: #214674;
  font-size: 18px;
  line-height: 1.7;
}

.section-intro {
  margin-bottom: 22px;
}

.section-intro-narrow {
  max-width: 880px;
}

.mini-title {
  margin-bottom: 18px;
  text-align: center;
  color: #173d77;
  font-size: 20px;
  font-weight: 800;
}

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

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

.service-card,
.step-card,
.why-strip {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid rgba(198, 212, 228, 0.8);
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 184px;
  padding: 20px 18px 18px;
  border-radius: 10px;
  text-align: center;
}

.service-card h3 {
  margin: 16px auto 0;
  max-width: 220px;
  color: #14386f;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.service-card p {
  margin: 10px auto 0;
  max-width: 232px;
  color: #35557f;
  font-size: 15px;
  line-height: 1.5;
}

.service-icon {
  position: relative;
  width: 74px;
  height: 58px;
  margin: 0 auto;
}

.sheet-icon,
.tablet-icon {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 40px;
  height: 48px;
  border-radius: 3px;
}

.sheet-icon::before,
.tablet-icon::before {
  content: "";
  position: absolute;
  inset: 9px 10px auto;
  height: 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 0 rgba(255, 255, 255, 0.95), 0 20px 0 rgba(255, 255, 255, 0.95);
}

.sheet-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.95);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.tablet-icon {
  border: 5px solid #173d77;
  background: #f6f7fb;
}

.tablet-icon::before {
  inset: 8px 7px auto;
  height: 3px;
  background: #173d77;
  box-shadow: 0 8px 0 #173d77, 0 16px 0 #173d77;
}

.service-icon-teal .sheet-icon {
  background: linear-gradient(180deg, #43c5ba 0%, #2fb6af 100%);
}

.service-icon-navy .sheet-icon {
  background: linear-gradient(180deg, #183d78 0%, #153465 100%);
}

.service-icon-paper .tablet-icon {
  background: #f7f7fb;
}

.accent-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 28px;
  border-radius: 6px 0 0 6px;
  background: #f2a151;
}

.check-icon {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3dc7bc 0%, #2db2ad 100%);
  box-shadow: 0 4px 10px rgba(30, 77, 122, 0.18);
}

.check-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

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

.step-card {
  min-height: 124px;
  padding: 18px 22px 22px;
  border-radius: 8px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-badge,
.why-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #295183 0%, #153b70 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(16, 48, 92, 0.18);
}

.step-badge-teal,
.why-badge {
  background: linear-gradient(180deg, #35b9b3 0%, #278a9c 100%);
}

.step-card h3,
.why-item h3 {
  margin: 0;
  color: #173d77;
  font-size: 18px;
  font-weight: 800;
}

.step-card p {
  margin: 0 0 0 20px;
  max-width: 230px;
  color: #264671;
  font-size: 16px;
  line-height: 1.45;
}

.why-copy {
  margin: 0 auto 26px;
  max-width: 760px;
  text-align: center;
  color: #183b70;
  font-size: 18px;
  line-height: 1.6;
}

.why-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(249, 251, 254, 0.96)),
    linear-gradient(90deg, rgba(220, 229, 239, 0.5), rgba(220, 229, 239, 0.5));
}

.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  min-height: 86px;
  border-right: 1px solid rgba(199, 210, 224, 0.8);
}

.why-item:last-child {
  border-right: 0;
}

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

.value-card {
  padding: 24px 20px;
  border: 1px solid rgba(198, 212, 228, 0.8);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-soft);
  color: #173d77;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.value-card-wide {
  grid-column: 2 / 4;
}

.positioning-box {
  max-width: 920px;
}

.positioning-copy {
  max-width: 680px;
}

.positioning-copy-strong {
  max-width: 760px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  color: #173d77;
}

.cta-section {
  padding-bottom: 64px;
}

.cta-copy {
  margin-bottom: 24px;
}

.cta-copy-strong {
  font-size: 24px;
  font-weight: 800;
  color: #173d77;
}

.cta-button {
  display: block;
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 18px 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #23497c 0%, #173865 100%);
  color: #fff;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(20, 56, 101, 0.22);
}

.page-hero {
  padding: 72px 0 64px;
}

.page-hero-inner {
  position: relative;
}

.page-hero-copy {
  max-width: 860px;
}

.page-hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: #fff;
}

.page-hero-copy p {
  margin: 0;
  max-width: 760px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(245, 249, 255, 0.94);
}

.process-flow {
  text-align: center;
}

.flow-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 18px;
  padding: 24px 20px;
  border: 1px solid rgba(198, 212, 228, 0.8);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-soft);
  color: #173d77;
  font-size: 18px;
  font-weight: 700;
}

.flow-line strong {
  color: var(--teal-500);
  font-size: 22px;
}

.process-note {
  margin: 12px 0 0;
  color: #24476f;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.process-note-strong {
  font-weight: 800;
  color: #173d77;
}

.why-short-intro {
  margin-bottom: 26px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.approach-stack {
  display: grid;
  gap: 18px;
}

.reason-stack {
  display: grid;
  gap: 18px;
}

.detail-card {
  padding: 28px 28px 30px;
  border: 1px solid rgba(198, 212, 228, 0.8);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-soft);
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.detail-head h3 {
  margin: 0;
  color: #173d77;
  font-size: 24px;
  font-weight: 800;
}

.detail-card h2 {
  margin: 0 0 16px;
  color: #173d77;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.detail-card p {
  margin: 0 0 14px;
  color: #264671;
  font-size: 17px;
  line-height: 1.65;
}

.detail-list {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #24476f;
}

.detail-list li {
  margin-bottom: 10px;
  line-height: 1.55;
}

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

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

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

.audience-closing {
  max-width: 920px;
  margin: 26px auto 0;
}

.section-title-left {
  grid-template-columns: auto 1fr;
  justify-content: start;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title-left span:last-child {
  display: none;
}

.section-title-left h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .service-grid,
  .steps-grid,
  .why-strip,
  .value-grid,
  .service-grid-three,
  .question-grid,
  .two-column-grid,
  .oversight-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .value-card-wide {
    grid-column: auto;
  }

  .hero-copy,
  .snapshot-card {
    max-width: none;
  }

  .service-card,
  .step-card {
    min-height: auto;
  }

  .why-item {
    border-right: 0;
    border-bottom: 1px solid rgba(199, 210, 224, 0.8);
  }

  .why-item:last-child {
    border-bottom: 0;
  }

  .detail-card {
    padding: 24px 22px 26px;
  }
}

@media (max-width: 800px) {
  .nav-row {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0 18px;
  }

  .nav-links {
    gap: 20px;
    font-size: 15px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .page-hero-copy h1 {
    font-size: 2.75rem;
  }

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

  .hero-button {
    width: 100%;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-title span {
    display: none;
  }

  .section-title h2,
  .section-title p {
    text-align: center;
  }

  .section-title-left {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-title-left span:first-child {
    display: none;
  }

  .detail-head {
    align-items: flex-start;
  }

  .flow-line {
    font-size: 17px;
  }
}
