:root {
  color-scheme: light;
  --ink: #1d211b;
  --muted: #646b60;
  --paper: #f8f5ed;
  --panel: #ffffff;
  --line: #ddd6c8;
  --oak: #355f3f;
  --copper: #b66f3b;
  --blue: #376f8f;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(140deg, rgba(182, 111, 59, 0.12), transparent 34rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 750;
}

nav a {
  color: var(--muted);
}

nav a:hover,
nav a:focus-visible {
  background: rgba(182, 111, 59, 0.12);
  color: var(--ink);
  outline: none;
}

main {
  flex: 1;
  padding: 48px 0 76px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  font-size: 4.6rem;
  line-height: 0.95;
}

h2 {
  font-size: 2.55rem;
  line-height: 1;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.12;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.62;
}

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

.button-primary {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 14px 26px rgba(182, 111, 59, 0.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.panel,
.card,
.media-card {
  border: 1px solid rgba(29, 33, 27, 0.08);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(29, 33, 27, 0.1);
}

.panel,
.card {
  padding: 28px;
}

.panel p,
.card p,
.section-header p {
  color: var(--muted);
  line-height: 1.62;
}

.panel p,
.card p {
  margin: 12px 0 0;
}

.section {
  margin-top: 72px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-header p {
  margin: 14px 0 0;
}

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

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

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

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

.video-card {
  padding: 0;
  overflow: hidden;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1d211b;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  padding: 16px;
}

.video-card-body p {
  margin: 8px 0 0;
}

.media-card {
  margin: 0;
  overflow: hidden;
}

.image-slot,
.video-slot {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(53, 95, 63, 0.12), rgba(182, 111, 59, 0.12)),
    #fffaf2;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  font-weight: 720;
}

.video-slot {
  background:
    linear-gradient(135deg, rgba(55, 111, 143, 0.14), rgba(53, 95, 63, 0.12)),
    #f5fbfb;
}

.media-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.path-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.path-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.path-list code {
  color: var(--ink);
  font-weight: 760;
}

footer {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(29, 33, 27, 0.1);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  header,
  .hero,
  .card-grid,
  .two-grid,
  .video-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  header {
    display: grid;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1080px);
  }

  h1 {
    font-size: 2.65rem;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
