/* Framiq: black and red, like a tour poster. Red stage light, crossed red tape, glowing red panels.
   Art is drawn in code (CSS light + an SVG film camera on a tripod). Nothing moves. */
:root {
  color-scheme: dark;
  --bg: #000; --panel: #0a0a0a; --panel-2: #140606;
  --ink: #fff; --muted: #b9b2b2; --dim: #6f6767;
  --red: #e10600; --red-hi: #ff2a1a; --red-deep: #5a0000;
  --line: rgba(255, 40, 30, .22); --line-2: rgba(255, 60, 50, .45);
  --ok: #7ee2a8; --warn: #ffc56b; --err: #ff8080;
  --title: 'Anton', 'Inter', sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.6 'Inter', system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--red); color: #fff; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: var(--red-hi); }
code, pre, .mono { font-family: var(--mono); font-size: 12.5px; }
code { background: rgba(255, 40, 30, .12); padding: 1px 6px; border-radius: 5px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
h1 { font-size: 34px; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 40px 0 14px; text-transform: uppercase; }
h3 { font-size: 16px; font-weight: 700; margin: 20px 0 10px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 16px; max-width: 720px; margin-bottom: 26px; }
.hint { color: var(--muted); font-size: 12.5px; font-weight: 400; text-transform: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--red); border-radius: 999px; padding: 5px 12px; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* ---------- boxes ---------- */
.panel, .card, .stat, .tablewrap { position: relative; border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); }

