:root {
  --bg: #f7fbff;
  --paper: #ffffff;
  --ink: #102a42;
  --muted: #5d7488;
  --line: #deecf6;
  --soft: #e8f5ff;
  --accent: #cfe9fb;
  --shadow: 0 24px 70px rgba(16, 42, 66, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 0%, rgba(207, 233, 251, 0.9), transparent 34rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 48%, #eff8ff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(222, 236, 246, 0.88);
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(16, 42, 66, 0.08);
}

.logo {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.07em;
}

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

.nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.header-login {
  min-width: 84px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #f6fbff;
  text-align: center;
  font-weight: 800;
}

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

.hero {
  min-height: calc(100vh - 86px);
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.soft-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

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

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

.hero-text {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: #f6fbff;
  box-shadow: 0 18px 44px rgba(16, 42, 66, 0.2);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-light {
  background: var(--accent);
  color: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-proof span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.project-stack {
  display: grid;
  gap: 16px;
}

.project-card {
  border: 1px solid rgba(16, 42, 66, 0.08);
  border-radius: 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.project-card-main {
  transform: rotate(-1deg);
}

.project-card-offset {
  transform: translateX(34px);
}

.project-card h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.project-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.project-topline,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-topline {
  justify-content: space-between;
  margin-bottom: 18px;
}

.project-type,
.project-stage {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.workflow,
.people,
.score {
  padding: 88px 0;
}

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

.section-heading.narrow {
  max-width: 700px;
}

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

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

.workflow-grid article,
.role-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
}

.workflow-grid p,
.role-grid p,
.score-card p,
.final-cta p {
  color: var(--muted);
  line-height: 1.52;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #f6fbff;
  font-weight: 850;
}

.score-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
  background: var(--ink);
  color: #f6fbff;
  box-shadow: 0 26px 80px rgba(16, 42, 66, 0.2);
}

.score-card .soft-label,
.score-card p {
  color: #bad0df;
}

.score-meter {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #102a42 0 48%, transparent 49%),
    conic-gradient(#cfe9fb 0 82%, rgba(255, 255, 255, 0.16) 82% 100%);
}

.score-meter span {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.score-meter small {
  color: #bad0df;
  font-weight: 850;
}

.final-cta {
  margin-bottom: 24px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 740px;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 700;
}

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .project-card-main,
  .project-card-offset {
    transform: none;
  }

  .workflow-grid,
  .role-grid {
    grid-template-columns: 1fr 1fr;
  }

  .score-card,
  .final-cta {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .section-shell {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 56px;
  }

  .workflow,
  .people,
  .score {
    padding: 58px 0;
  }

  .workflow-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid article,
  .role-grid article {
    min-height: auto;
  }

  .score-card {
    border-radius: 30px;
  }

  .score-meter {
    width: min(220px, 100%);
  }

  .final-cta {
    flex-direction: column;
  }
}
