:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  color: #202632;
  background: #fafbfe;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --accent: #3a55db;
  --muted: #646b79;
  --line: #e0e4ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 3px;
}

p,
h1,
h2 {
  margin: 0;
}

::selection {
  color: #fff;
  background: var(--accent);
}

.page {
  width: min(100% - 96px, 1120px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.header {
  min-height: 116px;
  padding-block: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.065em;
}

.wordmark span {
  color: var(--accent);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.header-contact:hover {
  color: var(--accent);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 92px 64px;
}

.eyebrow {
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.intro-content {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: end;
  gap: 64px;
}

h1 {
  font-size: clamp(2.5rem, 5.3vw, 4.25rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.055em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1 span {
  color: var(--accent);
}

.description {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.9;
  letter-spacing: -0.025em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.description strong {
  color: #202632;
  font-weight: 650;
}

.services {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #596273;
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: keep-all;
}

.contact {
  margin-top: 88px;
  padding: 34px 40px;
  background: #edf0fc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 32px;
}

.contact h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.contact p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  word-break: keep-all;
}

.email {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: clamp(1.375rem, 2.8vw, 2rem);
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: #b4bfea;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

.email:hover {
  text-decoration-color: currentColor;
}

.footer {
  padding-block: 26px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.footer-divider {
  margin-inline: 10px;
  color: #a6aeba;
}

@media (max-width: 900px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 {
    font-size: clamp(2.5rem, 7.5vw, 4.25rem);
  }

  .desktop-break {
    display: none;
  }

  .contact {
    margin-top: 56px;
  }
}

@media (max-width: 540px) {
  .page {
    width: calc(100% - 48px);
  }

  .header {
    min-height: 88px;
    padding-block: 20px;
  }

  .wordmark {
    font-size: 1.75rem;
  }

  main {
    padding-block: 56px 40px;
  }

  .eyebrow {
    max-width: 24ch;
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .description {
    font-size: 1rem;
  }

  .services {
    margin-top: 20px;
  }

  .contact {
    margin-top: 44px;
    padding: 24px;
    gap: 18px;
  }

  .footer {
    padding-block: 24px;
  }
}
