/* Clip Lane components. Built only from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cl-night);
  color: var(--cl-ink);
  font-family: var(--cl-font-body);
  font-size: var(--cl-text-body);
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.cl-container { width: 100%; max-width: var(--cl-container); margin: 0 auto; padding: 0 var(--cl-space-5); }
.cl-narrow { width: 100%; max-width: var(--cl-narrow); margin: 0 auto; padding: 0 var(--cl-space-5); }
.cl-center { text-align: center; }

/* ---------- Type ---------- */
.cl-hero-title, .cl-h2, .cl-h3, .cl-display {
  font-family: var(--cl-font-display);
  margin: 0;
  letter-spacing: -0.02em;
}
.cl-hero-title {
  font-size: var(--cl-text-hero);
  font-weight: 800;
  line-height: 0.98;
  color: var(--cl-tang);
  text-wrap: balance;
}
.cl-h2 { font-size: var(--cl-text-h2); font-weight: 800; line-height: 1.04; text-wrap: balance; }
.cl-h2--tang { color: var(--cl-tang); }
.cl-h3 { font-size: var(--cl-text-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.cl-subhead {
  font-weight: 800;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.3;
  margin: var(--cl-space-4) 0 0;
}
.cl-lead { font-size: var(--cl-text-lead); color: var(--cl-soft); max-width: 620px; margin: var(--cl-space-4) 0 0; }
.cl-center .cl-lead, .cl-lead.cl-center { margin-left: auto; margin-right: auto; }
.cl-eyebrow {
  font-family: var(--cl-font-mono);
  font-size: var(--cl-text-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cl-teal);
  margin: 0 0 var(--cl-space-4);
}
.cl-mono { font-family: var(--cl-font-mono); font-size: 12px; }

/* ---------- Buttons ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--cl-space-2);
  font-family: var(--cl-font-body); font-weight: 800; font-size: 15px;
  padding: 13px 24px; border-radius: var(--cl-radius-sm);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: transform 0.15s ease, background 0.15s ease;
}
.cl-btn:hover { transform: translateY(-1px); }
.cl-btn--primary { background: var(--cl-tang); color: var(--cl-ink); box-shadow: var(--cl-shadow-tang); }
.cl-btn--primary:hover { background: var(--cl-tang-hot); }
.cl-btn--light { background: var(--cl-ink); color: var(--cl-tang); }
.cl-btn--outline { border-color: var(--cl-tang); color: var(--cl-tang); background: transparent; }
.cl-btn--ghost { border-color: var(--cl-line-soft); color: var(--cl-ink); background: rgba(255, 255, 255, 0.06); }
.cl-btn--sm { padding: 8px 16px; font-size: 14px; }
.cl-btn--block { width: 100%; }
.cl-btn-row { display: flex; flex-wrap: wrap; gap: var(--cl-space-3); margin-top: var(--cl-space-6); }
.cl-center .cl-btn-row { justify-content: center; }

/* ---------- Nav ---------- */
.cl-nav { background: var(--cl-night); border-bottom: 1px solid var(--cl-line); position: relative; z-index: 5; }
.cl-nav__inner { display: flex; align-items: center; gap: var(--cl-space-6); height: 64px; }
.cl-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--cl-font-display); font-weight: 800; font-size: 17px; text-decoration: none; color: var(--cl-ink); }
.cl-logo__mark { display: grid; grid-template-columns: repeat(3, 6px); gap: 2px; }
.cl-logo__mark i { width: 6px; height: 6px; border-radius: 1px; background: var(--cl-ink); }
.cl-logo__mark i:nth-child(2), .cl-logo__mark i:nth-child(6) { background: var(--cl-tang); }
.cl-logo__mark i:nth-child(8) { background: var(--cl-teal); }
.cl-nav__links { display: flex; gap: var(--cl-space-5); font-size: 14px; color: var(--cl-soft); }
.cl-nav__links a { text-decoration: none; }
.cl-nav__links a:hover { color: var(--cl-ink); }
.cl-nav__actions { margin-left: auto; display: flex; align-items: center; gap: var(--cl-space-3); }
.cl-nav__login { font-size: 14px; color: var(--cl-soft); text-decoration: none; }
@media (max-width: 860px) { .cl-nav__links, .cl-nav__login { display: none; } }

