:root {
  color-scheme: dark;
  --background: #101820;
  --panel: #17232e;
  --border: #344956;
  --text: #f4f4eb;
  --muted: #c9d3d7;
  --accent: #f4c877;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.05; }
h1 { font-size: clamp(3.1rem, 6.3vw, 5.3rem); letter-spacing: -.06em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.035em; }

.shell { width: min(1180px, 100% - 48px); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.35rem;
  align-items: center;
  padding-block: 1.1rem;
  font-size: .94rem;
}
.site-header { border-bottom: 1px solid var(--border); }
.brand { font-weight: 750; margin-inline-end: .5rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-inline-start: auto; }
.site-header nav a { padding-block: .3rem; }
.site-header nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.hero, .ocean { display: grid; align-items: center; gap: clamp(1.6rem, 4vw, 3.8rem); }
.hero {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  padding-block: clamp(1.9rem, 4.5vw, 4rem);
}
.hero-copy { display: grid; gap: .9rem; }
.hero-art, .ocean > img { width: 100%; border: 1px solid var(--border); border-radius: .65rem; }
.hero-art { box-shadow: 0 1.35rem 2.5rem #070e1590; }
.genre { color: var(--accent); font-weight: 650; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.17rem); line-height: 1.5; }
.hero-copy > p:not(.lead):not(.genre), .ocean p { color: var(--muted); }
.stores { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.stores img { height: 42px; width: auto; }
.hero-links { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.hero-links a { padding-block: .2rem; color: var(--accent); font-weight: 650; }
.language-note { font-size: .9rem; }

.ocean {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  border-block: 1px solid var(--border);
  padding-block: clamp(2rem, 5vw, 3.75rem);
}
.ocean h2 { margin-bottom: .6rem; }
.ocean .stores { margin-top: 1rem; }
.guide { padding-block: clamp(2rem, 5vw, 3.75rem); border-bottom: 1px solid var(--border); }
.guide .watch-media { max-width: 42rem; margin-block-start: 1.3rem; }
.guide-intro { display: grid; gap: .55rem; max-width: 46rem; margin-block-start: .75rem; color: var(--muted); }
.guide-intro .stores { margin-block-start: .1rem; }
.guide-content {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 1.25rem clamp(1.25rem, 4vw, 3rem);
  margin-block-start: 1.3rem;
}
.guide-steps {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding-inline-start: 1.5rem;
}
.guide-steps li { padding-inline-start: .25rem; }
.guide-steps li::marker { color: var(--accent); font-weight: 750; }
.guide-steps p { color: var(--muted); }
.placement-example { margin: 0; }
.placement-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: .65rem;
  background: var(--panel);
}
.placement-image img { width: 125%; max-width: none; margin-inline-start: -12.5%; }
.placement-highlights { position: absolute; inset: 0; pointer-events: none; }
.placement-highlights span {
  position: absolute;
  border: 2px solid #ffdc91;
  border-radius: .22rem;
  box-shadow: 0 0 0 1px #101820;
}
.placement-highlights .scout-card { inset: 87% 85.7% 1.25% 2.2%; }
.placement-highlights .scout-position {
  left: 26.25%;
  top: 43.5%;
  width: 5.75%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.placement-highlights .start-wave { inset: 89.2% 2.2% 1.35% 81.8%; }
.placement-example figcaption { margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.guide-share button {
  min-height: 44px;
  margin-top: 1rem;
  padding: .45rem .9rem;
  border: 1px solid var(--accent);
  border-radius: .45rem;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.guide-share button:hover { background: var(--panel); }
.guide-share button:focus-visible, .share-link input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.share-status, .share-link { color: var(--muted); }
.share-link:not([hidden]) { display: grid; gap: .35rem; max-width: 34rem; margin-top: .55rem; }
.share-link input {
  width: 100%;
  min-height: 44px;
  padding: .4rem .6rem;
  border: 1px solid var(--border);
  border-radius: .35rem;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}
.posters { padding-block: clamp(2rem, 5vw, 3.75rem); }
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.poster-grid a { display: grid; gap: .65rem; padding: 1rem; background: var(--panel); border: 1px solid var(--border); border-radius: .65rem; }
.poster-grid img { width: 100%; max-height: 460px; object-fit: contain; background: var(--background); border-radius: .25rem; }
.press-mention { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.watch { display: grid; gap: .9rem; max-width: 880px; padding-block: clamp(1.5rem, 4vw, 3rem); }
.watch h1 { font-size: clamp(2rem, 5.2vw, 3.9rem); letter-spacing: -.045em; }
.watch-media { min-width: 0; margin: .4rem 0; }
.watch-clip { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: .65rem; background: #070e15; }
.watch-media figcaption { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
.site-footer { border-top: 1px solid var(--border); justify-content: space-between; }

@media (max-width: 790px) {
  .shell { width: min(1180px, 100% - 32px); }
  .site-header nav { width: 100%; margin-inline-start: 0; }
  .hero, .ocean, .guide-content { grid-template-columns: 1fr; }
  .guide-content .placement-example { order: -1; }
  .ocean > div { grid-row: 1; }
}

@media (max-width: 520px) {
  .poster-grid { grid-template-columns: 1fr; }
}
