:root {
  --bg: #101010;
  --panel: #1b1b1b;
  --panel-2: #242424;
  --text: #f7f7f7;
  --muted: #c4c4c4;
  --accent: #f5a623;
  --line: #343434;
  --green: #7ed957;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 42px);
  background: rgba(16, 16, 16, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

nav a:hover {
  color: var(--accent);
}

.hero,
.section {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 4vw, 42px);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 830px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .96;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.lead,
.section-heading p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  font-weight: 700;
}

.lead {
  max-width: 780px;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 7px;
  border: 1px solid var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #111;
}

.button.secondary {
  color: var(--text);
}

.hero-media {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.hero-media img {
  display: block;
  border-radius: 6px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
}

.section.band {
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #151515;
}

.section.band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section.compact {
  padding-top: 42px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 840px;
  margin: 16px 0 0;
}

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

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.audience-grid article,
.app-grid article,
.flow div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.card h3,
.audience-grid h3,
.app-grid h3 {
  color: var(--accent);
}

.card p,
.audience-grid p,
.app-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

.standard-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.standard-buttons {
  display: grid;
  gap: 8px;
}

.standard-buttons button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  padding: 13px;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.standard-buttons button span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 5px;
}

.standard-buttons button.active,
.standard-buttons button:hover {
  border-color: var(--accent);
  background: #2a2114;
}

.standard-detail {
  min-height: 378px;
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
}

.standard-detail h3 {
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
}

.standard-detail p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.flow b,
.app-grid span {
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 900;
}

.flow span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
  font-weight: 700;
}

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

.slide-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 16px;
}

.slide-stage {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070707;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.slide-stage img {
  display: block;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.slide-controls {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.slide-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.slide-controls button,
.top-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111;
  border-radius: 7px;
  padding: 10px 11px;
  font-weight: 900;
  cursor: pointer;
}

#fullScreen {
  width: 100%;
  margin-top: 8px;
}

#slideCounter {
  color: var(--muted);
  font-weight: 900;
  margin: 12px 0;
}

.thumbs {
  display: grid;
  gap: 8px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
}

.thumbs button {
  border: 2px solid transparent;
  background: #000;
  border-radius: 7px;
  padding: 4px;
  cursor: pointer;
}

.thumbs button.active {
  border-color: var(--accent);
}

.thumbs img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

footer {
  padding: 28px clamp(18px, 4vw, 42px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

footer p {
  max-width: var(--max);
  margin: 0 auto;
}

.top-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  box-shadow: var(--shadow);
}

@media (max-width: 1000px) {
  .hero,
  .standard-layout,
  .slide-viewer {
    grid-template-columns: 1fr;
  }

  .three-grid,
  .app-grid,
  .audience-grid,
  .flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .three-grid,
  .app-grid,
  .audience-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .slide-stage {
    min-height: 260px;
  }
}
