@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
:root {
  /* Beige & Black palette with color accents */
  --bg-1: #f5f3ef; /* warm beige */
  --bg-2: #ebe8e1; /* darker beige */
  --header-beige: #e8e3db; /* warmer header */
  --accent-beige: #e6e2d8;
  --text-primary: #0a0a0a; /* harsh black */
  --text-secondary: #4a4a4a; /* softer black for secondary text */
  --border-black: #0a0a0a; /* sharp black borders */
  --card-bg: #faf8f5; /* off-white for cards */
  --hover-beige: #ddd9ce;
  
  /* Fun accent colors - used sparingly */
  --accent-blue: #4a90e2;
  --accent-red: #e85d4a;
  --accent-yellow: #f4c430;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}
.accent-light-blue{ 
  background-color: var(--accent-blue);
  opacity: 50%;
}
.accent-light-red{ 
  background-color: var(--accent-red);
  opacity: 50%;
}
body {
  margin: 0;
  font-family: 'Poppins', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: var(--bg-1);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: block;
  padding: 10px 0;
}

.site-header .container {
  background: var(--header-beige);
  border-radius: 16px;
  padding: 12px 24px;
  border: 1.5px solid var(--border-black);
  box-shadow: 0 2px 8px rgba(10, 10, 10, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border-black);
  border-radius: 8px;
  background: var(--accent-yellow);
}

.brand-name {
  font-weight: 600;
  font-family: 'Poppins', Inter;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  font-size: 17px;
}

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  position: relative;
  padding: 6px 4px;
  transition: opacity 0.2s;
  font-size: 15px;
}

.nav a:hover {
  opacity: 0.6;
}

/* Hero - Full Screen */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.hero-copy h1 {
  font-size: clamp(25px, 4.5vw, 40px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text-primary);
  letter-spacing: -1px;
  font-weight: 500;
  font-family: "Merriweather";

}

.lead {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 300;
}

.cta-row {
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 15px;
}

.btn.primary {
  background: var(--text-primary);
  color: var(--bg-1);
  border: 1.5px solid var(--border-black);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--accent-blue);
}

.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--border-black);
  color: var(--text-primary);
  font-weight: 500;
}

.btn.ghost:hover {
  background: var(--bg-2);
}

/* TV Screen */
.tv-screen {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 10 / 7;
  background: #0a0a0a;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-black);
  justify-self: center;
  box-shadow: 0 4px 0 var(--accent-red);
}

.tv-screen.bounce {
  animation: bounce 0.5s ease-out;
}

@keyframes bounce {
  0% { transform: translate(0, 0); }
  25% { transform: translate(6px, 6px); }
  50% { transform: translate(3px, -3px); }
  75% { transform: translate(-2px, 2px); }
  100% { transform: translate(0, 0); }
}

.static-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulance type="fractalNoise" baseFrequency="0.9" numOctaves="4" /><feColorMatrix values="0 0 0 0 0.9, 0 0 0 0 0.9, 0 0 0 0 0.9, 0 0 0 1 0"/></filter><rect width="200" height="200" filter="url(%23noise)" opacity="0.15"/></svg>');
  pointer-events: none;
  opacity: 0.5;
  animation: staticMove 0.2s infinite steps(8);
  mix-blend-mode: screen;
}

@keyframes staticMove {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(1px, 1px); }
}

.full-static {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s;
}

.full-static.active {
  opacity: 1;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /><feColorMatrix values="0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 1 0"/></filter><rect width="200" height="200" filter="url(%23noise)"/></svg>');
  animation: fullStaticMove 0.1s infinite;
}

@keyframes fullStaticMove {
  0% { background-position: 0 0; opacity: 0.9; }
  25% { background-position: -10px 10px; opacity: 0.95; }
  50% { background-position: 10px -10px; opacity: 0.85; }
  75% { background-position: -5px -5px; opacity: 0.92; }
  100% { background-position: 5px 5px; opacity: 0.88; }
}

