:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #1a1a1a;
  --muted: #5c6470;
  --line: #e5e8ec;
  --navy: #1b3a6b;
  --blue: #4a90d9;
  --green: #2e8540;
  --radius: 6px;
  --maxw: 1080px;
  --maxw-narrow: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container.narrow {
  max-width: var(--maxw-narrow);
}

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}

a:hover {
  border-bottom-color: currentColor;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-weight: 700;
}

h1 em {
  font-style: italic;
  font-weight: 600;
}

.shine {
  display: inline-block;
  background: linear-gradient(
    100deg,
    var(--text) 0%,
    var(--text) 42%,
    var(--green) 48%,
    #5cbf6f 50%,
    var(--green) 52%,
    var(--text) 58%,
    var(--text) 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
  0%, 55%   { background-position: 100% 0; }
  80%, 100% { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .shine {
    animation: none;
    background: none;
    -webkit-background-clip: initial;
            background-clip: initial;
    -webkit-text-fill-color: var(--green);
    color: var(--green);
  }
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25em;
}

p {
  margin: 0 0 1em;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  border-bottom: none;
  font-weight: 700;
  min-width: 0;
}

.brand-wordmark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.brand-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .brand-tagline {
    display: none;
  }
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
  border-bottom-color: transparent;
}

.nav-cta {
  margin-left: 8px;
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  line-height: 1.2;
}

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

.btn-primary:hover {
  background: #142c52;
  border-bottom: 1px solid transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--text);
  border-bottom: 1px solid var(--text);
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 16px;
}

.hero h1 {
  max-width: 920px;
  margin-bottom: 24px;
}

.hero h1 br {
  /* On very narrow screens, drop the forced break so text wraps naturally */
}

@media (max-width: 520px) {
  .hero h1 br {
    display: none;
  }
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.section-title {
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.02rem;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 160ms ease, transform 160ms ease;
}

.step-card:hover {
  border-color: #c8cdd4;
  transform: translateY(-2px);
}

.step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.step-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 3px 10px;
  border-radius: 99px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 600;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 8px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
  width: 20px;
  text-align: center;
  transition: transform 200ms ease, color 200ms ease;
}

.faq details[open] summary::after {
  content: "−";
  color: var(--navy);
}

.faq details p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 680px;
}

.faq summary:hover {
  color: var(--navy);
}

/* ---------- Guarantee ---------- */
.guarantee-line {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 16px;
}

.guarantee-line strong {
  color: var(--green);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
  margin: 0;
}

.contact-grid div {
  margin: 0;
}

.contact-grid dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-grid dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  background: var(--bg);
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: var(--maxw-narrow);
}

.footer-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.footer-meta a {
  color: var(--muted);
}
