:root {
  --bg: #0f1014;
  --text: #f1ede4;
  --muted: #a3a1ab;
  --line: #24262e;
  --pad: clamp(20px, 5vw, 72px);
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 28px var(--pad);
}
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.mail { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.mail:hover { color: var(--text); }

.hero { padding: clamp(48px, 10vw, 140px) var(--pad) clamp(56px, 8vw, 110px); }
.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 15ch;
  animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both;
}
.hero p {
  margin-top: 28px; max-width: 46ch; color: var(--muted); font-size: 1.2rem;
  animation: rise 0.8s 0.15s cubic-bezier(.2,.7,.2,1) both;
}
.icons { margin-top: 40px; display: flex; gap: 16px; animation: rise 0.8s 0.3s cubic-bezier(.2,.7,.2,1) both; }
.icons img { width: 72px; height: 72px; border-radius: 17px; transition: transform 0.2s ease; }
.icons a:hover img { transform: translateY(-4px); }
html { scroll-behavior: smooth; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 6vw, 88px) var(--pad);
  border-top: 1px solid var(--line);
}
.info { max-width: 460px; }
.icon { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 22px; }
.app h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.line { margin-top: 8px; font-size: 1.25rem; color: var(--accent); font-weight: 500; }
.info p:not(.line) { margin-top: 16px; color: #c9c6ce; }

.actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.play {
  background: var(--accent); color: #101014; font-weight: 700; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; transition: transform 0.15s ease, filter 0.15s ease;
}
.play:hover { filter: brightness(1.08); transform: translateY(-1px); }
.legal { display: flex; gap: 18px; font-size: 0.95rem; }
.legal a { color: var(--muted); text-underline-offset: 3px; }
.legal a:hover { color: var(--text); }

.shots {
  position: relative;
  display: flex; justify-content: center; gap: clamp(12px, 2vw, 24px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  overflow: hidden;
}
.shots img { width: calc(50% - 12px); max-width: 280px; border-radius: 22px; box-shadow: 0 18px 40px rgb(0 0 0 / 0.45); }
.shots img:nth-child(2) { margin-top: 56px; }
.shots.big-icon { min-height: 320px; align-items: center; }
.shots.big-icon img { width: 160px; max-width: none; border-radius: 36px; margin: 0; }

.foot { border-top: 1px solid var(--line); padding: 56px var(--pad) 72px; }
.foot p { max-width: 50ch; }
.foot a { text-underline-offset: 3px; }
.foot .small { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 800px) {
  .app { grid-template-columns: 1fr; }
  .shots { order: -1; }
  .shots img:nth-child(2) { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p { animation: none; }
  .play { transition: none; }
}

.app h2 a { text-decoration: none; }
.app h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* app pages */
.app-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(24px, 5vw, 72px) var(--pad) clamp(48px, 7vw, 96px);
}
.app-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.app-hero .line { font-size: 1.35rem; margin-top: 12px; }
.app-hero .info p:not(.line) { margin-top: 18px; color: #c9c6ce; }
.strip, .detail { padding: clamp(40px, 6vw, 80px) var(--pad); border-top: 1px solid var(--line); }
.strip h2, .detail h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; margin-bottom: 28px; }
.rail { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.rail img { height: min(60vh, 520px); width: auto; border-radius: 20px; scroll-snap-align: start; flex: none; }
.detail ol { padding-left: 1.3em; max-width: 52ch; display: grid; gap: 10px; }
.detail ol li::marker { color: var(--accent); font-weight: 700; }
.detail dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; max-width: 1000px; }
.detail dt { font-weight: 700; font-size: 1.1rem; }
.detail dd { margin: 6px 0 0; color: #c9c6ce; }
.note { margin-top: 32px; color: var(--muted); max-width: 52ch; }
.foot-legal { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95rem; }
@media (max-width: 800px) { .app-hero { grid-template-columns: 1fr; } .app-hero .shots { order: -1; } }
