/* Clippology: precise spec-sheet look. Teal, slate, grid, mono labels. */
:root {
  --brand: #0f766e;
  --brand-rgb: 15, 118, 110;
  --brand-2: #14b8a6;
  --ink: #0f172a;
  --muted: #526073;
  --surface: #ffffff;
  --line: #dbe3ea;
  --amber: #f59e0b;
  --slate: #0b1220;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: none;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--ink);
  background-color: #f6f8fa;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
.text-muted { color: var(--muted) !important; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.cl-mono, .cl-label { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.cl-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }

.cl-utility { background: var(--slate); color: rgba(255, 255, 255, 0.7); font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; padding: 0.45rem 0; }
.cl-utility a { color: #fff; text-decoration: none; }
.cl-header { background: #fff; border-bottom: 1px solid var(--line); }
.cl-header .nav-link { color: var(--ink); font-weight: 500; }
.cl-header .nav-link:hover { color: var(--brand); }
.btn { border-radius: var(--radius-sm); padding: 0.55rem 1.15rem; }
.btn-lg { padding: 0.8rem 1.5rem; }
.btn-sm { padding: 0.25rem 0.7rem; }

.cl-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; }
.cl-hero h1 mark { background: none; padding: 0; color: var(--brand); }
.cl-hero-art { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

.cl-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; }
.cl-panel.dark { background: var(--slate); color: #fff; border-color: var(--slate); }
.cl-panel.dark .text-muted { color: rgba(255, 255, 255, 0.65) !important; }
.cl-panel.dark .cl-label { color: var(--brand-2); }

.cl-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cl-metrics > div { padding: 1rem 1.15rem; }
.cl-metrics > div + div { border-left: 1px solid var(--line); }
.cl-metrics strong { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 1.35rem; color: var(--ink); }
.cl-metrics span { font-size: 0.82rem; color: var(--muted); }

.cl-section { padding: 4rem 0 0.5rem; }
.cl-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.9rem; margin-bottom: 2rem; }
.cl-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }

.cl-ico { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--brand); background: rgba(var(--brand-rgb), 0.06); }
.cl-ico svg { width: 22px; height: 22px; }
.cl-panel.dark .cl-ico { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: var(--brand-2); }

.cl-spec { display: grid; grid-template-columns: 120px 1fr; gap: 0.35rem 1rem; font-size: 0.9rem; margin: 1rem 0 0; }
.cl-spec dt { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 0.15rem; }
.cl-spec dd { margin: 0; }

.cl-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cl-stepper > div { padding: 1.75rem; position: relative; }
.cl-stepper > div + div { border-left: 1px solid var(--line); }
.cl-stepper .cl-step-no { font-family: 'IBM Plex Mono', monospace; font-size: 2.2rem; color: var(--brand); line-height: 1; }

.cl-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.cl-table th, .cl-table td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cl-table thead th { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; border-bottom: 2px solid var(--ink); }
.cl-table tbody th { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
.cl-table .cl-price { font-family: 'IBM Plex Mono', monospace; font-size: 1.6rem; color: var(--ink); }
.cl-table .is-featured { background: rgba(var(--brand-rgb), 0.05); }

.cl-toc { position: sticky; top: 1.5rem; }
.cl-toc a { display: block; padding: 0.35rem 0; color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.cl-toc a:hover { color: var(--brand); }
.cl-terms section { padding: 1.4rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.cl-terms h2 { font-size: 1.2rem; }

.cl-footer { background: var(--slate); color: rgba(255, 255, 255, 0.72); margin-top: 4rem; }
.cl-footer a { color: #fff; text-decoration: none; }
.cl-footer a:hover { color: var(--brand-2); }
.cl-footer .cl-label { color: var(--brand-2); }
.cl-footer-text { font-size: 0.9rem; line-height: 1.6; }
.cl-footer-links li + li { margin-top: 0.45rem; }
.cl-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; }
.cl-pay { background: #fff; border-radius: var(--radius-sm); padding: 0.4rem; max-width: min(100%, 240px); }

@media (max-width: 767px) {
  .cl-metrics, .cl-stepper { grid-template-columns: 1fr; }
  .cl-metrics > div + div, .cl-stepper > div + div { border-left: none; border-top: 1px solid var(--line); }
  .cl-spec { grid-template-columns: 1fr; }
}
