:root {
  --bg: #faf7f2;
  --ink: #1a1210;
  --muted: #63636b;
  --accent: #bf3a00;
  --accent-light: #ff7a3d;
  --accent-2: #2d0300;
  --card-bg: #ffffff;
  --border: #ece7de;
  --radius: 20px;
  --max-width: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.center { display: block; text-align: center; }

h1, h2, h3 {
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-align: center; }
h3 { font-size: 1.15rem; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 40px;
  margin-bottom: 14px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.nav-links a.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-links a.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 100px;
  text-align: center;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 1;
}
.blob-1 {
  width: 480px;
  height: 480px;
  background: var(--accent);
  top: -180px;
  left: -140px;
}
.blob-2 {
  width: 420px;
  height: 420px;
  background: var(--accent-2);
  top: -120px;
  right: -160px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; text-align: center; }

/* Benefits */
.benefits, .how { padding: 90px 0; }
.benefits { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 20, 26, 0.08);
}
.card-icon { font-size: 28px; margin-bottom: 16px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step { text-align: center; padding: 0 12px; }
.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 50%;
  margin-bottom: 16px;
}

/* Form */
.form-section {
  padding: 90px 0 110px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.form-copy h2 { text-align: left; }
.form-copy .eyebrow { display: block; }

.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(20, 20, 26, 0.06);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fdfcfa;
  color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}
.form-status.success { color: #1a8a4a; }
.form-status.error { color: #d13b3b; }

/* Footer */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer .logo { color: #fff; }
.footer p { color: #b6b6bd; max-width: 320px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.footer-contact a { text-decoration: none; font-weight: 600; color: #fff; }
.footer-contact a:hover { color: var(--accent); }
.footer-copy {
  text-align: center;
  color: #7c7c85;
  font-size: 13px;
  margin: 40px 0 0;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-copy h2 { text-align: center; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
  .footer-inner { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
}
