/* CreatorOps Studio — shared stylesheet
   Pure CSS, no external assets, system fonts only. */

:root {
  --ink: #1a2230;
  --ink-soft: #3c4657;
  --muted: #5f6b7d;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-dark: #141a24;
  --accent: #1f5fa8;
  --accent-dark: #174a82;
  --accent-soft: #e8f0f9;
  --green: #1e7a4c;
  --green-soft: #e6f4ec;
  --amber: #8a5a00;
  --amber-soft: #fdf3dd;
  --red: #a83232;
  --red-soft: #fbeaea;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 2.4rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.6rem; margin: 2.2rem 0 0.8rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.4rem; }
p { margin: 0.5rem 0 0.9rem; }
ul { margin: 0.4rem 0 1rem; padding-left: 1.3rem; }
li { margin: 0.35rem 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 6px;
}
.main-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.main-nav a.active { color: var(--accent); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 64px 0 56px;
}
.hero h1 { color: #fff; font-size: 2.6rem; }
.hero p.lede { color: #c7d0dc; font-size: 1.15rem; max-width: 640px; }
.hero .tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fc3e8;
  margin-bottom: 10px;
}
.hero-light { background: var(--bg-soft); color: var(--ink); padding: 56px 0 48px; }
.hero-light h1 { color: var(--ink); }
.hero-light p.lede { color: var(--ink-soft); font-size: 1.15rem; max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-disabled,
.btn[disabled] {
  background: #e8ebef;
  color: #7a8494;
  cursor: not-allowed;
  border-color: #d5dae1;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.4rem 0 0.4rem; }

.placeholder-note {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--amber-soft);
  border: 1px solid #ead9a8;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0.9rem 0;
}
.placeholder-note strong { color: var(--amber); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
}
.card h3 { margin-top: 0; }
.card .price { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.card .price small { font-weight: 400; color: var(--muted); }
.card .tag-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 8px;
}
.section { padding: 40px 0; }
.section.alt { background: var(--bg-soft); }
.section-title { margin-top: 0; }

/* ---------- Pricing table ---------- */
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.price-table th, .price-table td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.price-table th { background: var(--bg-soft); font-size: 0.95rem; }
.price-table td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- Feature list ---------- */
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding-left: 26px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- Status / pill demo (PageGate) ---------- */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0.8rem 0; }
.pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.pill-neutral { background: #eef0f3; color: #4a5568; }
.pill-yellow { background: var(--amber-soft); color: var(--amber); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-red { background: var(--red-soft); color: var(--red); }

/* ---------- Heatmap demo (HourGrid) ---------- */
.heatmap { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.heatmap th, .heatmap td { border: 1px solid var(--line); padding: 10px 12px; text-align: center; }
.heatmap th { background: var(--bg-soft); }
.heatmap td:first-child, .heatmap th:first-child { text-align: left; }
.cell-low { background: #eef2f7; }
.cell-ok { background: var(--green-soft); }
.cell-over { background: var(--red-soft); font-weight: 700; color: var(--red); }

/* ---------- Legal pages ---------- */
.legal h1 { font-size: 2rem; }
.legal .meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.25rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 32px 0;
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 44px 0 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .price-table td:first-child { white-space: normal; }
  .heatmap { font-size: 0.85rem; }
  .heatmap th, .heatmap td { padding: 7px 8px; }
}