/* ---------- Surfaces ---------- */
.cl-section { padding: var(--cl-space-9) 0; position: relative; }
.cl-section--tight { padding: var(--cl-space-8) 0; }
.cl-wash { background: var(--cl-wash); }
.cl-plum { background: var(--cl-plum); }
.cl-sky { background: var(--cl-sky); color: var(--cl-dark); }
.cl-cream { background: var(--cl-cream); color: var(--cl-dark); }
.cl-cream .cl-lead, .cl-sky .cl-lead { color: #4A3F66; }
.cl-cream .cl-eyebrow, .cl-sky .cl-eyebrow { color: var(--cl-violet); }

/* The curved section edge: put an .cl-curve svg at the top or bottom of a section */
.cl-curve { display: block; width: 100%; height: clamp(48px, 8vw, 120px); }
.cl-curve path { fill: currentColor; }

/* ---------- Hero ---------- */
.cl-hero { background: var(--cl-wash); padding: var(--cl-space-8) 0 0; text-align: center; overflow: hidden; position: relative; }
.cl-hero::before { content: ""; position: absolute; inset: 0; background: var(--cl-glow); pointer-events: none; }
.cl-hero > * { position: relative; }
.cl-hero .cl-lead { color: var(--cl-ink); opacity: 0.86; margin-left: auto; margin-right: auto; }
.cl-hero .cl-btn-row { justify-content: center; }

/* ---------- The studio window and clip lanes (signature) ---------- */
.cl-studio {
  background: var(--cl-panel);
  border-radius: var(--cl-radius) var(--cl-radius) 0 0;
  box-shadow: var(--cl-shadow-lg);
  overflow: hidden;
  text-align: left;
  font-size: 12px;
  color: var(--cl-soft);
}
.cl-studio--round { border-radius: var(--cl-radius); }
.cl-studio__bar { display: flex; align-items: center; gap: var(--cl-space-3); padding: 10px 14px; background: var(--cl-panel-2); border-bottom: 1px solid rgba(0, 0, 0, 0.35); }
.cl-studio__dots { display: flex; gap: 6px; }
.cl-studio__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--cl-line); }
.cl-studio__dots i:first-child { background: var(--cl-tang); }
.cl-studio__time { margin-left: auto; font-family: var(--cl-font-mono); font-size: 11px; color: var(--cl-clip-lemon); background: #0E0A1C; padding: 3px 10px; border-radius: 4px; white-space: nowrap; }
.cl-studio__body { display: grid; grid-template-columns: 150px 1fr; }
.cl-studio__side { border-right: 1px solid rgba(0, 0, 0, 0.35); }
.cl-track-name { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); white-space: nowrap; overflow: hidden; }
.cl-track-name b { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.cl-ruler { height: 24px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-family: var(--cl-font-mono); font-size: 10px; color: var(--cl-dim); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12.5%); padding-left: 4px; display: flex; }
.cl-ruler span { flex: 1; padding-top: 4px; }
.cl-lanes { position: relative; overflow: hidden; }
.cl-lane { position: relative; height: 38px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 12.5%); }
.cl-clip {
  position: absolute; top: 5px; bottom: 5px;
  border-radius: var(--cl-radius-clip);
  padding: 2px 7px;
  font-size: 10px; font-weight: 700; color: var(--cl-dark);
  white-space: nowrap; overflow: hidden;
  background: var(--cl-clip-sky);
}
.cl-clip::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 5px; height: 8px; background: repeating-linear-gradient(90deg, rgba(22, 14, 42, 0.35) 0 2px, transparent 2px 5px); border-radius: 2px; }
.cl-clip--lemon { background: var(--cl-clip-lemon); }
.cl-clip--rose { background: var(--cl-clip-rose); }
.cl-clip--lime { background: var(--cl-clip-lime); }
.cl-clip--tang { background: var(--cl-clip-tang); }
.cl-clip--teal { background: var(--cl-teal); }
.cl-playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--cl-tang); box-shadow: 0 0 12px var(--cl-tang); z-index: 2; }
.cl-playhead::before { content: ""; position: absolute; top: -1px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--cl-tang); }
.cl-studio__foot { display: flex; gap: var(--cl-space-3); padding: 12px 14px; background: var(--cl-panel-2); border-top: 1px solid rgba(0, 0, 0, 0.35); overflow: hidden; }
.cl-knob { flex: none; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--cl-tang) 0 var(--v, 60%), #0E0A1C var(--v, 60%) 100%); position: relative; }
.cl-knob::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--cl-panel); }
.cl-meter { flex: none; width: 6px; height: 34px; border-radius: 3px; background: linear-gradient(to top, var(--cl-clip-lime) 0 60%, var(--cl-clip-lemon) 60% 80%, var(--cl-tang) 80%); opacity: 0.85; }
@media (max-width: 640px) {
  .cl-studio__body { grid-template-columns: 74px 1fr; }
  .cl-track-name { padding: 0 8px; font-size: 10px; }
}

