/* ════════════════════════════════════════════════════════════════
   CoolCoding 2026 — Love the Idea® family look
   Off-white canvas, Apple-style big cards and sliders, flags, mono
   eyebrows. Forest green is kept as the brand accent (primary
   actions + dark panels); lime is the highlight on dark surfaces.
   Loaded after custom.css, so rules here win on equal specificity.
   See DECISION.md #1 / #2.
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg: #f5f4f0;
  --surface: #ffffff;
  --surface-2: #ecebe6;
  --ink: #0b0b0c;
  --ink-soft: #55534e;
  --ink-mute: #8a877f;
  --line: rgba(11, 11, 12, 0.08);

  --forest: #102610;
  --forest-2: #0c1e0c;
  --forest-soft: #1d3d1d;
  --lime: #c5f078;
  --lime-2: #b8e86a;

  /* Fun accents (Apple system-ish) */
  --sky: #2f8cff;
  --violet: #7c6fe0;
  --coral: #ff5a5f;
  --amber: #ff9f0a;
  --mint: #34c759;
  --teal: #14b8a6;

  /* Pastel card fills */
  --p-lime: #eef6dc;
  --p-sky: #e8f1fd;
  --p-violet: #f1ebfd;
  --p-peach: #fdf1e1;
  --p-rose: #fde9ec;

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'Syne Mono', ui-monospace, SFMono-Regular, monospace;

  /* Re-point the legacy v2 tokens so older components follow the new look */
  --cc-text: var(--ink);
  --cc-text-soft: var(--ink-soft);
  --cc-bg: var(--bg);
  --cc-card: var(--surface);
  --cc-border: var(--line);
  --cc-pill-mint: var(--p-lime);
  --cc-pill-peach: var(--p-peach);
  --cc-pill-blush: var(--p-violet);
  --cc-card-shadow: 0 1px 2px rgba(11, 11, 12, 0.04), 0 12px 40px rgba(11, 11, 12, 0.05);
}

html { background: var(--bg); }
body {
  background: var(--bg);
  transition: background-color .6s ease;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--forest); }

/* ── Love the Idea® accent word ──
   One word per page or section title is set in Averia Serif Libre bold italic, the face used on lovetheidea.co.uk.
   Self-hosted (SIL Open Font License), so it adds no third-party request. 1.16em matches its x-height to Inter Tight's
   (measured: both 55 vs Averia's 46 at 100px). Line-height .8, not .88: Averia sits higher on its baseline than
   Inter Tight, so .88 made every title 1-2px taller; at .8 line spacing is unchanged at every width.
   No colour: it inherits from the title. */
