:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --surface-3: #e7edf5;
  --text: #122033;
  --muted: #5d6b7c;
  --line: rgba(12, 39, 72, 0.1);
  --line-strong: rgba(12, 39, 72, 0.16);
  --primary: #0c2748;
  --primary-2: #173a67;
  --shadow: 0 22px 60px rgba(13, 27, 49, 0.08);
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(23, 58, 103, 0.07), transparent 24%),
    radial-gradient(circle at bottom left, rgba(23, 58, 103, 0.05), transparent 24%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 52px 0; }
.section-tight { padding: 24px 0 52px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(12, 39, 72, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 220px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 38px rgba(12, 39, 72, 0.16);
}

.btn-primary:hover { background: var(--primary-2); }

.btn-secondary,
.btn-outline {
  color: var(--primary);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: #fff;
  border-color: rgba(12, 39, 72, 0.26);
}

.eyebrow,
.mini-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6a7888;
}

h1, h2, h3, strong { letter-spacing: -0.04em; }

h1 {
  margin: 18px 0 0;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 0.98;
  color: var(--primary);
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(2.05rem, 4vw, 3.4rem);
  line-height: 1.02;
  color: var(--primary);
}

h3 {
  margin: 0;
  font-size: 1.48rem;
  line-height: 1.1;
  color: var(--primary);
}

p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.88;
}

.section-intro { max-width: 840px; }
.narrow { max-width: 780px; }

.hero { padding: 42px 0 24px; }

.hero-grid,
.split {
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.hero-copy { max-width: 620px; }
.hero-text { max-width: 560px; font-size: 1.12rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(243,247,251,0.88) 46%, rgba(228,236,246,0.9) 100%);
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  align-content: space-between;
  gap: 22px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -12% auto auto 52%;
  width: 420px;
  height: 420px;
  border-radius: 38px;
  transform: rotate(32deg);
  background: linear-gradient(180deg, rgba(12, 39, 72, 0.09), rgba(23, 58, 103, 0.02));
  border: 1px solid rgba(12, 39, 72, 0.06);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto auto 10% 7%;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23, 58, 103, 0.12), transparent 70%);
}

.hero-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 39, 72, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 39, 72, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 86%);
  opacity: 0.55;
}

.hero-panel {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 30px;
  background: rgba(12, 39, 72, 0.96);
  color: #fff;
  box-shadow: 0 30px 60px rgba(9, 24, 45, 0.18);
}

.hero-card-logo {
  width: 200px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  padding: 12px 14px;
  box-shadow: inset 0 0 0 1px rgba(12, 39, 72, 0.06);
}

.hero-panel h3 {
  margin-top: 26px;
  color: #fff;
  font-size: 2rem;
  line-height: 1.02;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hero-stat {
  padding: 16px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.hero-stat strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.45;
}

.hero-quote {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin-left: auto;
  padding: 22px 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 39, 72, 0.08);
  box-shadow: 0 18px 40px rgba(12, 39, 72, 0.08);
}

.hero-quote strong {
  color: var(--primary);
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-quote p {
  margin-top: 10px;
  font-size: 0.97rem;
  line-height: 1.7;
}

.mini-row,
.card-grid {
  display: grid;
  gap: 22px;
}

.mini-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mini-card,
.info-card,
.service-card,
.editorial-card,
.step-card,
.panel-card,
.checklist-card,
.cta-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 30px;
}

.mini-card { padding: 22px 22px 20px; }

.mini-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--text);
}

.info-card,
.service-card,
.editorial-card,
.step-card,
.panel-card,
.checklist-card {
  padding: 28px;
}

.info-card p,
.service-card p,
.editorial-card p,
.step-card p {
  margin-top: 12px;
  font-size: 0.98rem;
  line-height: 1.82;
}

.icon-shape,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff4fa, #e3ebf5);
  border: 1px solid rgba(12, 39, 72, 0.08);
  color: var(--primary);
}

.icon-shape svg,
.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.visual-stack { display: grid; gap: 20px; }

.abstract-visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(235,241,248,0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.abstract-visual::before {
  content: "";
  position: absolute;
  right: -7%;
  top: 10%;
  width: 280px;
  height: 280px;
  border-radius: 36px;
  transform: rotate(42deg);
  background: linear-gradient(180deg, rgba(12,39,72,0.14), rgba(12,39,72,0.03));
}

.abstract-visual::after {
  content: "";
  position: absolute;
  left: 8%;
  bottom: 12%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(12,39,72,0.12), transparent 72%);
}

.abstract-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12,39,72,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,39,72,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
}

.abstract-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 330px;
  padding: 22px 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(12,39,72,0.08);
  box-shadow: 0 18px 40px rgba(12,39,72,0.08);
}

.abstract-card strong {
  color: var(--primary);
  font-size: 1.18rem;
  line-height: 1.35;
}

.abstract-card p {
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.72;
}

.tag-list,
.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.tag-list li,
.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border-radius: 18px;
  background: var(--surface-2);
  color: var(--muted);
  line-height: 1.72;
}

.tag-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.section-action { margin-top: 30px; }

.muted-section {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(231,237,245,0.55));
}

.editorial-grid .full-width {
  grid-column: 1 / -1;
}

.step-number {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #97a3b1;
}

.position-block {
  padding: 56px;
  border-radius: 40px;
  background: linear-gradient(135deg, #0c2748 0%, #143257 50%, #1a4576 100%);
  box-shadow: 0 28px 70px rgba(9,24,45,0.18);
}

.position-block h2,
.position-block p {
  color: #fff;
}

.position-block p {
  max-width: 920px;
  color: rgba(255,255,255,0.78);
}

.cta-panel {
  padding: 56px;
  border-radius: 40px;
}

.site-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(12,39,72,0.08);
  background: rgba(255,255,255,0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 42px 0 50px;
  align-items: start;
}

.footer-logo {
  width: 184px;
  height: auto;
}

.site-footer p {
  max-width: 440px;
  margin-top: 14px;
  font-size: 0.98rem;
}

.site-footer small {
  display: block;
  margin-top: 12px;
  color: #8290a0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(12,39,72,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.84);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary);
}

@media (max-width: 1120px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .mini-row,
  .four-up,
  .three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    min-height: 620px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto auto;
    gap: 18px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 12px);
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-stage {
    min-height: auto;
    padding: 22px;
  }

  .hero-gridlines,
  .hero-stage::before,
  .hero-stage::after {
    display: none;
  }

  .hero-panel,
  .hero-quote {
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .hero-stat-row,
  .two-up,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 178px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 38px 0;
  }

  .section-tight {
    padding: 18px 0 38px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .mini-row,
  .four-up,
  .three-up,
  .hero-stat-row {
    grid-template-columns: 1fr;
  }

  .position-block,
  .cta-panel,
  .hero-panel,
  .mini-card,
  .info-card,
  .service-card,
  .editorial-card,
  .step-card,
  .panel-card,
  .checklist-card,
  .hero-quote {
    padding: 22px;
  }

  .position-block,
  .cta-panel,
  .hero-stage,
  .hero-panel,
  .mini-card,
  .info-card,
  .service-card,
  .editorial-card,
  .step-card,
  .panel-card,
  .checklist-card,
  .abstract-visual,
  .hero-quote {
    border-radius: 24px;
  }

  .hero-card-logo {
    width: 168px;
  }

  p,
  .hero-text {
    font-size: 1rem;
    line-height: 1.78;
  }
}