:root {
  --ink: #18212b;
  --muted: #5c6875;
  --line: #d9e0e6;
  --paper: #f6f7f4;
  --white: #ffffff;
  --green: #0d7c66;
  --green-dark: #075443;
  --lime: #d8f255;
  --red: #d94a38;
  --steel: #e8edf1;
  --shadow: 0 18px 50px rgba(18, 28, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 247, 244, 0.9);
  border-bottom: 1px solid rgba(217, 224, 230, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
}

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

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

.topbar-cta {
  padding: 10px 16px;
  color: var(--white);
  font-weight: 700;
  background: var(--ink);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 7vw, 90px) 64px;
  color: var(--white);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("assets/hero-laptop.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.03);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 18, 25, 0.92) 0%, rgba(9, 18, 25, 0.68) 47%, rgba(9, 18, 25, 0.22) 100%),
    linear-gradient(0deg, rgba(9, 18, 25, 0.68) 0%, rgba(9, 18, 25, 0) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

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

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2.2vw, 27px);
}

.free-line {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 900;
  background: var(--lime);
  border-radius: 6px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.btn.primary {
  color: var(--white);
  background: var(--red);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts span {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 84px clamp(20px, 6vw, 76px);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.intro-grid,
.learn-list,
.program-list {
  display: grid;
  gap: 14px;
}

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

.intro-grid article,
.learn-item,
.program-list div,
.tool-stack article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-grid article {
  padding: 24px;
}

.step {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.intro-grid p,
.learn-item p,
.program-list p,
.tools-copy p,
.author-copy p,
.proof p,
.signup p,
.photo-band p {
  margin: 0;
  color: var(--muted);
}

.learn {
  background: var(--white);
}

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

.learn-item {
  min-height: 168px;
  padding: 22px;
}

.photo-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 70px);
  padding: 76px clamp(20px, 6vw, 76px);
  background: var(--steel);
}

.photo-band img,
.proof img,
.author-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-photo-wrap img {
  transform: scaleX(-1);
}

.photo-band img {
  max-height: 460px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-band p {
  margin-top: 18px;
  font-size: 18px;
}

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

.program-list div {
  padding: 20px;
}

.program-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 900;
}

.program-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.tools {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 6vw, 70px);
  background: var(--ink);
  color: var(--white);
}

.tools .eyebrow {
  color: var(--lime);
}

.tools-copy p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 18px;
  font-size: 18px;
}

.tools-copy .note {
  padding-left: 18px;
  border-left: 4px solid var(--lime);
}

.tool-stack {
  display: grid;
  gap: 10px;
}

.tool-stack article {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: var(--ink);
}

.tool-stack span {
  color: var(--green);
  font-weight: 900;
}

.tool-stack em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.author {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  background: var(--white);
}

.funnel {
  background: var(--white);
}

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

.funnel-steps article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.funnel-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--green);
  border-radius: 6px;
}

.funnel-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}

.funnel-steps p {
  margin: 0;
  color: var(--muted);
}

.author-photo-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.author-copy p {
  margin-top: 18px;
  font-size: 18px;
}

.author-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.author-points span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 1.38fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
}

.proof img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof p {
  margin-top: 18px;
  font-size: 18px;
}

.signup {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 clamp(20px, 6vw, 76px) 72px;
  padding: 34px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
}

.signup .eyebrow {
  color: var(--lime);
}

.signup p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.signup-btn {
  min-width: 240px;
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.btn.light {
  color: var(--ink);
  background: var(--white);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: var(--ink);
}

.footer-legal {
  text-align: right;
}

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

  .intro-grid,
  .learn-list,
  .program-list,
  .funnel-steps,
  .photo-band,
  .tools,
  .author,
  .proof,
  .signup {
    grid-template-columns: 1fr;
  }

  .signup-btn {
    width: 100%;
  }

  .signup-actions {
    justify-content: stretch;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 62px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .topbar-cta {
    padding: 9px 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 88vh;
    padding: 96px 18px 42px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(9, 18, 25, 0.9), rgba(9, 18, 25, 0.62));
  }

  .section,
  .photo-band {
    padding: 56px 18px;
  }

  .signup {
    margin: 0 18px 48px;
    padding: 24px;
  }

  .tool-stack article {
    grid-template-columns: 34px 1fr;
  }

  .tool-stack em {
    grid-column: 2;
  }

  .footer {
    flex-direction: column;
    padding: 24px 18px;
  }

  .footer-legal {
    text-align: left;
  }
}
