:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #eaf5f0;
  --text: #152334;
  --muted: #607187;
  --primary: #1769e0;
  --primary-dark: #0f4da8;
  --accent: #18a86b;
  --accent-soft: #dff5eb;
  --border: #dce6ef;
  --shadow: 0 18px 45px rgba(24, 55, 90, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 251, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 230, 239, 0.8);
}

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

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.brand-text {
  font-size: 18px;
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  color: var(--muted);
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--primary);
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -0.05em;
  max-width: 800px;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 21px;
}

.lead {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: 21px;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(23, 105, 224, 0.28);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: #083d2b;
  background: var(--accent-soft);
  border-color: #bfe9d7;
}

.button-ghost {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--border);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card-title {
  font-size: 24px;
  font-weight: 850;
  margin-bottom: 16px;
}

.hero-card ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

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

.section {
  padding: 64px 0;
}

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

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

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.steps,
.project-grid,
.mistakes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(24, 55, 90, 0.07);
}

.step-number,
.project-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.step-card p,
.project-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

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

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.skill-list li {
  background: var(--surface);
  border: 1px solid #cfe8dd;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 700;
}

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

.project-card {
  text-decoration: none;
  min-height: 230px;
}

.project-card:hover {
  border-color: #b7cbe2;
  transform: translateY(-2px);
  transition: 0.15s ease;
}

.project-card-muted {
  opacity: 0.75;
}

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

.mistakes div {
  background: #fff;
  border: 1px solid #cfe8dd;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 700;
}

.note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.callout {
  padding-top: 34px;
}

.callout-inner {
  background: linear-gradient(135deg, var(--primary), #0b8a5c);
  color: white;
  border-radius: 28px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.callout-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.callout .button-secondary {
  background: white;
  color: var(--primary-dark);
  border-color: white;
}

.site-footer {
  padding: 38px 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 920px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

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

  .top-nav {
    display: none;
  }
}

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

  .hero {
    padding: 48px 0 34px;
  }

  .section {
    padding: 44px 0;
  }

  .lead {
    font-size: 18px;
  }

  .steps,
  .project-grid,
  .mistakes {
    grid-template-columns: 1fr;
  }

  .callout-inner,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .callout-actions {
    width: 100%;
  }
}
