:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-muted: #edf2ef;
  --text: #17201b;
  --muted: #5f6d66;
  --line: #d9e0dc;
  --accent: #126a4a;
  --accent-strong: #0a4b35;
  --warning: #b24528;
  --shadow: 0 18px 55px rgba(23, 32, 27, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(18, 106, 74, 0.1), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 0 34px 0 12px;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: end;
  padding: 72px 0 52px;
}

.hero-copy {
  max-width: 760px;
}

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

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

h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

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

.status-panel,
.panel,
.details article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.status-panel {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.app-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 14px;
  object-fit: cover;
}

.status-panel span {
  color: var(--muted);
  font-size: 14px;
}

.status-panel strong {
  color: var(--accent-strong);
  font-size: 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.panel {
  padding: 28px;
}

.section-heading h2,
.details h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--accent-strong);
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.steps p,
.contact-panel p,
.details p,
.details li {
  margin: 0;
  color: var(--muted);
}

.contact-panel {
  align-self: start;
}

.contact-panel > p {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  padding: 12px 16px;
}

.button:focus-visible,
select:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(18, 106, 74, 0.28);
  outline-offset: 3px;
}

.small {
  margin-top: 14px;
  font-size: 14px;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 64px;
}

.details article {
  padding: 28px;
}

.details ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.details p {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0 30px;
}

@media (max-width: 860px) {
  .hero,
  .content-grid,
  .details {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .language-control {
    justify-content: space-between;
  }

  select {
    flex: 1;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .panel,
  .details article {
    padding: 20px;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
