:root {
  color-scheme: light;
  --ink: #102019;
  --muted: #506158;
  --green: #006838;
  --green-bright: #2fa76e;
  --green-pale: #eaf7f0;
  --line: #d7e3dd;
  --paper: #ffffff;
  --canvas: #f5f8f6;
  --dark: #071810;
  --amber: #ffbd59;
  --shadow: 0 24px 60px rgba(4, 45, 25, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--green);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 227, 221, 0.75);
  background: rgba(255, 255, 255, 0.94);
}
.site-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand__logo {
  display: block;
  width: 178px;
  height: auto;
}
.language-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.language-link {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.language-link:hover { background: var(--green-pale); color: var(--green); }
.language-link[aria-current="page"] { background: var(--green); color: white; }

.hero {
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 90% 6%, rgba(47, 167, 110, 0.18), transparent 30%),
    radial-gradient(circle at 5% 86%, rgba(255, 189, 89, 0.12), transparent 30%),
    var(--canvas);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr); align-items: center; gap: 58px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}
h1, h2 { margin: 0; font-weight: 850; letter-spacing: -0.045em; line-height: 1.04; }
h1 { max-width: 700px; font-size: clamp(46px, 6vw, 78px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
.hero__lede { max-width: 640px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.safety-note {
  max-width: 650px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid #9cd7b9;
  border-radius: 14px;
  background: rgba(234, 247, 240, 0.86);
  color: #16482e;
}
.safety-note span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 900; }
.safety-note p { margin: 0; font-size: 14px; line-height: 1.5; }
.video-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); background: var(--dark); box-shadow: var(--shadow); }
.video-frame { aspect-ratio: 16 / 9; background: #071810; }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  align-content: center;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  color: white;
  background:
    radial-gradient(circle at 75% 30%, rgba(47, 167, 110, 0.24), transparent 36%),
    linear-gradient(135deg, #0b2419, #06120d);
}
.video-placeholder__icon { width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: var(--green); font-size: 25px; padding-left: 4px; }
.video-placeholder strong { display: block; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; }
.video-placeholder p { max-width: 500px; margin: 10px 0 0; color: #bdd0c6; font-size: 14px; }
.video-placeholder .video-placeholder__topic { color: var(--amber); font-weight: 750; }
.video-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 22px; color: white; }
.video-card__footer > div { display: grid; gap: 2px; }
.video-card__footer span { color: #9eb6aa; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.video-card__footer strong { font-size: 16px; line-height: 1.35; }
.video-card__footer small { color: #9eb6aa; font-size: 12px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 0;
  border-radius: 10px;
  background: var(--green-bright);
  color: #06150e;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button--disabled { cursor: not-allowed; background: #355045; color: #c9d6cf; }
.button--disabled:hover { filter: none; transform: none; }

.topics-section { padding: 86px 0; background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.topic-card:hover { border-color: #93cdb0; box-shadow: 0 14px 30px rgba(4, 45, 25, 0.09); transform: translateY(-2px); }
.topic-card--selected { border-color: var(--green); background: var(--green-pale); box-shadow: inset 0 0 0 1px var(--green); }
.topic-card__number { color: #8fa198; font-size: 13px; font-weight: 850; letter-spacing: 0.08em; }
.topic-card__content { display: flex; flex-direction: column; align-items: flex-start; }
.topic-card__time { margin-bottom: 10px; color: var(--green); font-size: 12px; font-weight: 850; }
.topic-card strong { font-size: 18px; line-height: 1.3; }
.topic-card__content > span:last-child { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.languages-section { padding: 30px 0 86px; background: var(--paper); }
.languages-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--canvas); }
.languages-panel h2 { font-size: 30px; }
.languages-panel p { margin: 10px 0 0; color: var(--muted); }
.language-nav--panel { justify-content: flex-end; }
.language-nav--panel .language-link { border: 1px solid var(--line); background: var(--paper); }
.language-nav--panel .language-link[aria-current="page"] { border-color: var(--green); background: var(--green); }

.sales-section { padding: 72px 0; background: var(--dark); color: white; }
.sales-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; }
.sales-panel h2 { max-width: 760px; }
.sales-panel p { max-width: 720px; margin: 16px 0 0; color: #b9cec3; }
.sales-panel .eyebrow { color: var(--green-bright); }
.sales-panel__actions { min-width: 245px; text-align: center; }
.sales-panel__actions p { font-size: 13px; }
.sales-panel__actions a:not(.button) { color: white; font-weight: 800; }
.button--light { width: 100%; background: white; color: var(--green); }
.site-footer { padding: 26px 0; background: #04100b; color: #9eb6aa; font-size: 13px; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 24px; }
.site-footer a { color: #d7e3dd; }
.load-fallback { max-width: 680px; margin: 80px auto; padding: 28px; border: 1px solid #e1a8a8; border-radius: 18px; background: #fff2f2; color: #6f2020; }

.locale-landing { min-height: 100vh; background: radial-gradient(circle at 80% 10%, rgba(47, 167, 110, 0.22), transparent 34%), var(--canvas); }
.locale-landing main { padding: 74px 0 90px; }
.locale-landing__intro { max-width: 850px; }
.locale-landing__intro h1 { font-size: clamp(42px, 6vw, 72px); }
.locale-landing__intro p { max-width: 720px; color: var(--muted); font-size: 19px; }
.locale-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.locale-card { min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); text-decoration: none; box-shadow: 0 12px 34px rgba(4, 45, 25, 0.06); }
.locale-card:hover { border-color: var(--green); transform: translateY(-2px); }
.locale-card strong { font-size: 25px; }
.locale-card b { color: var(--green); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero__copy { max-width: 800px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-panel { grid-template-columns: 1fr; }
  .sales-panel__actions { max-width: 320px; text-align: left; }
}
@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header__inner { padding: 15px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-header .language-nav { justify-content: flex-start; }
  .hero { padding: 56px 0; }
  h1 { font-size: clamp(40px, 13vw, 60px); }
  .video-placeholder { min-height: 245px; grid-template-columns: 1fr; gap: 14px; }
  .video-placeholder__icon { width: 50px; height: 50px; font-size: 18px; }
  .video-card__footer { align-items: stretch; flex-direction: column; }
  .section-heading, .languages-panel { grid-template-columns: 1fr; }
  .topic-grid, .locale-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 0; }
  .language-nav--panel { justify-content: flex-start; }
  .site-footer .shell { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
