:root {
  color-scheme: light;
  --ink: #171407;
  --muted: #5c5432;
  --paper: #fffdf4;
  --paper-strong: #fff7ca;
  --line: rgba(23, 20, 7, 0.16);
  --yellow: #ffd42a;
  --yellow-strong: #ffb900;
  --green: #2e7d32;
  --charcoal: #15140f;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(53, 41, 0, 0.22);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--yellow);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 212, 42, 0.18);
  background: rgba(21, 20, 15, 0.92);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.05rem;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--white);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--yellow);
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 4.6rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5.5rem) clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 76% 26%, rgba(255, 212, 42, 0.42), transparent 32rem),
    linear-gradient(135deg, #15140f 0%, #25220f 48%, #fff1a5 100%);
  color: var(--white);
}

.hero-copy {
  max-width: 44rem;
}

.hero h1 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(4.5rem, 8.2vw, 7.2rem);
  line-height: 0.9;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 38rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.42;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 850;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--yellow);
  color: var(--charcoal);
  box-shadow: 0 18px 34px rgba(255, 185, 0, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.download-band .button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.banana-stage {
  position: relative;
  min-height: min(68vw, 38rem);
  border: 1px solid rgba(255, 212, 42, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 46%, rgba(255, 212, 42, 0.16), transparent 22rem),
    #100f0a;
  box-shadow: var(--shadow);
  overflow: hidden;
}

#banana-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.stage-readout {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
}

.stage-readout span {
  border: 1px solid rgba(255, 212, 42, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: rgba(21, 20, 15, 0.7);
}

.description-band,
.showcase-band,
.download-band {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5.5rem);
}

.description-band {
  background: var(--paper);
}

.description-band > div,
.download-band {
  max-width: 72rem;
  margin: 0 auto;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  font-weight: 930;
}

.description-band p,
.showcase-band p,
.download-band p {
  max-width: 58rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.feature {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(2rem, 4vw, 4rem);
}

.feature + .feature {
  border-left: 1px solid var(--line);
}

.feature strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.feature span {
  color: var(--muted);
  font-size: 1rem;
}

.showcase-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 212, 42, 0.24), transparent 55%),
    var(--paper-strong);
}

.formula {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(23, 20, 7, 0.15);
  border-radius: 8px;
  background: #15140f;
  color: #ffe88a;
  overflow-x: auto;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  box-shadow: 0 24px 52px rgba(53, 41, 0, 0.2);
}

.download-band {
  text-align: center;
}

.download-band p {
  margin-left: auto;
  margin-right: auto;
}

.download-actions {
  justify-content: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5.5rem);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

footer span:first-child {
  color: var(--yellow);
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
  }

  nav {
    display: none;
  }

  .hero,
  .showcase-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .banana-stage {
    min-height: 28rem;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature + .feature {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.1rem);
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .banana-stage {
    min-height: 21rem;
  }
}

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

  .button,
  .button:hover,
  .button:focus-visible {
    transform: none;
    transition: none;
  }
}
