:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --surface: #fffaf0;
  --surface-strong: #151515;
  --text: #1f1f1f;
  --muted: #65615a;
  --line: #ded6c9;
  --accent: #b7352d;
  --accent-2: #176c72;
  --gold: #c08a2d;
  --shadow: 0 24px 70px rgba(31, 31, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.card-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 72px 0 56px;
  align-items: center;
}

.hero-content {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.45;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.button.primary {
  border-color: var(--surface-strong);
  background: var(--surface-strong);
  color: #fff;
}

.button.secondary,
.contact-links a,
.card a {
  background: rgba(255, 250, 240, 0.72);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-number {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 700;
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

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

.card,
.contact-box,
.feature-row,
.video-placeholder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.card.compact {
  min-height: 210px;
}

.card p,
.feature-row p,
.contact-box p,
.video-placeholder p {
  color: var(--muted);
}

.card a {
  margin-top: auto;
}

.muted {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - 1120px) / 2));
  padding-left: max(16px, calc((100% - 1120px) / 2));
  background: #ece6da;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.feature-row div {
  max-width: 720px;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.split .section-heading {
  display: block;
  margin-bottom: 0;
}

.video-placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(183, 53, 45, 0.1), rgba(23, 108, 114, 0.16)),
    var(--surface);
}

.play-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface-strong);
  clip-path: polygon(28% 18%, 28% 82%, 82% 50%);
}

.contact {
  padding-bottom: 56px;
}

.contact-box {
  padding: 28px;
}

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

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

  .section-heading,
  .feature-row,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .button,
  .contact-links a,
  .card a {
    width: 100%;
  }
}
