/* TikTok Brand Hub — complete copy (change colors in :root) */

:root {
  /* TikTok Brand Colors — change these for your brand */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-cyan: #F14B82;
  --color-pink: #FE2C55;
  --gradient-tiktok: linear-gradient(90deg, #00F2EA 0%, #FE2C55 100%);

  --color-bg: var(--color-black);
  --color-text: var(--color-white);
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-border: rgba(255, 255, 255, 0.15);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

::selection {
  background: #F14B82;
  color: #FFFFFF;
}

::-moz-selection {
  background: #F14B82;
  color: #FFFFFF;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}

.brand-logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  padding: 1.5rem 0 0 1.5rem;
  display: block;
  line-height: 0;
}

.brand-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.brand-logo:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 4px;
}

.snap-container {
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

.section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  background: var(--color-bg);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

/* Side nav dots */
.scroll-dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}

.scroll-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(120, 120, 120, 0.9);
  transition: all 0.3s;
  text-indent: -9999px;
  overflow: hidden;
}

.scroll-dots .dot:hover {
  background: rgba(90, 90, 90, 1);
  transform: scale(1.2);
}

.scroll-dots .dot.active {
  background: #F14B82;
  transform: scale(1.3);
}

.section-downloads {
  overflow-y: auto;
  justify-content: flex-start;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-brand-statement {
  background: var(--color-white);
  color: var(--color-black);
}

.section-brand-statement .section-content {
  max-width: 1200px;
}

.section-brand-statement .brand-statement-copy {
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.section-brand-statement .brand-statement-copy:last-child {
  margin-bottom: 0;
}

.section-brand-statement .brand-statement-accent {
  color: #F14B82;
}

/* Nav */
.nav {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: color 0.2s, opacity 0.2s;
}

.nav.nav-light .nav-menu a {
  color: #39434C;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
  padding: 0.72rem 0.82rem 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(23, 28, 39, 0.86) 0%, rgba(9, 12, 19, 0.94) 100%);
  color: var(--color-text);
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav.nav-light .nav-toggle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(242, 244, 248, 0.98) 100%);
  border-color: rgba(57, 67, 76, 0.12);
  color: #39434C;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(241, 75, 130, 0.34);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.26);
}

.nav-toggle-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 0.22rem;
  justify-content: center;
  align-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.nav.nav-light .nav-toggle-icon {
  background: rgba(57, 67, 76, 0.08);
}

.nav-toggle-bar {
  width: 0.92rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  color: #F14B82;
}

.nav a:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 4px;
}

/* Hero */
.section-hero {
  overflow: visible;
  background: linear-gradient(135deg, #000000 0%, #2F3749 100%);
}

.hero-molecule {
  position: absolute;
  left: 50%;
  bottom: -10vh;
  width: min(150vw, 2550px);
  transform: translateX(-50%);
  opacity: 0.78;
  z-index: 0;
  pointer-events: none;
}

.hero-molecule img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.14) brightness(1.12);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 12%,
    #000 28%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 12%,
    #000 28%,
    #000 88%,
    transparent 100%
  );
}

.section-hero .nav,
.section-hero .scroll-dots {
  z-index: 1;
}

.section-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: none;
  width: 100%;
}

.section-hero .hero-content.reveal {
  opacity: 1;
  transform: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F9C608;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 160px);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.05;
  display: inline-block;
  text-align: center;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line-2 {
  margin-top: 0.02em;
  margin-left: 0;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: all 0.25s;
}

.cta-button:hover,
.cta-button:focus-visible {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 4px;
}

/* Section content */
.section-content {
  max-width: 800px;
  text-align: center;
}

.section-content h2 {
  font-size: 100px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Logo section */
.section-logo {
  background: #F9C608;
  color: var(--color-black);
  overflow: hidden;
}

.section-logo-dawn {
  background: #EDBBEB;
  color: var(--color-black);
  overflow: hidden;
}

.section-logo .section-content,
.section-logo-dawn .section-content {
  width: min(1640px, calc(100vw - 80px));
  max-width: 1640px;
}

.section-logo .section-content.reveal,
.section-logo-dawn .section-content.reveal {
  opacity: 1;
  transform: none;
}

.logo-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.logo-showcase-panel {
  width: 135%;
  max-width: none;
  flex-shrink: 0;
}

.logo-showcase-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Colors section */
.section-colors .section-content {
  width: min(1480px, 100%);
  max-width: 1480px;
}

.section-colors .section-content.reveal {
  opacity: 1;
  transform: none;
}

.color-bars {
  margin-top: 2.5rem;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.color-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.6fr) repeat(4, minmax(120px, 1fr));
  align-items: center;
  min-height: 92px;
  padding: 0 2rem;
  gap: 1.25rem;
  position: relative;
  cursor: pointer;
}