.tv-screen .content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  color: #fff;
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.5s;
  overflow: hidden;
}

.tv-screen .content.visible {
  opacity: 1;
}

.model-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.model-logo {
  font-size: 28px;
}

.model-output {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 15px;
  line-height: 1.7;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #fff;
  margin-left: 2px;
  animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.1) 2px,
    rgba(0,0,0,0.1) 4px
  );
  z-index: 5;
}

.nav-arrows {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 20;
}

.arrow {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid #000;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #000;
  font-weight: 600;
}

.arrow:hover {
  background: rgba(255,255,255,1);
  transform: scale(1.05);
}

.arrow:active {
  transform: scale(0.95);
}

/* Hero Card - Full Width */
.hero-card {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  background: var(--card-bg);
  padding: 0;
  border-radius: 20px;
  border: 1.5px solid var(--border-black);
  box-shadow: 0 6px 0 var(--accent-yellow);
}

.card-header {
  font-weight: 600;
  color: var(--text-primary);
  padding: 22px 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  border-bottom: 1.5px solid var(--border-black);
  background: var(--bg-2);
}

.card-body {
  padding: 40px;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  gap: 40px;
  justify-content: space-around;
}

.stats li {
  text-align: center;
  flex: 1;
  position: relative;
}

.stats li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5px;
  height: 60px;
  background: var(--border-black);
}

.stats li strong {
  display: block;
  font-size: 42px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.stats li:nth-child(1) strong {
  color: var(--accent-blue);
}

.stats li:nth-child(2) strong {
  color: var(--accent-red);
}

.stats li:nth-child(3) strong {
  color: var(--accent-yellow);
}

.stats li span {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Snapshot Plot */
.snapshot-plot {
  margin-top: 32px;
  padding-top: 40px;
  border-top: 1.0px solid var(--border-black);
}

.compass-figure {
  display: block;
  background: var(--bg-1);
  padding: 32px;
  border-radius: 16px;
  border: 1.5px solid var(--border-black);
  position: relative;
}

.compass-figure img {
  width: 100%;
  height: auto;
  max-width: 620px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(10, 10, 10, 0.15);
}

.snapshot-caption {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--bg-2);
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--text-primary);
  letter-spacing: -0.8px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.features-grid article {
  background: var(--card-bg);
  padding: 32px;
  border-radius: 16px;
  border: 1.5px solid var(--border-black);
  transition: all 0.2s;
  position: relative;
}

.features-grid article:nth-child(1) {
  box-shadow: 0 4px 0 var(--accent-blue);
}

.features-grid article:nth-child(2) {
  box-shadow: 0 4px 0 var(--accent-red);
}

.features-grid article:nth-child(3) {
  box-shadow: 0 4px 0 var(--accent-yellow);
}

.features-grid article:hover {
  transform: translateY(-3px);
}

.features-grid article:nth-child(1):hover {
  box-shadow: 0 7px 0 var(--accent-blue);
}

.features-grid article:nth-child(2):hover {
  box-shadow: 0 7px 0 var(--accent-red);
}

.features-grid article:nth-child(3):hover {
  box-shadow: 0 7px 0 var(--accent-yellow);
}

.features-grid article h3 {
  color: var(--text-primary);
  font-weight: 600;
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.features-grid article p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
  font-size: 15px;
}

.how-list {
  padding-left: 28px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 17px;
}

.how-list li {
  margin-bottom: 18px;
}

.how-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1.5px solid var(--border-black);
  color: var(--text-secondary);
}

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

.footer-inner p {
  font-size: 14px;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .cta-row {
    justify-content: center;
  }

  .tv-screen {
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .stats {
    flex-direction: column;
    gap: 28px;
  }

  .stats li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .tv-screen {
    max-width: 100%;
  }

  .tv-screen .content {
    padding: 20px;
    font-size: 14px;
  }

  .model-header {
    font-size: 16px;
  }

  .model-output {
    font-size: 13px;
  }

  .nav-arrows {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }

  .arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .card-body {
    padding: 24px;
  }
}
