:root {
  color-scheme: light;
  --ink: #172535;
  --muted: #667385;
  --paper: #f5f7f9;
  --surface: #ffffff;
  --line: #dbe2e9;
  --blue: #165d95;
  --blue-soft: #e9f3fb;
  --green: #157452;
  --amber: #9a6505;
  --red: #a63f3f;
  --shadow: 0 18px 48px rgba(28, 48, 69, .08);
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid #e49a28; outline-offset: 3px; }
.site-header { max-width: 1100px; margin: 0 auto; padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-size: 20px; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .16em; margin-left: 4px; vertical-align: middle; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; background: var(--ink); color: white; border-radius: 9px; font-style: italic; }
.demo-chip { background: var(--blue-soft); color: #0f4f80; border: 1px solid #c9e1f2; border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 700; }
main { max-width: 980px; margin: 0 auto; padding: 28px 28px 64px; }
.hero { max-width: 750px; margin: 28px 0 40px; }
.eyebrow, .section-label { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; margin: 0 0 9px; }
h1 { font-size: clamp(34px, 5.7vw, 58px); letter-spacing: -.045em; line-height: 1.04; margin: 0; max-width: 710px; }
h2 { margin: 0; letter-spacing: -.025em; font-size: 25px; line-height: 1.15; }
.lead { max-width: 650px; color: var(--muted); font-size: 18px; margin: 20px 0; }
.notice { max-width: 650px; border-left: 4px solid var(--blue); border-radius: 5px; padding: 13px 16px; background: var(--blue-soft); color: #294158; }
.workspace { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.credit-card { background: linear-gradient(118deg, #142d44, #1a6399); color: #fff; display: flex; gap: 24px; justify-content: space-between; align-items: center; padding: 28px 31px; }
.credit-card .section-label { color: #bfddf1; }
.credit-value { font-size: 36px; line-height: 1; letter-spacing: -.04em; font-weight: 780; margin: 0 0 8px; }
.credit-unit { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.credit-card .muted { color: #d7e8f5; margin: 0; font-size: 14px; }
.checkout-note { margin: 0; padding: 12px 31px; background: #f5f8fb; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 14px; }
.button { border: 0; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 750; min-height: 42px; padding: 10px 16px; transition: transform .16s ease, background .16s ease, opacity .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .58; }
.button-primary { background: white; color: #114d7b; white-space: nowrap; }
.button-dark { background: var(--ink); color: white; margin-top: 13px; }
.button-quiet { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.workflow { list-style: none; margin: 0; padding: 10px 31px 5px; }
.workflow-step { position: relative; display: grid; grid-template-columns: 39px 1fr; column-gap: 16px; padding: 23px 0 22px; border-bottom: 1px solid var(--line); }
.workflow-step:last-child { border-bottom: 0; }
.step-number { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #bac8d4; border-radius: 50%; color: var(--muted); font-size: 13px; font-weight: 800; }
.is-ready .step-number { background: var(--blue-soft); border-color: #aad1ec; color: var(--blue); }
.step-title { color: var(--ink); font-weight: 760; margin: 0 0 3px; }
.step-copy > p:not(.step-title) { color: var(--muted); margin: 0; max-width: 640px; }
.status-text { font-weight: 650; }
.status-text[data-state="error"] { color: var(--red); }
.status-text[data-state="working"] { color: var(--amber); }
.status-text[data-state="ready"] { color: var(--green); }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 25px 31px 31px; background: #fbfcfd; border-top: 1px solid var(--line); }
.media-card { overflow: hidden; border: 1px solid var(--line); background: white; border-radius: 13px; }
.media-heading { align-items: center; color: var(--muted); display: flex; font-size: 11px; font-weight: 800; justify-content: space-between; letter-spacing: .1em; padding: 13px 14px; }
.file-tag { background: #f0f4f7; border-radius: 5px; color: #607083; letter-spacing: 0; padding: 2px 6px; text-transform: none; }
.media-card img, .media-card video { background: #e9edf1; display: block; height: 286px; object-fit: contain; width: 100%; }
.media-card p { color: var(--muted); font-size: 13px; margin: 0; padding: 12px 14px 14px; }
.jobs-section { border-top: 1px solid var(--line); padding: 29px 31px 34px; }
.section-heading { align-items: end; display: flex; gap: 18px; justify-content: space-between; }
.section-heading .section-label { margin-bottom: 4px; }
.jobs-section > .muted { color: var(--muted); margin: 8px 0 18px; }
.jobs-list { display: grid; gap: 9px; }
.job-row { align-items: center; background: #f8fafb; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; padding: 13px 14px; }
.job-title { font-size: 14px; font-weight: 730; margin: 0; }
.job-meta { color: var(--muted); font-size: 12px; margin: 2px 0 0; overflow-wrap: anywhere; }
.job-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.status-pill { border-radius: 999px; font-size: 12px; font-weight: 760; padding: 4px 8px; white-space: normal; overflow-wrap: anywhere; }
.status-pill[data-status="completed"], .status-pill[data-status="succeeded"] { background: #e5f5ec; color: #10613f; }
.status-pill[data-status="queued"], .status-pill[data-status="running"] { background: #fff3d9; color: #815607; }
.status-pill[data-status="failed"] { background: #fbe9e9; color: #9b3232; }
.download-link { font-size: 13px; font-weight: 750; white-space: nowrap; }
.empty-state { border: 1px dashed #c8d3dd; border-radius: 10px; color: var(--muted); margin: 0; padding: 17px; text-align: center; }
footer { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 13px; gap: 14px; justify-content: space-between; margin: 0 auto; max-width: 1100px; padding: 22px 28px 30px; }
@media (max-width: 500px) {
  .site-header { padding: 17px 18px; }
  .demo-chip { font-size: 11px; padding: 4px 8px; }
  main { padding: 18px 14px 44px; }
  .hero { margin: 20px 4px 28px; }
  .lead { font-size: 16px; }
  .workspace { border-radius: 16px; }
  .credit-card { align-items: flex-start; flex-direction: column; padding: 23px 20px; }
  .credit-card .button { width: 100%; }
  .checkout-note, .workflow, .jobs-section { padding-left: 20px; padding-right: 20px; }
  .media-grid { grid-template-columns: 1fr; padding: 20px; }
  .media-card img, .media-card video { height: 250px; }
  .section-heading { align-items: flex-start; }
  .job-row { align-items: flex-start; grid-template-columns: 1fr; }
  .job-actions { justify-content: space-between; width: 100%; }
  footer { align-items: flex-start; flex-direction: column; padding: 20px 18px 28px; }
}
@media (max-width: 360px) {
  h1 { font-size: 31px; }
  .brand { font-size: 18px; }
  .brand small { display: none; }
  .media-card img, .media-card video { height: 220px; }
  .checkout-note { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
