:root {
  --bg: #f7f5f3;
  --surface: #ffffff;
  --ink: #1a1614;
  --muted: #6b6460;
  --line: #e8e4e0;
  --primary: #d42b45;
  --primary-dark: #a8203a;
  --green: #166534;
  --gold: #b7791f;
  --shadow: 0 20px 60px rgba(26, 22, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(232, 228, 224, 0.88);
  background: rgba(247, 245, 243, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(212, 43, 69, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(212, 43, 69, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 16px;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid rgba(212, 43, 69, 0.18);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 34px rgba(212, 43, 69, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.dashboard-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-top {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7d1cc;
}

.preview-body {
  padding: 22px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.pipeline {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.lead-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.lead-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tag {
  border-radius: 999px;
  padding: 5px 9px;
  background: #dcfce7;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
}

.section-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(26, 22, 20, 0.05);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #fdf0f2;
  color: var(--primary);
  font-weight: 900;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 22px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card ul {
  padding-left: 22px;
}

.notice {
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: #fdf0f2;
  padding: 16px 18px;
  color: var(--ink);
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  font-size: 14px;
}

.footer-inner a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

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