:root {
  --gate-ink: #111827;
  --gate-muted: #6b7280;
  --gate-line: #e5e7eb;
  --gate-accent: #2b78ee;
  --gate-display: "Comfortaa", "Manrope", system-ui, sans-serif;
  --gate-ui: "Manrope", system-ui, sans-serif;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--gate-ink);
  font-family: var(--gate-ui);
  -webkit-font-smoothing: antialiased;
}

body.is-checkout {
  background: #f4f6fb;
}

.gate {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 20px;
  background: #ffffff;
}

.gate[hidden] {
  display: none !important;
}

.gate-card {
  width: min(560px, 100%);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid #eef2f7;
  padding: 36px 40px 28px;
  text-align: center;
}

.gate-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.gate-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.gate-brand-text { text-align: left; }

.gate-brand-name {
  font-family: var(--gate-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.gate-kicker {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gate-muted);
}

.gate-hero {
  display: block;
  width: min(280px, 72%);
  height: auto;
  margin: 8px auto 20px;
  background: #ffffff;
}

.gate-title {
  margin: 0 0 10px;
  font-family: var(--gate-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.gate-lead {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--gate-muted);
}

.gate-note {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

.gate-btn-primary,
.gate-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.gate-btn-primary {
  background: var(--gate-accent);
  color: #fff;
  margin-bottom: 10px;
}

.gate-btn-primary:hover { filter: brightness(1.05); }

.gate-btn-secondary {
  background: #fff;
  color: var(--gate-accent);
  border: 1px solid #dbe3ee;
  margin-bottom: 22px;
}

.gate-btn-secondary:hover { background: #f8fafc; }

.gate-benefits {
  list-style: none;
  margin: 0 0 18px;
  padding: 14px 8px 6px;
  border-top: 1px solid var(--gate-line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  text-align: left;
}

.gate-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 6px;
}

.gate-ico {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--gate-accent);
  display: grid;
  place-items: center;
}

.gate-benefits strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.gate-benefits li span span {
  display: block;
  font-size: 12px;
  color: var(--gate-muted);
  line-height: 1.35;
}

.gate-why {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--gate-line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--gate-muted);
  text-align: left;
}

.gate-why strong {
  display: block;
  color: var(--gate-ink);
  margin-bottom: 4px;
}

.gate-footer {
  margin-top: 22px;
  font-size: 12px;
  color: #94a3b8;
}

.gate-footer a {
  color: #94a3b8;
  text-decoration: none;
}

.gate-footer a:hover { color: var(--gate-ink); }

.gate-footer span { margin: 0 8px; color: #cbd5e1; }

@media (max-width: 820px) {
  .gate-card {
    width: min(520px, 100%);
    padding: 32px 28px 24px;
  }
  .gate-title { font-size: 28px; }
  .gate-benefits { grid-template-columns: 1fr; padding: 12px 4px 0; }
}

@media (max-width: 560px) {
  .gate {
    padding: 18px 16px 12px;
    justify-content: flex-start;
  }
  .gate-card {
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 12px 4px 8px;
  }
  .gate-title { font-size: 26px; }
  .gate-btn-secondary {
    background: transparent;
    border: 0;
    color: var(--gate-accent);
    min-height: 40px;
    margin-bottom: 8px;
  }
  .gate-benefits {
    border: 1px solid var(--gate-line);
    border-radius: 16px;
    padding: 8px 12px;
    margin-top: 8px;
  }
}
