/* Prometheus site. Palette from the studio (packages/app-web/src/style.css):
   the mark's red for the mark only, one navy accent, neutral surfaces. */
:root {
  --bg: #ffffff;
  --band: #f3f4f6;
  --line: #e3e6ea;
  --text: #1c2431;
  --muted: #66707e;
  --brand: #304362;
  --accent: #35538a;
  --accent-soft: #e9eef6;
  --mark: #c00000;
  --radius: 10px;
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, 0.16);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
section { padding: 96px 0; }
.band { background: var(--band); }

h1, h2, h3 { color: var(--brand); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.015em; max-width: 820px; }
h3 { font-size: 19px; margin-top: 22px; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 700; color: var(--mark); margin-bottom: 12px; }
.lead { font-size: 19px; color: #3a4556; max-width: 600px; }
.sub { color: var(--muted); max-width: 760px; }
.note, .small { color: var(--muted); font-size: 15px; }
kbd { font: 13px ui-monospace, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 1px 5px; background: #fff; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 64px; }
.links { display: flex; gap: 20px; flex: 1; }
.links a { color: var(--text); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 10px; }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 8px; border: 1px solid var(--brand); font-size: 16px; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--brand); border-color: #c9cfd7; }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* hero */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--band) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: 12px; margin: 28px 0 36px; flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-facts b { display: block; color: var(--brand); font-size: 22px; }
.hero-facts span { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }
.hero-shot { margin-right: -140px; }

/* screenshots */
.shot { margin: 0; }
.shot img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.shot figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* layouts */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.band .card { box-shadow: 0 1px 2px rgba(16,24,40,0.05); }
.card h3 { margin-top: 0; }
.card p { color: #3a4556; margin: 0; }
.callout { margin-top: 32px; font-size: 20px; color: var(--brand); border-left: 3px solid var(--mark); padding-left: 18px; max-width: 820px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; margin-top: 24px; }
.feature.reverse { grid-template-columns: 1.25fr 1fr; align-items: center; }
.feature h3:first-child { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

/* replace / migration */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.swap { border-top: 3px solid var(--accent); }
.swap .from { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.soon { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; vertical-align: middle; margin-left: 6px; }
.migrate { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 28px; padding: 26px 28px; background: var(--accent-soft); border-radius: var(--radius); }
.migrate h3 { margin-top: 0; }
.migrate p { margin: 0; color: #3a4556; max-width: 760px; }
.migrate .btn { flex-shrink: 0; }
.migrate .soon { background: #fff; }

/* the week */
.week { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: d; }
.week li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--accent); }
.week h3 { margin-top: 6px; }
.week p { font-size: 15px; color: #3a4556; margin: 0; }
.day { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* solver stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: var(--band); border-radius: var(--radius); padding: 24px; }
.stat b { display: block; font-size: 32px; color: var(--brand); letter-spacing: -0.01em; margin-bottom: 6px; }
.stat span { color: #3a4556; font-size: 15px; line-height: 1.45; display: block; }
.stats.four { grid-template-columns: repeat(4, 1fr); }
.stats-head { margin-top: 48px; margin-bottom: 16px; }
.fine { font-size: 13px; margin-top: 18px; }
sup { line-height: 0; }

.ticks { padding: 0; list-style: none; margin: 8px 0 0; }
.ticks li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--band); padding: 28px; border-radius: var(--radius); }
.form label { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #c9cfd7; border-radius: 6px; background: #fff; color: var(--text); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.full { grid-column: 1 / -1; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; color: var(--brand); }
.form-status.bad { color: #b42318; }

footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; flex: 1; }
.foot nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.foot .small { width: 100%; margin: 0; }

@media (max-width: 1000px) {
  .hero-grid, .feature, .feature.reverse, .contact { grid-template-columns: 1fr; }
  .hero-shot { margin-right: 0; }
  .week { grid-template-columns: 1fr 1fr; }
  .cols3, .gallery, .cols2 { grid-template-columns: 1fr; }
  .stats.four { grid-template-columns: 1fr 1fr; }
  .migrate { flex-direction: column; align-items: flex-start; }
  .links { display: none; }
  .nav-row { justify-content: space-between; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .week, .stats, .stats.four, .hero-facts, .form { grid-template-columns: 1fr; }
}

/* parallel hardware note, under the solver stats */
.gpu { margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: linear-gradient(90deg, var(--accent-soft), #fff); border: 1px solid var(--line); }
.gpu h3 { margin-top: 0; }
.gpu p { margin: 0; color: #3a4556; }
.band .form { background: #fff; border: 1px solid var(--line); }
.secure { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 24px 28px; }
.secure h3 { margin-top: 0; }
.secure .ticks li:last-child { border-bottom: 0; }

/* the problem: dark, fractured, stale. It should read as the world we replace, not as our product */
.problem { background: #1b2230; color: #c4cad4; position: relative; overflow: hidden; }
.problem::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px); pointer-events: none; }
.problem .wrap { position: relative; }
.problem h2 { color: #fff; }
.problem .eyebrow { color: #ff6b6b; }
.silos { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr; align-items: stretch; margin-top: 36px; }
.silo { background: #262f40; border: 1px dashed #4a5568; border-radius: var(--radius); padding: 24px; filter: saturate(0.6); }
.silo h3 { color: #e6e9ee; margin-top: 10px; }
.silo p { color: #aab2bf; font-size: 15px; margin-bottom: 18px; }
.silo-tool { display: inline-block; font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: #aab2bf; background: #1b2230; border: 1px solid #4a5568; border-radius: 4px; padding: 3px 8px; }
.symptom { font-size: 13px; font-weight: 600; color: #ff8a8a; border-top: 1px solid #3a4456; padding-top: 12px; }
.symptom::before { content: "\26A0\FE0E  "; }
.gap { display: flex; align-items: center; justify-content: center; position: relative; }
.gap::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #4a5568; }
.gap span { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #c00000; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; line-height: 1; }
.problem .callout { color: #fff; border-left-color: #ff6b6b; }

/* the what-if flaw: a featured card with a small illustration */
.card.wide { grid-column: 1 / -1; }
.card.flaw { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; border-left: 3px solid var(--mark); }
.mini { margin: 0; }
.mini-row { display: grid; grid-template-columns: 150px 1fr 80px; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.mini-bar { height: 18px; border-radius: 3px; background: var(--brand); }
.mini-row b { color: var(--brand); font-variant-numeric: tabular-nums; }
.mini-row.bad .mini-bar { background: repeating-linear-gradient(135deg, var(--mark) 0 6px, #e05a5a 6px 12px); }
.mini-row.bad b { color: var(--mark); }
.mini figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 1000px) {
  .silos { grid-template-columns: 1fr; gap: 0; }
  .gap { height: 44px; }
  .gap::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed #4a5568; }
  .card.flaw { grid-template-columns: 1fr; }
}
.nav-cta .btn { white-space: nowrap; }

/* solver: theirs vs ours */
.lead-in { font-weight: 600; color: var(--brand); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.vs-col { padding: 26px 30px; }
.vs-col h3 { margin-top: 0; }
.vs-col ul { list-style: none; padding: 0; margin: 0; }
.vs-col li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; }
.theirs { background: #f4f4f5; color: var(--muted); }
.theirs h3 { color: var(--muted); }
.theirs li::before { content: "\2715"; position: absolute; left: 2px; color: #9aa1ab; font-weight: 700; }
.ours { background: var(--brand); color: #e9eef6; }
.ours h3 { color: #fff; }
.ours li::before { content: "\2713"; position: absolute; left: 2px; color: #7fd1a4; font-weight: 700; }
@media (max-width: 700px) { .versus { grid-template-columns: 1fr; } }
.stats.words b { font-size: 22px; }

/* v10 re-order: spacing for blocks that now follow other blocks in the same section */
.feature-gap { margin-top: 56px; }
.flaw-solo { margin-top: 32px; }
.stats.stack { grid-template-columns: 1fr; }
.form select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #c9cfd7; border-radius: 6px; background: #fff; color: var(--text); }
.hero h1 { font-size: clamp(32px, 3.9vw, 48px); }
.hero-grid { grid-template-columns: 1.1fr 1fr; }
.card h3 .soon { margin-left: 4px; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .mini-row { grid-template-columns: 96px 1fr 72px; } }
.hero-facts b { font-size: 21px; white-space: nowrap; }
.about h3 { margin-top: 0; }
.about p { font-size: 16px; color: #3a4556; }
