:root {
  --bg: #eef7f4;
  --card: #ffffff;
  --text: #10201b;
  --muted: #64756f;
  --green: #00a651;
  --green-dark: #008744;
  --blue: #0288c7;
  --line: #dbe7e3;
  --shadow: 0 24px 70px rgba(16, 32, 27, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 166, 81, 0.14), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(2, 136, 199, 0.16), transparent 32%),
    var(--bg);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.compact-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 26px;
  font-weight: 900;
  font-size: 22px;
  border-bottom: 1px solid var(--line);
}

.center-brand {
  justify-content: center;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #ffffff;
  font-size: 25px;
}

.hero {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 34px;
  align-items: center;
  padding: 44px;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e4f8ee;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.95;
  letter-spacing: -2.8px;
  margin: 0 0 18px;
}

p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.steps div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbfa;
}

.steps strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  margin-bottom: 10px;
}

.steps span {
  font-weight: 800;
  font-size: 14px;
}

.cta {
  width: min(420px, 100%);
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 18px 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 34px rgba(0, 166, 81, 0.32);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 166, 81, 0.38);
}

.notice {
  font-size: 13px;
  margin-top: 18px;
}

.phone-card {
  border-radius: 28px;
  background: #f6faf9;
  border: 1px solid var(--line);
  padding: 18px;
}

.phone-card img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

.info {
  margin-top: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.info h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.info p {
  margin: 0;
  font-size: 14px;
}

.continue-card {
  width: min(720px, 100%);
}

.continue-box {
  padding: 46px;
  text-align: center;
}

.continue-box h1 {
  font-size: clamp(40px, 6vw, 58px);
}

.loading {
  margin-top: 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.hidden {
  display: none;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 4px solid #dbe7e3;
  border-top-color: var(--green);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

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

  .brand {
    padding: 18px;
  }

  .continue-box {
    padding: 30px 22px;
  }
}
