/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

::-moz-selection {
  background: #f1e541;
  color: #000000;
  text-shadow: none;
}

::selection {
  background: #f1e541;
  color: #000000;
  text-shadow: none;
}

.highlight {
  background: #f1e541;
  color: #000;
}

body {
  margin: 0;
  padding-left: 50px;
  padding-right: 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #212121;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

a svg {
  display: block;
}

button {
  border: none;
  cursor: pointer;
}

.font-oai\! {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Layout */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.block {
  display: block;
}

.items-center {
  align-items: center;
}

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

.justify-between {
  justify-content: space-between;
}

/* Spacing */
.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-auto {
  margin-top: auto;
}

.mb-16 {
  margin-bottom: 4rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Sizing */
.w-80 {
  width: 20rem;
}

/* Typography */
.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 600;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.leading-none {
  line-height: 1;
}

.tracking-\[-0\.02em\] {
  letter-spacing: -0.02em;
}

.tracking-\[-0\.015em\] {
  letter-spacing: -0.015em;
}

/* Colors */
.text-white {
  color: #fff;
}

.text-black {
  color: #000;
}

.text-gray-600 {
  color: #6b7280;
}

.bg-black {
  background-color: #000;
}

.hover\:bg-gray-900:hover {
  background-color: #1a1a1a !important;
}

.hover\:text-black:hover {
  color: #000;
}

/* Borders */
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-gray-200 {
  border-color: transparent !important;
}

.rounded-md {
  border-radius: 0.375rem;
}

/* Position */
.relative {
  position: relative;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Selection */
.select-none {
  user-select: none;
}

/* Manifesto */
.manifesto {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 0 80px 0;
}

.manifesto-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
  max-width: 1000px;
}

.manifesto-section:first-child {
  margin-bottom: 8rem;
  display: block;
  max-width: 720px;
}

.manifesto-section:first-child h1 {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.manifesto-section:first-child .lead {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.manifesto-section h1 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  position: sticky;
  top: 2rem;
  align-self: start;
}

.manifesto-section-content {
  max-width: 600px;
}

.manifesto h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 3rem 0 1.25rem 0;
  letter-spacing: -0.02em;
  color: #fff;
}

.manifesto h2:first-child {
  margin-top: 0;
}

.manifesto h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem 0;
  color: #fff;
}

.manifesto h3:first-child {
  margin-top: 0;
}

.manifesto p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 1rem 0;
  color: rgba(255, 255, 255, 0.75);
}

.manifesto .lead {
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.manifesto ul {
  margin: 1rem 0 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.manifesto li {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 1.5rem;
  position: relative;
}

.manifesto li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.65em;
  width: 6px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 8'%3E%3Cpolygon points='0,0 6,4 0,8' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.manifesto strong {
  color: #fff;
  font-weight: 600;
}

.manifesto em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.manifesto-image {
  display: block;
  max-width: 50%;
  height: auto;
  margin: 2rem 0;
}

.manifesto-image.large {
  display: block;
  max-width: 70%;
  height: auto;
  margin: 2rem 0;
}

/* Masthead */
.masthead {
  min-height: 100vh;
}

/* Custom slider styles */
.dynamo-text-slider {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dynamo-text-slider > div {
  padding-bottom: 0.15em;
  box-sizing: border-box;
}

.dynamo-text-primary {
  font-size: min(calc((100vw - 16px) * 0.113), 168px);
}

.dynamo-text-secondary {
  font-size: min(calc((100vw - 32px) * 0.106), 156px);
}

.dynamo-times {
  font-size: 1.5em;
  line-height: 0;
  position: relative;
  top: 0.02em;
}

/* Form */
.email-input {
  background: #fff;
  border: none;
  outline: none;
  box-shadow: none;
  color: #000;
}

/* Footer */
.footer-form {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Responsive - Large Desktop / Ultrawide */
@media (min-width: 1600px) {
  .dynamo-text-primary {
    font-size: calc((100vw - 100px) * 0.113);
  }

  .dynamo-text-secondary {
    font-size: calc((100vw - 100px) * 0.106);
    white-space: nowrap;
  }
}

/* Responsive - 4K / Ultra-large screens */
@media (min-width: 2560px) {
  .dynamo-text-primary {
    font-size: calc((100vw - 100px) * 0.08);
  }

  .dynamo-text-secondary {
    font-size: calc((100vw - 100px) * 0.075);
    white-space: nowrap;
  }

  .manifesto {
    max-width: 1400px;
  }

  .manifesto-section {
    grid-template-columns: 340px 1fr;
    gap: 5rem;
    max-width: 1300px;
  }

  .manifesto-section h1 {
    white-space: nowrap;
  }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  body {
    padding-left: 32px;
    padding-right: 32px;
  }

  .manifesto {
    padding: 80px 0 60px 0;
  }

  .manifesto-section {
    grid-template-columns: 160px 1fr;
    gap: 2.5rem;
  }

  .manifesto-section:first-child .lead {
    font-size: 2rem;
  }
}

/* Responsive - Small Tablet */
@media (max-width: 768px) {
  .manifesto-section {
    display: block;
  }

  .manifesto-section h1 {
    position: static;
    margin-bottom: 1.5rem;
  }

  .manifesto-section-content {
    max-width: none;
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .hide-mobile {
    display: none;
  }

  body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .masthead {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .mt-12 {
    margin-top: 1.5rem;
  }

  .mt-16 {
    margin-top: 2rem;
  }

  .mb-16 {
    margin-bottom: 2rem;
  }

  /* Form responsive */
  .footer-form {
    flex-direction: column;
  }

  .footer-form .email-input {
    width: 100%;
  }

  .footer-form button {
    width: 100%;
  }

  .w-80 {
    width: 100%;
  }

  /* Footer responsive */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Manifesto responsive */
  .manifesto {
    padding: 60px 0 40px 0;
  }

  .manifesto-section {
    margin-bottom: 4rem;
  }

  .manifesto-section:first-child {
    margin-bottom: 5rem;
  }

  .manifesto-section:first-child .lead {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .manifesto h2 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem 0;
  }

  .manifesto h3 {
    font-size: 1rem;
    margin: 2rem 0 0.5rem 0;
  }

  .manifesto p,
  .manifesto li {
    font-size: 1rem;
  }

  .manifesto .lead {
    font-size: 1.25rem;
  }
}
