:root {
  --ink: #17212f;
  --muted: #607089;
  --line: #d8e0ea;
  --soft: #f4f7fb;
  --blue: #2f68ff;
  --green: #0f8f72;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(23, 33, 47, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 5vw, 72px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.brand,
.header-actions,
.nav,
.language-switcher,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 33, 47, 0.18);
}

.header-actions {
  gap: 18px;
}

.nav {
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
}

.language-switcher {
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.language-switcher select {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.hero,
.section {
  padding: clamp(50px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(120deg, rgba(47, 104, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.section.alt {
  background: var(--soft);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 6vw, 82px);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead,
.section-intro,
.muted,
.card p,
.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin: 22px 0 28px;
  font-size: clamp(18px, 2vw, 22px);
}

.section-intro {
  max-width: 780px;
  margin: 0 0 34px;
  font-size: 18px;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.phone-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 18px;
}

.phone-shot {
  width: 100%;
  border: 1px solid rgba(23, 33, 47, 0.1);
  border-radius: 30px;
  background: #0d1320;
  box-shadow: var(--shadow);
}

.phone-shot:nth-child(2),
.phone-shot:nth-child(3) {
  transform: translateY(36px);
}

.grid,
.plans,
.legal-grid {
  display: grid;
  gap: 18px;
}

.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plans,
.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
}

.card,
.plan,
.legal-doc,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card,
.plan {
  padding: 24px;
}

.card.highlight,
.plan.pro {
  border-color: rgba(47, 104, 255, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #2452c9;
  background: rgba(47, 104, 255, 0.12);
  font-size: 12px;
  font-weight: 850;
}

.price {
  margin: 10px 0 20px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

.compare {
  width: 100%;
  max-width: 1120px;
  border: 1px solid var(--line);
  border-collapse: collapse;
  background: var(--paper);
}

.compare th,
.compare td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare th {
  background: #eef4ff;
}

.legal-doc {
  max-width: 980px;
  padding: clamp(24px, 4vw, 42px);
}

.support-section {
  background: var(--soft);
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  max-width: 1120px;
  padding: clamp(24px, 4vw, 42px);
}

.support-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field input {
  min-height: 44px;
  padding: 0 12px;
}

.field input[type="file"] {
  height: auto;
  padding: 12px;
}

.field textarea {
  min-height: 180px;
  padding: 12px;
  resize: vertical;
}

.field small {
  color: var(--muted);
  font-weight: 500;
}

.honey-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #b42318;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.legal-doc h3 {
  margin-top: 28px;
}

.legal-doc h3:first-child {
  margin-top: 0;
}

.legal-doc ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .plans,
  .legal-grid,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .phone-shot:nth-child(2),
  .phone-shot:nth-child(3) {
    transform: none;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }
}
