:root {
  --bg: #f6faf9;
  --fg: #0b1f1e;
  --muted: #4b5f5d;
  --card: #ffffff;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --accent: #fbbf24;
  --line: #d6e4e2;
  --focus: #b45309;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1514;
    --fg: #e7f3f1;
    --muted: #a9bdba;
    --card: #12201f;
    --brand: #14b8a6;
    --brand-ink: #04211e;
    --line: #23403d;
    --focus: #fbbf24;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: 96px;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--card); color: var(--fg); padding: 8px 12px; z-index: 10; }
.skip:focus { top: 8px; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1080px; margin: 0 auto; padding: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: var(--brand-ink); font-weight: 800;
}
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button {
  border: 0; background: transparent; color: var(--fg); font: inherit; font-weight: 600;
  min-width: 48px; min-height: 40px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }

.carousel { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } }
.slide {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr; align-items: center;
}
.slide img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; max-height: 52vh; object-fit: cover; }
.text { padding: 20px 20px 28px; }
.text h2 { font-size: clamp(26px, 6vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.text p, .text ol { margin: 0 0 10px; }
.text ol { padding-left: 1.3em; }
.text li { margin-bottom: 6px; }
.note { color: var(--muted); font-size: 15px; }
@media (min-width: 760px) {
  .slide { grid-template-columns: 1fr 1fr; }
  .slide img { max-height: none; }
  .text { padding: 32px 40px; }
}

.controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; }
.nav {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  color: var(--fg); font-size: 22px; line-height: 1; cursor: pointer;
}
.play { font-size: 13px; }
.dots { display: flex; gap: 4px; }
.dots button {
  width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0;
  display: grid; place-items: center;
}
.dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line);
}
.dots button[aria-current="true"]::before { background: var(--brand); width: 22px; border-radius: 6px; }

.foot { max-width: 1080px; margin: 24px auto 0; padding: 0 16px; color: var(--muted); font-size: 15px; }

.cta {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #1f2937; font-weight: 700; font-size: 18px; text-decoration: none;
  border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); z-index: 5;
}
.cta:hover { filter: brightness(.97); }
