:root {
  color-scheme: dark;
  --bg: #12161c;
  --bg-raise: #181d25;
  --surface: #1c232d;
  --fg: #e8eef5;
  --muted: #a3b0c0;
  --accent: #8ebce8;
  --accent-strong: #d6e8f8;
  --line: rgba(232, 238, 245, 0.1);
  --button: #2f6f9f;
  --button-fg: #f4f8fb;
  --max: 68rem;
  --narrow: 42rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f3f1ec;
    --bg-raise: #fff;
    --surface: #fff;
    --fg: #1c2430;
    --muted: #5c6775;
    --accent: #1f6feb;
    --accent-strong: #174ea6;
    --line: rgba(28, 36, 48, 0.12);
    --button: #1f6feb;
    --button-fg: #fff;
    --shadow: 0 16px 40px rgba(28, 36, 48, 0.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    linear-gradient(180deg, rgba(142, 188, 232, 0.08), transparent 22rem),
    var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-strong);
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--button);
  color: var(--button-fg);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 2;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
  background: var(--surface);
  text-decoration: none;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 3.5rem;
  overflow-wrap: break-word;
}

main.narrow {
  max-width: var(--narrow);
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 700;
}

.tagline {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--button);
  color: var(--button-fg);
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
}

.button:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}

.text-link {
  color: var(--accent-strong);
  font-weight: 600;
}

.device {
  margin: 0;
  justify-self: center;
  width: min(100%, 17.5rem);
  padding: 0.55rem;
  border-radius: 2rem;
  background: #0c0f14;
  box-shadow: var(--shadow);
}

.device img {
  display: block;
  width: 100%;
  border-radius: 1.55rem;
}

.device figcaption {
  color: #c5d0dc;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.45rem 0.3rem 0.2rem;
}

.section {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.section-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.checklist,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li,
.audience-list li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0.7rem 0;
}

.checklist li::before,
.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
}

.checklist h3,
.pro-grid h3,
.faq-list dt {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.checklist p,
.pro-grid p,
.faq-list dd,
.note {
  margin: 0;
  color: var(--muted);
}

.note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.shot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.pro-grid,
.audience-list,
.topic-list,
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.card,
.topic-list article,
.faq-list div,
.pro-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.audience-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  margin: 0.45rem 0;
}

.band {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.download {
  text-align: center;
  padding: 2.5rem 1rem;
}

.download p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0.5rem auto 1.25rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.effective {
  color: var(--muted);
  margin-top: 0;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
}

.legal li + li,
.topic-list p + p {
  margin-top: 0.35rem;
}

.video-frame {
  position: relative;
  width: min(100%, 52rem);
  margin: 0 auto 1.25rem;
  aspect-ratio: 16 / 9;
  background: #0c0f14;
  border-radius: 1rem;
  overflow: hidden;
}

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

.clip-row {
  display: grid;
  gap: 0.75rem;
}

.clip-row:not(:has(.video-frame:not([hidden]))) {
  display: none;
}

.clip-row .video-frame {
  width: 100%;
  margin: 0;
}

.site-footer {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0.3rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.75fr);
    padding-top: 2.5rem;
  }

  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.8fr);
  }

  .split.reverse .copy {
    order: 2;
  }

  .pro-grid,
  .clip-row {
    grid-template-columns: 1fr 1fr;
  }

  .pro-grid article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .button {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
