:root {
  --bg: #f7f8f3;
  --surface: #ffffff;
  --surface-muted: #eef2e8;
  --text: #17201a;
  --muted: #5e6b62;
  --line: #d9dfd4;
  --accent: #2f7d4f;
  --accent-strong: #1e5f3a;
  --accent-soft: #dceee3;
  --danger: #b4403a;
  --shadow: 0 22px 60px rgba(30, 49, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 125, 79, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfcf8 0%, var(--bg) 46%, #eef3ea 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(217, 223, 212, 0.72);
  background: rgba(247, 248, 243, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0;
}

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

select {
  min-width: 9.2rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.58rem 0.8rem;
  font: inherit;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(3rem, 8vh, 6rem) 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.28rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 41rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.74rem 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.summary-card {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(21.5rem, 100%);
  border: 1px solid #26372c;
  border-radius: 2rem;
  background: #17201a;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 4.8rem;
  height: 0.35rem;
  margin: 0.35rem auto 0.75rem;
  border-radius: 999px;
  background: #2e4033;
}

.screen {
  min-height: 31rem;
  border-radius: 1.45rem;
  background: linear-gradient(180deg, #fbfcf8, #edf4ec);
  padding: 1.2rem;
}

.screen-title {
  margin: 0.5rem 0 1.1rem;
  font-size: 1.45rem;
  font-weight: 850;
}

.screen-row {
  height: 3.3rem;
  margin-bottom: 0.75rem;
  border-radius: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
}

.screen-row.short {
  width: 76%;
}

.danger-label {
  margin: 2rem 0 0.75rem;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 850;
}

.delete-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(180, 64, 58, 0.28);
  border-radius: 0.9rem;
  background: #fff7f5;
  padding: 1rem;
  color: var(--danger);
}

.delete-row span {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 0.35rem;
  background: var(--danger);
}

.content-band,
.support-section {
  margin: 0 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 34px rgba(30, 49, 35, 0.07);
}

.content-band {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

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

.steps-list li {
  min-height: 14rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  padding: 1rem;
}

.step-number {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 0.6rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 900;
}

.steps-list p,
.info-panel p,
.support-section p {
  margin: 0;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}

.info-panel {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  padding: 1.25rem;
}

.info-panel h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.support-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.support-section div {
  max-width: 42rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 2rem 1rem 2.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 750;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
  }

  h1 {
    max-width: 11ch;
  }

  .summary-card {
    display: none;
  }

  .section-heading,
  .steps-list,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .steps-list li {
    min-height: auto;
  }

  .support-section {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  .language-control,
  select {
    width: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
