:root {
  color-scheme: dark;
  --bg: #15120f;
  --panel: #211a15;
  --panel-soft: #2a2119;
  --text: #fff8ee;
  --muted: #d8c5ad;
  --line: rgba(255, 248, 238, 0.13);
  --accent: #fbaf5e;
  --accent-strong: #ffcf8d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 175, 94, 0.16), transparent 34rem),
    linear-gradient(180deg, #15120f 0%, #100d0b 100%);
  line-height: 1.65;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

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

.brand img,
.hero-card img {
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
  padding: 74px 0 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}

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

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-card,
.feature,
.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(33, 26, 21, 0.84);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
}

.hero-card img {
  margin-bottom: 24px;
}

.hero-card p,
.feature p,
.panel {
  color: var(--muted);
}

.section {
  padding: 58px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 22px;
  box-shadow: none;
}

.feature p {
  margin-bottom: 0;
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.panel {
  padding: 24px 26px;
}

.panel ul {
  margin: 0;
  padding-left: 20px;
}

.panel li + li {
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
  margin-left: 8px;
}

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

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

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

  .hero {
    padding-top: 42px;
  }

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

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 12px;
    flex-wrap: wrap;
  }

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

  .hero-card,
  .feature,
  .panel {
    border-radius: 22px;
  }
}
