:root {
  --navy: #0a2540;
  --navy-deep: #071a2f;
  --teal: #0f8a80;
  --teal-light: #e6f5f3;
  --ink: #1b2733;
  --muted: #5b6b7a;
  --line: #e2e8ee;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

.site-header {
  padding: 28px clamp(20px, 5vw, 64px) 0;
}

.logo {
  height: 34px;
  display: block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- Landing layout ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 560px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: 40px 0 56px;
}

.hero > .content {
  max-width: 100%;
  min-width: 0;
}

/* Document mock-up */
.doc-mock {
  position: relative;
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.doc-mock::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  background: var(--navy);
  opacity: 0.06;
  border-radius: 6px;
}

.doc-page {
  position: relative;
  width: 100%;
  max-width: 408px;
  aspect-ratio: 8.5 / 11;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 48px -20px rgba(10, 37, 64, 0.35), 0 2px 8px rgba(10, 37, 64, 0.08);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.doc-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
}

.doc-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.doc-subtitle {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

.doc-divider {
  height: 1px;
  background: var(--line);
  margin: 2px 0 4px;
}

.doc-section-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 4px;
}

.doc-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.doc-box {
  width: 9px;
  height: 9px;
  border: 1.3px solid var(--muted);
  border-radius: 2px;
  margin-top: 2px;
  flex-shrink: 0;
}

.doc-line {
  height: 6px;
  border-radius: 2px;
  background: var(--line);
}

.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.doc-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

/* Right column content */
.content h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  font-family: Helvetica, Arial, "Segoe UI", sans-serif;
}

.content .desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 560px;
}

.stats-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 32px;
}

.stats-line span:not(:last-child)::after {
  content: "";
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(12px, 1.5vw, 16px);
  box-shadow: 0 12px 32px -18px rgba(10, 37, 64, 0.25);
}

.form-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}



.hs-form-frame {
  color-scheme: light;
}



/* HubSpot form field overrides (scoped, non-destructive) */
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
}

.disclaimer {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.site-footer-space {
  height: 40px;
}

@media (max-width: 860px) {
  .hero {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0 40px;
  }
  .hero .content {
    width: 100% !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
  }
  .hero .content:first-child { order: 1; }
  .hero .content:first-child h1 { order: 1; }
  .hero .content:first-child .doc-mock { order: 2; margin: 0 0 20px; }
  .hero .content:first-child .desc { order: 3; }
  .hero .content:first-child .stats-line { order: 4; }
  .hero .content:last-child { order: 2; }

  .content h1 {
    width: auto !important;
    height: auto !important;
    font-size: 26px !important;
  }
  .content .desc {
    width: auto !important;
    height: auto !important;
    font-size: 15px !important;
  }
  .stats-line {
    width: auto !important;
    height: auto !important;
    margin: 0 0 4px;
  }
  .doc-mock {
    width: auto !important;
    height: auto !important;
    justify-content: center;
    padding-top: 0;
  }
  .doc-page { max-width: 280px; }

  .disclaimer {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 24px clamp(20px, 5vw, 64px) 0;
    padding-top: 16px;
  }
  .site-footer-space { height: 20px; }
}

/* ---------- Download page ---------- */

.download-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.download-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.download-card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.check-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.download-card h1 {
  font-size: 26px;
  color: var(--navy);
  font-weight: 800;
  margin: 0 0 14px;
}

.download-card p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.btn-download {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: none;
}

.btn-download:hover {
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}

.return-link {
  display: block;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

.return-link a { color: var(--navy); font-weight: 600; }
