/* RewindClan — rewindclan.com. VHS-shelf palette shared with the PixelFlix icon. */
:root {
  --navy: #0b1230;
  --navy-2: #131d47;
  --frame: #1b2a5e;
  --red: #e0362f;
  --ink: #f2efe8;
  --ink-dim: #aab0cc;
  --ink-faint: #6b7399;
  --r1: #e0362f; --r2: #f2792b; --r3: #f5b83d; --r4: #3fb67a; --r5: #3b7be0;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --osd: "VT323", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--navy); color: var(--ink);
  background-image:
    radial-gradient(ellipse at 15% -10%, rgba(59,123,224,.22), transparent 55%),
    radial-gradient(ellipse at 90% 110%, rgba(224,54,47,.18), transparent 50%);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--r3); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--r3); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; height: auto; }

.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .35;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
}

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
main.wrap {
  flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px;
  align-items: center; padding: 64px 0 40px;
}

.osd {
  font-family: var(--osd); font-size: 26px; letter-spacing: .08em; margin: 0 0 18px;
  color: var(--ink); text-shadow: 2px 0 rgba(224,54,47,.7), -2px 0 rgba(59,123,224,.7);
}
.osd .rec { color: var(--ink); }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.wordmark {
  font-family: var(--serif); font-weight: 800; font-size: clamp(54px, 10vw, 104px);
  line-height: .95; letter-spacing: -.02em; margin: 0;
}
.wordmark em { font-style: italic; font-weight: 500; color: var(--red); }

.stripe { display: flex; height: 10px; width: min(340px, 80%); margin: 22px 0 28px; border-radius: 2px; overflow: hidden; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--r1); }
.stripe i:nth-child(2) { background: var(--r2); }
.stripe i:nth-child(3) { background: var(--r3); }
.stripe i:nth-child(4) { background: var(--r4); }
.stripe i:nth-child(5) { background: var(--r5); }

.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-dim); max-width: 34ch; margin: 0 0 26px; }

.soon { margin: 0 0 30px; }
.soon span {
  display: inline-block; font-family: var(--osd); font-size: 24px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 14px; border: 2px solid var(--ink); border-radius: 4px;
}

.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 10px;
  background: var(--ink); color: var(--navy); border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--red); transition: transform .12s, box-shadow .12s;
}
.btn:hover { text-decoration: none; transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--red); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; border-color: var(--r3); color: var(--r3); }

.tape { justify-self: center; text-align: center; max-width: 320px; }
.phone {
  margin: 0 auto 18px; width: min(260px, 70vw); padding: 10px; border-radius: 34px;
  background: var(--frame); box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotate(3deg);
}
.phone img { border-radius: 26px; }
.tape-label { font-size: 14px; color: var(--ink-dim); margin: 0; }

.foot {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  padding: 24px 0 32px; font-size: 14px; color: var(--ink-faint);
}
.foot a { color: var(--ink-dim); }
.sep { opacity: .5; }

@media (max-width: 760px) {
  main.wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; text-align: left; }
  .tape { justify-self: start; text-align: left; }
  .phone { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
  .btn { transition: none; }
}
