:root {
  --ink: #101720;
  --paper: #f1efe9;
  --paper-2: #e5e1d9;
  --muted: #73736d;
  --line: rgba(16, 23, 32, .17);
  --signal: #ec5f3d;
  --domain: #b8d7cf;
  --white: #fffdf7;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .11em;
}

.wordmark, .status-link { text-decoration: none; }
.status-link { display: flex; align-items: center; gap: 10px; }
.status-link span { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(236, 95, 61, .12); }

main { overflow: hidden; }
.hero, .detail-hero, .status-hero { padding: clamp(64px, 10vw, 132px) clamp(22px, 7vw, 112px); }
.hero { min-height: 650px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero::after { content: ""; position: absolute; right: 7vw; top: 80px; width: clamp(170px, 27vw, 390px); aspect-ratio: 1; border-radius: 50%; background: var(--domain); mix-blend-mode: multiply; opacity: .7; }
.eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 800; letter-spacing: .17em; color: var(--muted); }
h1, h2, p { margin-top: 0; }
h1 { position: relative; z-index: 1; margin-bottom: 32px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(60px, 9.3vw, 140px); font-weight: 400; line-height: .82; letter-spacing: -.065em; }
h1 em { color: var(--signal); font-weight: 400; }
.lede { max-width: 620px; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.48; color: #43494e; }
.hero-rule { position: absolute; z-index: 2; bottom: 34px; left: clamp(22px, 7vw, 112px); right: clamp(22px, 7vw, 112px); display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 12px; font-size: 10px; font-weight: 800; letter-spacing: .14em; }

.catalog, .evidence, .videos { padding: 70px clamp(22px, 4vw, 64px) 110px; background: var(--ink); color: var(--white); }
.section-title { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.24); margin-bottom: 36px; padding-bottom: 12px; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.section-title p { margin: 0; }
.draft-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px 24px; }
.draft-card { grid-column: span 6; }
.draft-card:nth-child(3n) { grid-column: 3 / span 8; }
.card-image { display: block; position: relative; min-height: 480px; overflow: hidden; background: #202a35; text-decoration: none; }
.card-image img { width: 100%; height: 600px; object-fit: contain; padding: 26px; transition: transform .45s cubic-bezier(.2,.75,.2,1); }
.card-image:hover img { transform: scale(1.025); }
.card-number { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: white; font-size: 11px; font-weight: 800; }
.card-meta { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding-top: 20px; }
.card-meta h2 { margin-bottom: 7px; font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.card-meta p, .card-aside { color: #aaaead; font-size: 13px; line-height: 1.55; }
.card-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.badge { display: inline-flex; min-height: 27px; align-items: center; border: 1px solid currentColor; border-radius: 99px; padding: 4px 10px; color: var(--domain); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 60px; padding-bottom: 38px; }
.detail-hero h1 { margin: 0 0 22px; font-size: clamp(58px, 9vw, 125px); }
.verdict { min-width: 230px; display: flex; gap: 16px; border-top: 1px solid var(--ink); padding-top: 16px; }
.verdict-dot { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%; background: var(--signal); }
.verdict strong { display: block; margin-bottom: 5px; font-size: 11px; letter-spacing: .1em; }
.verdict p { margin: 0; color: var(--muted); font-size: 13px; }
.detail-actions { display: flex; align-items: center; gap: 28px; padding: 0 clamp(22px, 7vw, 112px) 80px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 2px; padding: 0 22px; background: var(--signal); color: white; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:active { transform: translateY(2px) scale(.985); }
.button:disabled { cursor: wait; background: #8e5a4f; }
.button.ready { background: var(--domain); color: var(--ink); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; }

.shot-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 32vw); gap: 24px; overflow-x: auto; padding: 0 0 24px; scroll-snap-type: x mandatory; }
.shot-rail figure { margin: 0; scroll-snap-align: start; }
.shot-rail img { width: 100%; height: min(70vh, 680px); object-fit: contain; background: #202a35; }
figcaption { display: flex; justify-content: space-between; gap: 18px; padding-top: 12px; color: #aaaead; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.proof-card { min-height: 390px; padding: clamp(42px, 6vw, 86px); background: var(--domain); }
.proof-card.dark { background: #26313b; color: var(--white); }
.proof-card h2, .device-box h2 { max-width: 520px; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 58px); font-weight: 400; line-height: 1; }
.proof-card > p:not(.eyebrow, .micro), .device-box > div > p:not(.eyebrow) { max-width: 560px; font-size: 17px; line-height: 1.6; }
.micro { color: var(--muted); font-size: 11px; line-height: 1.6; }
.dark .micro { color: #9aa4a9; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid rgba(16, 23, 32, .22); }
.check-list li { padding: 10px 0; border-bottom: 1px solid rgba(16, 23, 32, .12); font-size: 12px; }
.videos { background: #d8d2c7; color: var(--ink); }
.videos .section-title { border-color: var(--line); }
.video-frame { margin: 0 auto; max-width: 920px; }
.video-frame video { width: 100%; max-height: 720px; background: #080b0e; }
.video-frame figcaption { color: var(--muted); }

.device-box { display: grid; grid-template-columns: 1fr minmax(280px, .55fr); align-items: center; gap: 80px; padding: clamp(60px, 9vw, 130px) clamp(22px, 7vw, 112px); }
.device-action { padding: 28px; border: 1px solid var(--line); }
.device-action .button { width: 100%; }
.device-action .micro { margin: 14px 0 0; text-align: center; }

.status-page { min-height: calc(100vh - 150px); }
.status-hero { padding-bottom: 50px; }
.status-hero h1 { font-size: clamp(62px, 9vw, 126px); }
#status-root { padding: 0 clamp(22px, 7vw, 112px) 100px; }
.status-content { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--ink); padding-top: 24px; }
.status-summary strong { display: block; font-family: Georgia, serif; font-size: 92px; font-weight: 400; line-height: .85; }
.status-summary > p:last-child { margin-top: 12px; color: var(--muted); }
.empty-state { min-height: 260px; display: grid; grid-template-columns: 80px 1fr; gap: 30px; align-items: start; padding: 40px; background: var(--paper-2); }
.empty-state > span { color: var(--signal); font-family: Georgia, serif; font-size: 50px; }
.empty-state h2 { margin-bottom: 12px; font-family: Georgia, serif; font-size: 48px; font-weight: 400; }
.empty-state p { max-width: 500px; color: var(--muted); line-height: 1.6; }
.pipeline { background: var(--white); padding: 34px; }
.pipeline + .pipeline { margin-top: 22px; }
.pipeline-heading { display: flex; justify-content: space-between; align-items: start; }
.pipeline-heading h2 { font-family: Georgia, serif; font-size: 42px; font-weight: 400; }
.pipeline .badge { color: var(--signal); }
.stage-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stage { min-height: 48px; display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); font-size: 12px; }
.stage-id { color: var(--muted); font-weight: 800; }
.stage-state { border-radius: 99px; padding: 4px 8px; background: var(--paper-2); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.stage.done .stage-state { background: var(--domain); }
.stage.blocked .stage-state, .stage.needs_human .stage-state { background: #f4c6b9; }
.generated { margin: 28px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .08em; }

.loading, .error { padding: 80px; color: var(--muted); }
.error { color: #a33b25; }
footer { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 20px clamp(22px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
footer p { margin: 0; }

@media (max-width: 760px) {
  .topbar { min-height: 66px; }
  .hero { min-height: 570px; }
  .hero::after { top: 110px; right: -80px; }
  .hero-rule span:nth-child(2) { display: none; }
  .draft-grid { display: block; }
  .draft-card + .draft-card { margin-top: 62px; }
  .card-image { min-height: 410px; }
  .card-image img { height: 470px; padding: 18px; }
  .card-meta { grid-template-columns: 1fr; }
  .card-aside { align-items: flex-start; text-align: left; }
  .detail-hero { grid-template-columns: 1fr; gap: 32px; }
  .verdict { min-width: 0; }
  .detail-actions { align-items: stretch; flex-direction: column; }
  .detail-actions .button { width: 100%; }
  .shot-rail { grid-auto-columns: 84vw; }
  .proof-grid { grid-template-columns: 1fr; }
  .device-box { grid-template-columns: 1fr; gap: 30px; }
  .status-content { grid-template-columns: 1fr; }
  .empty-state { grid-template-columns: 1fr; padding: 30px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
