:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-soft: #eef2f8;
  --footer: #11182b;
  --line: #dfe7f2;
  --text: #111a31;
  --muted: #536178;
  --accent: #316ef4;
  --accent-2: #12a6bf;
  --success: #22c55e;
  --shadow: 0 12px 26px rgba(17, 27, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

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

.hero {
  padding: 96px 0 126px;
  text-align: center;
}

.hero-mark,
.info-icon,
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

.hero-mark {
  width: 80px;
  height: 80px;
  margin-bottom: 34px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(49, 110, 244, 0.22);
}

.hero-mark svg,
.info-icon svg,
.footer-mark svg {
  width: 56%;
  height: 56%;
}

.hero-mark svg *,
.info-icon svg *,
.footer-mark svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 860px;
  margin: 22px auto 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  min-width: 200px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #0794af 100%);
  box-shadow: 0 12px 22px rgba(49, 110, 244, 0.2);
}

.button-muted {
  background: var(--surface-soft);
  color: #334155;
}

.full-width {
  width: 100%;
}

.section {
  padding: 0 0 110px;
}

.card-grid {
  display: grid;
  gap: 32px;
}

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

.info-card,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.info-card {
  min-height: 242px;
  padding: 32px;
}

.info-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 10px;
}

.info-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.info-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.pricing {
  padding-top: 14px;
  padding-bottom: 128px;
}

.section-heading {
  margin-bottom: 44px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

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

.pricing-card {
  position: relative;
  min-height: 398px;
  padding: 34px 32px 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border: 2px solid #3d82ff;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 28px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #0794af 100%);
  box-shadow: 0 8px 18px rgba(49, 110, 244, 0.22);
  font-size: 14px;
  font-weight: 700;
}

.plan-name {
  margin: 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.plan-price {
  margin: 20px 0 0;
  text-align: center;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

.plan-price span {
  font-size: 28px;
  color: var(--muted);
}

.plan-features {
  display: grid;
  gap: 14px;
  margin: 28px 0 28px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 32px;
  color: #475569;
  font-size: 16px;
  line-height: 1.35;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--success);
  font-size: 18px;
  font-weight: 800;
}

.pricing-card .button {
  margin-top: auto;
}

.site-footer {
  background: var(--footer);
  color: #fff;
}

.footer-inner {
  min-height: 320px;
  padding: 48px 0 54px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

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

.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-brand-text {
  font-size: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}

.footer-links a {
  color: #d9e2f2;
  font-size: 15px;
  text-decoration: none;
}

.footer-copy {
  max-width: 620px;
  margin: 0;
  color: #9aa8bf;
  font-size: 15px;
  line-height: 1.6;
}

.footer-legal {
  margin-top: -10px;
}

.legal-shell {
  min-height: 100vh;
  padding: 42px 20px;
  background: var(--bg);
}

.legal-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.legal-container h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
}

.legal-lead,
.legal-section p,
.legal-footnote {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-section {
  margin-top: 24px;
}

.legal-section h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

@media (max-width: 1040px) {
  .card-grid-features,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hero {
    padding: 58px 0 72px;
  }

  .hero-mark {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .card-grid-features,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 72px;
  }

  .info-card,
  .pricing-card {
    min-height: auto;
    padding: 26px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading p {
    font-size: 17px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
