:root {
  --ink: #1d1a17;
  --paper: #fffaf0;
  --gold: #ffd23f;
  --accent: #009de0;
  --accent-dark: #0079ad;
  --accent-soft: #dff2fb;
  --muted: #6b6258;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 700 17px/1.55 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

h1, .play { font-family: 'Lilita One', system-ui, sans-serif; font-weight: 400; }
h2, h3 { font-weight: 800; }

/* Top bar: only the language selector at first; the logo and a background come once scrolled */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: flex-end; gap: 20px;
  padding: 12px max(16px, calc((100vw - 1100px) / 2));
  border-bottom: 3px solid transparent;
  transition: background .15s, border-color .15s;
}
.top.scrolled { background: var(--paper); border-bottom-color: var(--ink); }
.brand {
  margin-right: auto; font: 400 24px 'Lilita One', system-ui, sans-serif; color: var(--accent); text-decoration: none; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.top.scrolled .brand { opacity: 1; pointer-events: auto; }
.langs { display: flex; gap: 6px; }
.langs a {
  font-weight: 900; font-size: 13px; text-decoration: none; color: var(--ink);
  padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); background: #fff;
}
.langs a[aria-current] { background: var(--accent); color: #fff; }

/* Shared */
main > section { padding: 48px max(16px, calc((100vw - 1100px) / 2)); }
h2 { font-size: clamp(24px, 3.5vw, 30px); line-height: 1.2; margin-bottom: 22px; color: var(--ink); }

.play {
  display: inline-block; font-size: 26px; line-height: 1;
  padding: 16px 34px; border-radius: 20px;
  background: var(--accent); color: #fff; text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.play:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.play:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }
.note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Hero */
.hero { background: var(--accent-soft); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding-top: 72px; }
h1 {
  font-size: clamp(52px, 9vw, 96px); line-height: 1; color: var(--accent);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--ink);
  margin-bottom: 18px;
}
.tagline { font-size: 22px; font-weight: 900; line-height: 1.3; margin-bottom: 12px; }
.lead { color: var(--muted); margin-bottom: 28px; }
.vibe { padding-block: 22px; border-bottom: 1px solid #e3e0da; }
.vibe p { max-width: 760px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 16px; line-height: 1.5; }
.vibe a { color: var(--accent-dark); }
.hero-shot { position: relative; display: block; transition: transform .1s; }
.hero-shot:hover { transform: translateY(-3px); }
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(88px, 16vw, 130px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; padding-left: 1%;
  font-size: clamp(48px, 9vw, 72px); line-height: 1; color: #fff; background: rgba(0, 157, 224, 0.82);
  border: 4px solid rgba(29, 26, 23, 0.85); box-shadow: 0 6px 0 rgba(29, 26, 23, 0.85);
  transition: transform .1s;
}
.hero-shot:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); }
.hero-shot img {
  border-radius: 22px; border: 4px solid var(--ink); box-shadow: 0 10px 0 var(--ink); background: #fff;
}

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid #e3e0da; border-radius: 12px;
  padding: 20px;
}
.card .icon { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.card h3 { font-size: 18px; line-height: 1.25; margin-bottom: 6px; color: var(--ink); }
.card p { font-size: 15px; font-weight: 600; color: #4a443d; }
.card .time { color: var(--muted); font-weight: 900; margin-bottom: 6px; }

/* Screenshots */
.screens { border-top: 1px solid #e3e0da; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shots figure { background: #fff; border: 1px solid #e3e0da; border-radius: 12px; overflow: hidden; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shots figcaption { padding: 10px 14px; font-size: 14px; font-weight: 600; color: #4a443d; }

/* Closing call */
.cta { text-align: center; }
.cta h2 { margin-bottom: 24px; }

footer { padding: 28px max(16px, calc((100vw - 1100px) / 2)) 40px; background: #f6f5f2; color: var(--muted); font-size: 14px; font-weight: 600; border-top: 1px solid #e3e0da; }
footer p + p { margin-top: 8px; }
footer a { color: var(--accent-dark); }
footer .alt a + a::before { content: ' · '; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid, .grid.four, .shots { grid-template-columns: 1fr; }
  main > section { padding-block: 44px; }
  .play { font-size: 22px; padding: 14px 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 480px) {
  .langs { gap: 4px; }
  .brand { font-size: 20px; }
  .langs a { padding: 2px 8px; font-size: 12px; }
}
