/* Rock Power Ventures site (REQ-001, brand identity sections 6 and 7). Dark, stone and fire: Night background,
   Snow text, Mist borders, Power amber as the one accent. System fonts (plan decision D7). No external files. */
:root {
  --night: #0B1220; --basalt: #1F2937; --ink: #111827; --amber: #F59E0B; --ember: #B45309;
  --snow: #F9FAFB; --mist: #E5E7EB; --stone: #9CA3AF; --panel: #111a2c; --line: #263247;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--snow); font: 400 17px/1.6 var(--font); }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #fbbf24; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--night); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1120px; margin: 0 auto; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.logo img { display: block; height: 40px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.top nav a { color: var(--mist); text-decoration: none; font-weight: 600; font-size: 15px; padding: 4px 0;
  border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a.on { color: var(--snow); border-bottom-color: var(--amber); }

main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 48px; }
main > * { max-width: 760px; }
main > .ventures, main > .table-wrap { max-width: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; margin: 12px 0 16px; }
h2 { font-size: 24px; font-weight: 800; margin: 44px 0 12px; }
h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--stone);
  margin: 28px 0 12px; }
p, li { color: #d8dde6; }
strong { color: var(--snow); }
em { color: var(--stone); }
code { background: var(--basalt); padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }

/* Home: tagline as hero, accent bar under it. */
.p-index main > h1 { font-size: clamp(34px, 7vw, 64px); max-width: 900px; }
.p-index main > h1 + p { font-size: 19px; max-width: 720px; }
.p-index main > h1::after { content: ""; display: block; width: 72px; height: 5px; background: var(--amber);
  border-radius: 3px; margin-top: 18px; }

/* Three roles table becomes three columns. */
.table-wrap { overflow-x: auto; }
table { border-collapse: separate; border-spacing: 12px 0; width: calc(100% + 24px); margin: 0 -12px; table-layout: fixed; }
th { text-align: left; font-size: 20px; font-weight: 800; color: var(--amber); padding: 16px 16px 4px;
  background: var(--panel); border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; }
td { vertical-align: top; padding: 4px 16px 16px; background: var(--panel); border: 1px solid var(--line);
  border-top: 0; border-radius: 0 0 10px 10px; color: #d8dde6; }
.p-facts table, .p-facts th, .p-facts td { border-spacing: 0; width: 100%; margin: 0; table-layout: auto;
  border-radius: 0; font-size: 15px; color: var(--mist); }
.p-facts th { font-size: 13px; color: var(--stone); padding: 8px; border: 0; border-bottom: 1px solid var(--line); }
.p-facts td { padding: 8px; border: 0; border-bottom: 1px solid var(--line); word-break: break-word; }

/* Venture cards. */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--snow);
  transition: border-color .15s, transform .15s; }
.card a:hover { border-color: var(--amber); transform: translateY(-2px); }
.cname { font-size: 20px; font-weight: 800; }
.cline { color: #d8dde6; flex: 1; }
.chost { color: var(--amber); font-size: 14px; font-weight: 600; }
.stage { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 2px 9px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--mist); }
.s-live, .s-paying-customers { color: var(--amber); border-color: rgba(245, 158, 11, .5); }

.foot { max-width: 1120px; margin: 0 auto; padding: 24px 20px 32px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--stone); }
.foot p { color: var(--stone); margin: 6px 0; }
.foot a { color: var(--mist); }
.build { font-size: 13px; }
.wm { color: #6b7280; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo img { height: 34px; }
  table, thead, tbody, tr, th, td { display: block; width: auto; margin: 0; }
  table { border-spacing: 0; }
  thead { display: none; }
  .p-index td { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
  .p-index td::before { display: block; font-weight: 800; color: var(--amber); font-size: 18px; }
  .p-index tr td:nth-child(1)::before { content: "Incubate"; }
  .p-index tr td:nth-child(2)::before { content: "Accelerate"; }
  .p-index tr td:nth-child(3)::before { content: "Train"; }
  .p-facts tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .p-facts td { border: 0; padding: 2px 0; }
}
