:root {
  --bg: #f5f1ec;
  --surface: #ffffff;
  --surface-soft: #f8f5f1;
  --text: #1d1a17;
  --muted: #6d645c;
  --line: rgba(29, 26, 23, 0.1);
  --shadow: 0 18px 45px rgba(32, 24, 18, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f6f2ed 0%, #f2ece6 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.narrow {
  width: min(820px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 242, 237, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 26, 23, 0.05);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  font-size: 0.98rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

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

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  opacity: 0.85;
}

.hero {
  padding: 34px 0 26px;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image-wrapper {
  position: relative;
  min-height: 420px;
}

.hero-medium .hero-image-wrapper {
  min-height: 390px;
}

.hero-large .hero-image-wrapper {
  min-height: 440px;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 14, 12, 0.60) 0%, rgba(16, 14, 12, 0.34) 30%, rgba(16, 14, 12, 0.10) 58%, rgba(16, 14, 12, 0.08) 100%),
    linear-gradient(180deg, rgba(16, 14, 12, 0.05) 0%, rgba(16, 14, 12, 0.25) 100%);
}

.hero-content {
  position: absolute;
  left: 56px;
  bottom: 56px;
  max-width: 540px;
  color: #ffffff;
  z-index: 2;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  font-weight: 500;
}

.hero-text {
  margin: 0 0 26px;
  font-size: 1.08rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: #15120f;
}

.intro-section,
.content-section,
.feature-section {
  padding: 28px 0 22px;
}

.section-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 500;
}

.lead,
.content-section p {
  font-size: 1.05rem;
  color: #3d3731;
  margin: 0 0 18px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 26, 23, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(32, 24, 18, 0.04);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: #4a433d;
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid rgba(29, 26, 23, 0.08);
  background: rgba(255, 255, 255, 0.4);
}

.footer-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 900px) {
  .nav-wrap {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 18px;
  }

  .hero-content {
    left: 28px;
    right: 28px;
    bottom: 28px;
    max-width: none;
  }

  .hero-image-wrapper,
  .hero-medium .hero-image-wrapper,
  .hero-large .hero-image-wrapper {
    min-height: 420px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .logo {
    height: 52px;
  }

  .main-nav {
    gap: 14px 16px;
  }

  .main-nav a {
    font-size: 0.93rem;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-image-wrapper,
  .hero-medium .hero-image-wrapper,
  .hero-large .hero-image-wrapper {
    min-height: 360px;
  }

  .hero-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .feature-card {
    padding: 22px;
  }

  .footer-wrap {
    padding: 18px 0;
  }
}