:root {
  color: #17211d;
  background: #f4f6f3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid #dfe5df;
  background: rgba(255, 255, 255, 0.9);
}

.brand { text-decoration: none; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.04em; }
.brand span { color: #1f7a57; }
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; color: #53605a; font-size: 0.92rem; }

main { overflow: hidden; }
.hero, .account-section { max-width: 1180px; margin: 0 auto; padding: 90px 28px; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.eyebrow { color: #1f7a57; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 14px 0 22px; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 0.95; letter-spacing: -0.065em; }
h2 { margin: 8px 0 12px; letter-spacing: -0.035em; }
.lead { max-width: 650px; color: #59665f; font-size: 1.2rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { color: white; background: #176847; }
.button.primary:hover { background: #10583b; }
.button.secondary { border-color: #ccd6cf; background: white; }
.button.full { width: 100%; }

.preview {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px;
  border: 1px solid #cbd6cf;
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(145deg, rgba(13, 70, 48, 0.2), rgba(13, 70, 48, 0.88)),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(255,255,255,.08) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(255,255,255,.08) 25px),
    #176847;
  box-shadow: 0 28px 70px rgba(22, 63, 47, 0.18);
}
.preview span { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.12em; }
.preview strong { max-width: 330px; font-size: 1.5rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #dbe2dd; border-block: 1px solid #dbe2dd; }
.steps article { padding: 54px 7vw; background: white; }
.steps article > span { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: white; background: #1f7a57; font-weight: 800; }
.steps p, .account-copy > p { color: #647169; line-height: 1.65; }

.account-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.account-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.contact a { color: #176847; font-weight: 700; }
.account-card { padding: 28px; border: 1px solid #d3ddd6; border-radius: 18px; background: white; box-shadow: 0 18px 55px rgba(29, 52, 42, 0.08); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 24px; border-radius: 12px; background: #eef2ef; }
.tab { min-height: 40px; border: 0; border-radius: 9px; color: #657169; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.tab.active { color: #17211d; background: white; box-shadow: 0 2px 8px rgba(30, 50, 42, 0.08); }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #405047; font-size: 0.84rem; font-weight: 700; }
input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #cbd5ce; border-radius: 9px; background: #fbfcfb; font: inherit; }
input:focus { outline: 3px solid rgba(31, 122, 87, 0.16); border-color: #1f7a57; }
.stack { display: grid; gap: 10px; }
.text-button { border: 0; color: #5f6c64; background: transparent; font: inherit; cursor: pointer; }
#message { min-height: 24px; margin: 18px 0 0; color: #66736b; font-size: 0.9rem; }
#message.success { color: #176847; }
#message.error { color: #a33434; }

footer { display: flex; gap: 24px; flex-wrap: wrap; padding: 30px 6vw; border-top: 1px solid #dce3de; color: #68746c; background: white; font-size: 0.84rem; }

@media (max-width: 840px) {
  nav { display: none; }
  .hero, .account-section { grid-template-columns: 1fr; gap: 42px; padding-block: 60px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { padding: 34px 28px; }
}
