/* CC Blackbox site. The app's own palette: blue black ground, cyan reads,
   pink edits, green completion. System fonts, no webfont round trip. */
:root {
  --bg-0: #081420;
  --bg-1: #0c1c2a;
  --bg-2: #142b3f;
  --border: #1f3950;
  --text-1: #e8f2f5;
  --text-2: #90aec6;
  --accent-a: #2cc7e6;
  --accent-b: #0ea5e9;
  --pink: #f472b6;
  --success: #34d399;
  --radius-pane: 14px;
  --radius-card: 10px;
  --radius-btn: 8px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; } /* anchors clear the sticky header */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-a); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--text-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent-b); color: #fff; padding: 8px 12px; border-radius: var(--radius-btn); }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  background: rgba(8, 20, 32, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 18px; color: var(--text-1); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-cc { color: var(--accent-a); }
.brand.small { font-size: 15px; margin-right: 10px; }
.top nav { display: flex; gap: 18px; margin-left: auto; }
.top nav a { color: var(--text-2); font-size: 14px; }
.top nav a:hover { color: var(--text-1); text-decoration: none; }
.top-cta { font-size: 14px; padding: 8px 14px; }
@media (max-width: 720px) { .top nav { display: none; } .top-cta { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--text-1); border-color: var(--border); background: rgba(20, 43, 63, 0.5); }
.btn-ghost:hover { border-color: var(--accent-a); }
.btn-ghost span { color: var(--text-2); font-weight: 500; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 50px; width: auto; }

/* Sections */
section { max-width: var(--max); margin: 0 auto; padding: 72px 24px; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--text-2); font-size: 17px; }
.eyebrow { color: var(--accent-a); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.fineprint { color: var(--text-2); font-size: 13px; margin-top: 14px; line-height: 1.5; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 64px; }
.hero-copy { container-type: inline-size; }
/* Sized to the column so "Your Claude Code cockpit." fills one line and never breaks mid-sentence. */
.hero h1 { font-size: clamp(28px, 8.3cqw, 48px); font-weight: 700; }
.lede { color: var(--text-2); font-size: 18px; margin-top: 18px; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media .loop {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-pane); border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(44, 199, 230, 0.06);
  background: var(--bg-1);
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 40px; } }

/* Film */
.film .player {
  border-radius: var(--radius-pane); overflow: hidden;
  border: 1px solid var(--border); background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.film video { width: 100%; aspect-ratio: 16 / 9; }

/* Features */
.feature {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 36px; align-items: start;
  padding: 36px 0;
}
.feature.reverse .feature-copy { order: 2; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: 16px; }
.feature figure { margin: 0; }
.feature .zoom {
  display: block; width: 100%; padding: 0; margin: 0; cursor: zoom-in;
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-1);
}
.feature .zoom:hover { border-color: var(--accent-a); }
.feature .zoom:focus-visible { outline: 2px solid var(--accent-a); outline-offset: 2px; }
.feature figcaption { color: var(--text-2); font-size: 12px; margin-top: 8px; text-align: right; }

/* Lightbox: the same still at full size (the source captures are 3200 wide) */
.lightbox {
  padding: 0; border: 1px solid var(--border); border-radius: var(--radius-card);
  background: var(--bg-1); max-width: min(96vw, 1600px); max-height: 92vh; overflow: hidden;
}
.lightbox::backdrop { background: rgba(4, 10, 18, 0.82); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: 100%; height: auto; max-height: 92vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(8, 20, 32, 0.85); color: var(--text-1);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent-a); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
}

/* iPhone */
.phone .phones { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.phone figure { margin: 0; width: min(300px, 44vw); text-align: center; }
.phone img { border-radius: 26px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.phone figcaption { color: var(--text-2); font-size: 14px; margin-top: 12px; }

/* Download */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  padding: 26px; border-radius: var(--radius-pane);
  border: 1px solid var(--border); background: var(--bg-1);
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.card h3 { font-size: 20px; }
.card p { color: var(--text-2); }
.card .fineprint { margin-top: 0; }

/* More from Power Your Process AI */
.more { padding-top: 0; }
.more .section-head { margin-bottom: 20px; }
.more .section-head h2 { font-size: 24px; }
.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; border-top: 1px solid var(--border); }
.apps li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.apps a { font-size: 17px; font-weight: 600; color: var(--text-1); }
.apps a:hover { color: var(--accent-a); text-decoration: none; }
.apps p { color: var(--text-2); font-size: 14px; margin-top: 4px; }

/* Footer */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 32px 24px 48px;
  position: relative;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  font-size: 14px;
}
.foot::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--border); } /* rule ends at the content edges, like the list rules above it */
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--text-2); }
.foot nav a:hover { color: var(--text-1); }

/* Privacy page */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: 30px; margin-bottom: 6px; }
.doc h2 { font-size: 18px; margin: 28px 0 8px; }
.doc p { margin: 8px 0; color: var(--text-1); }
.doc .updated { color: var(--text-2); font-size: 14px; }
.doc .back { display: inline-block; margin-bottom: 24px; color: var(--text-2); font-size: 14px; }
