:root {
  --bg: #f6f3ee;
  --surface: rgba(255, 255, 255, 0.76);
  --text: #22211f;
  --muted: #77736c;
  --line: rgba(34, 33, 31, 0.12);

  --accent: #5f8f7b;
  --accent-soft: #dfece6;

  --radius-lg: 28px;
  --radius-md: 16px;

  --shadow: 0 18px 55px rgba(42, 37, 31, 0.08);

  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(95, 143, 123, 0.12),
      transparent 28rem
    ),
    var(--bg);

  color: var(--text);

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 92px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  font-size: 24px;
  font-weight: 750;

  letter-spacing: -0.04em;
}

.login-link {
  min-height: 38px;
  padding: 0 14px;

  display: inline-flex;
  align-items: center;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.5);

  color: var(--muted);

  text-decoration: none;

  font-size: 13px;
  font-weight: 650;
}

.landing {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: 610px;

  padding: 100px 0 88px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 22px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 750;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;

  margin: 0;

  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.9;

  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--muted);
}

.intro {
  max-width: 620px;

  margin: 34px 0 0;

  color: var(--muted);

  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--text);
  color: white;

  box-shadow: 0 12px 30px rgba(34, 33, 31, 0.14);
}

.button.secondary {
  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.5);
}

.about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 16px;

  padding-bottom: 96px;
}

.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Hero layout --- */

.hero {
  min-height: 620px;
  padding: 82px 0 72px;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;

  gap: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 720px;
  margin: 0;

  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.92;

  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-text {
  max-width: 580px;
  margin: 28px 0 0;

  color: var(--muted);

  font-size: 18px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 660px;

  display: block;

  border-radius: 30px;

  object-fit: cover;

  filter:
    drop-shadow(0 24px 48px rgba(42, 37, 31, 0.14));
}

.ready-card {
  position: absolute;

  top: 72px;
  left: 24px;

  min-width: 220px;

  padding: 14px 16px;

  display: flex;
  align-items: center;

  gap: 12px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.9);

  box-shadow: 0 14px 32px rgba(42, 37, 31, 0.12);

  backdrop-filter: blur(10px);
}

.ready-check {
  width: 38px;
  height: 38px;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--accent);

  color: white;

  font-size: 18px;
  font-weight: 700;
}

.ready-card strong {
  display: block;

  margin-bottom: 3px;

  font-size: 14px;
}

.ready-card small {
  display: block;

  color: var(--muted);

  font-size: 12px;
}

/* --- Services --- */

.services {
  padding: 20px 0 96px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 28px;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background: var(--surface);
  box-shadow: var(--shadow);

  backdrop-filter: blur(8px);
}

.card-number {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  margin-bottom: 48px;

  border-radius: 13px;

  background: var(--accent-soft);
  color: #3f6657;

  font-size: 12px;
  font-weight: 750;
}

.service-card h2 {
  margin: 0 0 10px;

  font-size: 22px;
  letter-spacing: -0.035em;
}

.service-card p {
  margin: 0;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.65;
}


/* --- How it works --- */

.how-it-works {
  padding: 84px 0;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  gap: 80px;

  border-top: 1px solid var(--line);
}

.how-copy h2 {
  max-width: 520px;

  margin: 0;

  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;

  letter-spacing: -0.055em;
}

.how-copy > p:last-child {
  max-width: 500px;

  margin: 28px 0 0;

  color: var(--muted);

  font-size: 17px;
  line-height: 1.65;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  padding: 28px 0;

  display: grid;
  grid-template-columns: 56px 1fr;

  gap: 18px;

  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step > span {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: var(--accent-soft);
  color: #3f6657;

  font-size: 11px;
  font-weight: 750;
}

.step h3 {
  margin: 2px 0 7px;

  font-size: 19px;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.6;
}


/* --- Contact --- */

.contact-panel {
  margin: 32px 0 96px;
  padding: 44px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(95, 143, 123, 0.14),
      transparent 22rem
    ),
    var(--surface);

  box-shadow: var(--shadow);
}

.contact-panel > div {
  max-width: 680px;
}

.contact-panel h2 {
  margin: 0;

  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;

  letter-spacing: -0.045em;
}

.contact-panel p:not(.section-label) {
  max-width: 620px;

  margin: 16px 0 0;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.65;
}

.contact-panel .button {
  flex: 0 0 auto;
}

footer {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 90px;

  margin: 0 auto;

  border-top: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: var(--muted);

  font-size: 13px;
}

@media (max-width: 760px) {
  .site-header,
  .landing,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 78px;
  }

  .hero {
    min-height: auto;
    padding: 84px 0 68px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 82px);
  }

  .intro {
    margin-top: 28px;
    font-size: 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 100%;
  }

  .about {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }


  footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .services {
  padding-bottom: 64px;
}

.service-grid {
  grid-template-columns: 1fr;
}

.service-card {
  min-height: 220px;
}

.card-number {
  margin-bottom: 36px;
}

.how-it-works {
  padding: 64px 0;

  grid-template-columns: 1fr;

  gap: 48px;
}

.how-copy h2 {
  font-size: 48px;
}

.step {
  grid-template-columns: 46px 1fr;
}

.contact-panel {
  margin: 20px 0 64px;
  padding: 28px;

  flex-direction: column;
  align-items: flex-start;
}

.contact-panel .button {
  width: 100%;
}
}