:root {
  color-scheme: light;
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-muted: #eef7f4;
  --text: #17211f;
  --muted: #5b6764;
  --border: #dbe7e3;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --accent-soft: #dff5ef;
  --focus: #b7791f;
  --shadow: 0 18px 45px rgba(15, 31, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.05rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  padding: 72px 0 84px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1;
}

h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--accent-dark);
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
}

.hero-panel strong {
  font-size: 1.05rem;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section > p {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1120px) / 2));
  padding-left: max(16px, calc((100vw - 1120px) / 2));
  background: var(--surface-muted);
}

.section-heading {
  max-width: 820px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin-top: 32px;
}

.service-card {
  min-height: 174px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 84px;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.simple-page {
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.simple-card {
  width: min(620px, 100%);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.simple-card h1 {
  font-size: clamp(2.3rem, 9vw, 4.5rem);
}

.simple-card p {
  color: var(--muted);
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 0 62px;
  }

  .hero-panel {
    max-width: 420px;
  }

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

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
