:root {
  color-scheme: dark;
  --night: #102322;
  --surface: #15312d;
  --paper: #fcf1da;
  --muted: #c5d1c4;
  --accent: #ebc986;
  --rule: #36514a;
  --heading: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--paper); font: 1rem/1.58 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
figure, h1, h2, h3, p { margin: 0; }
.shell { width: min(calc(100% - 72px), 1150px); margin-inline: auto; }

.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 2; padding: .6rem .9rem; background: var(--night); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.1rem; }
.site-header { min-height: 72px; border-bottom: 1px solid var(--rule); }
.wordmark { color: var(--paper); font: 700 clamp(1.24rem, 2.6vw, 1.75rem)/1.15 var(--heading); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .15rem 1.35rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .88rem; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(285px, .82fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-block: clamp(2.9rem, 7vw, 5.4rem);
}
.hero h1 { max-width: 48rem; font: 500 clamp(3.25rem, 8vw, 7.9rem)/.94 var(--heading); letter-spacing: -.057em; text-wrap: balance; }
.hero p { max-width: 31rem; margin-top: 1.35rem; color: var(--muted); font-size: clamp(1.01rem, 2vw, 1.25rem); }
.store-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 1.65rem; padding: .65rem 1.18rem; border-radius: 8px; background: var(--accent); color: #13251f; font-weight: 700; text-decoration: none; }
.store-link:hover { background: #f9dba0; }
.hero .availability { color: var(--muted); font-size: .9rem; }

.street { justify-self: center; width: min(100%, 382px); }
.street a, .scene a { display: block; overflow: hidden; border: 1px solid var(--rule); border-radius: 20px; background: var(--surface); }
.street img, .scene img { display: block; width: 100%; height: auto; }
.street figcaption { margin-top: .74rem; color: var(--muted); font-size: .82rem; text-align: center; }
.street a { box-shadow: 0 20px 52px #030e1160; }

.preview { padding: clamp(2.5rem, 6vw, 4.8rem) 0; border-top: 1px solid var(--rule); }
.preview h2 { font: 500 clamp(2.5rem, 6vw, 5rem)/1 var(--heading); letter-spacing: -.04em; }
.scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; }
.scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: center; gap: clamp(.8rem, 2.2vw, 1.75rem); min-width: 0; padding: clamp(.9rem, 2.4vw, 1.7rem); border: 1px solid var(--rule); border-radius: 18px; background: var(--surface); }
.scene h3 { font: 500 clamp(1.55rem, 3.4vw, 2.7rem)/1.04 var(--heading); }
.scene p { margin: .7rem 0 0; color: var(--muted); }
.scene a { border-radius: 9px; }
.site-footer { padding: 1.15rem 0 1.9rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .87rem; }

@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .hero, .scenes { grid-template-columns: 1fr; }
  .hero-copy { max-width: 37rem; }
  .street { width: min(90%, 340px); }
  .scene { grid-template-columns: minmax(0, 1fr) minmax(105px, .58fr); }
  .site-footer { align-items: start; flex-direction: column; }
}

@media (max-width: 395px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 59px; gap: .55rem; }
  .site-header nav { gap: .15rem .65rem; }
  nav a { font-size: .82rem; }
}
