:root {
  color-scheme: light;
  font-family: "Noto Sans", sans-serif;
  --ink: #121417;
  --paper: #f4f6f1;
  --signal: #e8ff47;
  --line: rgba(18, 20, 23, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

button { font: inherit; letter-spacing: 0; }

.scene-section,
.cta-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scene-section {
  overflow: hidden;
  background: #fff;
}

.scene-frame {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border: 0;
}

.scene-actions {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scene-sdk-link,
.scene-download-avatar {
  display: inline-grid;
  min-width: 112px;
  min-height: 52px;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(18, 20, 23, 0.22);
  cursor: pointer;
  font-weight: 700;
}

.scene-sdk-link {
  grid-template-columns: 1fr 24px;
  gap: 14px;
  padding: 0 14px 0 20px;
  background: var(--ink);
  color: #fff;
}

.scene-download-avatar {
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
}

.scene-download-avatar[hidden] { display: none; }

.scene-sdk-link:hover { background: #34383d; }
.scene-download-avatar:hover { background: var(--signal); }

.scene-download-avatar:disabled {
  cursor: wait;
  opacity: 0.7;
}

.scene-sdk-link:focus-visible,
.scene-download-avatar:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.cta-section {
  display: grid;
  align-items: center;
  padding: clamp(28px, 6vw, 96px);
  overflow: hidden;
}

.cta-section-inner {
  position: relative;
  display: grid;
  width: min(1240px, 100%);
  margin: 0 auto;
  align-content: center;
  gap: 48px;
}

.cta-section h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

.cta-placeholder-button {
  min-height: 44px;
  padding: 0 18px;
  justify-self: start;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  cursor: default;
  font-weight: 700;
  opacity: 1;
}

@media (max-width: 700px) {
  .scene-actions {
    right: 14px;
    bottom: 108px;
  }

  .cta-section { padding: 32px 22px; }

  .cta-section h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    line-height: 0.95;
  }

}

@media (hover: none) and (pointer: coarse) {
  .scene-download-avatar { display: none !important; }
}

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