/* Splitter placeholder site. No web fonts, no scripts, no third parties. */

:root {
  --bg: #f6f5f2;
  --bg-2: #ecebe6;
  --surface: #ffffff;
  --text: #15171c;
  --muted: #5b606b;
  --line: #dcdad3;
  --live: #e2551d;
  --lib: #1f7fcc;
  --screen: #14161c;
  --screen-line: #2a2e38;
  --screen-dim: #3a3f4b;
  --shadow: 0 24px 60px -28px rgba(20, 22, 28, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014;
    --bg-2: #151821;
    --surface: #161a22;
    --text: #edf0f5;
    --muted: #9aa3b2;
    --line: #262b36;
    --live: #ff7a45;
    --lib: #4fb3ff;
    --screen: #0a0c10;
    --screen-line: #222733;
    --screen-dim: #313745;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { left: 8px; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--lib); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 8px; display: block; }
.pill {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 88px;
}
h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-weight: 750;
}
.accent {
  background: linear-gradient(90deg, var(--live), var(--lib));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 18px; max-width: 34em; }
.soon {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--live);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  max-width: 34em;
}

/* The split screen illustration */
.screen { position: relative; }
.screen-inner {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--screen);
  border-radius: 18px;
  border: 1px solid var(--screen-line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.half {
  position: absolute;
  inset: 0;
  padding: 7% 6%;
}
.guide { clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%); }
.library { clip-path: polygon(62% 0, 100% 0, 100% 100%, 46% 100%); padding-left: 60%; }
.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8%;
}
.guide .label { color: var(--live); }
.library .label { color: var(--lib); text-align: right; }
.row {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 11%;
  margin-bottom: 3.5%;
}
.row .ch {
  flex: 0 0 9%;
  height: 100%;
  border-radius: 4px;
  background: var(--screen-dim);
}
.row b {
  height: 100%;
  border-radius: 4px;
  background: var(--screen-line);
}
.row.on .ch { background: var(--live); }
.row.on b:first-of-type { background: color-mix(in srgb, var(--live) 55%, var(--screen-line)); }
.w20 { width: 20%; } .w28 { width: 28%; } .w30 { width: 30%; } .w38 { width: 38%; }
.w42 { width: 42%; } .w50 { width: 50%; } .w54 { width: 54%; } .w62 { width: 62%; }
.w64 { width: 64%; } .w72 { width: 72%; }
.posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.posters span {
  aspect-ratio: 2 / 3;
  border-radius: 5px;
  background: var(--screen-line);
}
.posters span:nth-child(2) { background: color-mix(in srgb, var(--lib) 70%, var(--screen)); }
.posters span:nth-child(4) { background: var(--screen-dim); }
.stand {
  width: 22%;
  height: 10px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--line);
}

/* Sections */
section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 24px;
}
.features, .platforms, .legal { padding-top: 24px; padding-bottom: 64px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.card h3 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.plist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.plist li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 600;
}
.plist em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
}
.plist li.first { border-color: var(--live); }
.plist li.first em { color: var(--live); }

.legal {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.legal p { color: var(--muted); max-width: 46em; margin: 0 0 14px; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.foot p { margin: 0; }

/* Smaller screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; padding-bottom: 64px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .screen-inner { animation: rise 0.6s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
.notfound { grid-template-columns: 1fr; }

.guide { background: color-mix(in srgb, var(--live) 8%, var(--screen)); }
.library { background: color-mix(in srgb, var(--lib) 9%, var(--screen)); }
