:root {
  --bg: #f7f9fc;
  --text: #132033;
  --muted: #5d6b82;
  --card: #ffffff;
  --border: #dfe6ef;
  --accent: #1f6feb;
  --accent-dark: #174ea6;
  --soft: #eaf2ff;
  --success: #0f766e;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.header {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  height: 76px;
  padding-top: 16px;
  box-sizing: border-box;
  overflow: visible;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  overflow: visible;
}

.logo {
  position: relative;
  height: 50px;
  width: clamp(220px, 34vw, 420px);
  flex-shrink: 0;
  overflow: visible;
}

.logo-img {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  height: 60px;
  width: auto;
  max-width: none;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.22);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  padding: 86px 0 68px;
  background:
    radial-gradient(circle at 20% 10%, #e8f1ff 0, transparent 34%),
    radial-gradient(circle at 80% 0%, #eef0ff 0, transparent 32%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  background: var(--soft);
  border: 1px solid #cfe0ff;
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}

.hero p {
  font-size: 1.15rem;
  max-width: 680px;
}

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

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(19,32,51,0.08);
}

.workflow-box {
  display: grid;
  gap: 12px;
}

.workflow-step {
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px;
  font-weight: 700;
}

.workflow-arrow {
  text-align: center;
  color: var(--accent);
  font-weight: 900;
}

.section {
  padding: 72px 0;
}

.section-white {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(19,32,51,0.04);
}

.card ul, .split ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.card li, .split li {
  margin: 8px 0;
}

.badge {
  display: inline-block;
  background: #eef6ff;
  color: var(--accent-dark);
  border: 1px solid #cfe0ff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  align-items: start;
}

.process {
  counter-reset: item;
  display: grid;
  gap: 14px;
}

.process-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
}

.process-item::before {
  counter-increment: item;
  content: counter(item);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.cta {
  background: linear-gradient(135deg, #132033, #1f3b70);
  color: #fff;
  border-radius: 28px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta p {
  color: #d8e3f6;
  max-width: 680px;
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--accent);
  font-weight: 600;
}

.footer a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 14px;
}

input, textarea, select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 140px;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.form-consent {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-consent a {
  color: var(--accent);
  font-weight: 600;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content li {
  margin: 8px 0;
}

.legal-content a {
  color: var(--accent);
  font-weight: 600;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-success h3 {
  margin-bottom: 12px;
}

.form-success p {
  margin-bottom: 12px;
}

.form-success a {
  color: var(--accent);
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

#audit-card.is-submitting .btn-primary {
  opacity: 0.85;
}

#audit-card.is-complete {
  border-color: #cfe0ff;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

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

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text);
}

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, .split {
    grid-template-columns: 1fr;
  }

  .header {
    height: auto;
  }

  .nav {
    align-items: flex-start;
    height: auto;
    padding: 16px 0;
    gap: 16px;
    flex-direction: column;
  }

  .logo {
    width: auto;
    height: auto;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .logo-img {
    position: static;
    height: 56px;
    max-width: min(320px, 90vw);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}