:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-muted: #eef2f3;
  --text: #0b1117;
  --muted: #4f5d6a;
  --accent: #23a455;
  --accent-2: #9e1b34;
  --line: rgba(15, 33, 45, 0.12);
  --shadow: 0 24px 60px rgba(15, 33, 45, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at top left, #dfeff0 0%, #f6f7f8 50%, #ffffff 100%);
  color: var(--text);
  min-height: 100vh;
  padding-top: 120px;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.08'/></svg>");
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.hero {
  padding: 56px 6vw 72px;
  position: relative;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 6vw;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 1000;
  min-height: 72px;
  box-shadow: 0 8px 24px rgba(15, 33, 45, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
}

.brand-mark {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  letter-spacing: 1px;
}

.brand-name {
  font-weight: 500;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

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

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 42px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  margin-bottom: 18px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.05;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.lead.secondary {
  font-size: 1rem;
  margin-top: -12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.cta {
  text-decoration: none;
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.cta.primary {
  background: linear-gradient(120deg, var(--accent), #5ac2c2);
  color: #ffffff;
  border: none;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(15, 124, 124, 0.25);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.9);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stats strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.hero-media {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.photo-stack {
  position: relative;
  width: min(100%, 360px);
  height: 280px;
}

.photo {
  position: absolute;
  width: 220px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 33, 45, 0.12);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: #ffffff;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(15, 124, 124, 0.9), rgba(15, 33, 45, 0.6));
  opacity: 0.85;
}

.photo span {
  position: relative;
  z-index: 1;
}

.photo-1 {
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  animation: float 7s ease-in-out infinite;
}

.photo-2 {
  top: 50px;
  left: 90px;
  transform: rotate(4deg);
  background: linear-gradient(150deg, rgba(158, 27, 52, 0.85), rgba(15, 33, 45, 0.6));
  animation: float 8s ease-in-out infinite;
}

.photo-3 {
  top: 120px;
  left: 20px;
  transform: rotate(-1deg);
  background: linear-gradient(150deg, rgba(15, 124, 124, 0.85), rgba(17, 27, 35, 0.6));
  animation: float 9s ease-in-out infinite;
}

.hero-badge {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow);
}

.hero-badge p {
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 72px 6vw;
  position: relative;
  scroll-margin-top: 110px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-family: "Montserrat", sans-serif;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  line-height: 1.6;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.benefit-grid article {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.number {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.benefit-grid h3 {
  margin: 10px 0;
}

.benefit-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.course-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.course-card h3 {
  margin-bottom: 6px;
}

.course-card .meta {
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 12px;
}

.course-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.course-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.course-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.examples {
  background: linear-gradient(135deg, rgba(15, 124, 124, 0.08), rgba(158, 27, 52, 0.06));
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.example-grid article {
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.example-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.lab {
  background: var(--surface-muted);
}

.lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lab-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 124, 124, 0.12);
  color: var(--accent);
  font-size: 0.9rem;
}

.lab-list {
  display: grid;
  gap: 14px;
}

.lab-list div {
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.lab-list p {
  color: var(--muted);
  margin-top: 6px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq-grid details {
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.faq-grid summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-grid p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

.interest {
  display: grid;
  place-items: center;
}

.interest-card {
  max-width: 760px;
  width: min(100%, 760px);
  padding: 32px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

input,
select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

button {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: var(--accent-2);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.fine {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  padding: 32px 6vw 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(-2deg);
  }
}

@media (max-width: 860px) {
  .nav-links {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
  }

  .photo-stack {
    height: 260px;
  }
}
