:root {
  color-scheme: dark;
  --bg-dark: #050505;
  --bg-panel: rgba(10, 18, 10, 0.92);
  --accent: #4dd46b;
  --accent-soft: #8df4a1;
  --text-light: #eef2e8;
  --text-muted: #a9b7a0;
  --border: rgba(77, 212, 107, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.33);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, rgba(77, 212, 107, 0.12), transparent 28%),
              linear-gradient(180deg, #060805 0%, #090d07 100%);
  color: var(--text-light);
}

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

button,
a {
  font: inherit;
}

.page-wrap {
  display: flex;
  flex-direction: column;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(4, 6, 4, 0.82);
  border-bottom: 1px solid rgba(77, 212, 107, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.brand {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 180ms ease;
}

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

.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #07100a 0%, #101910 40%, #070b07 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(77, 212, 107, 0.18), transparent 20%),
              radial-gradient(circle at 85% 10%, rgba(77, 212, 107, 0.08), transparent 18%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(77, 212, 107, 0.12);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 13ch;
}

.hero-copy p {
  margin: 1.75rem 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1rem 1.85rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
  color: var(--bg-dark);
  background: linear-gradient(135deg, #6cf283 0%, #27b951 100%);
  box-shadow: 0 18px 40px rgba(46, 140, 68, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--text-light);
  border: 1px solid rgba(77, 212, 107, 0.28);
  background: rgba(16, 24, 16, 0.9);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(24, 40, 26, 0.95);
}

.hero-panel {
  display: grid;
  gap: 1.25rem;
}

.panel-card {
  padding: 1.75rem;
  border-radius: 28px;
  background: rgba(8, 14, 9, 0.96);
  border: 1px solid rgba(77, 212, 107, 0.12);
  box-shadow: var(--shadow);
}

.panel-card-strong {
  background: linear-gradient(180deg, rgba(77, 212, 107, 0.12), rgba(8, 14, 9, 0.95));
}

.panel-label {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-card h2,
.panel-card p {
  margin: 0;
}

.panel-card h2 {
  font-size: 2.15rem;
  line-height: 1;
}

.panel-card p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: radial-gradient(circle at top center, rgba(77, 212, 107, 0.06), transparent 30%),
              linear-gradient(180deg, #09100b 0%, #0e130b 100%);
}

.section-dark {
  background: #060904;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  margin: 1rem auto 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-heading p {
  margin: 1.2rem auto 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 2rem;
  border-radius: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.card p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.work-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.work-copy h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.05;
}

.work-copy p {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  line-height: 1.85;
}

.stats-grid {
  display: grid;
  gap: 1rem;
}

.stat {
  padding: 1.75rem;
  border-radius: 22px;
  background: rgba(8, 14, 9, 0.96);
  border: 1px solid rgba(77, 212, 107, 0.12);
}

.stat span {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat p {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-footer {
  background: linear-gradient(180deg, #0b1208 0%, #060804 100%);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 2rem;
  border-radius: 32px;
  background: rgba(11, 17, 10, 0.95);
  border: 1px solid rgba(77, 212, 107, 0.14);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.footer {
  padding: 2rem 0 2.5rem;
  color: rgba(182, 202, 172, 0.82);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .work-grid,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-grid {
    display: grid;
  }

  .work-grid {
    display: grid;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 8vw, 3.3rem);
  }

  .hero-actions {
    width: 100%;
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .contact-panel {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    gap: 0.75rem;
  }

  .panel-card,
  .stat,
  .card {
    padding: 1.5rem;
  }
}
