:root {
  --bg: #f7f7f5;
  --bg-alt: #efefe9;
  --surface: #ffffff;
  --text: #1d1d1b;
  --text-soft: #5f5f57;
  --line: #d9d8d1;
  --primary: #1d4ed8;
  --primary-dark: #173ea8;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p {
  margin-top: 0;
}

.section-intro,
.hero-text,
.pricing-text,
.form-note,
.contact-box p,
.card p,
.advantage-card p {
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: #fff;
}

.btn-sm {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
}

.btn-full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(247, 247, 245, 0.9);
  border-bottom: 1px solid rgba(217, 216, 209, 0.8);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--text);
  color: #fff;
  font-size: 0.9rem;
}

.logo-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a:not(.btn) {
  color: var(--text-soft);
  font-weight: 600;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: 0.2s ease;
}

.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.25rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text-soft);
  font-weight: 600;
}

.hero-points li::before {
  content: "•";
  margin-right: 0.45rem;
  color: var(--primary);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #24b15f;
}

.hero-card-body {
  display: grid;
  gap: 1rem;
}

.mini-card {
  background: #fafaf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.mini-card h3 {
  margin-bottom: 0.4rem;
}

.mini-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.cards {
  display: grid;
  gap: 1.2rem;
}

.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.feature-card,
.advantage-card {
  height: 100%;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: #edf2ff;
  color: var(--primary);
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border: 2px solid var(--primary);
  transform: translateY(-6px);
}

.pricing-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #edf2ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.6rem;
}

.pricing-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.7rem;
  color: var(--text-soft);
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
}

.contact-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li {
  margin-bottom: 0.8rem;
  color: var(--text-soft);
}

.contact-box {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #fafaf8;
  border: 1px solid var(--line);
}

.contact-box h4 {
  margin-bottom: 0.5rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
}

.site-footer {
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links p {
  margin-bottom: 0;
}

.footer-links a {
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

.site-nav-static {
  position: static;
}

.legal-main {
  min-height: calc(100vh - 180px);
}

.legal-container {
  max-width: 860px;
}

.legal-heading {
  margin-bottom: 2rem;
}

.legal-stack {
  display: grid;
  gap: 1rem;
}

.legal-card h2 {
  margin-bottom: 1rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .pricing-grid,
  .four-cols,
  .three-cols,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    transform: none;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 0.35rem 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 78px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-card,
  .card,
  .pricing-card,
  .contact-card,
  .contact-form {
    padding: 1.2rem;
  }
}
