:root {
  --black: #000;
  --white: #fff;
  --gray: #999;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

.video-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 24px;
  position: relative;
}

.video-hero-player {
  display: block;
  max-width: 100%;
  max-height: 100vh;
  clip-path: inset(2px);
}

.hero-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.font-test {
  margin-bottom: 32px;
  text-align: center;
}

.hero-tagline {
  font-size: clamp(1.25rem, 4vw, 2.5rem);
  color: var(--black);
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.font-label {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Typography showcase */
.typography-showcase {
  background: #f8f8f8;
}

.type-sample {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.type-sample:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.type-label {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;øø
}

.sample-h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

.sample-h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.sample-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.sample-h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
}

.sample-body {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  max-width: 600px;
}

.sample-body-light {
  font-size: 1rem;
  font-weight: 300;
  margin: 0;
  max-width: 600px;
}

.sample-small {
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0;
  color: #666;
}

/* Body font showcase */
.body-font-showcase {
  background: var(--white);
}

.showcase-intro {
  color: var(--gray);
  margin-bottom: 48px;
}

.body-font-sample {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e0e0e0;
}

.body-font-sample:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.body-font-sample h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.body-font-sample p {
  margin: 0;
  line-height: 1.7;
  max-width: 680px;
}

.body-open-sans {
  font-family: 'Open Sans', sans-serif;
}

.body-source-sans {
  font-family: 'Source Sans 3', sans-serif;
}

.body-lato {
  font-family: 'Lato', sans-serif;
}

.body-nunito {
  font-family: 'Nunito', sans-serif;
}

.scroll-cue {
  color: var(--gray);
  font-size: clamp(3rem, 6vw, 5rem);
  animation: scroll-bounce 1.5s ease-in-out infinite;
  cursor: pointer;
  transition: color 0.2s ease, scale 0.2s ease;
  scale: 1;
  line-height: 1;
}

.scroll-cue:hover {
  color: var(--black);
  scale: 1.2;
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.nav {
  padding: 24px;
}

.nav-logo {
  height: 32px;
}
  
  .hero {
    min-height: 100vh;
    background: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
  }
  
  .hero-content {
    margin: auto;
    text-align: center;
    padding: 40px;
  }
  
  .product-logo {
    width: clamp(180px, 40vw, 540px);
    margin-bottom: 24px;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin: 0;
  }
  
.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: normal;
  margin-top: 12px;
}

.product-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  margin-top: 16px;
}

  
  .section {
    padding: 96px 24px;
  }
  
  .section.dark {
    background: var(--black);
    color: var(--white);
  }
  
  .section.center {
    text-align: center;
  }

  .section-explanation {
    padding-top: 140px;
    padding-bottom: 120px;
    background: var(--white);
  }

  .section-explanation .container {
    text-align: left;
    max-width: 680px;
  }

  .section-explanation .container h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--black);
    text-align: center;
  }

  .section-explanation p {
    margin: 0 0 24px 0;
    line-height: 1.8;
    color: #333;
  }

  .section-explanation p:last-child {
    margin-bottom: 0;
  }

  /* Justify text on larger screens for print-like feel */
  @media (min-width: 768px) {
    .section-explanation p {
      text-align: justify;
    }
  }
  
  .container {
    max-width: 960px;
    margin: 0 auto;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
  }
  
  .use-cases {
    list-style: none;
    padding: 0;
    margin-top: 32px;
  }
  
  .use-cases li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
  }
  
  .section.dark .use-cases li {
    border-color: #333;
  }
  
  .pan-footer-logo {
    max-width: 200px;
    margin-bottom: 32px;
  }
  
  .cta {
    display: inline-block;
    margin-top: 32px;
    padding: 12px 24px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .cta:hover {
    background: var(--white);
    color: var(--black);
  }
  
  .footer {
    padding: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
  }

/* iPhone landscape */
@media (orientation: landscape) and (max-height: 500px) {
  .video-hero {
    min-height: auto;
    padding: 16px;
  }
  
  .video-hero-player {
    max-height: 70vh;
  }
  
  .hero-overlay {
    margin-top: 16px;
  }
  
  .hero-tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 0;
  }
  
  .scroll-cue {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .hero {
    min-height: auto;
    padding: 40px 24px;
  }
  
  .hero-content {
    padding: 24px;
  }
  
  .product-logo {
    width: clamp(120px, 25vw, 200px);
    margin-bottom: 16px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    margin-top: 8px;
    font-size: 0.9rem;
  }
  
  .product-tagline {
    margin-top: 12px;
    font-size: 0.85rem;
  }
  
  .section {
    padding: 48px 24px;
  }
  
  .section h2 {
    font-size: 1.5rem;
  }
  
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .grid h3 {
    font-size: 1.1rem;
  }
  
  .grid p {
    font-size: 0.9rem;
  }
  
  .pan-footer-logo {
    max-width: 120px;
    margin-bottom: 16px;
  }
  
  .cta {
    margin-top: 16px;
    padding: 10px 20px;
  }
  
  .footer {
    padding: 16px;
  }
}