:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #5d6677;
  --line: #d9ded5;
  --accent: #0f766e;
  --accent-strong: #134e4a;
  --accent-soft: #d7f2ea;
  --gold: #c28f2c;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 245, 241, 0.88);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand span {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 54px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.95;
  max-width: 11ch;
  margin-bottom: 24px;
}

.hero p {
  max-width: 620px;
  font-size: 1.18rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent-strong);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
}

.feature-board {
  position: relative;
  min-height: 470px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(194, 143, 44, 0.18), transparent 44%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-board::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(23, 32, 51, 0.14);
  border-radius: 8px;
}

.board-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 32, 51, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent);
}

.board-card {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 32, 51, 0.12);
}

.board-row {
  min-height: 52px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
}

.board-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.board-line {
  height: 12px;
  border-radius: 999px;
  background: #dce5df;
}

.board-line.short {
  width: 62%;
}

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

.section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  max-width: 760px;
  margin-bottom: 16px;
}

.section > .site-shell > p,
.page-intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.fact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list strong {
  display: block;
  margin-bottom: 4px;
}

.fact-list span {
  color: var(--muted);
}

.page-intro {
  padding: 72px 0 48px;
}

.page-intro h1 {
  max-width: 10ch;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.contact-list a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

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

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-links a {
    justify-content: center;
  }

  .hero,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .feature-board {
    min-height: 360px;
  }

  .board-card {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .actions {
    flex-direction: column;
  }

  .button,
  .contact-list a {
    width: 100%;
  }
}
