/* Rerun — reruncam.com */
:root {
  --stage: #0b100e;
  --panel: #121917;
  --panel-2: #16201c;
  --line: #223029;
  --ink: #e9f0ea;
  --muted: #8fa197;
  --accent: #ff5c47;
  --accent-ink: #ffd9d3;
  --glow: rgba(255, 92, 71, 0.14);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root {
    --stage: #f5f3ec;
    --panel: #fffdf7;
    --panel-2: #f0ede2;
    --line: #e0dbcb;
    --ink: #17201a;
    --muted: #5d6b61;
    --accent: #e8442f;
    --accent-ink: #7c1e12;
    --glow: rgba(232, 68, 47, 0.1);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--stage);
  color: var(--ink);
  font-family: "Instrument Sans", ui-sans-serif, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 75% -10%, var(--glow), transparent 60%);
}
::selection { background: var(--accent); color: #fff; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Fraunces, serif; font-weight: 600; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { display: block; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 22px; }
nav.site a:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 64px 0 72px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; animation: rise 0.7s 0.05s both; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 2s ease-in-out infinite; }
h1 { font-family: Fraunces, serif; font-weight: 640; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; margin: 18px 0 20px; animation: rise 0.7s 0.15s both; }
h1 em { font-style: italic; color: var(--accent); }
.lede { color: var(--muted); font-size: 19px; max-width: 44ch; animation: rise 0.7s 0.25s both; }
.cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; animation: rise 0.7s 0.35s both; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-size: 15.5px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--ink); transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 30px -8px var(--accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; border-left: 1px solid rgba(255,255,255,0.35); padding-left: 9px; }
.ring-stage { display: grid; place-items: center; animation: rise 0.9s 0.3s both; }
.ring { position: relative; width: min(300px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent) 0 12%, var(--line) 12% 100%); animation: spin 14.1s linear infinite; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)); mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)); }
.ring-inner { width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; gap: 4px; grid-template-rows: auto auto auto; padding: 24px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.55); }
.ring-inner .rec { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--accent); display: flex; align-items: center; gap: 7px; align-self: end; }
.ring-inner .rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 2s ease-in-out infinite; }
.timecode { font-family: var(--mono); font-size: clamp(24px, 4vw, 32px); font-weight: 500; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.ring-inner .sub { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.14em; align-self: start; }
.marquee { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); user-select: none; }
.marquee > div { display: inline-block; padding: 12px 0; animation: slide 26s linear infinite; }
.marquee span { margin: 0 18px; }
.marquee b { color: var(--accent); font-weight: 500; }
section { padding: 78px 0; }
.sec-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
h2 { font-family: Fraunces, serif; font-weight: 600; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.015em; line-height: 1.12; margin-bottom: 40px; max-width: 22ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 28px; position: relative; }
.step::before { content: attr(data-n); font-family: Fraunces, serif; font-style: italic; font-size: 44px; font-weight: 500; color: var(--accent); display: block; margin-bottom: 14px; line-height: 1; }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feature { background: var(--panel); padding: 24px; }
.feature h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; display: flex; gap: 9px; align-items: baseline; }
.feature h3::before { content: "\25B8"; color: var(--accent); font-size: 13px; }
.feature p { color: var(--muted); font-size: 15px; }
.private { background: var(--panel-2); border-block: 1px solid var(--line); text-align: center; padding: 84px 24px; }
.private h2 { margin: 0 auto 16px; max-width: none; }
.private p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }
.private .mono-list { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--ink); display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.private .mono-list span::before { content: "\2713 "; color: var(--accent); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 18px; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); font-size: 15px; padding-top: 10px; max-width: 60ch; }
.support-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.support-card h3 { font-family: Fraunces, serif; font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.support-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.support-card .email { font-family: var(--mono); font-size: 16px; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.support-card .email:hover { color: var(--accent); }
.support-card small { display: block; margin-top: 18px; color: var(--muted); font-size: 13px; }
footer.site { border-top: 1px solid var(--line); padding: 34px 0 46px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
footer.site a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
footer.site a:hover { color: var(--ink); }
footer.site .links { display: flex; gap: 18px; }
article.policy { max-width: 660px; margin: 0 auto; padding: 40px 0 90px; }
article.policy h1 { font-size: clamp(34px, 5vw, 46px); animation: none; }
article.policy .date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 34px; display: block; }
article.policy h2 { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 42px 0 12px; max-width: none; }
article.policy p, article.policy li { color: var(--ink); font-size: 16.5px; }
article.policy p + p { margin-top: 12px; }
article.policy ul { padding-left: 22px; margin: 10px 0; }
article.policy li { margin: 8px 0; }
article.policy strong { font-weight: 650; }
article.policy a { color: var(--accent); text-decoration: none; }
article.policy a:hover { text-decoration: underline; }
.backlink { font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none; }
.backlink:hover { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .ring::before { background: conic-gradient(from 40deg, var(--accent) 0 12%, var(--line) 12% 100%); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 56px; gap: 40px; }
  .ring-stage { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 56px 0; }
}
