﻿
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  max-width: var(--width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem 2.5rem;
  gap: 2.5rem;
  align-items: center;
}

.page-home .hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  padding-top: clamp(2.4rem, 6vw, 4.8rem);
  padding-bottom: 3.2rem;
  gap: clamp(2rem, 5vw, 4rem);
}

.page-home .hero .media {
  align-self: center;
  background: #fff;
  border: 1px solid rgb(217 226 236 / 72%);
  box-shadow: 0 22px 54px rgb(16 42 67 / 10%);
}

.page-home .hero .media img {
  object-fit: contain;
  object-position: center;
}

.lead {
  max-width: 62ch;
  font-size: var(--type-lead);
  line-height: 1.48;
  color: var(--ink);
}

.hero-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  border-top: 1px solid var(--line);
}

.section:nth-of-type(even) {
  background: var(--band);
}

.section__inner {
  max-width: var(--width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section__header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section__header p {
  max-width: 72ch;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.58;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-home .card {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.page-home .card .media {
  aspect-ratio: 5 / 3;
}

.page-home .card h3 {
  color: var(--ink);
  font-size: var(--type-h3);
  line-height: 1.24;
}

.card .media {
  margin-bottom: 1rem;
}

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

.step-list, .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.step-list {
  counter-reset: steps;
}

.step-list li, .check-list li {
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
}

.step-list li {
  counter-increment: steps;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  color: var(--blue);
  font-weight: 780;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  font-size: 0.96rem;
  font-weight: 760;
  text-decoration: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

th, td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
