/* ===== Colors and type, taken from the Figma screenshots ===== */
:root {
  --navy: #0e3049;       /* headings, nav links */
  --slate: #3d5b70;      /* list text */
  --gray: #6f6f6f;       /* paragraph text */
  --green: #14936f;      /* buttons */
  --green-dark: #0f7a5c; /* button hover */
  --mint: #c3ede3;       /* step pills */
  --tint: #eef7fa;       /* light blue section background */
  --border: #d9dee2;     /* form fields */
  --heading: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray);
  background: #fff;
}

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

h1, h2, h3 {
  font-family: var(--heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); max-width: none; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); max-width: 25ch; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }

a:focus-visible, .btn:focus-visible, input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 56px;
}

.tinted { background: var(--tint); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.15s;
}
.btn:hover { background: var(--green-dark); }
.btn-lg { font-size: 1.1rem; padding: 16px 36px; }

/* ===== Header ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 88px;
  padding-left: 24px;
}
.logo img { width: 92px; height: auto; }
.nav-links { display: flex; gap: 36px; margin-right: auto; }
.nav-links a,
.footer-left a:not(.logo) {
  font-family: var(--heading);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.nav-links a:hover,
.footer-left a:not(.logo):hover { color: var(--green); }

/* ===== Two-column sections ===== */
.split { padding: 112px 0; }
.split-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero { padding: 80px 0 112px; }
.lead { font-size: 1.35rem; line-height: 1.45; max-width: 40ch; margin-bottom: 1.8em; }
.photo {
  width: 100%;
  aspect-ratio: 1 / 0.98;
  object-fit: cover;
  border-radius: 48px;
  background: var(--tint);
}
.phones { width: 100%; max-width: 560px; margin-left: auto; }

/* Icon lists */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 2.2em 0 0;
  color: var(--slate);
  font-size: 1.3rem;
  line-height: 1.35;
}
.icon-list li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.9em;
}
.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--slate);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.check {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9'/%3E%3Cpath d='m8 11 3 3 10-10'/%3E%3C/svg%3E");
}
.star {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 2.8 2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3-4.6-4.4 6.3-.9z'/%3E%3C/svg%3E");
}

/* ===== Guided path ===== */
.steps { padding: 112px 0; }
.steps-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.pill {
  display: inline-block;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.2em;
}
.steps-list p { font-size: 1rem; line-height: 1.6; }

/* ===== Testimonials ===== */
.testimonials { padding: 112px 0; }
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 64px;
  padding-left: 36px;
}
.quotes figure {
  position: relative;
  margin: 0;
  padding-left: 52px;
}
.quotes figure::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.18em;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--navy);
}
.quotes blockquote {
  margin: 0 0 1.3em;
  font-size: 1.15rem;
  max-width: 36ch;
}
.quotes figcaption {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}

/* ===== Dfuse in Action (form) ===== */
.in-action { padding: 96px 0 112px; }
.action-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.demo-form input {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 16px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.demo-form input::placeholder { color: #a9a9a9; }
.demo-form .full { grid-column: 1 / -1; }
.demo-form .btn { justify-self: start; margin-top: 16px; grid-column: 1 / -1; }

/* ===== Final CTA ===== */
.cta { padding: 96px 0; text-align: center; }
.cta h2 { max-width: none; }
.cta p {
  max-width: 48ch;
  margin: 0 auto 2em;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--slate);
}

/* ===== Footer ===== */
.footer { padding: 28px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.copyright {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate);
}

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .split, .steps, .testimonials { padding: 72px 0; }
  .split-inner, .action-inner { grid-template-columns: 1fr; gap: 40px; }
  .phones { margin: 0 auto; }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; padding-left: 0; gap: 40px; }
}

/* ===== Phone ===== */
@media (max-width: 600px) {
  .nav-inner { height: 72px; padding-left: 0; justify-content: space-between; }
  .nav-links { display: none; }
  .nav .btn { padding: 10px 18px; font-size: 0.9rem; }
  .photo { border-radius: 28px; }
  .lead, .icon-list { font-size: 1.1rem; }
  .steps-list { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; }
  .footer-left { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
