:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f1f3f6;
  --text: #151923;
  --muted: #5f6876;
  --muted-light: #838c99;
  --line: #e3e7ed;
  --accent: #1f4f8f;
  --accent-dark: #183c6d;
  --accent-soft: #eef4fb;
  --shadow: 0 18px 45px rgba(18, 32, 55, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-content,
.footer-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #d7e4f3;
  font-size: 0.82rem;
  font-weight: 800;
}

.logo-text {
  font-size: 1.18rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  padding: 96px 0 72px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero-copy,
.hero-card,
.text-block {
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.35rem, 4vw, 3.85rem);
  max-width: 760px;
  overflow-wrap: balance;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
}

h3 {
  font-size: 1.25rem;
  margin: 20px 0 12px;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

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

.button.secondary:hover {
  border-color: #c7d3e2;
  background: var(--surface-soft);
}

.hero-card,
.project-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 24px;
  padding: 34px;
}

.hero-card p,
.project-card p,
.text-block p,
.contact-card p,
.site-footer {
  color: var(--muted);
}

.orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin: 0 auto 30px;
  border-radius: 32px;
  background: var(--accent-soft);
  border: 1px solid #d7e4f3;
}

.orbit strong {
  color: var(--accent);
  font-size: 2.25rem;
  letter-spacing: -0.08em;
}

.orbit span {
  display: none;
}

.section {
  padding: 82px 0;
}

.section-title {
  max-width: 740px;
  margin-bottom: 32px;
}

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

.project-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 22px;
}

.project-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #d7e4f3;
  font-weight: 800;
  font-size: 1.2rem;
}

.muted-card {
  background: #fbfcfd;
}

.split-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-block p + p {
  margin-top: 18px;
}

.contact-section {
  padding: 82px 0 94px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border-radius: 24px;
}

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

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--text);
  font-weight: 700;
}

@media (min-width: 1300px) {
  .hero {
    padding: 88px 0 68px;
  }

  h1 {
    font-size: 3.7rem;
  }
}

@media (max-width: 920px) {
  .header-content,
  .footer-content,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 16px;
  }

  .hero {
    padding-top: 72px;
  }

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

  h1,
  .hero-text {
    max-width: 100%;
  }

  .hero-card {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }

  .section,
  .contact-section {
    padding: 64px 0;
  }
}
