:root {
  --primary: #7c4dff;
  --primary-dark: #241541;
  --primary-soft: #eee8ff;
  --ink: #16141c;
  --muted: #686475;
  --line: #e6e3ee;
  --bg: #f8f8fc;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(20, 16, 30, 0.04), 0 18px 44px rgba(20, 16, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.container {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  border-bottom: 1px solid rgba(230, 227, 238, 0.9);
  background: rgba(248, 248, 252, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.back-link:hover {
  color: var(--ink);
}

.hero {
  padding: 68px 0 34px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.content {
  padding: 24px 0 80px;
}

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

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.panel {
  padding: clamp(24px, 5vw, 42px);
}

.card p,
.panel p,
.panel li {
  color: var(--muted);
}

.panel ul {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.stack {
  display: grid;
  gap: 18px;
}

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

.notice {
  border: 1px solid rgba(124, 77, 255, 0.25);
  border-radius: 14px;
  padding: 18px;
  background: var(--primary-soft);
  color: #4d2cb2;
  font-weight: 750;
}

.phone-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 620px;
}

.phone-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.phone-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  outline: none;
}

.phone-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  color: #5d35da;
  font-size: 14px;
  font-weight: 750;
}

.footer {
  padding: 34px 0;
  background: var(--primary-dark);
  color: white;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 980px);
  }

  .nav,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .phone-form {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
