:root{
  --bg-dark:#0b0f1a;
  --accent:#5eead4;
  --text-main:#e5e7eb;
  --text-muted:#9ca3af;
  --danger:#f87171;
  --ok:#34d399;

  --card-bg: rgba(17,24,39,.8);
  --panel-bg: rgba(2,6,23,.75);
  --border-soft: rgba(255,255,255,.10);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body{
  background: var(--bg-dark);
  color: var(--text-main);
  -webkit-text-size-adjust:100%;
}

/* ===== LOGO ===== */
.logo-wrap{
  display:flex;
  justify-content:center;
  margin-bottom:20px;
}
.logo{
  height:96px;
  width:auto;
  user-select:none;
  pointer-events:none;
}

/* ===== HERO ===== */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;

  padding:40px 20px;

  background:
    radial-gradient(ellipse at top, rgba(94,234,212,0.15), transparent 60%),
    linear-gradient(180deg, #050816, #0b0f1a);

  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.hero-inner{
  max-width: 900px;
  width: 100%;
  text-align: center;
}

/* ===== TYPO ===== */
.h1{
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}

.lead{
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===== CARD ===== */
.card{
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  max-width: 720px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* ===== COMMON CONTROLS ===== */
label{
  display:block;
  margin-top:16px;
  font-size:14px;
  color: var(--text-muted);
}

select, button, input{
  font-size:16px; /* важно для iOS (без автозума) */
}

/* ===== BUTTONS (base) ===== */
.btn{
  width:100%;
  height:52px;
  padding:0 16px;
  border-radius:10px;
  border:0;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.btn-primary{
  background: var(--accent);
  color:#020617;
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(94,234,212,.25);
}

.btn-ghost{
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-main);
}

.btn-ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  border-color: rgba(255,255,255,0.16);
}

/* ===== MOBILE POLISH (общий) ===== */
@media (max-width: 640px){
  .logo{ height:64px; }

  .hero{ padding:28px 16px; }

  .h1{
    font-size: 36px;
    line-height: 1.2;
  }

  .lead{
    font-size: 16px;
    margin-bottom: 28px;
  }

  .card{
    padding:20px;
    border-radius:14px;
  }

  /* “толстые” кнопки на мобиле */
  .btn{
    height:64px;
    padding:0 20px;
  }
}