:root {
  color-scheme: light dark;
  --bg: #f4f4f1;
  --surface: #fcfcfa;
  --surface-strong: #efefe9;
  --text: #14171a;
  --muted: #56606b;
  --border: rgba(20, 23, 26, 0.12);
  --accent: #1f4b46;
  --accent-contrast: #f8faf9;
  --shadow: 0 24px 60px rgba(20, 23, 26, 0.08);
  --max-width: 72rem;
  --radius: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101214;
    --surface: #161a1d;
    --surface-strong: #1d2328;
    --text: #f3f5f6;
    --muted: #a6b0ba;
    --border: rgba(243, 245, 246, 0.12);
    --accent: #8ec5bc;
    --accent-contrast: #101214;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background: linear-gradient(180deg, var(--bg), var(--surface));
  color: var(--text);
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 75%, white);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 1.5rem 0 0;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero,
.section {
  padding: 4rem 0;
}

.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
}

.hero__layout {
  display: grid;
  gap: 2rem;
}

.hero__content {
  max-width: 40rem;
}

h1,
h2 {
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.75rem, 9vw, 5.5rem);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

p {
  margin: 0;
  max-width: 42rem;
}

.lead {
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  color: var(--muted);
}

.hero__actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-weight: 600;
}

.hero__graphic {
  position: relative;
  min-height: 16rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, transparent), transparent 42%),
    linear-gradient(160deg, var(--surface), var(--surface-strong));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__graphic span {
  position: absolute;
  inset: auto;
  display: block;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 25%, transparent);
}

.hero__graphic span:nth-child(1) {
  width: 12rem;
  height: 12rem;
  right: -2rem;
  top: -2rem;
}

.hero__graphic span:nth-child(2) {
  width: 8rem;
  height: 8rem;
  left: 2rem;
  bottom: 2rem;
}

.hero__graphic span:nth-child(3) {
  width: 18rem;
  height: 1px;
  left: 1.5rem;
  top: 50%;
  box-shadow:
    0 -1.5rem 0 color-mix(in srgb, var(--accent) 30%, transparent),
    0 1.5rem 0 color-mix(in srgb, var(--accent) 18%, transparent);
  background: color-mix(in srgb, var(--accent) 45%, transparent);
}

.section__content,
.services-list {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
}

.services-list {
  list-style: none;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
  padding-left: 2rem;
}

.services-list li {
  position: relative;
  color: var(--muted);
}

.services-list li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.7rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.section--contact a {
  font-weight: 600;
}

@media (min-width: 48rem) {
  .hero,
  .section {
    padding: 6rem 0;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.9fr);
    align-items: center;
  }

  .section__content,
  .services-list {
    padding: 2.5rem;
  }

  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}