/* ---------- Chips and badges ---------- */
.cl-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--cl-font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; background: var(--cl-violet); color: var(--cl-ink); white-space: nowrap; }
.cl-chip--tang { background: var(--cl-tang); }
.cl-chip--teal { background: var(--cl-teal); color: var(--cl-dark); }
.cl-chip--line { background: transparent; border: 1px solid var(--cl-line); color: var(--cl-soft); }
.cl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cl-clip-lime); display: inline-block; }

/* ---------- Cards ---------- */
.cl-grid { display: grid; gap: var(--cl-space-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cl-card { background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: var(--cl-radius); padding: var(--cl-space-6); position: relative; overflow: hidden; }
.cl-card--light { background: var(--cl-ink); color: var(--cl-dark); border-color: transparent; box-shadow: var(--cl-shadow); }
.cl-card--light .cl-card__text { color: #4A3F66; }
.cl-card__swatch { display: flex; gap: 3px; margin-bottom: var(--cl-space-6); }
.cl-card__swatch i { height: 22px; border-radius: 4px; }
.cl-card__title { font-weight: 800; font-size: 19px; margin: 0 0 var(--cl-space-2); line-height: 1.3; }
.cl-card__text { color: var(--cl-soft); margin: 0; font-size: 15px; }

/* Offer card: a light card with a tab chip on its top edge */
.cl-offer { background: var(--cl-ink); color: var(--cl-dark); border-radius: 0; box-shadow: var(--cl-shadow); overflow: hidden; }
.cl-offer__art { height: 160px; background: var(--cl-sky); position: relative; overflow: hidden; }
.cl-offer__art .cl-chip { position: absolute; top: 0; right: 0; border-radius: 0; }
.cl-offer__body { padding: var(--cl-space-5); }
.cl-offer__kicker { font-family: var(--cl-font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cl-teal); margin: 0 0 var(--cl-space-2); }
.cl-offer__title { font-weight: 800; font-size: 18px; margin: 0 0 var(--cl-space-2); line-height: 1.3; }
.cl-offer__text { font-size: 14px; color: #4A3F66; margin: 0; }

/* ---------- Stats and quote ---------- */
.cl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--cl-space-6); }
.cl-stat__num { font-family: var(--cl-font-display); font-weight: 800; font-size: clamp(38px, 5vw, 60px); line-height: 1; color: var(--cl-tang); }
.cl-stat__label { color: var(--cl-soft); margin-top: var(--cl-space-2); font-size: 15px; }
.cl-quote { font-family: var(--cl-font-display); font-weight: 600; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.cl-byline { display: flex; align-items: center; gap: var(--cl-space-3); margin-top: var(--cl-space-5); font-size: 14px; }
.cl-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cl-wash); display: grid; place-items: center; font-weight: 800; color: var(--cl-ink); flex: none; }

/* ---------- Pricing ---------- */
.cl-toggle { display: inline-flex; padding: 4px; background: rgba(0, 0, 0, 0.25); border-radius: var(--cl-radius-sm); gap: 4px; margin-top: var(--cl-space-6); }
.cl-toggle button { font: inherit; font-weight: 700; font-size: 14px; color: var(--cl-ink); background: transparent; border: 0; padding: 8px 18px; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.cl-toggle button[aria-pressed="true"] { background: var(--cl-ink); color: var(--cl-dark); }
.cl-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--cl-space-5); align-items: stretch; }
.cl-plan { background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: var(--cl-radius); padding: var(--cl-space-6); display: flex; flex-direction: column; position: relative; text-align: left; }
.cl-plan--featured { background: var(--cl-ink); color: var(--cl-dark); border-color: transparent; box-shadow: var(--cl-shadow-lg); }
.cl-plan--featured .cl-plan__desc, .cl-plan--featured .cl-plan__per, .cl-plan--featured .cl-plan__list li { color: #4A3F66; }
.cl-plan__lanes { display: flex; gap: 3px; margin-bottom: var(--cl-space-5); }
.cl-plan__lanes i { height: 10px; border-radius: 2px; }
.cl-plan__name { font-family: var(--cl-font-display); font-weight: 800; font-size: 24px; margin: 0; }
.cl-plan__desc { color: var(--cl-soft); font-size: 14px; margin: var(--cl-space-2) 0 var(--cl-space-5); }
.cl-plan__price { font-family: var(--cl-font-display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--cl-tang); }
.cl-plan__per { color: var(--cl-soft); font-size: 13px; margin: var(--cl-space-2) 0 var(--cl-space-5); }
.cl-plan__list { list-style: none; padding: 0; margin: 0 0 var(--cl-space-6); display: grid; gap: var(--cl-space-2); font-size: 15px; }
.cl-plan__list li { color: var(--cl-soft); padding-left: 22px; position: relative; }
.cl-plan__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 8px; border-radius: 2px; background: var(--cl-teal); }
.cl-plan .cl-btn { margin-top: auto; }
.cl-plan .cl-chip { position: absolute; top: -1px; right: var(--cl-space-5); border-radius: 0 0 3px 3px; }