/* ---------- top bar: floating black bar, centred wordmark, red nav ---------- */
.top { position: sticky; top: 0; z-index: 40; padding: 10px 14px; background: linear-gradient(#000 60%, transparent); }
.top-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; row-gap: 4px; padding: 10px 18px 8px; background: #000; border: 1px solid var(--line); border-radius: 14px; }
#social { display: flex; gap: 6px; justify-self: start; }
#tick { justify-self: end; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { display: block; border-radius: 8px; }
.brand-word { font: 30px/1 var(--title); letter-spacing: .04em; color: var(--red-hi); }
.brand-word b { font: 700 10px 'Inter', sans-serif; letter-spacing: .14em; color: #fff; margin-left: 6px; vertical-align: 14px; }
.top nav { grid-column: 1 / -1; display: flex; justify-content: center; gap: 4px; }
.top nav a { white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--red-hi); text-decoration: none; padding: 4px 10px; }
.top nav a:hover, .top nav a.on { color: #fff; }
.net { display: none; }
.tick-pill, .bsoc { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; }
.tick-pill { background: var(--red); border-color: var(--red); }
.bsoc span, .bsoc em { display: none; }
.bsoc { padding: 6px; border: 0; }
.bsoc svg, .soc svg { width: 15px; height: 15px; }
.soc { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }

main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 34px 20px 70px; flex: 1; position: relative; }

/* ---------- buttons and fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 13px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  color: #fff; background: var(--red); border: 1px solid var(--red); border-radius: 999px; padding: 11px 22px; }
.btn:hover { background: var(--red-hi); border-color: var(--red-hi); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn.ghost:hover { border-color: #fff; background: transparent; }
.btn.white { background: #fff; color: #000; border-color: #fff; border-radius: 10px; }
.btn.white:hover { background: #ffe1de; }
.btn.block { display: flex; width: 100%; }
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 7px; }
input, select, textarea { width: 100%; font: 14px 'Inter', sans-serif; color: var(--ink); background: #050505; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: none; }
select option { background: #0a0a0a; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--red); }
input.mono { font-family: var(--mono); font-size: 12.5px; }
.seg { display: flex; background: #050505; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 3px; }
.seg button { flex: 1; font: 700 13px 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: transparent; border: 0; padding: 8px 10px; cursor: pointer; border-radius: 999px; }
.seg button:hover { color: #fff; }
.seg button.on { background: var(--red); color: #fff; }
.status { font-size: 13px; margin-top: 12px; color: var(--muted); min-height: 1em; }
.status.ok { color: var(--ok); } .status.err { color: var(--err); }
.row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.price span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price b { font-size: 18px; font-weight: 800; }

/* ---------- stage light (shared by hero, feature and page headers) ---------- */
.hx-haze { position: absolute; inset: 0; opacity: .5; mix-blend-mode: screen; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .02' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .1 0 0 0 0 .05 0 0 0 1.6 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") center / cover; }
.hx-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(transparent, #000 85%); }

/* ---------- home hero ---------- */
.hx { position: relative; overflow: hidden; height: min(780px, 92vh); min-height: 560px; margin-top: -86px; background: #000; isolation: isolate; }
.hx-stage { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 34% 46% at 50% 34%, #ff3b22 0%, #e10600 26%, #8c0000 52%, #2a0000 74%, #000 92%); }
.hx-beams { position: absolute; inset: 0; background: conic-gradient(from 168deg at 50% -6%, transparent 0deg, rgba(255, 120, 90, .32) 3deg, transparent 7deg, transparent 10deg, rgba(255, 90, 60, .22) 13deg, transparent 17deg, transparent 20deg, rgba(255, 120, 90, .3) 22deg, transparent 25deg, transparent 360deg); }
.hx-cam { position: absolute; left: 50%; bottom: 13%; height: 54%; transform: translateX(-50%); }
.hx-copy { position: relative; z-index: 3; text-align: center; padding: 150px 20px 0; }
.hx-title { font: 800 clamp(30px, 4.4vw, 56px)/1.05 'Inter', sans-serif; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 22px; text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.hx-copy .btn { padding: 13px 26px; font-size: 14px; }
/* crossed red tape */
.tape { position: absolute; z-index: 2; left: -15%; width: 130%; background: var(--red); color: #fff; padding: 9px 0; overflow: hidden; white-space: nowrap; box-shadow: 0 6px 22px rgba(0, 0, 0, .45); }
.tape div { display: inline-block; }
.tape span { font: 800 15px/1 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .04em; margin: 0 26px; }
.tape span::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-left: 52px; vertical-align: 3px; }
.t1 { top: 50%; transform: rotate(-11deg); }
.t2 { top: 56%; transform: rotate(9deg); }

/* model "tickets" under the hero */
.trow { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: -110px 0 10px; }
.tk { display: flex; gap: 12px; padding: 10px; background: #000; border: 1px solid #fff; border-radius: 10px; }
.tk-art { flex: none; width: 84px; height: 84px; border-radius: 6px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 50% 30%, #ff3b22, #a00000 55%, #200000); }
.tk-art svg { width: 30px; height: 30px; }
.tk-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tk-body b { font-size: 15px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-body small { color: var(--muted); font-size: 12px; }
.tk-btn { margin-top: auto; align-self: flex-end; font: 800 11px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-decoration: none; border: 1px solid #fff; border-radius: 6px; padding: 4px 12px; }
.tk-btn:hover { background: var(--red); border-color: var(--red); }

/* ---------- prompt console ---------- */
.console { margin-top: 10px; }
.console-head { margin-bottom: 18px; }
.console-head h2 { font: 400 40px/1 var(--title); letter-spacing: .02em; margin: 40px 0 4px; }
.studio { display: grid; grid-template-columns: 390px 1fr; gap: 16px; align-items: start; }
.panel { padding: 22px; }
.composer > label:first-of-type { margin-top: 18px; }
.stage { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 22px 22px; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(225, 6, 0, .22), transparent 70%), var(--panel); }
.stage > img, .stage > video { max-width: 100%; max-height: 68vh; display: block; border-radius: 8px; }
.empty { color: var(--dim); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.receipt { width: 100%; margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.ref { display: flex; align-items: center; gap: 12px; }
.ref img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); }
.refpick { flex: 1; margin: 0; padding: 18px; border: 1px dashed var(--line-2); border-radius: 10px; text-align: center; cursor: pointer; color: var(--ink); text-transform: none; letter-spacing: 0; }
.refpick:hover { border-color: var(--red-hi); }
.refpick .hint { display: block; margin-top: 4px; }
.history { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.history > div { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.history > div:hover { border-color: var(--red-hi); }
.history img, .history video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- feature: second stage + glowing panel ---------- */
.ft { position: relative; margin: 80px calc(50% - 50vw) 0; }
.ft-stage { position: relative; height: 440px; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 45%, #3a0000, #000 75%); }
.ft-screen { position: absolute; left: 50%; top: 14%; width: min(820px, 70vw); height: 52%; transform: translateX(-50%); background: linear-gradient(#ff2a1a, #c00000); box-shadow: 0 0 120px 40px rgba(225, 6, 0, .45); }
.ft-cam { position: absolute; left: 48%; bottom: 14%; height: 46%; }
.ft-panel { position: relative; z-index: 2; max-width: 980px; margin: -90px auto 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; background: #000; border: 1px solid rgba(255, 50, 40, .75); border-radius: 18px; overflow: hidden; box-shadow: 0 0 46px rgba(225, 6, 0, .45); }
.ft-art { position: relative; min-height: 280px; background: radial-gradient(ellipse 70% 70% at 50% 85%, #e10600, #4a0000 60%, #000); }
.ft-glow { position: absolute; left: 10%; right: 10%; bottom: 0; height: 30%; background: radial-gradient(ellipse at 50% 100%, rgba(255, 200, 180, .55), transparent 70%); }
.ft-cam2 { position: absolute; left: 50%; bottom: 0; height: 82%; transform: translateX(-50%); }
.ft-copy { padding: 34px 34px 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.ft-word { font: 64px/1 var(--title); color: var(--red-hi); letter-spacing: .02em; margin-bottom: 16px; }
.ft-word b { font: 800 14px 'Inter', sans-serif; color: #fff; letter-spacing: .14em; margin-left: 8px; vertical-align: 34px; }
.ft-copy p { font-size: 17px; font-weight: 700; line-height: 1.45; margin-bottom: 22px; }

/* ---------- join bar (like a sign-up strip) ---------- */
.join { text-align: center; max-width: 760px; margin: 90px auto 10px; }
.join h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; }
.join p { color: var(--muted); margin: 0 auto 26px; max-width: 560px; }
.join-field { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 14px; padding: 8px 8px 8px 18px; text-align: left; }
.join-field span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ddd; }
.join-field .btn { border-radius: 10px; padding: 9px 22px; }
/* roadmap */
.rm { max-width: 1100px; margin: 100px auto 0; }
.rm-head { text-align: center; margin-bottom: 34px; }
.rm-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; border-radius: 99px; padding: 7px 16px; font: 800 13px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.rm-pill i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.rm-head h2 { font-family: Anton, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); line-height: 1; margin: 16px 0 0; letter-spacing: .01em; }
.rm-head h2 em { font-style: normal; color: var(--red-hi); }
.rm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rm-card { background: #0a0a0a; border: 1px solid rgba(255, 60, 50, .35); border-radius: 18px; padding: 24px 24px 10px; box-shadow: 0 0 30px rgba(225, 6, 0, .12); }
.rm-card.hot { border-color: var(--red); box-shadow: 0 0 46px rgba(225, 6, 0, .35); }
.rm-top { display: flex; justify-content: space-between; align-items: center; }
.rm-top span { font: 800 12px Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8f8f8f; }
.rm-state { font: 800 11px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--red); color: #fff; }
.rm-state.later { background: none; border: 1px solid #5a1410; color: #cfcfcf; }
.rm-card h3 { font-family: Anton, sans-serif; font-weight: 400; font-size: 36px; margin: 10px 0 6px; letter-spacing: .01em; }
.rm-card ul { list-style: none; margin: 0; padding: 0; }
.rm-card li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid #2a0a08; font-weight: 600; font-size: 15px; line-height: 1.4; color: #cfcfcf; }
.rm-card li:last-child { border-bottom: 0; }
.rm-card li.done { color: #fff; }
.rm-card li i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid #5a1410; display: grid; place-items: center; font: 800 11px Inter, sans-serif; font-style: normal; color: #fff; }
.rm-card li.done i { background: var(--red); border-color: var(--red); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .rm-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .rm { margin-top: 70px; } }

/* ---------- page header (every page but home) ---------- */
.ph { max-width: 1200px; width: 100%; margin: 6px auto 0; padding: 0 20px; }
.ph-in { position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(255, 50, 40, .6); border-radius: 16px; padding: 46px 40px; text-align: center; box-shadow: 0 0 34px rgba(225, 6, 0, .3); }
.ph-light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 90% at 50% 0%, #e10600, #5a0000 50%, #000 85%); }
.ph-title { font-size: clamp(34px, 5vw, 54px); font-weight: 800; text-transform: uppercase; margin: 16px 0 8px; line-height: 1; }
.ph-sub { color: #f1d6d4; font-size: 16px; font-weight: 600; margin: 0; }

/* ---------- shared page pieces ---------- */
.grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.grid2 > section > .panel + .panel { margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.card { padding: 20px; display: flex; flex-direction: column; }
.card:hover { border-color: var(--red-hi); }
.card h3 { margin: 14px 0 6px; }
.card p { color: var(--muted); font-size: 14px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); padding: 2px 9px; border-radius: 999px; }
.chip.k { color: #fff; background: var(--red); border-color: var(--red); }
.foot2 { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.foot2 b { font-size: 17px; font-weight: 800; }
.foot2 .btn { padding: 7px 14px; font-size: 12px; }
.steps { padding-left: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 38px; color: #e2dada; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font: 800 12px 'Inter', sans-serif; color: #fff; }
pre { background: #050505; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; line-height: 1.6; color: #eee; }
.note, .secret { border: 1px solid var(--line-2); background: var(--panel-2); border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
.secret label:first-of-type { margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0; }
.stat { padding: 18px; }
.stat b { display: block; font-size: 26px; font-weight: 800; margin-bottom: 2px; }
.stat span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.panel table th, .panel table td { padding-left: 0; }
.ca-btn { display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px 'Inter', sans-serif; color: #fff; background: var(--red); border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.ca-btn svg { width: 13px; height: 13px; }

/* ---------- footer ---------- */
.foot { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 30px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* the page header already shows the title */
#banner:has(.ph) + #app > h1:first-child { display: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .top nav { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .brand-word { font-size: 24px; }
  .studio, .grid2 { grid-template-columns: 1fr; }
  .stage { min-height: 340px; }
  .ft-panel { grid-template-columns: 1fr; margin: -70px 16px 0; }
  .ft-art { min-height: 220px; }
  .ft-word { font-size: 48px; }
  .ft-word b { vertical-align: 24px; }
  .ph { padding: 0 16px; }
  .ph-in { padding: 34px 20px; }
  main { padding: 28px 16px 60px; }
}
@media (max-width: 600px) {
  .hx { min-height: 520px; height: 82vh; }
  .hx-copy { padding-top: 140px; }
  .hx-cam { height: 40%; }
  .tape span { font-size: 12px; margin: 0 16px; }
  .tape span::after { margin-left: 32px; }
  .trow { grid-template-columns: 1fr; margin-top: -70px; }
  .ft-stage { height: 300px; }
  .ft-copy { padding: 24px 20px; }
  .join-field { flex-direction: column; align-items: stretch; padding: 12px; }
  #social { display: none; }
  .top-in { grid-template-columns: auto 1fr; }
  #tick { grid-column: 2; }
}
