.home-hero {
  background-color: var(--bg-canvas);
  padding-block: var(--space-8);
  border-block-end: 1px solid var(--border-subtle);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: center;
}

.home-hero__content {
  grid-column: 1 / span 7;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.home-hero__eyebrow {
  margin-block-end: 0;
}

.home-hero__title {
  margin-block-end: 0;
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  text-transform: uppercase;
  color: var(--ink-primary);
}

.home-hero__lead {
  max-width: 65ch;
  margin-block-end: 0;
  font-size: var(--text-body-l-size);
  line-height: var(--text-body-l-line-height);
  font-weight: var(--text-body-l-weight);
  color: var(--ink-primary);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.home-hero__media {
  grid-column: 8 / span 5;
  min-width: 0;
  margin-block-end: 0;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
}

.home-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-section {
  padding-block: var(--space-8);
  background-color: var(--bg-canvas);
}

.home-section--subtle {
  background-color: var(--bg-subtle);
}

.home-section__heading {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-block-end: var(--space-4);
}

.home-section__number {
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  color: var(--accent-orange);
  text-transform: uppercase;
}

.home-section__label {
  font-family: var(--font-heading);
  font-size: var(--text-label-size);
  line-height: var(--text-label-line-height);
  font-weight: var(--text-label-weight);
  letter-spacing: var(--text-label-letter-spacing);
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.home-section__title {
  margin-block-end: var(--space-5);
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  text-transform: uppercase;
  color: var(--ink-primary);
}

.home-section__intro {
  max-width: 65ch;
  margin-block-end: var(--space-5);
  font-size: var(--text-body-l-size);
  line-height: var(--text-body-l-line-height);
  color: var(--ink-primary);
}

.home-section__content {
  max-width: 65ch;
}

.home-section__content--narrow {
  max-width: 65ch;
}

.home-section__content h3 {
  margin-block-end: var(--space-3);
}

.home-section__content p {
  margin-block-end: var(--space-4);
}

.home-section__content .content-list {
  margin-block-start: var(--space-4);
}

.home-loop {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--space-3);
}

.home-loop__step {
  min-width: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.home-loop__number {
  font-family: var(--font-heading);
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  color: var(--accent-orange);
  text-transform: uppercase;
}

.home-loop__title {
  margin-block-end: 0;
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  text-transform: uppercase;
  color: var(--ink-primary);
}

.home-loop__text {
  margin-block-end: 0;
  font-size: var(--text-body-s-size);
  line-height: var(--text-body-s-line-height);
  color: var(--ink-secondary);
}

.home-mechanics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-mechanic {
  min-width: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--transition-fast);
}

.home-mechanic:hover {
  box-shadow: var(--shadow-soft);
}

.home-mechanic__title {
  margin-block-end: 0;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  text-transform: uppercase;
  color: var(--ink-primary);
}

.home-mechanic__text {
  margin-block-end: 0;
  font-size: var(--text-body-m-size);
  line-height: var(--text-body-m-line-height);
  color: var(--ink-primary);
}

.home-analysis {
  max-width: 65ch;
  border-inline-start: 4px solid var(--accent-orange);
  background-color: var(--accent-orange-soft);
  padding: var(--space-5);
}

.home-analysis h3 {
  margin-block-end: var(--space-2);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  text-transform: uppercase;
  color: var(--ink-primary);
}

.home-analysis p {
  margin-block-end: var(--space-4);
  font-size: var(--text-body-m-size);
  line-height: var(--text-body-m-line-height);
  color: var(--ink-primary);
}

.home-analysis p:last-child {
  margin-block-end: 0;
}

.home-tips {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  max-width: 65ch;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.home-tip {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.home-tip__number {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  color: var(--accent-orange);
  text-transform: uppercase;
}

.home-tip__text {
  margin-block-end: 0;
  font-size: var(--text-body-m-size);
  line-height: var(--text-body-m-line-height);
  color: var(--ink-primary);
}

.home-build {
  border-inline-start: 4px solid var(--accent-cobalt);
  background-color: var(--accent-cobalt-soft);
  padding: var(--space-5);
}

.home-build p {
  margin-block-end: var(--space-4);
}

.home-build p:last-child {
  margin-block-end: 0;
}

.home-proscons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  position: relative;
}

.home-proscons::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: var(--border-subtle);
}

.home-proscons__col {
  min-width: 0;
  padding-inline: var(--space-5);
}

.home-proscons__col:first-child {
  padding-inline-start: 0;
}

.home-proscons__col:last-child {
  padding-inline-end: 0;
}

.home-proscons__title {
  margin-block-end: var(--space-4);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  text-transform: uppercase;
  color: var(--ink-primary);
}

.home-proscons__title--pros {
  color: var(--accent-cobalt);
}

.home-proscons__title--cons {
  color: var(--accent-orange);
}

.home-proscons .content-list {
  margin-block-end: 0;
}

.home-cta {
  background-color: var(--ink-primary);
  padding-block: var(--space-8);
}

.home-cta__inner {
  max-width: 40ch;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: center;
}

.home-cta__title {
  margin-block-end: 0;
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  text-transform: uppercase;
  color: var(--bg-canvas);
}

@media (max-width: 1024px) {
  .home-hero__inner {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .home-hero__content {
    grid-column: 1 / span 5;
  }

  .home-hero__media {
    grid-column: 6 / span 3;
  }

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

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

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

@media (max-width: 768px) {
  .home-hero {
    padding-block: var(--space-6);
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .home-hero__content,
  .home-hero__media {
    grid-column: 1;
  }

  .home-hero__title {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .home-hero__lead {
    font-size: var(--text-body-m-size);
    line-height: var(--text-body-m-line-height);
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .home-section {
    padding-block: var(--space-6);
  }

  .home-section__heading {
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .home-section__title {
    font-size: clamp(1.5rem, 6vw, 1.75rem);
  }

  .home-section__intro {
    font-size: var(--text-body-m-size);
    line-height: var(--text-body-m-line-height);
  }

  .home-loop {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-loop__step {
    padding: var(--space-4);
  }

  .home-mechanics {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-mechanic {
    padding: var(--space-4);
  }

  .home-analysis {
    padding: var(--space-4);
  }

  .home-tips {
    gap: var(--space-3);
  }

  .home-tip {
    gap: var(--space-3);
  }

  .home-build {
    padding: var(--space-4);
  }

  .home-proscons {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .home-proscons::before {
    display: none;
  }

  .home-proscons__col {
    padding-inline: 0;
  }

  .home-cta {
    padding-block: var(--space-6);
  }

  .home-cta__inner {
    max-width: 100%;
  }

  .home-cta__title {
    font-size: clamp(1.5rem, 6vw, 1.75rem);
  }
}

@media (max-width: 480px) {
  .home-hero__title {
    font-size: 1.5rem;
  }

  .home-section__title {
    font-size: 1.375rem;
  }

  .home-loop__title {
    font-size: 1.125rem;
  }

  .home-mechanic__title {
    font-size: 1.25rem;
  }

  .home-proscons__title {
    font-size: 1.25rem;
  }

  .home-cta__title {
    font-size: 1.375rem;
  }

  .home-cta__inner .btn {
    width: 100%;
  }
}