:root {
  color-scheme: light;
  --ink: #16201f;
  --muted: #5e6f6c;
  --line: #d7e3df;
  --panel: #ffffff;
  --aqua: #17b9ad;
  --orange: #f47d20;
  --wash: #eefaf7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7fffd 0%, #fff7ef 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.1rem;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-visual {
  justify-self: center;
  width: min(320px, 76vw);
  padding: 18px;
  border: 1px solid rgba(22, 32, 31, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(23, 185, 173, 0.18);
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

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

.section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  padding: 20px 0;
  border-top: 3px solid var(--aqua);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 800;
}

.legal {
  max-width: 820px;
}

.legal h2 {
  margin-top: 36px;
  font-size: 1.8rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal ul {
  padding-left: 22px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.contact-box a,
.contact-box div {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    flex-wrap: wrap;
  }

  .hero,
  .grid,
  .steps,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }
}