.cl-table-wrap { overflow-x: auto; border-radius: var(--cl-radius); border: 1px solid var(--cl-line); }
.cl-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.cl-table th, .cl-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--cl-line); }
.cl-table thead th { background: var(--cl-plum); font-family: var(--cl-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cl-soft); font-weight: 500; }
.cl-table tbody tr:last-child td { border-bottom: 0; }
.cl-yes { color: var(--cl-teal); font-weight: 800; }
.cl-no { color: var(--cl-dim); }

.cl-faq { border-top: 1px solid var(--cl-line); }
.cl-faq details { border-bottom: 1px solid var(--cl-line); padding: var(--cl-space-5) 0; }
.cl-faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: var(--cl-space-4); }
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary::after { content: "+"; font-family: var(--cl-font-display); color: var(--cl-tang); flex: none; transition: transform 0.2s ease; }
.cl-faq details[open] summary::after { transform: rotate(45deg); }
.cl-faq p { color: var(--cl-soft); margin: var(--cl-space-3) 0 0; }

/* ---------- Article ---------- */
.cl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--cl-soft); font-size: 14px; }
.cl-meta span + span::before { content: "/"; margin-right: 14px; color: var(--cl-dim); }
.cl-author { display: flex; align-items: center; gap: var(--cl-space-3); margin-top: var(--cl-space-6); }
.cl-author__name { font-weight: 800; }
.cl-author--card { background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: var(--cl-radius); padding: var(--cl-space-5); margin-top: var(--cl-space-8); align-items: flex-start; }
.cl-author--card p { margin: 4px 0 0; color: var(--cl-soft); font-size: 15px; }
.cl-prose { font-size: 18px; line-height: 1.75; color: #DDD6F2; }
.cl-prose h2 { font-family: var(--cl-font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; color: var(--cl-ink); margin: var(--cl-space-8) 0 var(--cl-space-4); letter-spacing: -0.02em; }
.cl-prose h3 { font-weight: 800; font-size: 20px; color: var(--cl-ink); margin: var(--cl-space-6) 0 var(--cl-space-2); }
.cl-prose a { color: var(--cl-tang); text-underline-offset: 3px; }
.cl-prose ul { padding-left: 0; list-style: none; }
.cl-prose li { padding-left: 26px; position: relative; margin: 8px 0; }
.cl-prose li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 7px; border-radius: 2px; background: var(--cl-tang); }
.cl-prose blockquote { margin: var(--cl-space-7) 0; padding: 0 0 0 var(--cl-space-5); border-left: 4px solid var(--cl-teal); font-family: var(--cl-font-display); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--cl-ink); }
.cl-prose code { font-family: var(--cl-font-mono); font-size: 0.8em; background: var(--cl-plum); padding: 2px 6px; border-radius: 4px; color: var(--cl-clip-lemon); }
.cl-prose pre { background: #0E0A1C; border: 1px solid var(--cl-line); border-radius: var(--cl-radius); padding: var(--cl-space-5); overflow-x: auto; font-size: 14px; line-height: 1.7; }
.cl-prose pre code { background: none; padding: 0; color: var(--cl-ink); }
.cl-prose figure { margin: var(--cl-space-7) 0; }
.cl-prose figcaption { font-size: 14px; color: var(--cl-dim); margin-top: var(--cl-space-3); font-family: var(--cl-font-mono); }
.cl-callout { background: var(--cl-wash-soft); border: 1px solid var(--cl-line); border-radius: var(--cl-radius); padding: var(--cl-space-5); margin: var(--cl-space-6) 0; font-size: 16px; }
.cl-callout strong { color: var(--cl-tang); }

.cl-post { background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: var(--cl-radius); overflow: hidden; text-decoration: none; display: block; }
.cl-post__thumb { height: 140px; background: var(--cl-wash); position: relative; overflow: hidden; }
.cl-post__body { padding: var(--cl-space-5); }
.cl-post__title { font-weight: 800; font-size: 18px; margin: 0 0 var(--cl-space-2); line-height: 1.3; }
.cl-post__text { color: var(--cl-soft); font-size: 14px; margin: 0; }

/* ---------- Forms ---------- */
.cl-form { display: grid; gap: var(--cl-space-5); }
.cl-field { display: grid; gap: var(--cl-space-2); }
.cl-label { font-weight: 700; font-size: 14px; }
.cl-input, .cl-select {
  width: 100%; font: inherit; font-size: 16px; color: var(--cl-ink);
  background: #0E0A1C; border: 2px solid var(--cl-line); border-radius: var(--cl-radius-sm);
  padding: 12px 14px; outline: none;
}
.cl-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cl-soft) 50%), linear-gradient(-45deg, transparent 50%, var(--cl-soft) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.cl-input:focus, .cl-select:focus { border-color: var(--cl-teal); box-shadow: 0 0 0 4px rgba(20, 185, 153, 0.2); }
.cl-input-wrap { position: relative; }
.cl-input-wrap .cl-input { padding-right: 70px; }
.cl-input-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 13px; font-weight: 700; color: var(--cl-teal); background: none; border: 0; cursor: pointer; padding: 6px; }
.cl-help { font-size: 13px; color: var(--cl-dim); }
.cl-error { font-size: 13px; color: var(--cl-tang-hot); font-weight: 700; }
.cl-field--error .cl-input { border-color: var(--cl-tang); }
.cl-check { display: flex; gap: var(--cl-space-3); align-items: flex-start; font-size: 14px; color: var(--cl-soft); }
.cl-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cl-tang); flex: none; }
.cl-divider-text { display: flex; align-items: center; gap: var(--cl-space-3); color: var(--cl-dim); font-size: 13px; font-family: var(--cl-font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.cl-divider-text::before, .cl-divider-text::after { content: ""; flex: 1; height: 1px; background: var(--cl-line); }
.cl-btn--social { background: transparent; border: 2px solid var(--cl-line); color: var(--cl-ink); font-weight: 700; }
.cl-btn__letter { width: 22px; height: 22px; border-radius: 4px; background: var(--cl-ink); color: var(--cl-dark); display: grid; place-items: center; font-size: 12px; font-weight: 800; }

/* ---------- Footer ---------- */
.cl-footer { background: #0C0620; padding: var(--cl-space-8) 0 var(--cl-space-6); font-size: 14px; color: var(--cl-soft); }
.cl-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--cl-space-6); }
.cl-footer h4 { font-family: var(--cl-font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cl-ink); margin: 0 0 var(--cl-space-4); font-weight: 500; }
.cl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--cl-space-2); }
.cl-footer a { text-decoration: none; }
.cl-footer a:hover { color: var(--cl-ink); }
.cl-footer__bottom { border-top: 1px solid var(--cl-line); margin-top: var(--cl-space-7); padding-top: var(--cl-space-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--cl-space-3); color: var(--cl-dim); font-size: 13px; }
@media (max-width: 760px) { .cl-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion ---------- */
.cl-rise { animation: cl-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes cl-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cl-run { animation: cl-run 9s linear infinite; }
@keyframes cl-run { from { left: 8%; } to { left: 92%; } }
@media (prefers-reduced-motion: reduce) { .cl-rise, .cl-run { animation: none; } }

/* Curve colors: match the section the curve flows into */
.cl-curve--night { color: var(--cl-night); }
.cl-curve--plum { color: var(--cl-plum); }
.cl-curve--cream { color: var(--cl-cream); }
.cl-curve--sky { color: var(--cl-sky); }
.cl-curve--foot { color: #0C0620; }
.cl-flush { margin-bottom: -1px; }

/* Clip widths and positions for drawn lanes (percent of the lane) */
.cl-w10 { width: 10%; } .cl-w14 { width: 14%; } .cl-w18 { width: 18%; } .cl-w22 { width: 22%; } .cl-w26 { width: 26%; } .cl-w30 { width: 30%; } .cl-w36 { width: 36%; } .cl-w44 { width: 44%; }
.cl-x0 { left: 1%; } .cl-x8 { left: 8%; } .cl-x14 { left: 14%; } .cl-x20 { left: 20%; } .cl-x28 { left: 28%; } .cl-x34 { left: 34%; } .cl-x40 { left: 40%; } .cl-x48 { left: 48%; } .cl-x56 { left: 56%; } .cl-x62 { left: 62%; } .cl-x70 { left: 70%; } .cl-x78 { left: 78%; } .cl-x86 { left: 86%; }

/* Swatch fills for track markers, card swatches and plan lanes */
.cl-sw--lemon { background: var(--cl-clip-lemon); } .cl-sw--rose { background: var(--cl-clip-rose); } .cl-sw--sky { background: var(--cl-clip-sky); }
.cl-sw--lime { background: var(--cl-clip-lime); } .cl-sw--tang { background: var(--cl-tang); } .cl-sw--teal { background: var(--cl-teal); } .cl-sw--violet { background: var(--cl-violet); }

/* Studio window at phone width */
.cl-studio__bar .cl-mono, .cl-studio__foot .cl-mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 640px) {
  .cl-ruler span:nth-child(even) { visibility: hidden; }
  .cl-studio__foot .cl-knob:nth-child(n+3) { display: none; }
}
