:root {
  color-scheme: light;
  --bg: #f5f2ea;
  --surface: #ffffff;
  --surface-alt: #f0f4ff;
  --text: #182033;
  --muted: #5f6b85;
  --line: #d8deea;
  --primary: #1e4fd6;
  --primary-dark: #173da8;
  --accent: #f39a2d;
  --shadow: 0 24px 60px rgba(24, 32, 51, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f5ee 0%, #eef3ff 100%);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 245, 238, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 222, 234, 0.7);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.brand-name {
  font-size: 18px;
}

.top-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

.hero-text,
.section-heading,
.feature-card p,
.plan-list,
.trust-panel p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.hero-text {
  margin: 20px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--text);
}

.button-wide {
  width: 100%;
}

.micro-copy {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hero-card,
.feature-card,
.pricing-card,
.trust-panel,
.legal-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 222, 234, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.panel-row:last-child {
  border-bottom: 0;
}

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

.panel-value {
  font-weight: 700;
  text-align: right;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: rgba(240, 244, 255, 0.5);
  border-top: 1px solid rgba(216, 222, 234, 0.7);
  border-bottom: 1px solid rgba(216, 222, 234, 0.7);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 24px;
}

.feature-card p {
  margin: 14px 0 0;
  line-height: 1.65;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
}

.pricing-card {
  padding: 28px;
}

.plan-name {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.plan-price {
  margin: 10px 0 0;
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
}

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

.plan-list {
  margin: 22px 0;
  padding-left: 18px;
  line-height: 1.8;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 28px;
}

.trust-list p {
  margin: 0 0 12px;
}

.site-footer {
  padding: 24px 0 40px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  padding: 56px 0 80px;
}

.legal-card {
  max-width: 840px;
  padding: 32px;
}

.legal-card h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.legal-card h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}

.legal-card p {
  line-height: 1.75;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .pricing-wrap,
  .trust-panel {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .hero {
    padding-top: 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
