:root {
  --pitch: #2eb861;
  --navy: #0a1828;
  --navy-soft: #12324f;
  --gold: #facf38;
  --ivory: #f2f9ef;
  --muted: #9fb3a8;
  --panel: rgba(8, 24, 40, 0.92);
  font-family: "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #1a4d32 0%, var(--navy) 45%, #050d14 100%);
  color: var(--ivory);
  line-height: 1.55;
}

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.side-panel {
  background: var(--panel);
  border-right: 1px solid rgba(250, 207, 56, 0.25);
  padding: 28px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.brand span {
  color: var(--gold);
}

.side-panel p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.side-panel nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-panel a {
  color: var(--ivory);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.side-panel a:hover,
.side-panel a:focus-visible {
  border-color: rgba(46, 184, 97, 0.45);
  background: rgba(46, 184, 97, 0.08);
}

main {
  padding: 32px clamp(20px, 4vw, 56px) 64px;
}

.hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 48px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 184, 97, 0.55) 0%, transparent 42%, rgba(10, 24, 40, 0.85) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 36px;
  max-width: 640px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-copy p {
  margin: 0;
  font-size: 1.1rem;
  color: #e6f3ea;
}

.center-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
}

.tile h3 {
  margin: 0 0 10px;
  color: var(--gold);
}

.tile p {
  margin: 0;
  color: #d7e6dc;
}

.tile:nth-child(1) {
  grid-column: span 3;
}
.tile:nth-child(2) {
  grid-column: span 3;
}
.tile:nth-child(3) {
  grid-column: span 6;
}

.screens {
  margin-bottom: 48px;
}

.polaroids {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.polaroid {
  background: #fff;
  padding: 10px 10px 18px;
  width: min(260px, 42vw);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
}

.polaroid:nth-child(2) {
  transform: rotate(3deg) translateY(12px);
}
.polaroid:nth-child(3) {
  transform: rotate(-1deg) translateY(-8px);
}

.polaroid img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.polaroid figcaption {
  margin-top: 10px;
  color: #1a2a22;
  font-size: 0.85rem;
  text-align: center;
}

.legal details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.legal summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold);
}

.legal .body {
  margin-top: 12px;
  color: #d3e2d8;
}

.legal a {
  color: var(--pitch);
}

footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .side-panel {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(250, 207, 56, 0.25);
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile:nth-child(n) {
    grid-column: span 1;
  }
}
