:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --text: #182322;
  --muted: #5f6b68;
  --accent: #217365;
  --accent-dark: #155246;
  --line: #ded8ce;
  --shadow: 0 18px 48px rgba(24, 35, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(72px, 8vw, 112px);
  align-items: center;
  min-height: calc(100vh - 112px);
}

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

h1,
h2 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 5.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.lead {
  max-width: 36rem;
  margin: 24px 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.contact {
  color: var(--accent-dark);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media video {
  width: min(360px, 100%);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.policy {
  max-width: 680px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.policy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact:focus-visible {
  outline: 3px solid rgba(33, 115, 101, 0.28);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 24px, 620px);
    padding: 32px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: 0;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-media video {
    border-radius: 20px;
  }
}
