:root {
  --bg-color: #f6f7f8;
  --surface-color: #ffffff;
  --text-color: #2f3640;
  --muted-text: #6b7382;
  --accent-color: #4f7a88;
  --accent-hover: #3f6470;
  --border-color: rgba(79, 122, 136, 0.2);
  --heading-font: "Lora", serif;
  --body-font: "Rubik", sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

h1,
 h2,
 h3 {
  font-family: var(--heading-font);
  color: var(--text-color);
  margin-top: 0;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted-text);
}

ul li {
  margin-bottom: 0.75rem;
}

.container {
  width: min(1080px, 90vw);
  margin: 0 auto;
}

.narrow {
  width: min(680px, 90vw);
}

.site-header {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.header-cta {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent-color);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--accent-color);
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--accent-color);
  color: #fff;
}

.overline {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
}

.hero {
  padding: 5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--muted-text);
  margin-bottom: 2.25rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px;
  height: 120px;
  border-radius: 60px;
  background: rgba(79, 122, 136, 0.1);
  z-index: -1;
}

section {
  padding: 4rem 0;
}

.about {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about p {
  color: var(--muted-text);
  font-size: 1.05rem;
}

.who-for ul {
  font-size: 1rem;
  line-height: 1.8;
}

.approach .steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  background: var(--surface-color);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 32px rgba(31, 42, 56, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover,
.step:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(31, 42, 56, 0.1);
}

.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(79, 122, 136, 0.12);
  color: var(--accent-color);
  font-weight: 600;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step p {
  color: var(--muted-text);
}

.testimonials {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonials-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.demo-note {
  font-size: 0.85rem;
  color: var(--muted-text);
}

.testimonial-grid {
  display: grid;
  gap: 1.75rem;
}

.testimonial {
  background: linear-gradient(145deg, rgba(79, 122, 136, 0.08), rgba(255, 255, 255, 0.85));
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(79, 122, 136, 0.15);
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--text-color);
}

.testimonial figcaption {
  font-size: 0.95rem;
  color: var(--muted-text);
}

.contact {
  text-align: center;
}

.contact p {
  color: var(--muted-text);
}

.contact-email {
  margin-top: 1rem;
  font-weight: 500;
}

.site-footer {
  background: #1f2a38;
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.demo-tag {
  font-size: 0.82rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 6rem;
  }

  .hero-grid {
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .testimonials-heading {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .site-header .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (min-width: 768px) {
  section {
    padding: 5rem 0;
  }

  .approach .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hero-image-wrapper {
    padding-right: 2rem;
  }

  .hero-image-wrapper::before {
    inset: -24px 0 auto auto;
  }

  .testimonial-grid {
    gap: 2.5rem;
  }
}
