:root {
  color-scheme: dark;
  --bg: #101820;
  --bg-soft: #15252a;
  --paper: #f7f2e8;
  --text: #f8f3ea;
  --muted: #b7c2bd;
  --line: rgba(255, 255, 255, 0.16);
  --teal: #49b6a4;
  --amber: #e0aa5b;
  --rust: #d05f45;
  --violet: #8f7cff;
  --blue: #68d8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(16, 24, 32, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(16, 24, 32, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(73, 182, 164, 0.16);
  color: #dffaf4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 5vw, 72px) 56px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  transform: scale(1.02);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96) 0%, rgba(16, 24, 32, 0.78) 38%, rgba(16, 24, 32, 0.16) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.95) 0%, rgba(16, 24, 32, 0) 34%);
}

.hero-content {
  position: relative;
  width: min(680px, 100%);
  padding-top: 24px;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(52px, 10vw, 112px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.04;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: #e4ece8;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--teal);
  color: #071411;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
}

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

.intro {
  background: var(--paper);
  color: #172126;
}

.intro .eyebrow,
.intro p {
  color: #576462;
}

.intro h2 {
  color: #172126;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 34px;
}

.intro-grid p {
  margin: 0;
  color: #475552;
}

.contact p {
  margin: 14px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  background: #16262a;
}

.contact p {
  max-width: 720px;
}

.contact-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #0c1216;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 980px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 24, 32, 0.96);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 92vh;
    padding: 104px 20px 40px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.96) 0%, rgba(16, 24, 32, 0.78) 72%, rgba(16, 24, 32, 0.5) 100%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.96) 0%, rgba(16, 24, 32, 0) 38%);
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .section {
    padding: 70px 20px;
  }

  .intro-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
