
:root{
  --bg:#0B0D0C;
  --surface:#101412;
  --text:#F2F5F3;
  --muted:#AAB3AD;
  --line:rgba(255,255,255,.08);
  --accent:#2DBE7D;   /* хвоя */
  --accent2:#1E8C5E;
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: radial-gradient(1200px 700px at 50% 0%, rgba(255,255,255,.04), transparent 60%), var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}

.wrap{max-width:1100px; margin:0 auto; padding:0 18px}

.muted{color:var(--muted)}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,13,12,.65);
  border-bottom:1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 0;
}

.brand{
  font-weight:700;
  letter-spacing:.4px;
}

.brand--small{font-size:14px}

.nav{
  display:flex;
  gap:14px;
  margin-left:auto;
}

.nav a{color:var(--muted)}
.nav a:hover{color:var(--text)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(45,190,125,.45);
}

.btn--primary{
  background:var(--accent);
  color:#07100B;
  border-color:transparent;
  box-shadow: 0 0 0 1px rgba(45,190,125,.15), 0 12px 40px rgba(45,190,125,.12);
}

.btn--primary:hover{background:var(--accent2)}

.hero{padding:72px 0 46px}

.hero__inner{max-width:720px}

.hero h1{
  font-size:44px;
  line-height:1.08;
  margin:0 0 12px;
}

.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

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

.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), #0E1110;
}

.section h2{
  margin:0 0 14px;
  font-size:22px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}

.card{
  grid-column: span 6;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}

.card:hover{border-color: rgba(45,190,125,.35)}

.card__body{padding:18px}

.card h3{margin:0 0 6px}

.card p{
  margin:0;
  color:var(--muted);
}

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

.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.footer__links{
  display:flex;
  gap:14px;
}

.footer__links a{color:var(--muted)}
.footer__links a:hover{color:var(--accent)}

@media (max-width: 760px){
  .nav{display:none}
  .hero h1{font-size:34px}
  .card{grid-column: span 12}
}
.form{
  max-width: 520px;
  display: grid;
  gap: 12px;
}

.form__row{
  display: grid;
  gap: 6px;
}

.form__row--2{
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label{
  color: var(--muted);
  font-size: 14px;
}

input{
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
  outline: none;
}

input:focus{
  border-color: rgba(45,190,125,.55);
  box-shadow: 0 0 0 3px rgba(45,190,125,.12);
}

@media (max-width: 760px){
  .form__row--2{
    grid-template-columns: 1fr;
  }
}
.success-message{
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(45,190,125,.35);
  background: rgba(45,190,125,.10);
  border-radius: 12px;
  color: var(--text);
}