@font-face{font-family:'Averia Serif Libre';font-style:italic;font-weight:700;font-display:swap;src:url('../fonts/averia-serif-libre-bold-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.av{font-family:"Averia Serif Libre",Georgia,serif;font-style:italic;font-weight:700;letter-spacing:-.01em;font-size:1.16em;line-height:.8}

/* ── Type ── */
.cc-section h2,
.cc-split.cc-section h2,
.cc-final-cta h2,
.cc-page-head h1,
.cc-docs-head h1,
.cc-feature-row h3,
.cc-h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink);
}
.cc-section h2 { font-size: clamp(32px, 4vw, 52px); }
.cc-split.cc-section h2 { font-size: clamp(32px, 4vw, 52px); }
.cc-section-sub, .cc-split .cc-section-sub { color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.cc-soft { color: var(--ink-mute); }
.cc-tint-forest { color: var(--forest); }
.cc-tint-lime { color: var(--lime); }
.cc-tint-sky { color: var(--sky); }
.cc-tint-violet { color: var(--violet); }
.cc-tint-coral { color: var(--coral); }
.cc-tint-amber { color: var(--amber); }
.cc-tint-mint { color: #1f9d48; }

/* Mono eyebrow (replaces the old dotted pill label) */
.cc-pill-label,
.cc-eyebrow {
  display: inline-block;
  background: none; border: 0; padding: 0;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.cc-pill-label::before { display: none; }

/* ── Flags pill (shared with BuildApps / Small Print) ── */
.cc-flags-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 14px 5px 6px;
  box-shadow: 0 1px 2px rgba(11,11,12,0.05), 0 6px 20px rgba(11,11,12,0.05);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.cc-flags { display: inline-flex; }
.cc-flags img {
  width: 22px; height: 22px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--surface);
  margin-left: -7px; box-sizing: content-box;
}
.cc-flags img:first-child { margin-left: 0; }
.cc-flags-pill .sep { width: 1px; height: 14px; background: var(--line); }
.cc-flags-pill .muted { color: var(--ink-mute); }

/* ── Nav ── */
.cc-nav,
body.home .cc-nav:not(.nav-scrolled) {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.cc-nav.nav-scrolled { box-shadow: none; background: rgba(255,255,255,0.9); }
.cc-nav-inner { max-width: 1240px; padding: 14px 28px; }
.cc-brand img,
body.home .cc-nav:not(.nav-scrolled) .cc-brand img { height: 28px; filter: none; }
.cc-brand-name,
body.home .cc-nav:not(.nav-scrolled) .cc-brand-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cc-nav-links { gap: 30px; }
.cc-nav-link,
body.home .cc-nav:not(.nav-scrolled) .cc-nav-link { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.cc-nav-link:hover,
.cc-nav-link.active,
body.home .cc-nav:not(.nav-scrolled) .cc-nav-link:hover,
body.home .cc-nav:not(.nav-scrolled) .cc-nav-link.active { color: var(--ink); font-weight: 500; }
.cc-nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--forest); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 9px 18px;
  box-shadow: none;
}
.cc-nav-cta:hover { background: var(--forest-soft); box-shadow: none; transform: none; }
.cc-mobile-toggle span, .cc-mobile-toggle span::before, .cc-mobile-toggle span::after,
body.home .cc-nav:not(.nav-scrolled) .cc-mobile-toggle span,
body.home .cc-nav:not(.nav-scrolled) .cc-mobile-toggle span::before,
body.home .cc-nav:not(.nav-scrolled) .cc-mobile-toggle span::after { background: var(--ink); }
.cc-mobile-toggle.open span,
body.home .cc-nav:not(.nav-scrolled) .cc-mobile-toggle.open span { background: transparent; }
.cc-mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(245, 244, 240, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: calc(80px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px));
  gap: 22px; overflow-y: auto;
}
.cc-mobile-menu a { font-size: 30px; font-weight: 600; }
.cc-mobile-menu .cc-nav-cta { margin-top: 8px; padding: 14px 30px; font-size: 17px; }
.cc-mobile-menu a { font-family: var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.cc-mobile-menu .cc-nav-cta { color: #fff; }
.cc-nav-spacer, body.home .cc-nav-spacer { display: block; height: 62px; }

/* ── Buttons ── */
.cc-btn-lime, .cc-btn-dark, .cc-btn-ghost, .cc-btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  padding: 13px 24px; text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .25s ease, border-color .2s ease;
}
/* Primary action on light surfaces = forest pill */
.cc-btn-lime { background: var(--forest); color: #fff; box-shadow: none; }
.cc-btn-lime:hover { background: var(--forest-soft); box-shadow: none; transform: none; }
.cc-btn-dark { background: var(--ink); color: #fff; }
.cc-btn-dark:hover { background: #26262a; transform: none; }
.cc-btn-light { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.cc-btn-light:hover { border-color: rgba(11,11,12,0.2); transform: none; }
.cc-btn-ghost { color: var(--ink); padding: 13px 4px; }
.cc-btn-lime-lg { padding: 15px 28px; font-size: 16px; }
/* On dark panels the primary action turns lime */
.cc-on-dark .cc-btn-lime,
.cc-final-cta .cc-btn-lime,
.cc-track-cta .cc-btn-lime { background: var(--lime); color: var(--forest); }
.cc-on-dark .cc-btn-lime:hover,
.cc-final-cta .cc-btn-lime:hover,
.cc-track-cta .cc-btn-lime:hover { background: var(--lime-2); box-shadow: none; }
.cc-on-dark .cc-btn-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.18); }

/* ── Sections ── */
.cc-section, .cc-section.alt { background: var(--bg); padding: 72px 28px; }
.cc-section.top-0 { padding-top: 0; }
.cc-stack { padding: 72px 28px; }
.cc-carousel { padding: 8px 0 12px; }
.cc-container { max-width: 1200px; }
.cc-section-head { max-width: 780px; margin-bottom: 44px; }
.cc-split .cc-section-head { margin-bottom: 32px; }

/* Split head: big headline left, supporting copy right (BuildApps "What we do") */
.cc-head-split {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
  align-items: end; margin-bottom: 40px;
}
.cc-head-split h2 { margin: 0; }
.cc-head-split p { color: var(--ink-soft); font-size: 18px; line-height: 1.55; margin: 0; }

/* ── Cards ── */
.cc-feature-card,
.cc-testi,
.cc-faq,
.cc-plan-card,
.cc-price-card,
.cc-docs-cat {
  background: var(--surface);
  box-shadow: none;
  border: 0;
}
.cc-feature-card { border-radius: var(--r-lg); padding: 32px 30px; }
.cc-feature-card:hover { box-shadow: 0 18px 50px rgba(11,11,12,0.08); }
.cc-feature-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 23px; letter-spacing: -0.03em; margin-top: 56px;
}
.cc-feature-card p { color: var(--ink-soft); }

/* App-icon squircles (gradient tiles with white glyph) */
.cc-feature-icon,
.cc-app-icon {
  width: 56px; height: 56px; border-radius: 16px;
  color: #fff;
  background: linear-gradient(160deg, #3ea8ff, #1f6fe5);
  box-shadow: 0 8px 20px rgba(31,111,229,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
  display: inline-flex; align-items: center; justify-content: center;
}
.cc-feature-icon svg, .cc-app-icon svg { width: 26px; height: 26px; }
.cc-feature-grid > :nth-child(6n+2) .cc-feature-icon, .cc-app-icon.violet { background: linear-gradient(160deg, #b38bff, #7c4ce0); box-shadow: 0 8px 20px rgba(124,76,224,0.25), inset 0 1px 0 rgba(255,255,255,0.35); }
.cc-feature-grid > :nth-child(6n+3) .cc-feature-icon, .cc-app-icon.amber  { background: linear-gradient(160deg, #ffc043, #ff8a00); box-shadow: 0 8px 20px rgba(255,138,0,0.25), inset 0 1px 0 rgba(255,255,255,0.35); }
.cc-feature-grid > :nth-child(6n+4) .cc-feature-icon, .cc-app-icon.coral  { background: linear-gradient(160deg, #ff7a8a, #f0384f); box-shadow: 0 8px 20px rgba(240,56,79,0.25), inset 0 1px 0 rgba(255,255,255,0.35); }
.cc-feature-grid > :nth-child(6n+5) .cc-feature-icon, .cc-app-icon.mint   { background: linear-gradient(160deg, #5ee08a, #1fa64a); box-shadow: 0 8px 20px rgba(31,166,74,0.25), inset 0 1px 0 rgba(255,255,255,0.35); }
.cc-feature-grid > :nth-child(6n+6) .cc-feature-icon, .cc-app-icon.forest { background: linear-gradient(160deg, #2c5a2c, #102610); box-shadow: 0 8px 20px rgba(16,38,16,0.25), inset 0 1px 0 rgba(255,255,255,0.2); }
.cc-app-icon.lime { background: linear-gradient(160deg, #d9f99d, #a3e04a); color: var(--forest); }

/* Big two-column rows (home "How it works", services) */
.cc-feature-row {
  border: 0; border-radius: var(--r-xl);
  padding: 56px; gap: 56px;
  background: var(--surface);
}
.cc-feature-row.mint  { background: var(--p-lime); }
.cc-feature-row.blush { background: var(--p-violet); }
.cc-feature-row.peach { background: var(--p-peach); }
.cc-feature-row.sky   { background: var(--p-sky); }
.cc-feature-row h3 { font-size: clamp(30px, 3.2vw, 44px); margin: 0 0 16px; }
.cc-feature-row p { color: var(--ink-soft); font-size: 17px; }
.cc-stack-row { box-shadow: 0 1px 2px rgba(11,11,12,0.04), 0 20px 60px rgba(11,11,12,0.06); }
.cc-dash-card { border-color: var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(11,11,12,0.04), 0 10px 30px rgba(11,11,12,0.05); }

/* ── Sound bites: Apple-style bento tiles, picture on top, one line below ── */
.cc-bites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cc-bite {
  background: var(--surface); border-radius: var(--r-xl);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cc-bite:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(11,11,12,0.09); }
.cc-bite-art {
  height: 300px; display: flex; align-items: center; justify-content: center;
  padding: 28px; position: relative; overflow: hidden;
}
.cc-bite.sky .cc-bite-art    { background: radial-gradient(80% 90% at 30% 10%, #cfe6ff, transparent 70%), linear-gradient(160deg, #e9f3ff, #bcdcff); }
.cc-bite.amber .cc-bite-art  { background: radial-gradient(80% 90% at 70% 0%, #fff1cc, transparent 70%), linear-gradient(160deg, #fff6e3, #ffd79a); }
.cc-bite.mint .cc-bite-art   { background: linear-gradient(165deg, #1d3d1d 0%, #2c5a2c 45%, #7fbf3f 100%); }
.cc-bite.violet .cc-bite-art { background: radial-gradient(70% 90% at 80% 10%, #efe7ff, transparent 70%), linear-gradient(160deg, #f4efff, #cdbcff); }
.cc-bite p {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; line-height: 1.2; letter-spacing: -0.03em;
  color: var(--ink); margin: 0; padding: 26px 32px 32px;
}

.cc-bite-chart { max-width: 340px; padding: 16px 18px 12px; }
.cc-bite-chart svg { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }

.cc-bite-stream { display: grid; gap: 9px; width: 100%; max-width: 330px; }
.cc-bite-stream .cc-glass {
  max-width: none; display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  font-size: 12.5px; border-radius: 14px; margin: 0;
}
.cc-bite-stream .cc-glass:nth-child(2) { margin-left: 18px; }
.cc-bite-stream .cc-glass:nth-child(3) { margin-left: 36px; }
.cc-bite-stream .cc-glass:nth-child(4) { margin-left: 18px; opacity: .8; }
.cc-bite-stream .ev { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cc-bite-stream .e1 { background: #0a84ff; }
.cc-bite-stream .e2 { background: #ff9f0a; }
.cc-bite-stream .e3 { background: #ff3b30; }
.cc-bite-stream .e4 { background: #28c840; }
.cc-bite-stream b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; font-weight: 600; }
.cc-bite-stream .ms { margin-left: auto; color: var(--ink-mute); font-size: 11px; font-variant-numeric: tabular-nums; }

.cc-bite-lock { display: flex; flex-direction: column; align-items: center; width: 100%; color: #fff; }
.cc-bite-lock .date { font-size: 14px; font-weight: 500; opacity: .85; }
.cc-bite-lock .time { font-family: var(--font-display); font-weight: 600; font-size: 76px; line-height: 1; letter-spacing: -0.03em; margin: 2px 0 22px; }
.cc-bite-notif {
  width: 100%; max-width: 360px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center;
  background: rgba(255,255,255,0.78); color: var(--ink);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px; padding: 12px 14px; text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.cc-bite-notif .cc-mac-appicon { width: 36px; height: 36px; border-radius: 9px; font-size: 12px; }
.cc-bite-notif b { display: block; font-size: 13.5px; }
.cc-bite-notif small { display: block; font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; }
.cc-bite-notif time { align-self: start; font-size: 11.5px; color: var(--ink-mute); }

.cc-bite-region { position: relative; width: 190px; height: 190px; }
.cc-bite-region img {
  width: 190px; height: 190px; border-radius: 50%; object-fit: cover; display: block;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.7), 0 24px 50px rgba(64,40,140,0.3);
}
.cc-bite-region .cc-app-icon { position: absolute; right: -10px; bottom: 6px; width: 64px; height: 64px; border-radius: 18px; }
.cc-bite-region .cc-app-icon svg { width: 30px; height: 30px; }
.cc-bite-region .pin { position: absolute; left: -64px; top: 18px; width: auto; padding: 9px 13px; border-radius: 14px; }
.cc-bite-region .pin b { display: block; font-size: 13.5px; }

/* ── Apple-style rail (horizontal slider of big cards) ── */
.cc-rail { position: relative; }
.cc-rail-track {
  --rail-pad: max(28px, calc((100vw - 1200px) / 2));
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  padding: 8px var(--rail-pad) 28px;
  margin: 0 calc(50% - 50vw);
  scrollbar-width: none;
}
.cc-rail-track::-webkit-scrollbar { display: none; }
.cc-rail-track > * { scroll-snap-align: start; flex-shrink: 0; }
.cc-rail-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.cc-rail-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(11,11,12,0.07); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, opacity .2s ease;
}
.cc-rail-nav button:hover { background: rgba(11,11,12,0.13); }
.cc-rail-nav button:disabled { opacity: .35; cursor: default; }
.cc-on-dark .cc-rail-nav button { background: color-mix(in srgb, var(--dk) 12%, transparent); color: var(--dk); }
.cc-on-dark .cc-rail-nav button:hover { background: color-mix(in srgb, var(--dk) 20%, transparent); }

/* Big gradient card inside a rail */
.cc-big-card {
  position: relative;
  width: min(380px, 82vw); min-height: 500px;
  border-radius: var(--r-lg);
  padding: 30px 30px 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface);
  color: var(--ink);
}
.cc-big-card .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.cc-big-card .tag i {
  width: 22px; height: 22px; border-radius: 7px; display: inline-flex;
  align-items: center; justify-content: center; font-style: normal;
  background: rgba(255,255,255,0.22);
}
.cc-big-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; line-height: 1.08; letter-spacing: -0.035em; margin: 0;
}
.cc-big-card .art { margin-top: auto; padding: 28px 0 30px; display: flex; justify-content: center; }
.cc-big-card.light { background: var(--surface); }
.cc-big-card.forest { background: linear-gradient(170deg, #1d3d1d, #0c1e0c); color: #fff; }
.cc-big-card.lime   { background: linear-gradient(170deg, #e2fbb4, #b8e86a); color: var(--forest); }
.cc-big-card.sky    { background: linear-gradient(170deg, #62b4ff, #1f6fe5); color: #fff; }
.cc-big-card.violet { background: linear-gradient(170deg, #b79bff, #6a4fe0); color: #fff; }
.cc-big-card.coral  { background: linear-gradient(170deg, #ff8c7a, #ef3d63); color: #fff; }
.cc-big-card.amber  { background: linear-gradient(170deg, #ffd36b, #ff9500); color: #3b2300; }
.cc-big-card.ink    { background: #141416; color: #fff; }
.cc-big-card.light .tag i { background: var(--surface-2); }

/* Dark "What we build" cards with coloured lead (BuildApps service page) */
.cc-lead-card {
  width: min(300px, 78vw); min-height: 340px;
  background: #1c1c1e; color: #fff;
  border-radius: var(--r-lg); padding: 30px 26px;
  display: flex; flex-direction: column;
}
.cc-lead-card svg { width: 34px; height: 34px; margin-bottom: 26px; }
.cc-lead-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 25px; line-height: 1.12; letter-spacing: -0.03em; margin: 0;
}
.cc-lead-card p { margin: auto 0 0; padding-top: 24px; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.55; }

/* Small sound-bite graphics used inside big cards */
.cc-glass {
  background: rgba(255,255,255,0.92); color: var(--ink);
  border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  font-size: 13px; width: 100%; max-width: 290px;
}
.cc-glass + .cc-glass { margin-top: 10px; }
.cc-glass .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-glass .k { color: var(--ink-mute); font-size: 11px; }
.cc-glass .v { font-weight: 700; font-size: 15px; }
.cc-glass .chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--p-lime); color: #3d6b12; }
.cc-glass .chip.red { background: var(--p-rose); color: #c42f45; }
.cc-glass .chip.amber { background: var(--p-peach); color: #a85b00; }
.cc-glass .chip.blue { background: var(--p-sky); color: #1f5fc2; }
.cc-stack-art { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* ── Home hero ── */
.cc-hero26 { padding: 76px 28px 0; text-align: center; position: relative; overflow: hidden; }
.cc-hero26 h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(42px, 6.6vw, 92px);
  line-height: 0.98; letter-spacing: -0.05em;
  margin: 26px auto 22px; max-width: 1180px; color: var(--ink);
}
.cc-hero26 h1 .soft { color: var(--ink-mute); }
.cc-hero26-sub { font-size: 19px; line-height: 1.5; color: var(--ink-soft); max-width: 640px; margin: 0 auto 30px; }
.cc-hero26-sub a { color: inherit; text-decoration: underline; text-decoration-color: rgba(11,11,12,0.25); text-underline-offset: 3px; }
.cc-hero26-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cc-hero26-checks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 13px; color: var(--ink-mute); }
.cc-hero26-checks span::before { content: "✓"; margin-right: 6px; color: var(--forest); font-weight: 700; }

.cc-hero26-stage {
  position: relative; max-width: 1180px; margin: 64px auto 0;
  padding: 56px 56px 60px;
  border-radius: 40px;
  background:
    radial-gradient(60% 80% at 15% 10%, rgba(197,240,120,0.75), transparent 60%),
    radial-gradient(50% 70% at 90% 20%, rgba(98,180,255,0.55), transparent 60%),
    radial-gradient(60% 70% at 60% 100%, rgba(183,155,255,0.45), transparent 60%),
    #e9efe2;
}

/* ── macOS app window (homepage hero) ── */
.cc-mac {
  --mac-ink: #1d1d1f; --mac-soft: #6e6e73; --mac-mute: #a1a1a6;
  --mac-line: rgba(0,0,0,0.08); --mac-fill: #f5f5f7;
  /* themeable surfaces: .theme-dark / .theme-blue swap these (see the slider block) */
  --mac-bg: #ffffff; --mac-bar: #efefef; --mac-bar-line: rgba(0,0,0,0.15);
  --mac-side: #eceee8; --mac-side-line: rgba(0,0,0,0.1); --mac-main: #ffffff;
  --mac-accent: var(--forest-soft); --mac-accent-2: #7fbf3f; --mac-bar-soft: #cfe3b4;
  --mac-grid: rgba(0,0,0,0.06); --mac-tip: #ffffff; --mac-tip-line: rgba(0,0,0,0.1);
  --mac-hl: rgba(0,0,0,0.08); --mac-well: rgba(0,0,0,0.06); --mac-seg-on: #ffffff;
  --mac-up: #1f9d48; --mac-ai-ink: var(--forest);
  --mac-ai-bg: linear-gradient(135deg, rgba(197,240,120,0.35), rgba(98,180,255,0.18));
  position: relative; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  font-size: 13px; color: var(--mac-ink); letter-spacing: -0.005em;
  background: var(--mac-bg); border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25), 0 1px 1px rgba(0,0,0,0.06), 0 30px 70px rgba(11,11,12,0.25), 0 60px 120px -30px rgba(16,38,16,0.25);
}
.cc-mac svg { display: block; }
.cc-mac-bar {
  height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 16px;
  background-color: var(--mac-bar);
  background-image: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0));
  border-bottom: 0.5px solid var(--mac-bar-line);
}
.cc-mac-bar .lights { display: flex; gap: 8px; margin-right: 6px; }
.cc-mac-bar .lights i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.18); }
.cc-mac-bar .lights i:nth-child(1) { background: #ff5f57; }
.cc-mac-bar .lights i:nth-child(2) { background: #febc2e; }
.cc-mac-bar .lights i:nth-child(3) { background: #28c840; }
.cc-mac-bar .tb-ico { width: 30px; height: 26px; border-radius: 6px; color: var(--mac-soft); display: inline-flex; align-items: center; justify-content: center; }
.cc-mac-bar .tb-ico svg { width: 17px; height: 17px; }
.cc-mac-title { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.cc-mac-title b { font-size: 13px; font-weight: 700; }
.cc-mac-title small { font-size: 11px; color: var(--mac-soft); }
.cc-mac-ai-badge {
  font-size: 11px; font-weight: 600; color: var(--forest);
  background: linear-gradient(135deg, rgba(197,240,120,0.7), rgba(98,180,255,0.35));
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.cc-mac-seg { display: flex; background: var(--mac-well); border-radius: 7px; padding: 2px; }
.cc-mac-seg span { font-size: 11.5px; font-weight: 500; padding: 3px 11px; border-radius: 5px; color: var(--mac-ink); }
.cc-mac-seg span.on { background: var(--mac-seg-on); box-shadow: 0 1px 2px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.06); }

.cc-mac-body { display: grid; grid-template-columns: 214px minmax(0, 1fr); }
.cc-mac-side {
  background: var(--mac-side);
  border-right: 0.5px solid var(--mac-side-line);
  padding: 12px 10px 16px;
}
.cc-mac-app { display: flex; align-items: center; gap: 9px; padding: 4px 6px 12px; }
.cc-mac-app b { display: block; font-size: 12.5px; }
.cc-mac-app small { display: block; font-size: 10.5px; color: var(--mac-soft); }
.cc-mac-appicon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: -0.03em;
  color: var(--lime); background: linear-gradient(160deg, #2c5a2c, #102610);
  box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.3), 0 1px 3px rgba(16,38,16,0.3);
}
.cc-mac-search {
  display: flex; align-items: center; gap: 6px; margin: 0 2px 10px;
  background: var(--mac-well); border-radius: 7px; padding: 5px 8px;
  color: var(--mac-soft); font-size: 12px;
}
.cc-mac-search svg { width: 13px; height: 13px; }
.cc-mac-search kbd { margin-left: auto; font: inherit; font-size: 10.5px; color: var(--mac-mute); }
.cc-mac-group { font-size: 10.5px; font-weight: 600; color: var(--mac-mute); padding: 10px 8px 4px; }
.cc-mac-nav { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; font-size: 12.5px; }
.cc-mac-nav i { width: 16px; height: 16px; color: var(--mac-accent); display: inline-flex; }
.cc-mac-nav i svg { width: 16px; height: 16px; }
.cc-mac-nav.on { background: var(--mac-hl); font-weight: 600; }
.cc-mac-nav b { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--mac-soft); }

.cc-mac-main { padding: 18px 20px 20px; display: grid; gap: 14px; background: var(--mac-main); min-width: 0; }
.cc-mac-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cc-mac-kpi { background: var(--mac-fill); border-radius: 10px; padding: 11px 13px; display: flex; flex-direction: column; gap: 1px; }
.cc-mac-kpi .k { font-size: 11px; color: var(--mac-soft); }
.cc-mac-kpi .v { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cc-mac-kpi .d { font-size: 11px; font-weight: 600; color: var(--mac-up); }
.cc-mac-kpi .d.flat { color: var(--mac-soft); font-weight: 500; }

.cc-mac-card { border: 0.5px solid var(--mac-line); border-radius: 12px; padding: 13px 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); min-width: 0; }
.cc-mac-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cc-mac-card-head b { font-size: 12.5px; font-weight: 600; }
.cc-mac-card-head .lg { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--mac-soft); }
.cc-mac-card-head .lg i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; margin-left: 6px; }
.cc-mac-card-head .lg .l1 { background: var(--mac-accent); }
.cc-mac-card-head .lg .l2 { background: rgba(31,157,72,0.25); height: 8px; }
.cc-mac-card-head .live { font-size: 10.5px; font-weight: 600; color: #1f9d48; display: inline-flex; align-items: center; gap: 5px; }
.cc-mac-card-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 3px rgba(40,200,64,0.18); }

.cc-mac-chart { width: 100%; height: auto; overflow: visible; }
.cc-mac-chart .g { stroke: var(--mac-grid); stroke-width: 1; }
.cc-mac-chart .t { font-size: 10px; fill: var(--mac-mute); font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
.cc-mac-chart .band { fill: rgba(31,157,72,0.08); }
.cc-mac-chart .bt { font-size: 9.5px; fill: #1f9d48; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }
.cc-mac-chart .ln { fill: none; stroke: var(--mac-accent); stroke-width: 2; stroke-linejoin: round; }
.cc-mac-chart .mk { stroke: rgba(255,59,48,0.35); stroke-dasharray: 2 3; }
.cc-mac-chart .spike { fill: #ff3b30; stroke: var(--mac-main); stroke-width: 2; }
.cc-mac-chart .fix { fill: #28c840; stroke: var(--mac-main); stroke-width: 2; }
.cc-mac-chart .tip { fill: var(--mac-tip); stroke: var(--mac-tip-line); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1)); }
.cc-mac-chart .tk { font-size: 9.5px; fill: var(--mac-soft); font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }
.cc-mac-chart .tv { font-size: 10.5px; fill: var(--mac-ink); font-weight: 700; font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }

.cc-mac-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; }
.cc-mac-act { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 0.5px solid var(--mac-line); }
.cc-mac-act:first-of-type { border-top: 0; }
.cc-mac-act .dot { width: 8px; height: 8px; border-radius: 50%; }
.cc-mac-act .dot.green { background: #28c840; }
.cc-mac-act .dot.amber { background: #ff9f0a; }
.cc-mac-act .dot.blue { background: #0a84ff; }
.cc-mac-act .tx { min-width: 0; }
.cc-mac-act b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-mac-act small { display: block; font-size: 10.5px; color: var(--mac-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-mac-act .chip { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.cc-mac-act .chip.ok { background: rgba(40,200,64,0.14); color: #1a7f37; }
.cc-mac-act .chip.run { background: rgba(255,159,10,0.16); color: #a35a00; }
.cc-mac-act .chip.rev { background: rgba(10,132,255,0.12); color: #0a64c8; }
.cc-mac-act time { font-size: 10.5px; color: var(--mac-mute); font-variant-numeric: tabular-nums; }
.cc-mac-plat .bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; margin: 4px 0 12px; }
.cc-mac-plat .p1 { background: var(--forest-soft); }
.cc-mac-plat .p2 { background: #7fbf3f; }
.cc-mac-plat .p3 { background: #c9d9b5; }
.cc-mac-plat .leg { display: grid; gap: 6px; font-size: 11.5px; }
.cc-mac-plat .leg span { display: flex; align-items: center; gap: 7px; }
.cc-mac-plat .leg i { width: 8px; height: 8px; border-radius: 2px; }
.cc-mac-plat .leg b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.cc-mac-ai { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 9px 10px; border-radius: 9px; background: var(--mac-ai-bg); font-size: 11.5px; line-height: 1.4; }
.cc-mac-ai svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--mac-ai-ink); margin-top: 1px; }

.cc-hero26-float {
  position: absolute; z-index: 3; text-align: left;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(11,11,12,0.16);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink);
  animation: cc-bob 6s ease-in-out infinite;
}
.cc-hero26-float b { display: block; font-size: 14px; }
.cc-hero26-float small { color: var(--ink-mute); font-size: 12px; }
.cc-hero26-float .cc-app-icon { width: 38px; height: 38px; border-radius: 11px; }
.cc-hero26-float .cc-app-icon svg { width: 18px; height: 18px; }
.cc-hero26-float.f1 { left: -22px; top: 330px; }
.cc-hero26-float.f2 { right: 64px; bottom: -26px; animation-delay: -3s; }
@keyframes cc-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.cc-hero26-quote {
  max-width: 640px; margin: 64px auto 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cc-hero26-quote .stars { color: #ff9f0a; letter-spacing: 3px; font-size: 15px; }
.cc-hero26-quote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -0.03em; color: var(--ink);
  text-wrap: balance;
}
.cc-hero26-quote figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-mute); }
.cc-hero26-quote figcaption b { color: var(--ink); font-weight: 600; margin-right: 4px; }

/* Initial monograms (replace generated avatars) */
.cc-mono {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -0.02em;
  color: #fff; background: linear-gradient(150deg, #2c5a2c, #102610);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.cc-mono.c1 { background: linear-gradient(150deg, #62b4ff, #1f6fe5); }
.cc-mono.c2 { background: linear-gradient(150deg, #b79bff, #6a4fe0); }
.cc-mono.c3 { background: linear-gradient(150deg, #ffb36b, #ff7a00); }
.cc-mono.c4 { background: linear-gradient(150deg, #ff8c9a, #ef3d63); }


/* Platforms strip */
.cc-platforms {
  max-width: 1200px; margin: 0 auto; padding: 34px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.cc-platforms .cc-eyebrow { margin: 0; }
.cc-platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.cc-platforms li { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; color: var(--ink-mute); }

/* ── Phone carousel ── */
.cc-phone-screen { height: 460px; }
.cc-phone { border-radius: 38px; box-shadow: 0 1px 2px rgba(11,11,12,0.05), 0 24px 60px rgba(11,11,12,0.10); }
.cc-carousel-dots button { background: rgba(11,11,12,0.18); }
.cc-carousel-dots button.is-active { background: var(--ink); }

/* Phone tile images: Apple-style gradient with a large glyph */
.cc-phone-hero { filter: none; height: 168px; border-radius: 18px; background: #1d3d1d; }
.cc-phone-hero:after { display: none; }
.cc-phone-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,0.35), transparent 55%);
}
.cc-ph-glyph {
  position: absolute; z-index: 1; right: 12px; top: 12px;
  width: 92px; height: 92px; color: #fff; opacity: .95;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
}
.cc-phone-hero h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.cc-ph-crash { background: linear-gradient(150deg, #ff7a6b, #e5243b); }
.cc-ph-spike { background: linear-gradient(150deg, #ffc043, #ff7a00); }
.cc-ph-agent { background: linear-gradient(150deg, #2c5a2c, #0c1e0c); }
.cc-ph-agent .cc-ph-glyph { color: var(--lime); }
.cc-ph-slow  { background: linear-gradient(150deg, #8f8cff, #4b3fd8); }
.cc-ph-anr   { background: linear-gradient(150deg, #ffd36b, #ff9500); }
.cc-ph-mem   { background: linear-gradient(150deg, #64d2ff, #0a84ff); }
.cc-ph-ok    { background: linear-gradient(150deg, #5ee08a, #1fa64a); }

/* ── Retention-based pricing (Week / Month / Year / Enterprise) ── */
.cc-retain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.cc-retain {
  background: var(--surface); border-radius: var(--r-lg);
  padding: 28px 26px 26px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cc-retain:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(11,11,12,0.08); }
.cc-retain-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 15px; }
.cc-retain-label em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--forest); }
.cc-retain-keep {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.05em;
  font-size: clamp(56px, 5.4vw, 76px); line-height: 1; margin: 26px 0 6px;
  display: flex; align-items: baseline; gap: 8px;
}
.cc-retain-keep small { font-size: 20px; letter-spacing: -0.02em; color: var(--ink-mute); }
.cc-retain-what { margin: 0 0 22px; color: var(--ink-soft); font-size: 14px; }
.cc-retain-price {
  font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em;
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.cc-retain-price span { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; margin-left: 4px; }
.cc-retain ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.cc-retain li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.cc-retain li::before { content: "✓"; color: var(--forest); font-weight: 700; }
.cc-retain .cc-plan-cta { margin-top: auto; }
.cc-retain.featured { background: radial-gradient(90% 60% at 100% 0%, rgba(197,240,120,0.25), transparent 60%), var(--forest); color: #fff; }
.cc-retain.featured .cc-retain-keep small,
.cc-retain.featured .cc-retain-price span { color: rgba(255,255,255,0.55); }
.cc-retain.featured .cc-retain-what { color: rgba(255,255,255,0.7); }
.cc-retain.featured .cc-retain-price { border-color: rgba(255,255,255,0.14); }
.cc-retain.featured li::before { color: var(--lime); }
.cc-retain.featured .cc-plan-cta { color: #fff; }
.cc-retain-note { text-align: center; color: var(--ink-mute); font-size: 13.5px; margin: 24px auto 0; max-width: 620px; }

/* ── Testimonials / pricing / FAQ ── */
.cc-testi { border-radius: 24px; }
.cc-testi p { color: var(--ink-soft); }
.cc-plan-card { border-radius: var(--r-lg); min-height: 0; }
.cc-plan-card .cc-plan-cta { margin-top: auto; padding-top: 24px; }
.cc-plan-card:hover { box-shadow: 0 18px 50px rgba(11,11,12,0.08); }
.cc-plan-price { font-family: var(--font-display); letter-spacing: -0.04em; font-weight: 600; }
/* FAQ: Apple-style single column with hairlines */
.cc-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 860px; margin: 0 auto; }
.cc-faq-grid > :first-child { text-align: center; }
.cc-faq-grid h2 { text-align: center; }
.cc-faq-grid .cc-section-sub { margin: 0 auto; }
.cc-faq-list { gap: 0; border-top: 1px solid var(--line); }
.cc-faq { background: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.cc-faq summary {
  padding: 24px 4px; font-family: var(--font-display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.025em;
}
.cc-faq summary::after {
  content: ""; width: 30px; height: 30px; flex-shrink: 0; margin-left: 20px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s ease;
}
.cc-faq[open] summary::after { content: ""; transform: rotate(45deg); }
.cc-faq-body { padding: 0 60px 26px 4px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 720px) { .cc-faq summary { font-size: 18px; padding: 20px 2px; } .cc-faq-body { padding-right: 8px; } }

.cc-testi-app { width: 48px; height: 48px; flex-shrink: 0; display: block; border-radius: 11px; box-shadow: 0 4px 12px rgba(11,11,12,0.14), 0 1px 2px rgba(11,11,12,0.1); }

/* ── Final CTA = forest panel ── */
.cc-final-cta { padding: 24px 28px 96px; background: var(--bg); }
.cc-final-cta > div {
  max-width: 1200px; margin: 0 auto;
  background:
    radial-gradient(50% 90% at 85% 0%, rgba(197,240,120,0.22), transparent 60%),
    radial-gradient(40% 70% at 10% 100%, rgba(98,180,255,0.16), transparent 60%),
    var(--forest);
  border-radius: var(--r-xl);
  padding: 96px 40px;
  color: #fff;
}
.cc-final-cta h2 { color: #fff; font-size: clamp(38px, 5vw, 68px); }
.cc-final-cta .cc-section-sub { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; }
.cc-final-cta .cc-cta-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ── Interior page hero (BuildApps service-page card) ── */
.cc-page-head {
  background: var(--surface);
  color: var(--ink);
  max-width: 1240px;
  margin: 22px auto 0;
  border-radius: var(--r-xl);
  padding: 64px 28px 76px;
  text-align: center;
}
.cc-page-crumbs { font-size: 13px; color: var(--ink-mute); margin-bottom: 26px; }
.cc-page-crumbs a { color: var(--ink-soft); text-decoration: none; }
.cc-page-crumbs a:hover { color: var(--ink); }
.cc-page-crumbs span { margin: 0 6px; }
.cc-page-head .cc-app-icon { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 18px; }
.cc-page-head .cc-app-icon svg { width: 30px; height: 30px; }
.cc-page-head .cc-eyebrow { display: block; margin-bottom: 16px; }
.cc-page-head h1 { font-size: clamp(42px, 6.2vw, 84px); max-width: 980px; margin: 0 auto 20px; text-wrap: balance; }
.cc-section h2, .cc-band-card h2, .cc-dark-section h2, .cc-final-cta h2 { text-wrap: balance; }
.cc-page-head p { color: var(--ink-soft); font-size: 19px; line-height: 1.5; max-width: 640px; }
.cc-page-head .cc-hero26-cta { margin-top: 30px; }
@media (max-width: 1290px) { .cc-page-head { margin-left: 20px; margin-right: 20px; } }
/* Same gap under every interior hero, whatever comes next */
.cc-page-head + .cc-section { padding-top: 48px; }
.cc-page-head + .cc-band,
.cc-page-head + .cc-dark-section { margin-top: 32px; }
@media (max-width: 720px) {
  .cc-page-head + .cc-section { padding-top: 36px; }
  .cc-page-head + .cc-band, .cc-page-head + .cc-dark-section { margin-top: 20px; }
}

/* ── Colour bands (BuildApps service-page sections) ── */
.cc-band {
  padding: 64px 20px;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.cc-band > .cc-band-card { width: 100%; }
/* Full-height dark sections, content centred vertically */
.cc-dark-section {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.cc-dark-section > .cc-container { width: 100%; }
.cc-band.lime   { background: var(--lime); }
.cc-band.sky    { background: #2f8cff; }
.cc-band.violet { background: #7c6fe0; }
.cc-band.coral  { background: #f0466a; }
.cc-band.forest { background: var(--forest); }
.cc-band-card {
  max-width: 1240px; margin: 0 auto;
  border-radius: var(--r-xl);
  padding: 64px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--surface); color: var(--ink);
}
.cc-band-card.dark { background: #1c1c1e; color: #fff; }
.cc-band-card h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -0.045em;
  margin: 0 0 18px;
}
.cc-band-card > div > p { font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 26px; max-width: 460px; }
.cc-band-card.dark > div > p { color: rgba(255,255,255,0.68); }
.cc-band-art {
  border-radius: 28px; min-height: 340px; padding: 36px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cc-band-art.lime   { background: linear-gradient(160deg, #e2fbb4, #a3e04a); }
.cc-band-art.sky    { background: linear-gradient(160deg, #8cc8ff, #2f8cff); }
.cc-band-art.violet { background: linear-gradient(160deg, #c8b5ff, #7c6fe0); }
.cc-band-art.coral  { background: linear-gradient(160deg, #ffb0a0, #f0466a); }
.cc-band-art.soft   { background: var(--bg); }
.cc-band-art .cc-dash-card { width: 100%; max-width: 420px; margin: 0; color: var(--ink); text-align: left; }

/* Feature chips grid inside band cards */
.cc-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; max-width: 480px; }
.cc-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border-radius: 14px; padding: 12px 14px;
  font-size: 14px; font-weight: 600;
}
.cc-band-card.dark .cc-chip { background: #2a2a2d; }
.cc-chip i {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; color: #fff; background: var(--forest);
}
.cc-chip i svg { width: 14px; height: 14px; }
.cc-chip i.lime { background: var(--lime); color: var(--forest); }
.cc-chip i.sky { background: var(--sky); }
.cc-chip i.violet { background: var(--violet); }
.cc-chip i.coral { background: #f0466a; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.cc-tags span {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-soft);
}
.cc-band-card.dark .cc-tags span { background: #2a2a2d; color: rgba(255,255,255,0.75); }

/* Dark section (What we build) */
.cc-dark-section { background: #000; color: var(--dk); padding: 88px 28px 72px; }
.cc-dark-section h2 {
  font-family: var(--font-display); font-weight: 600; color: var(--dk);
  font-size: clamp(42px, 5.6vw, 76px); letter-spacing: -0.05em; line-height: 1; margin: 0 0 16px;
}
.cc-dark-section .cc-soft { color: var(--dk-mute); }
.cc-dark-section .cc-big-card.light .cc-soft { color: var(--ink-mute); }
.cc-dark-section .cc-eyebrow { color: var(--dk-mute); }
.cc-dark-section .cc-head-split h2 { color: var(--dk); font-size: clamp(32px, 4vw, 52px); }
.cc-dark-section .cc-head-split p { color: var(--dk-soft); }
.cc-dark-section .lede { color: var(--dk-soft); font-size: 18px; max-width: 480px; margin: 0 0 44px; }

/* Step cards (BuildApps "How we work") */
.cc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cc-step {
  border-radius: var(--r-lg); padding: 30px 28px 34px; min-height: 300px;
  display: flex; flex-direction: column;
  background: var(--surface);
}
.cc-step.sky { background: var(--p-sky); }
.cc-step.violet { background: var(--p-violet); }
.cc-step.peach { background: var(--p-peach); }
.cc-step.lime { background: var(--p-lime); }
.cc-step.ink { background: #141416; color: #fff; }
.cc-step .cc-app-icon { margin-bottom: 48px; }
.cc-step .cc-eyebrow { margin: 0 0 6px; }
.cc-step.ink .cc-eyebrow { color: rgba(255,255,255,0.5); }
.cc-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.03em; margin: 0 0 8px; }
.cc-step p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.cc-step.ink p { color: rgba(255,255,255,0.65); }

/* ── Docs ── */
.cc-docs-head {
  background: var(--surface); color: var(--ink);
  max-width: 1240px; margin: 22px auto 0; border-radius: var(--r-xl);
  padding: 36px 40px 34px;
}
@media (max-width: 1290px) { .cc-docs-head { margin-left: 20px; margin-right: 20px; } }
.cc-docs-head h1 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 10px; }
.cc-docs-head .cc-pill-label { margin-bottom: 10px; }
.cc-docs-head p { color: var(--ink-soft); }
.cc-docs-head .cc-pill-label { background: none; color: var(--ink-mute); }
.cc-docs-cat { border-radius: var(--r-md); }
/* Docs: lighter, more compact reading column */
.cc-docs { padding-top: 32px; gap: 48px; }
.cc-docs-content { font-size: 16px; line-height: 1.65; }
.cc-docs-content h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; font-size: clamp(28px, 3vw, 36px); margin-bottom: 14px; }
.cc-docs-content h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; font-size: 22px; margin: 40px 0 10px; padding-top: 0; }
.cc-docs-content h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 18px; margin: 28px 0 8px; }
.cc-docs-content strong { font-weight: 600; }
.cc-docs-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 8px; }
.cc-docs-cat {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 14px;
  padding: 14px 16px; border-radius: 16px; text-decoration: none !important;
}
.cc-docs-cat:hover { transform: none; box-shadow: 0 0 0 1px var(--line), 0 8px 20px rgba(11,11,12,0.06); }
.cc-docs-cat .ico {
  grid-row: span 2; margin: 0; width: 38px; height: 38px; border-radius: 10px; color: #fff;
  background: linear-gradient(160deg, #3ea8ff, #1f6fe5);
}
.cc-docs-cat:nth-child(6n+2) .ico { background: linear-gradient(160deg, #b38bff, #7c4ce0); }
.cc-docs-cat:nth-child(6n+3) .ico { background: linear-gradient(160deg, #ffc043, #ff8a00); }
.cc-docs-cat:nth-child(6n+4) .ico { background: linear-gradient(160deg, #ff7a8a, #f0384f); }
.cc-docs-cat:nth-child(6n+5) .ico { background: linear-gradient(160deg, #5ee08a, #1fa64a); }
.cc-docs-cat:nth-child(6n+6) .ico { background: linear-gradient(160deg, #2c5a2c, #102610); }
.cc-docs-cat h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; align-self: end; }
.cc-docs-cat .count { margin: 0; font-size: 12.5px; color: var(--ink-mute); align-self: start; }
.cc-docs-cat .arrow { grid-row: 1 / span 2; grid-column: 3; margin: 0; font-size: 0; color: var(--ink-mute); }
.cc-docs-cat .arrow svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .cc-docs-cats { grid-template-columns: minmax(0, 1fr); } }
.cc-docs > * { min-width: 0; }
.cc-docs-content pre { overflow-x: auto; }
.cc-docs-content table { display: block; max-width: 100%; overflow-x: auto; }
.cc-track-cta-inner { border-radius: var(--r-lg); }

/* ── Footer (light, credits the parent brand) ── */
.cc-footer { background: var(--surface-2); color: var(--ink-soft); padding: 72px 28px 36px; }
.cc-footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 56px;
}
.cc-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cc-footer-trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cc-footer-trust li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-soft);
  background: var(--surface); border-radius: 999px; padding: 6px 11px;
}
.cc-footer-trust svg { width: 14px; height: 14px; color: var(--forest); }
.cc-footer-cta { display: inline-block; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--forest); text-decoration: none; }
.cc-footer-cta:hover { text-decoration: underline; }
.cc-footer-legal .small { display: grid; gap: 6px; }
.cc-footer .cc-brand-name { color: var(--ink); }
.cc-footer-blurb { color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 340px; }
.cc-footer-col h4 {
  font-family: var(--font-mono); font-weight: 400; font-size: 12px;
  color: var(--ink-mute); letter-spacing: 0.02em; margin: 6px 0 16px;
}
.cc-footer-col ul { gap: 10px; }
.cc-footer-col a { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.cc-footer-col a:hover { color: var(--forest); }
.cc-footer-col a small { color: var(--ink-mute); font-size: 12px; }
.cc-socials a { background: var(--surface); color: var(--ink); }
.cc-socials a:hover { background: var(--forest); color: #fff; }

.cc-family {
  max-width: 1200px; margin: 52px auto 0; padding: 26px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; gap: 14px;
}
.cc-family .cc-eyebrow { margin: 0; }
.cc-family-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cc-family-tile {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
  background: var(--surface); border-radius: 16px; padding: 14px 16px;
  text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cc-family-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,11,12,0.08); }
.cc-family-tile b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.cc-family-tile small { display: block; font-size: 12px; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-family-tile .go { color: var(--ink-mute); font-size: 14px; }
.cc-family-tile:hover .go { color: var(--forest); }
@media (max-width: 1024px) { .cc-family-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cc-family-tiles { grid-template-columns: minmax(0, 1fr); } }
.cc-footer-legal .heart { color: #f0466a; }

.cc-footer-legal {
  max-width: 1200px; margin: 22px auto 0;
  display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; align-items: end;
  font-size: 12.5px; line-height: 1.6; color: var(--ink-mute);
}
.cc-footer-legal p { margin: 0; }
.cc-footer-legal a { color: var(--ink-soft); }
.cc-footer-legal .made { text-align: right; color: var(--ink-soft); white-space: nowrap; }

/* ── Setup modal (was the waitlist) + cookie banner ── */
.cc-waitlist-backdrop { background: rgba(11, 11, 12, 0.45); }
.cc-waitlist-modal { border-radius: 28px; text-align: left; }
.cc-waitlist-icon { width: 48px; height: 48px; border-radius: 12px; font-size: 15px; margin-bottom: 18px; }
#cc-waitlist-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; font-size: clamp(28px, 4vw, 36px); line-height: 1.05; margin: 0 0 10px; color: var(--ink); }
.cc-waitlist-sub { color: var(--ink-soft); }
.cc-waitlist-form { flex-direction: column; gap: 12px; }
.cc-wl-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cc-wl-field span { font-weight: 400; color: var(--ink-mute); }
.cc-waitlist-form input[type="email"], .cc-waitlist-form input[type="text"] {
  width: 100%; min-width: 0; border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 15px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink); outline: none;
}
.cc-waitlist-form input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(197,240,120,0.5); }
.cc-waitlist-form button { width: 100%; border-radius: 999px; background: var(--forest); color: #fff; padding: 14px; font-weight: 600; font-size: 15px; }
.cc-waitlist-form button:hover { background: var(--forest-soft); }
.cc-waitlist-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-soft); }
.cc-waitlist-points li::before { content: "✓"; color: var(--forest); font-weight: 700; margin-right: 8px; }
.cc-cookie-banner {
  --ink: #0b0b0c; --ink-soft: #55534e;
  position: fixed; z-index: 9999;
  left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); right: auto;
  width: min(420px, calc(100vw - 32px));
  display: grid; gap: 14px; padding: 18px 18px 16px;
  background: rgba(255,255,255,0.92); color: var(--ink);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 22px; box-shadow: 0 0 0 1px rgba(11,11,12,0.06), 0 20px 50px rgba(11,11,12,0.18);
  text-align: left;
}
.cc-cookie-banner[hidden] { display: none; }
.cc-cookie-text b { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: -0.02em; margin-bottom: 4px; }
.cc-cookie-banner p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); text-align: left; }
.cc-cookie-banner a { color: var(--ink); }
.cc-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-cookie-btn {
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  padding: 11px 14px; border-radius: 999px; border: 0;
  background: var(--forest); color: #fff;
}
.cc-cookie-btn:hover { background: var(--forest-soft); }
.cc-cookie-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cc-examples-note { font-size: 13px; color: var(--ink-mute); margin: 10px 0 0; }
.cc-examples-note a, .cc-hero26-quote figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Headline stat tiles (Benefits page) */
.cc-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cc-head-split { grid-template-columns: 1fr; gap: 18px; }
  .cc-band-card { grid-template-columns: 1fr; padding: 44px 32px; gap: 36px; }
  .cc-steps { grid-template-columns: 1fr; }
  .cc-step { min-height: 220px; }
  .cc-stat-grid { grid-template-columns: 1fr 1fr; }
  .cc-retain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-feature-row[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .cc-footer-top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cc-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-hero26-float { display: none; }
  .cc-hero26-stage { padding: 28px; border-radius: 28px; }
  .cc-mac-body { grid-template-columns: minmax(0, 1fr); }
  .cc-mac-side { display: none; }
}
@media (max-width: 720px) {
  .cc-section, .cc-section.alt, .cc-stack { padding: 52px 20px; }
  .cc-section.top-0 { padding-top: 0; }
  .cc-hero26 { padding: 48px 20px 0; }
  .cc-flags-pill .where, .cc-flags-pill .sep { display: none; }
  .cc-hero26-sub { font-size: 17px; }
  .cc-hero26-stage { margin-top: 44px; padding: 12px; border-radius: 22px; }
  .cc-mac { border-radius: 12px; }
  .cc-mac-bar { height: 44px; gap: 8px; padding: 0 12px; }
  .cc-mac-bar .tb-ico, .cc-mac-title small, .cc-mac-ai-badge { display: none; }
  .cc-mac-seg span { padding: 3px 7px; }
  .cc-mac-main { padding: 12px; gap: 10px; }
  .cc-mac-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cc-mac-kpi .v { font-size: 18px; }
  .cc-mac-row { grid-template-columns: minmax(0, 1fr); }
  .cc-mac-row > :nth-child(2) { display: none; }
  .cc-mac-act time { display: none; }
  .cc-bites { grid-template-columns: 1fr; }
  .cc-stat-grid { grid-template-columns: 1fr; }
  .cc-retain-grid { grid-template-columns: minmax(0, 1fr); }
  .cc-bite-art { height: 250px; padding: 20px; }
  .cc-bite p { font-size: 21px; padding: 20px 22px 24px; }
  .cc-bite-lock .time { font-size: 60px; margin-bottom: 16px; }
  .cc-bite-region, .cc-bite-region img { width: 150px; height: 150px; }
  .cc-bite-region .pin { left: -40px; top: 6px; }
  .cc-feature-row { padding: 30px 24px; border-radius: var(--r-lg); }
  .cc-band { padding: 36px 12px; }
  .cc-band-card { padding: 34px 22px; border-radius: var(--r-lg); }
  .cc-band-art { min-height: 0; padding: 24px 18px; }
  .cc-chips { grid-template-columns: 1fr; }
  .cc-page-head { margin: 12px 12px 0; padding: 44px 20px 52px; border-radius: var(--r-lg); }
  .cc-docs-head { margin: 12px 12px 0; padding: 40px 20px; border-radius: var(--r-lg); }
  .cc-final-cta { padding: 20px 12px 72px; }
  .cc-final-cta > div { padding: 64px 22px; border-radius: var(--r-lg); }
  .cc-dark-section { padding: 80px 20px 64px; }
  .cc-footer { padding: 56px 20px 32px; }
  .cc-footer-legal { grid-template-columns: 1fr; }
  .cc-footer-legal .made { text-align: left; }
  .cc-platforms { padding: 26px 20px; }
  .cc-platforms ul { gap: 10px 24px; }
  .cc-platforms li { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-hero26-float { animation: none; }
}

/* ── Scroll-driven page colour ──
   On pages with colour bands or dark sections, default.html reads each section's
   own colour, makes the sections transparent and fades the page background to the
   colour of whichever section sits at 40% of the viewport. No hard lines between
   sections. Without JS the sections keep their own colours. */
html.cc-scroll-bg main > section { background: transparent !important; }

/* When the page colour is dark (black, sky, violet…), text that sits directly on
   the page in light sections flips to light. Cards carry their own light tokens,
   so text inside them stays dark. */
@property --ink      { syntax: '<color>'; inherits: true; initial-value: #0b0b0c; }
@property --ink-soft { syntax: '<color>'; inherits: true; initial-value: #55534e; }
@property --ink-mute { syntax: '<color>'; inherits: true; initial-value: #8a877f; }
@property --line     { syntax: '<color>'; inherits: true; initial-value: rgba(11, 11, 12, 0.08); }
html.cc-scroll-bg main > section,
html.cc-scroll-bg .cc-platforms { transition: --ink .6s ease, --ink-soft .6s ease, --ink-mute .6s ease, --line .6s ease; }
body.cc-tone-dark main > section:not(.cc-band):not(.cc-dark-section),
body.cc-tone-dark .cc-platforms {
  --ink: #f5f4f0; --ink-soft: rgba(245, 244, 240, 0.74); --ink-mute: rgba(245, 244, 240, 0.52); --line: rgba(255, 255, 255, 0.16);
}
.cc-bite, .cc-retain, .cc-testi, .cc-phone, .cc-plan-card, .cc-feature-card, .cc-step,
.cc-mac, .cc-big-card, .cc-glass, .cc-dash-card, .cc-feature-row, .cc-flags-pill,
.cc-band-card, .cc-hero26-float, .cc-hero26-stage, .cc-docs-cat, .cc-final-cta > div, .cc-onboard-aside, .cc-callout, .cc-example-card {
  --ink: #0b0b0c; --ink-soft: #55534e; --ink-mute: #8a877f; --line: rgba(11, 11, 12, 0.08);
}
/* Text in dark sections stays dark until the page colour has switched to dark */
@property --dk      { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --dk-soft { syntax: '<color>'; inherits: true; initial-value: rgba(255, 255, 255, 0.65); }
@property --dk-mute { syntax: '<color>'; inherits: true; initial-value: rgba(255, 255, 255, 0.48); }
.cc-dark-section { transition: --dk .6s ease, --dk-soft .6s ease, --dk-mute .6s ease; }
html.cc-scroll-bg body:not(.cc-tone-dark) .cc-dark-section { --dk: #0b0b0c; --dk-soft: #55534e; --dk-mute: #8a877f; }
body.cc-tone-dark .cc-faq summary::after { background-color: rgba(255,255,255,0.9); }
@media (prefers-reduced-motion: reduce) { body { transition: none; } }

/* ── Legal pages (terms, privacy): compact reading column ── */
.cc-legal { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.cc-section .cc-legal h2 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em;
  font-size: 22px; line-height: 1.25; color: var(--ink);
  margin: 44px 0 12px; scroll-margin-top: 90px; text-wrap: balance;
}
.cc-legal p { margin: 0 0 14px; }
.cc-legal ul { margin: 0 0 16px; padding-left: 1.2em; display: grid; gap: 8px; }
.cc-legal strong { color: var(--ink); font-weight: 600; }
.cc-legal a { color: var(--forest); text-decoration: underline; text-decoration-color: rgba(16,38,16,0.3); text-underline-offset: 3px; }
.cc-legal-meta { font-size: 13px; color: var(--ink-mute); }
.cc-legal-toc { background: var(--surface); border-radius: var(--r-md); padding: 20px 24px; margin: 18px 0 8px; }
.cc-legal-toc .cc-eyebrow { margin-bottom: 10px; }
.cc-legal-toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: 14.5px; }
.cc-legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.cc-legal-toc a { color: var(--ink); text-decoration: none; }
.cc-legal-toc a:hover { color: var(--forest); text-decoration: underline; }
@media (max-width: 560px) { .cc-legal-toc ol { columns: 1; } }

.cf-turnstile { min-height: 65px; } /* reserve the widget's height so the form doesn't jump when it loads */
.cf-turnstile[data-size="compact"] { min-height: 65px; }
.cc-form-status { margin: 4px 0 0; font-size: 14px; font-weight: 500; min-height: 1em; }
.cc-form-status.ok { color: #1a7f37; }
.cc-form-status.err { color: #c42f45; }

/* ── Fade-in-up (JS in default.html adds .cc-fx / .is-in) ──
   Vertical only: never translateX, so nothing pushes the page wider than the screen. */
html.cc-fx-on .cc-fx {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
html.cc-fx-on .cc-fx.is-in { opacity: 1; transform: none; }
/* Legacy reveal classes never hide content if the script doesn't run */
html:not(.cc-js) .reveal, html:not(.cc-js) .reveal-child { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.cc-fx-on .cc-fx { opacity: 1; transform: none; transition: none; }
}

.cc-legal .cc-providers li strong { color: var(--ink); }

/* ── Hero dashboard slider: one window, a different AI-built dashboard per app ──
   Slides share one grid cell, so the window keeps its size, and cross-fade in place.
   Nothing moves sideways, so the page never gets wider than the screen. */
.cc-mac-slides { display: grid; min-width: 0; }
.cc-mac-slide {
  grid-area: 1 / 1;
  opacity: 0; transform: translate3d(0, 8px, 0) scale(.99);
  pointer-events: none; visibility: hidden;
  /* hide only after the fade-out has finished, so the two dashboards truly cross-fade */
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s linear .6s, background-color .6s ease;
}
.cc-mac-slide.is-active {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity .6s cubic-bezier(.2,.7,.2,1) .08s, transform .6s cubic-bezier(.2,.7,.2,1) .08s, visibility 0s, background-color .6s ease;
}

/* Window themes: the window's colours ease across with the dashboard */
.cc-mac-bar, .cc-mac-side, .cc-mac-kpi, .cc-mac-card, .cc-mac-seg, .cc-mac-seg span,
.cc-mac-search, .cc-mac-nav, .cc-mac-act, .cc-mac-hbar .track, .cc-mac-act .chip {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease;
}
.cc-mac-chart .g, .cc-mac-chart .tip, .cc-mac-chart .t { transition: fill .6s ease, stroke .6s ease; }
.cc-mac.theme-dark {
  --mac-ink: #f5f5f7; --mac-soft: #a1a1a6; --mac-mute: #6e6e73;
  --mac-line: rgba(255,255,255,0.1); --mac-fill: #2a2a2d;
  --mac-bg: #1c1c1e; --mac-bar: #2a2a2c; --mac-bar-line: rgba(0,0,0,0.6);
  --mac-side: #232325; --mac-side-line: rgba(0,0,0,0.5); --mac-main: #1c1c1e;
  --mac-accent: #ff375f; --mac-accent-2: #bf5af2; --mac-bar-soft: #4a2a3a;
  --mac-grid: rgba(255,255,255,0.07); --mac-tip: #2c2c2e; --mac-tip-line: rgba(255,255,255,0.12);
  --mac-hl: rgba(255,255,255,0.1); --mac-well: rgba(255,255,255,0.08); --mac-seg-on: #5a5a5e;
  --mac-up: #30d158; --mac-ai-ink: #ff6b8a;
  --mac-ai-bg: linear-gradient(135deg, rgba(255,55,95,0.22), rgba(191,90,242,0.2));
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.6), 0 1px 1px rgba(0,0,0,0.1), 0 30px 70px rgba(11,11,12,0.35), 0 60px 120px -30px rgba(60,10,40,0.35);
}
.cc-mac.theme-dark .cc-mac-bar { background-image: linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0)); }
.cc-mac.theme-dark .cc-mac-card { box-shadow: none; }
.cc-mac.theme-dark .cc-mac-act .chip.ok { color: #30d158; }
.cc-mac.theme-dark .cc-mac-act .chip.run { color: #ffb340; }
.cc-mac.theme-dark .cc-mac-act .chip.rev { color: #64b5ff; }
.cc-mac.theme-dark .cc-mac-ai-badge { color: #fff; background: linear-gradient(135deg, rgba(255,55,95,0.55), rgba(191,90,242,0.5)); }
.cc-mac.theme-blue {
  --mac-ink: #0f1d33; --mac-soft: #56657c; --mac-mute: #95a3b8;
  --mac-line: rgba(10,60,140,0.1); --mac-fill: #edf3fd;
  --mac-bg: #f7faff; --mac-bar: #e3ecfb; --mac-bar-line: rgba(10,60,140,0.16);
  --mac-side: #e7effc; --mac-side-line: rgba(10,60,140,0.12); --mac-main: #fbfdff;
  --mac-accent: #0a5be0; --mac-accent-2: #6aaeff; --mac-bar-soft: #c4dafb;
  --mac-grid: rgba(10,60,140,0.07); --mac-tip: #ffffff; --mac-tip-line: rgba(10,60,140,0.14);
  --mac-hl: rgba(10,91,224,0.1); --mac-well: rgba(10,60,140,0.07); --mac-seg-on: #ffffff;
  --mac-up: #1a7f37; --mac-ai-ink: #0a5be0;
  --mac-ai-bg: linear-gradient(135deg, rgba(79,155,255,0.2), rgba(120,220,255,0.18));
  box-shadow: 0 0 0 0.5px rgba(10,40,100,0.25), 0 1px 1px rgba(0,0,0,0.06), 0 30px 70px rgba(11,11,12,0.22), 0 60px 120px -30px rgba(10,60,160,0.3);
}
.cc-mac.theme-blue .cc-mac-ai-badge { color: #08326f; background: linear-gradient(135deg, rgba(120,190,255,0.6), rgba(160,230,255,0.45)); }
.cc-mac { transition: background-color .6s ease, color .6s ease, box-shadow .6s ease; }
.cc-mac-appimg { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.cc-mac-title small, .cc-mac-app b, .cc-mac-app small, .cc-hero26-float b, .cc-hero26-float small { transition: opacity .35s ease; }
.cc-dash-swapping .cc-mac-title small, .cc-dash-swapping .cc-mac-app b, .cc-dash-swapping .cc-mac-app small,
.cc-dash-swapping .cc-hero26-float b, .cc-dash-swapping .cc-hero26-float small, .cc-dash-swapping .cc-mac-appimg { opacity: 0; }
.cc-mac-appimg { transition: opacity .35s ease; }

/* Extra chart marks */
.cc-mac-chart .bar { fill: var(--mac-bar-soft); }
.cc-mac-chart .bar-hi { fill: var(--mac-accent); }
.cc-mac-chart .sla { stroke: #ff9f0a; stroke-width: 1.5; stroke-dasharray: 5 4; }
.cc-mac-chart .slat { font-size: 9.5px; fill: #c27400; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }
.cc-mac-chart .peak { fill: var(--mac-accent); stroke: var(--mac-main); stroke-width: 2; }
.cc-mac-card-head .lg .l3 { background: #ff9f0a; height: 2px; }

/* Horizontal bars (funnels, breakdowns) */
.cc-mac-hbars { display: grid; gap: 9px; }
.cc-mac-hbar { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 11.5px; }
.cc-mac-hbar .lbl { color: var(--mac-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-mac-hbar .track { height: 8px; border-radius: 4px; background: var(--mac-fill); overflow: hidden; }
.cc-mac-hbar .track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--mac-accent-2), var(--mac-accent)); }
.cc-mac-hbar b { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }

/* Apple-style pill tabs with an autoplay progress fill */
.cc-dash-tabs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  max-width: 1180px; margin: 22px auto 0; padding: 0 12px;
}
.cc-dash-tablist { display: contents; }
.cc-dash-tabs-label { width: 100%; text-align: center; font-size: 13px; color: var(--ink-mute); margin-bottom: 2px; }
.cc-dash-tabs button {
  position: relative; overflow: hidden;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer;
  box-shadow: 0 1px 2px rgba(11,11,12,0.05), 0 6px 18px rgba(11,11,12,0.05);
  transition: color .25s ease, background .25s ease;
}
.cc-dash-tabs button span { position: relative; z-index: 1; }
.cc-dash-tabs button i {
  position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0);
  background: rgba(197,240,120,0.55); border-radius: inherit;
}
/* the slider script drives the fill frame by frame, so it can never drift from the timer */
.cc-dash-tabs button[aria-selected="true"] { color: var(--ink); }
.cc-dash-tabs.no-autoplay button[aria-selected="true"] i,
.cc-dash-tabs.is-stopped button[aria-selected="true"] i { transform: scaleX(1) !important; }
.cc-dash-tabs button:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.cc-dash-tabs .cc-dash-play {
  width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); margin-left: 2px;
}
.cc-dash-play svg { width: 14px; height: 14px; }
.cc-dash-play .ic-play, .cc-dash-tabs.is-stopped .cc-dash-play .ic-pause { display: none; }
.cc-dash-tabs.is-stopped .cc-dash-play .ic-play { display: block; }
.cc-dash-tabs.no-autoplay .cc-dash-play { display: none; }
@media (max-width: 720px) {
  .cc-dash-tabs { margin-top: 16px; gap: 6px; }
  .cc-dash-tabs button { font-size: 13px; padding: 8px 13px; }
  .cc-mac-hbar { grid-template-columns: minmax(0, 6.5em) minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-mac-slide, .cc-mac-slide.is-active { transition: none; transform: none; }
}

.cc-legal-table { overflow-x: auto; margin: 4px 0 18px; border-radius: 14px; background: var(--surface); }
.cc-legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.cc-legal-table th, .cc-legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cc-legal-table th { font-size: 12px; font-weight: 600; color: var(--ink-mute); }
.cc-legal-table tr:last-child td { border-bottom: 0; }

/* ── Onboarding form (/get-started/) ── */
.cc-onboard > div > input, .cc-onboard > div > textarea { width: 100%; margin-top: 6px; box-sizing: border-box; }
.cc-onboard textarea { resize: vertical; }
.cc-onboard-opt { font-weight: 400; color: var(--ink-mute); }
.cc-onboard-methods { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cc-onboard-methods legend { font-weight: 600; font-size: 14px; color: var(--ink); padding: 0; margin-bottom: 10px; width: 100%; }
.cc-onboard-methods legend span { font-weight: 400; color: var(--ink-mute); }
.cc-onboard .cc-onboard-methods label { position: relative; font-weight: 500; cursor: pointer; }
.cc-onboard-methods input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-onboard-methods label > span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cc-onboard-methods label > span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .55; flex-shrink: 0; }
.cc-onboard-methods input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.cc-onboard-methods input:checked + span::before {
  opacity: 1; border-color: var(--lime); background: var(--lime)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102610' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.cc-onboard-methods input:focus-visible + span { outline: 2px solid var(--forest); outline-offset: 2px; }
.cc-onboard-legal { font-size: 13px; color: var(--ink-mute); margin: 0; }
.cc-onboard button[type="submit"] { align-self: flex-start; margin-top: 4px; }
.cc-onboard-aside { background: var(--surface); border-radius: var(--r-lg, 28px); padding: 32px; }
.cc-onboard-aside h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--ink); }
.cc-onboard-aside ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.cc-onboard-aside li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.cc-onboard-aside li b { color: var(--ink); font-weight: 600; }
.cc-onboard-aside li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cc-onboard-aside p { font-size: 14px; color: var(--ink-mute); margin: 0; }

/* ── Buttons: LTI arrow hover (DECISION.md #20) ──
   Every text button ends in a right arrow. On hover (devices that can hover) and on keyboard
   focus, the label slides right 26px, a left arrow fades in where the label started, and the
   right arrow fades out. Shape, colours, fonts, sizes, text and the hover lift are unchanged.
   The markup (.arr-t / .arr-in / .arr-out) is added by the script in _layouts/default.html. */
.has-arrow {
  position: relative; overflow: hidden;
  padding-left: 26px; padding-right: 26px; /* room for the incoming arrow; kept symmetrical */
}
.has-arrow.cc-btn-lime-lg { padding-left: 28px; padding-right: 28px; }
.cc-mobile-menu .has-arrow.cc-nav-cta { padding-left: 30px; padding-right: 30px; }
/* overflow: hidden would clip a focus ring drawn outside the button, so draw it inside */
.has-arrow:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.arr-t {
  position: relative; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.arr-in, .arr-out { display: block; flex-shrink: 0; width: 16px; height: 16px; }
.arr-in { position: absolute; left: -26px; top: 50%; margin-top: -8px; opacity: 0; transition: opacity .3s ease; }
.arr-out { transition: opacity .25s ease; }
@media (hover: hover) {
  .has-arrow:hover .arr-t { transform: translateX(26px); }
  .has-arrow:hover .arr-in { opacity: 1; }
  .has-arrow:hover .arr-out { opacity: 0; }
}
.has-arrow:focus-visible .arr-t { transform: translateX(26px); }
.has-arrow:focus-visible .arr-in { opacity: 1; }
.has-arrow:focus-visible .arr-out { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .arr-t, .arr-in, .arr-out { transition: none; } }

/* ════════════════════════════════════════════════════════════════
   Guides (the /track/ articles and the /guides/ hub), separate
   from Docs. White hero card, soft cards, one reading column.
   ════════════════════════════════════════════════════════════════ */
.cc-guide-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 999px; background: var(--p-sky); color: #1f5fbf;
}
.cc-guide-tag.t-violet { background: var(--p-violet); color: #5a48c4; }
.cc-guide-tag.t-coral { background: var(--p-rose); color: #c42f46; }
.cc-guide-tag.t-amber { background: var(--p-peach); color: #a85f00; }
.cc-guide-tag.t-mint { background: var(--p-lime); color: #2a6a18; }

.cc-guide-head {
  background: var(--surface); color: var(--ink);
  max-width: 1240px; margin: 22px auto 0; border-radius: var(--r-xl);
  padding: 44px 28px 48px; text-align: center;
}
@media (max-width: 1290px) { .cc-guide-head { margin-left: 20px; margin-right: 20px; } }
.cc-guide-head .cc-page-crumbs { margin-bottom: 22px; }
.cc-guide-head h1 {
  font-size: clamp(30px, 4.4vw, 54px); max-width: 860px; margin: 16px auto 16px;
  text-wrap: balance; letter-spacing: -0.035em;
}
.cc-guide-lede { color: var(--ink-soft); font-size: 18px; line-height: 1.5; max-width: 640px; margin: 0 auto; }
.cc-guide-meta { margin-top: 22px; font-size: 13px; color: var(--ink-mute); display: flex; gap: 8px; justify-content: center; }

.cc-guide-wrap {
  max-width: 1040px; margin: 0 auto; padding: 48px 28px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px;
}
.cc-guide-wrap > * { min-width: 0; }
@media (min-width: 980px) { .cc-guide-wrap { grid-template-columns: minmax(0, 700px) 240px; justify-content: center; } }
.cc-guide-body { font-size: 17px; line-height: 1.7; color: var(--ink); }
.cc-guide-body p { margin: 0 0 1.1em; }
.cc-guide-body h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: 28px; line-height: 1.2; margin: 2em 0 0.6em; scroll-margin-top: 90px; }
.cc-guide-body h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 20px; margin: 1.6em 0 0.5em; }
.cc-guide-body ul, .cc-guide-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.cc-guide-body li { margin-bottom: 0.5em; }
.cc-guide-body li::marker { color: var(--ink-mute); }
.cc-guide-body strong { font-weight: 600; }
.cc-guide-body a { color: var(--forest); text-decoration: underline; text-decoration-color: rgba(16,38,16,0.3); text-underline-offset: 3px; }
.cc-guide-body a:hover { text-decoration-color: var(--forest); }
.cc-guide-body code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.cc-guide-body pre { overflow-x: auto; background: var(--forest-2); color: #e9f3d8; padding: 18px 20px; border-radius: 16px; }
.cc-guide-body pre code { background: none; padding: 0; color: inherit; }
.cc-guide-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-bottom: 1.2em; }
.cc-guide-body th, .cc-guide-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.cc-guide-body blockquote { margin: 0 0 1.2em; padding: 4px 0 4px 18px; border-left: 3px solid var(--lime-2); color: var(--ink-soft); }

.cc-guide-toc { display: none; }
@media (min-width: 980px) {
  .cc-guide-toc:not([hidden]) { display: block; position: sticky; top: 96px; align-self: start; font-size: 14px; }
}
.cc-guide-toc-h { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); margin-bottom: 12px; }
.cc-guide-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.cc-guide-toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.cc-guide-toc a:hover { color: var(--ink); }

.cc-guide-more { padding: 24px 20px 72px; }
.cc-guide-more-inner { max-width: 1040px; margin: 0 auto; }
.cc-guide-cta {
  background: var(--forest); color: #fff; border-radius: var(--r-lg);
  padding: 44px 40px; margin-bottom: 56px;
}
.cc-guide-cta .cc-eyebrow { color: rgba(255,255,255,0.55); }
.cc-guide-cta h2 { color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(26px, 3vw, 34px); margin: 0 0 10px; max-width: 520px; }
.cc-guide-cta p { color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 0 24px; line-height: 1.55; }
.cc-guide-more-h { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: 26px; margin: 0 0 20px; }
.cc-guide-all { margin-top: 22px; font-size: 15px; }
.cc-guide-all a { color: var(--forest); font-weight: 500; }

.cc-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cc-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cc-guide-grid { grid-template-columns: minmax(0, 1fr); } }
.cc-guide-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--surface); border-radius: var(--r-md); padding: 24px 24px 20px;
  color: var(--ink); text-decoration: none;
  transition: box-shadow .2s ease;
}
.cc-guide-card[hidden] { display: none; }
.cc-guide-card:hover { box-shadow: 0 0 0 1px var(--line), 0 14px 36px rgba(11,11,12,0.07); }
.cc-guide-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.025em; margin: 0; }
.cc-guide-card p {
  margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cc-guide-card-date { margin-top: auto; padding-top: 4px; font-size: 12.5px; color: var(--ink-mute); }

.cc-guides { padding-top: 40px; }
.cc-guides-tools { display: flex; flex-direction: column; gap: 18px; margin-bottom: 14px; }
.cc-guides-search {
  display: flex; align-items: center; gap: 10px; background: var(--surface);
  border-radius: 999px; padding: 0 20px; height: 54px; color: var(--ink-mute); max-width: 520px;
}
.cc-guides-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); min-width: 0; }
.cc-guides-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-guides-chip {
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 0; border-radius: 999px; padding: 9px 16px;
}
.cc-guides-chip span { color: var(--ink-mute); font-weight: 400; margin-left: 4px; }
.cc-guides-chip:hover { box-shadow: 0 0 0 1px var(--line); }
.cc-guides-chip.on { background: var(--forest); color: #fff; }
.cc-guides-chip.on span { color: rgba(255,255,255,0.6); }
.cc-guides-blurbs { min-height: 24px; margin: 0 0 18px; }
.cc-guides-blurbs p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.cc-guides-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }
.cc-guides-more { text-align: center; margin-top: 36px; }
@media (max-width: 720px) {
  .cc-guide-head { padding: 32px 20px 36px; }
  .cc-guide-wrap { padding: 32px 20px 8px; }
  .cc-guide-body { font-size: 16px; }
  .cc-guide-cta { padding: 32px 24px; }
}

/* ── Article pages (search-landing, comparison and example pages) ──
   A reading column like the legal pages, with a callout, code blocks and a comparison table. */
.cc-article { max-width: 760px; margin: 0 auto; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.cc-section .cc-article h2 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.12; color: var(--ink);
  margin: 52px 0 14px; scroll-margin-top: 90px; text-wrap: balance;
}
.cc-section .cc-article h2:first-child { margin-top: 0; }
.cc-section .cc-article h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 19px; line-height: 1.3; color: var(--ink); margin: 28px 0 8px; }
.cc-article p { margin: 0 0 16px; }
.cc-article ul, .cc-article ol { margin: 0 0 18px; padding-left: 1.25em; display: grid; gap: 9px; }
/* the site's CSS reset strips list markers, so bring them back inside articles */
.cc-article ul { list-style: disc; }
.cc-article ol { list-style: decimal; }
.cc-article li::marker { color: var(--ink-mute); }
.cc-article .cc-example-reads, .cc-article .cc-more-links { list-style: none; padding-left: 0; }
.cc-article strong { color: var(--ink); font-weight: 600; }
.cc-article a { color: var(--forest); text-decoration: underline; text-decoration-color: rgba(16,38,16,0.3); text-underline-offset: 3px; }
.cc-article a:hover { text-decoration-color: currentColor; }
.cc-article code { font-family: var(--font-mono); font-size: .88em; background: rgba(11,11,12,0.06); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.cc-article pre { background: #0f1511; color: #e8efe4; border-radius: 16px; padding: 18px 20px; overflow-x: auto; margin: 0 0 20px; font-size: 13.5px; line-height: 1.6; }
.cc-article pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.cc-callout { background: var(--surface); border-radius: var(--r-md, 20px); padding: 22px 24px; margin: 0 0 22px; border: 1px solid var(--line); }
.cc-callout > b { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.cc-callout p:last-child, .cc-callout ul:last-child { margin-bottom: 0; }
.cc-article-note { font-size: 14px; color: var(--ink-mute); }
.cc-article .cc-legal-table { margin: 6px 0 22px; }
.cc-article .cc-legal-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cc-article .cc-legal-table table { min-width: 560px; }

/* Example dashboard pages */
.cc-example-stage { margin-top: 0; margin-bottom: 8px; }
.cc-example-reads { display: grid; gap: 0; margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cc-example-reads li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cc-example-reads li > b { color: var(--ink); font-weight: 600; }
.cc-example-reads li > b span { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.03em; font-weight: 600; }
.cc-example-reads li > b small { font-size: 12.5px; font-weight: 500; color: var(--ink-mute); }
@media (max-width: 560px) { .cc-example-reads li { grid-template-columns: minmax(0, 1fr); } }
.cc-example-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.cc-example-card { display: grid; gap: 14px; align-content: start; background: var(--surface); border-radius: var(--r-lg, 28px); padding: 28px; text-decoration: none; color: var(--ink); transition: background .2s ease; }
.cc-example-card:hover { background: #fff; }
.cc-example-card img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.cc-example-card h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: 22px; line-height: 1.15; margin: 0; color: var(--ink); }
.cc-example-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.cc-example-card .go { font-size: 14px; font-weight: 600; color: var(--forest); }
.cc-more-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.cc-more-links a { display: inline-block; text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 14.5px; font-weight: 500; }
.cc-more-links a:hover { border-color: rgba(11,11,12,0.25); }