.color-row + .color-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.color-row.reveal {
  transform: translateX(-72px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.color-row.reveal.is-visible {
  transform: translateX(0);
}

.color-row::before,
.color-row::after {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.color-row::before {
  content: '';
  top: 0.55rem;
  right: 1.75rem;
  width: 0.6rem;
  height: 0.6rem;
  background: rgba(20, 24, 28, 0.92);
  transform: translateY(-6px) rotate(45deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.color-row::after {
  content: attr(data-copy-label);
  top: -0.1rem;
  right: 0.8rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(20, 24, 28, 0.92);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  transform: translateY(-10px);
}

.color-row:hover::before,
.color-row:hover::after,
.color-row:focus-visible::before,
.color-row:focus-visible::after {
  opacity: 1;
}

.color-row:hover::before,
.color-row:focus-visible::before {
  transform: translateY(0) rotate(45deg);
}

.color-row:hover::after,
.color-row:focus-visible::after {
  transform: translateY(0);
}

.color-row:focus-visible {
  outline: 2px solid rgba(57, 67, 76, 0.45);
  outline-offset: -2px;
}

.color-row:nth-child(1) { transition-delay: 0ms; }
.color-row:nth-child(2) { transition-delay: 70ms; }
.color-row:nth-child(3) { transition-delay: 140ms; }
.color-row:nth-child(4) { transition-delay: 210ms; }
.color-row:nth-child(5) { transition-delay: 280ms; }
.color-row:nth-child(6) { transition-delay: 350ms; }
.color-row:nth-child(7) { transition-delay: 420ms; }
.color-row:nth-child(8) { transition-delay: 490ms; }

.color-cell {
  text-align: left;
}

.color-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.color-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.color-label {
  opacity: 0.78;
}

.color-meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  background: transparent;
}

.color-row-glint {
  background: #2DCCD3;
  color: #111111;
}

.color-row-pulse {
  background: #F14B82;
  color: #111111;
}

.color-row-dawn {
  background: #EDBBEB;
  color: #111111;
}

.color-row-solar {
  background: #F9C608;
  color: #111111;
}

.color-row-sprout {
  background: #9ADB52;
  color: #111111;
}

.color-row-orbit {
  background: #7754F8;
  color: #FFFFFF;
}

.color-row-flare {
  background: #F99038;
  color: #111111;
}

.color-row-navy {
  background: #1E222D;
  color: #FFFFFF;
}

.color-row-depth {
  background: linear-gradient(90deg, #000000 0%, #2F3749 100%);
  color: #FFFFFF;
}

/* Glow Effects section */
.section-glow {
  background: linear-gradient(180deg, #0A0D14 0%, #161A22 50%, #0A0D14 100%);
  overflow-y: auto;
  justify-content: flex-start;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.glow-content {
  width: min(1200px, 100%);
  max-width: 1200px;
  text-align: left;
}

.glow-content h2 {
  text-align: center;
}

.glow-content .section-desc {
  text-align: center;
}

.glow-guidelines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.glow-guidelines-do-dont {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3.5rem;
}

.glow-guideline-block {
  padding: 1.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glow-guideline-block h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
  color: var(--color-white);
}

.glow-guideline-block p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.glow-guideline-block p strong {
  color: rgba(255, 255, 255, 0.92);
}

.glow-guideline-block ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.glow-guideline-block ul li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 1.4rem;
  position: relative;
}

.glow-guideline-block ul li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

.glow-do h3 {
  color: #9ADB52;
}

.glow-do ul li::before {
  content: '✓';
  color: #9ADB52;
}

.glow-dont h3 {
  color: #F14B82;
}

.glow-dont ul li::before {
  content: '✗';
  color: #F14B82;
}

.glow-examples-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 3rem;
  margin-bottom: 0.4rem;
}

.glow-examples-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

.glow-examples-desc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  padding: 0.15em 0.45em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.glow-demo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.glow-demo-row-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.glow-demo-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(14, 14, 14, 0.96);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.glow-demo-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.glow-demo-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}

.glow-demo-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  word-break: break-all;
}

.glow-demo-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.glow-demo-card-flare {
  border: 1px solid rgba(249, 144, 56, 0.3);
  box-shadow: 0 0 20px rgba(249, 144, 56, 0.2), inset 0 0 20px rgba(249, 144, 56, 0.03);
}

.glow-demo-card-pulse {
  border: 1px solid rgba(241, 75, 130, 0.3);
  box-shadow: 0 0 20px rgba(241, 75, 130, 0.2), inset 0 0 20px rgba(241, 75, 130, 0.03);
}

.glow-demo-card-orbit {
  border: 1px solid rgba(119, 84, 248, 0.3);
  box-shadow: 0 0 20px rgba(119, 84, 248, 0.2), inset 0 0 20px rgba(119, 84, 248, 0.03);
}

.glow-demo-card-interactive {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  cursor: pointer;
}

.glow-demo-card-interactive-pulse:hover,
.glow-demo-card-interactive-pulse:focus-visible {
  border-color: rgba(241, 75, 130, 0.4);
  box-shadow: 0 0 30px rgba(241, 75, 130, 0.35), 0 0 60px rgba(241, 75, 130, 0.12);
}

.glow-demo-card-interactive-orbit:hover,
.glow-demo-card-interactive-orbit:focus-visible {
  border-color: rgba(119, 84, 248, 0.4);
  box-shadow: 0 0 30px rgba(119, 84, 248, 0.35), 0 0 60px rgba(119, 84, 248, 0.12);
}

.glow-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.glow-badge-solar {
  color: #F9C608;
  background: rgba(249, 198, 8, 0.1);
  border: 1px solid rgba(249, 198, 8, 0.3);
  box-shadow: 0 0 14px rgba(249, 198, 8, 0.25);
}

.glow-badge-sprout {
  color: #9ADB52;
  background: rgba(154, 219, 82, 0.1);
  border: 1px solid rgba(154, 219, 82, 0.3);
  box-shadow: 0 0 14px rgba(154, 219, 82, 0.25);
}

.glow-badge-orbit {
  color: #7754F8;
  background: rgba(119, 84, 248, 0.1);
  border: 1px solid rgba(119, 84, 248, 0.3);
  box-shadow: 0 0 14px rgba(119, 84, 248, 0.25);
}

.glow-badge-pulse {
  color: #F14B82;
  background: rgba(241, 75, 130, 0.1);
  border: 1px solid rgba(241, 75, 130, 0.3);
  box-shadow: 0 0 14px rgba(241, 75, 130, 0.25);
}

.glow-badge-flare {
  color: #F99038;
  background: rgba(249, 144, 56, 0.1);
  border: 1px solid rgba(249, 144, 56, 0.3);
  box-shadow: 0 0 14px rgba(249, 144, 56, 0.25);
}

/* Downloads */
.section-downloads .section-content {
  width: 100%;
  max-width: 1320px;
  min-height: calc(100vh - 10rem);
  display: flex;
  flex-direction: column;
}

.download-note {
  max-width: 760px;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.copyright-notice {
  margin-top: auto;
  padding-top: 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.download-card {
  background: rgba(14, 14, 14, 0.96);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.download-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 18, 18, 0.98);
}

.download-preview {
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.download-preview-light {
  background: #F4F2EC;
}

.download-preview-dark {
  background: #161A22;
}

.download-preview-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.download-preview-image-full {
  max-width: 200px;
  max-height: 36px;
}

.download-preview-image-wide {
  max-width: 230px;
  max-height: 34px;
}

.download-preview-image-symbol {
  max-width: 56px;
  max-height: 56px;
}

.download-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.45rem;
  text-align: center;
}

.download-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
  max-width: 32ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: auto;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--color-text);
  background: transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.download-btn:hover,
.download-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
  transform: none;
}

.download-btn:focus-visible {
  outline: 2px solid #F14B82;
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1180px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-snap-type: none;
  }

  .snap-container {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .scroll-dots {
    display: none;
  }

  .brand-logo {
    padding: 1.15rem 0 0 1rem;
  }

  .brand-logo img {
    height: 20px;
  }

  .section {
    min-height: auto;
    padding: 4.75rem 1.25rem 3rem;
    justify-content: flex-start;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .section-content {
    width: 100%;
    max-width: 100%;
  }

  .section-content h2 {
    font-size: clamp(2.5rem, 11vw, 4.5rem);
    line-height: 0.96;
    margin-bottom: 0.75rem;
    text-wrap: balance;
  }

  .section-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .section-hero {
    min-height: 100svh;
    padding-top: 7rem;
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 0.85rem;
    right: 1rem;
    left: auto;
    transform: none;
    width: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    display: none;
    min-width: min(16rem, calc(100vw - 2rem));
    flex-direction: column;
    gap: 0;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)) border-box,
      linear-gradient(180deg, rgba(16, 20, 30, 0.96) 0%, rgba(8, 10, 16, 0.98) 100%) padding-box;
    box-shadow: 0 28px 52px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    overflow: hidden;
  }

  .nav.is-open .nav-menu {
    display: flex;
  }

  .nav.nav-light .nav-menu {
    background:
      linear-gradient(180deg, rgba(57, 67, 76, 0.08), rgba(57, 67, 76, 0)) border-box,
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 246, 249, 0.98) 100%) padding-box;
    border-color: rgba(57, 67, 76, 0.12);
  }

  .nav-menu a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    text-align: left;
    opacity: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .nav-menu a + a {
    margin-top: 0.15rem;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
  }

  .nav.nav-light .nav-menu a:hover,
  .nav.nav-light .nav-menu a:focus-visible {
    background: rgba(57, 67, 76, 0.08);
  }

  .hero-content {
    width: min(100%, 20.5rem);
    margin: 0 auto;
    padding-inline: 0.1rem;
    text-align: center;
  }

  .hero-eyebrow {
    margin-bottom: 0.75rem;
  }

  .hero-title {
    display: block;
    width: 100%;
    max-width: 8.8ch;
    margin: 0 auto;
    font-size: clamp(3rem, 13.6vw, 4.35rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .hero-title-line {
    display: inline;
    white-space: normal;
  }

  .hero-molecule {
    left: 50%;
    bottom: -2.5rem;
    width: 182vw;
    min-width: 46rem;
    opacity: 0.6;
  }

  .section-brand-statement .section-content {
    text-align: left;
  }

  .section-brand-statement .brand-statement-copy {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    line-height: 1;
    margin-bottom: 0.85rem;
  }

  .section-logo,
  .section-logo-dawn {
    padding-inline: 0;
  }

  .section-logo .section-content,
  .section-logo-dawn .section-content {
    width: 100%;
  }

  .logo-showcase {
    width: 100%;
    padding-inline: 0;
  }

  .logo-showcase-panel {
    width: 124%;
  }

  .logo-showcase-image {
    width: 100%;
    max-width: 100%;
  }

  .section-colors .section-content {
    max-width: 100%;
  }

  .color-bars {
    margin-top: 1.5rem;
    border-radius: 1.25rem;
    overflow: hidden;
  }

  .color-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.1rem 1rem 1rem;
    min-height: unset;
  }

  .color-name {
    font-size: 1.25rem;
  }

  .color-meta {
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
    font-size: 0.82rem;
  }

  .color-meta code {
    font-size: 0.82rem;
  }

  .color-row::before,
  .color-row::after {
    display: none;
  }

  .section-glow {
    overflow: visible;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }

  .glow-content {
    max-width: 100%;
  }

  .glow-guidelines {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }

  .glow-guidelines-do-dont {
    grid-template-columns: 1fr;
  }

  .glow-demo-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .glow-examples-heading {
    font-size: 1.1rem;
    margin-top: 2rem;
  }

  .section-downloads {
    overflow: visible;
    padding-bottom: 2.5rem;
  }

  .section-downloads .section-content {
    min-height: auto;
  }

  .download-note {
    font-size: 0.92rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .download-card {
    padding: 1rem;
    border-radius: 1rem;
  }

  .download-preview {
    height: 112px;
    margin-bottom: 0.9rem;
  }

  .download-card-title {
    font-size: 0.98rem;
  }

  .download-card-desc {
    max-width: none;
    font-size: 0.88rem;
    margin-bottom: 0.9rem;
  }

  .copyright-notice {
    margin-top: 2rem;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 1rem 2.75rem;
  }

  .section-hero {
    padding-top: 6.85rem;
    padding-bottom: 2.5rem;
  }

  .nav-toggle {
    padding-inline: 0.85rem;
  }

  .hero-title {
    max-width: 7.8ch;
    font-size: clamp(2.85rem, 13vw, 3.9rem);
    line-height: 0.92;
  }

  .hero-molecule {
    width: 205vw;
    min-width: 40rem;
    bottom: -2.4rem;
  }

  .logo-showcase-panel {
    width: 138%;
  }

  .download-buttons {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .reveal-delay-1,
  .reveal-delay-2 {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .image-carousel-track {
    animation: none;
  }

  .hero-molecule {
    animation: none;
    opacity: 0.72;
    transform: translateX(-50%);
  }

  .hero-molecule img {
    animation: none;
    filter: none;
  }
}
