/* Childcare Insight shared styles.
   Brand colours and fonts live ONLY in the :root block below. Change them there, once, for every page and post.
   Look: navy and white with one orange accent (calls to action, the "empty or lost" signal), and a lime highlight on navy surfaces.
   Product-style interface previews instead of photos; cards share one rounded-corner "block" shape. */

:root {
  --ci-on-navy: #C3CDDA;           /* body text on navy */
  --ci-on-navy-strong: #E6ECF3;    /* links and emphasis on navy */
  --ci-on-navy-muted: #8EA0B6;     /* small labels on navy */
  --ci-slate: #9FB0C3;             /* neutral tone for illustrations and previews */
  --ci-navy-rgb: 15, 28, 46;       /* same colour as --ci-navy, for transparent tints. Update both together. */
  --ci-orange-rgb: 228, 87, 46;    /* same colour as --ci-orange, for transparent tints. Update both together. */
  --ci-navy: #0F1C2E;
  --ci-navy-2: #1A2B42;
  --ci-orange: #E4572E;
  --ci-orange-btn: #D3451B;            /* button orange: the logo orange darkened just enough for white text to pass WCAG AA (4.5:1) */
  --ci-orange-btn-hover: var(--ci-orange-dark);
  --ci-orange-dark: #C9441E;     /* orange used as TEXT on light backgrounds */
  --ci-third: #C8F169;           /* the one bright highlight. Use on navy surfaces only (Ramp-style) */
  --ci-accent-neutral: var(--ci-surface);  /* PLACEHOLDER: Morty's extra brand colour, decided at year-end. Tints blog thumbnails. */
  --ci-bg: #FFFFFF;
  --ci-bg-soft: #F1F5F7;         /* Mist */
  --ci-surface: #E6EDF0;
  --ci-surface-hover: #DCE5E9;
  --ci-text: #1C2733;            /* Slate */
  --ci-muted: #566274;
  --ci-border: #DDE4E9;
  --ci-font-head: 'Space Grotesk', system-ui, sans-serif;
  --ci-font-body: 'Inter', system-ui, sans-serif;
  --ci-block: 14px 14px 14px 88px;   /* toy-block corner: one big rounded corner */
  --ci-block-reversed: 14px 88px 14px 14px;   /* toy-block corner: one big rounded corner */
  --ci-block-sm: 10px 10px 10px 44px;
  --ci-block-sm-reversed: 10px 44px 10px 10px;
  --ci-radius: 28px;
  --ci-radius-md: 16px;
  --ci-radius-sm: 10px;
  --ci-max: 1240px;
  --ci-gutter: 24px;
  --ci-header-h: 68px;
}

body { background: var(--ci-bg); padding-top: var(--ci-header-h); }  /* room for the fixed header */
.ci, .ci *, .ci *::before, .ci *::after { box-sizing: border-box; }
.ci { font-family: var(--ci-font-body); font-size: 1.0625rem; color: var(--ci-text); background: var(--ci-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.ci img { max-width: 100%; display: block; }
.ci a { color: inherit; }
.ci h1:where(:not(.ci-tool-app *)), .ci h2:where(:not(.ci-tool-app *)), .ci h3:where(:not(.ci-tool-app *)), .ci h4:where(:not(.ci-tool-app *)) { font-family: var(--ci-font-head); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 .5em; text-wrap: balance; color: var(--ci-navy); }
.ci h1:where(:not(.ci-tool-app *)) { font-size: clamp(3rem, 7.4vw, 6.4rem); letter-spacing: -0.05em; line-height: .94; }
.ci h2:where(:not(.ci-tool-app *)) { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.ci h3:where(:not(.ci-tool-app *)) { font-size: 1.4rem; letter-spacing: -0.025em; line-height: 1.15; }
.ci p:where(:not(.ci-tool-app *)) { margin: 0 0 1em; }
.ci .container { max-width: var(--ci-max); margin: 0 auto; padding: 0 var(--ci-gutter); }
.ci .section { padding: clamp(72px, 10vw, 128px) 0; }
.ci .section--tight { padding-top: 0; }
.ci .section--soft { background: var(--ci-bg-soft); }
.ci .section--dark { background: var(--ci-navy); color: #fff; }
.ci .section--dark h2, .ci .section--dark h3 { color: #fff; }
.ci .section--dark p, .ci .section--dark .lede { color: var(--ci-on-navy); }
.ci .lede { font-size: 1.2rem; line-height: 1.55; color: var(--ci-muted); max-width: 48ch; }
.ci .eyebrow { font-size: .95rem; font-weight: 600; color: var(--ci-muted); margin-bottom: 14px; }
.ci .center { text-align: center; } .ci .center .lede { margin-left: auto; margin-right: auto; }
.ci .sr-only { position: absolute; left: -999px; }
.ci :focus-visible { outline: 3px solid var(--ci-orange); outline-offset: 3px; }

/* Buttons */
.ci .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 1rem var(--ci-font-body); padding: 15px 28px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.ci .btn--primary { background: var(--ci-orange-btn); color: #fff; } .ci .btn--primary:hover { background: var(--ci-orange-btn-hover); }
.ci .btn--dark { background: var(--ci-navy); color: #fff; } .ci .btn--dark:hover { background: var(--ci-navy-2); }
.ci .btn--ghost { background: transparent; color: var(--ci-navy); box-shadow: inset 0 0 0 1.5px var(--ci-navy); } .ci .btn--ghost:hover { background: var(--ci-bg-soft); }
.ci .section--dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); } .ci .section--dark .btn--ghost:hover { background: rgba(255,255,255,.1); }
.ci .btn--sm { padding: 10px 20px; font-size: .92rem; }
.ci .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Grids */
.ci .grid { display: grid; gap: 24px; }
.ci .grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.ci .card--link h3 { margin: 12px 0 10px; }
.ci .card--link .note { margin: 0 0 24px; }
.ci .card--link::after { content: '\2192'; margin-top: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--ci-navy); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.ci .stat { font: 600 clamp(3.4rem, 7vw, 5.6rem)/.95 var(--ci-font-head); letter-spacing: -0.05em; margin: 0 0 16px; }
.ci .tag { display: inline-block; align-self: flex-start; font-size: .82rem; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--ci-bg-soft); color: var(--ci-muted); box-shadow: inset 0 0 0 1px var(--ci-border); }
.ci .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.ci .center .chips { justify-content: center; }
.ci .chip { font: 500 .95rem var(--ci-font-body); padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ci-border); cursor: pointer; color: var(--ci-text); }
.ci .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ci-navy); }
.ci .chip[aria-pressed="true"] { background: var(--ci-navy); color: #fff; box-shadow: none; }

/* ---------- HOME: hero with growth chart ---------- */
.ci .hero { padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); }
.ci .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ci .hero h1 { margin-bottom: 28px; font-size: clamp(3rem, 6.1vw, 5.3rem); }
.ci .hero .lede { margin-bottom: 0; }

/* Proof strip */
.ci .proof { margin: 40px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ci-muted); font-size: .98rem; }
.ci .proof::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ci-navy); }

/* Hero headline colour: orange word, lime highlighter behind the last word. Background stays white. */
.ci .h-mark { padding: 0; }

/* ---------- Why good daycares still struggle: three illustrated cards ---------- */

/* Section heading: oversized title, intro in two tones (strong first sentence, quieter second) under a short orange bar */
.ci .why-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px clamp(40px, 7vw, 104px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.ci .why-head h2 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .95; letter-spacing: -0.05em; }
.ci .why-lede { position: relative; margin: 0; padding-top: 0; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--ci-muted); max-width: 34ch; }
.ci .why-lede strong { display: block; margin-bottom: 6px; font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--ci-font-head); letter-spacing: -0.03em; color: var(--ci-navy); }

/* Home: three illustrated cards in a row */
.ci .why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.ci .why-card h3 { font-size: 1.5rem; margin: 28px 0 12px; max-width: 18ch; }.ci .why-card p { color: var(--ci-muted); margin: 0; max-width: 40ch; }
.ci .why-card a { color: var(--ci-navy); text-underline-offset: 3px; }

@media (max-width: 900px) {
  .ci .why, .ci .why-head { grid-template-columns: 1fr; }
  .ci .why-card h3 { max-width: none; }
}

/* ---------- Why good daycares still struggle: centered title, white cards with small UI previews ---------- */
.ci .why-center .why-head { display: block; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.ci .why-center .why-head h2 { max-width: none; margin: 0 auto 24px; font-size: clamp(2rem, 4.8vw, 4.2rem); white-space: nowrap; }
.ci .why-center .why-lede { margin: 0 auto; max-width: 42ch; padding-top: 0; }
.ci .why-center .why { gap: 20px; }
.ci .why-center .why-card { background: #fff; border-radius: 24px; padding: 12px 12px 32px; box-shadow: 0 0 0 1px rgba(var(--ci-navy-rgb),.07), 0 24px 40px -32px rgba(var(--ci-navy-rgb),.3); }
.ci .why-center .why-card h3 { margin: 24px 16px 10px; max-width: none; font-size: 1.4rem; }
.ci .why-center .why-card p { margin: 0 16px; max-width: none; font-size: 1rem; }
.ci .why-ui { display: flex; flex-direction: column; justify-content: center; gap: 12px; aspect-ratio: 5 / 4; padding: 20px; border-radius: 16px; background: var(--ci-bg-soft); font-size: .78rem; color: var(--ci-muted); }
.ci .mini-title { font-weight: 600; font-size: .82rem; color: var(--ci-navy); }
.ci .mini-team { display: flex; flex-wrap: wrap; gap: 5px; }
.ci .mini-team i { width: 22px; height: 22px; border-radius: 50%; background: var(--ci-navy); }
.ci .mini-team i:nth-child(3n+2) { background: #566274; } .ci .mini-team i:nth-child(3n) { background: var(--ci-slate); }
.ci .mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ci .mini-list li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; }
.ci .mini-list b { color: var(--ci-navy); }
.ci .mini-list em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(var(--ci-navy-rgb),.07); font-style: normal; font-size: .68rem; }
.ci .mini-list .mini-more { background: none; border: 1.5px dashed rgba(var(--ci-navy-rgb),.25); color: var(--ci-muted); }
.ci .mini-chart { display: flex; align-items: center; gap: 20px; }
.ci .mini-donut { flex: none; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--ci-navy) 0 65%, var(--ci-slate) 0); }
.ci .mini-donut b { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--ci-bg-soft); font: 600 1.2rem var(--ci-font-head); letter-spacing: -0.03em; color: var(--ci-navy); }
.ci .mini-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ci .mini-legend li { display: flex; align-items: center; gap: 8px; color: var(--ci-navy); font-weight: 500; }
.ci .mini-legend .sw { width: 12px; height: 12px; border-radius: 4px; } .ci .sw--navy { background: var(--ci-navy); } .ci .sw--slate { background: var(--ci-slate); }
.ci .why-center .mini-bars p { margin: 10px 0 5px; max-width: none; font-size: .76rem; line-height: 1.2; color: var(--ci-muted); } .ci .why-center .mini-bars p:first-child { margin-top: 0; }
.ci .mini-bar { height: 12px; border-radius: 6px; background: rgba(var(--ci-navy-rgb),.1); overflow: hidden; }
.ci .mini-bar i { display: block; height: 100%; border-radius: 6px; background: var(--ci-navy); }
.ci .mini-bar i.is-untracked { background: repeating-linear-gradient(135deg, rgba(var(--ci-orange-rgb),.9) 0 6px, rgba(var(--ci-orange-rgb),.45) 6px 12px); }
.ci .mini-flag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ci-navy); font-weight: 600; font-size: .74rem; color: var(--ci-navy); }
@media (max-width: 760px) { .ci .why-center .why-head h2 { white-space: normal; } }
@media (max-width: 900px) { .ci .why-ui { aspect-ratio: auto; min-height: 240px; } }

/* ---------- Where the loss usually is: minimal icon grid ---------- */
.ci .loss-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; background: var(--ci-navy); border-radius: 10px 10px 10px 28px; }
.ci .loss-ico svg { width: 36px; height: 36px; }
/* ---------- Poll: answers as tiles (dark section) ---------- */
.ci .poll-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.ci .poll-opt { position: relative; display: flex; align-items: center; gap: 16px; margin: 0; padding: 12px 18px 12px 12px; border-radius: 14px 14px 14px 30px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16); color: #fff; font-size: 1.02rem; font-weight: 500; line-height: 1.25; cursor: pointer; transition: background .15s, box-shadow .15s; }
.ci .poll-opt:last-child { grid-column: 1 / -1; }
.ci .poll-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ci .poll-opt:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.ci .poll-opt:has(input:checked) { background: var(--ci-third); color: var(--ci-navy); box-shadow: none; }
.ci .poll-opt:has(input:focus-visible) { outline: 3px solid var(--ci-orange); outline-offset: 3px; }
.ci .poll-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; background: var(--ci-navy); border-radius: 10px 10px 10px 22px; }
.ci .poll-ico svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .ci .poll { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ci .poll-opts { grid-template-columns: 1fr; } }

/* ---------- How a free call works: text + a 30-minute dial ---------- */
.ci .call { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ci .call-lede { margin: 0; max-width: 38ch; color: var(--ci-on-navy); font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; }
.ci .call .btn-row { margin-top: 32px; }
.ci .call-dial svg { display: block; width: 100%; max-width: 420px; height: auto; margin-left: auto; }
@media (max-width: 900px) { .ci .call { grid-template-columns: 1fr; } .ci .call-dial svg { margin: 0 auto; max-width: 320px; } }

/* ---------- Consent checkbox: custom, rounded, no outline ---------- */
.ci .check input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-content: center; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; background: #fff; box-shadow: none; cursor: pointer; transition: background .15s; }
.ci .check input[type=checkbox]::after { content: ''; width: 11px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .12s; }
.ci .check input[type=checkbox]:checked { background: var(--ci-navy); }
.ci .check input[type=checkbox]:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ci .check input[type=checkbox]:focus-visible { outline: none; box-shadow: none; filter: brightness(.9); }
.ci .section--dark .check input[type=checkbox] { background: rgba(255,255,255,.14); }
.ci .section--dark .check input[type=checkbox]:checked { background: var(--ci-third); }
.ci .section--dark .check input[type=checkbox]::after { border-color: var(--ci-navy); }

/* ---------- Newsletter: compact card on Home, separate from the footer ---------- */
.ci .news-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px); align-items: center; background: var(--ci-bg-soft); border-radius: var(--ci-block-sm); padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px); }
.ci .news-card h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.ci .news-card .inline-form { flex-wrap: nowrap; }
.ci .news-card .inline-form .field { flex: 1 1 auto; min-width: 0; margin: 0; }
.ci .news-card input[type=email] { box-shadow: none; background: #fff; }
.ci .news-card input[type=email]:focus { box-shadow: 0 0 0 3px rgba(var(--ci-navy-rgb),.2); outline: none; }
@media (max-width: 900px) { .ci .news-card { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ci .news-card .inline-form { flex-wrap: wrap; } .ci .news-card .inline-form .btn { width: 100%; } }

/* ---------- Hero: product collage + paths ---------- */
.ci .collage { position: relative; min-height: 610px; background: var(--ci-bg-soft); border-radius: var(--ci-block); overflow: hidden; }
.ci .ui { position: absolute; background: #fff; border-radius: 18px; padding: 14px 16px 16px; font-size: .76rem; box-shadow: 0 30px 60px -34px rgba(var(--ci-navy-rgb),.45), 0 0 0 1px rgba(var(--ci-navy-rgb),.05); }
.ci .ui--main { left: 4%; top: 6%; width: 56%; z-index: 2; }
.ci .ui--staff { right: 2%; top: 9%; width: 34%; transform: rotate(3deg); z-index: 1; }
.ci .ui--wait { right: 4%; bottom: 4%; width: 56%; transform: rotate(-2deg); z-index: 3; }
.ci .ui-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 600; font-size: .82rem; color: var(--ci-navy); }
.ci .ui-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ci-surface); }
.ci .ui-bar i + span { margin-left: 8px; }
.ci .ui-fields { margin: 0 0 10px; }
.ci .ui-fields div { display: flex; justify-content: space-between; padding: 7px 11px; margin-bottom: 5px; border-radius: 8px; background: var(--ci-bg-soft); color: var(--ci-muted); }
.ci .ui-fields dd { margin: 0; font-weight: 600; color: var(--ci-navy); }
.ci .ui-spots { margin-bottom: 10px; } .ci .ui-spots svg { display: block; width: 100%; height: auto; }
.ci .ui-result { padding: 12px 14px; border-radius: 12px; background: var(--ci-navy); color: var(--ci-on-navy); font-size: .75rem; }
.ci .ui-result b { display: block; font: 600 1.55rem/1.1 var(--ci-font-head); letter-spacing: -0.03em; color: var(--ci-third); }
.ci .ui-big { margin: 0 0 12px; font: 600 2.2rem/1 var(--ci-font-head); letter-spacing: -0.04em; color: var(--ci-navy); }
.ci .ui-big small { display: block; margin: 6px 0 0; font: 500 .76rem var(--ci-font-body); letter-spacing: 0; color: var(--ci-muted); }
.ci .ui-split { display: flex; height: 8px; margin-bottom: 8px; border-radius: 4px; overflow: hidden; background: var(--ci-surface); }
.ci .ui-split i:first-child { flex: 0 0 72%; background: var(--ci-navy); } .ci .ui-split i:last-child { flex: 1; background: var(--ci-slate); }
.ci .ui-cap { display: flex; justify-content: space-between; margin: 0; color: var(--ci-muted); font-size: .72rem; }
.ci .ui-funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ci .ui-funnel li { display: grid; grid-template-columns: 1fr auto; row-gap: 5px; color: var(--ci-muted); }
.ci .ui-funnel b { color: var(--ci-navy); }
.ci .ui-funnel i { grid-column: 1 / -1; display: block; height: 8px; width: var(--w); border-radius: 4px; background: var(--ci-navy); }
.ci .ui-funnel li:nth-child(2) i { background: #566274; } .ci .ui-funnel li:nth-child(3) i { background: var(--ci-slate); }
.ci .paths { margin-top: clamp(40px, 5vw, 72px); }
.ci .paths-title { margin: 0 0 16px; font: 600 1.25rem var(--ci-font-head); letter-spacing: -0.02em; color: var(--ci-navy); }
.ci .paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ci .paths-grid a { display: grid; grid-template-columns: 52px 1fr 20px; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ci-border); text-decoration: none; transition: box-shadow .15s; }
.ci .paths-grid a::after { content: '\2192'; color: var(--ci-navy); justify-self: end; }
.ci .paths-grid a:hover { box-shadow: inset 0 0 0 1.5px var(--ci-navy); }
.ci .paths-ico { display: grid; place-items: center; width: 52px; height: 52px; background: var(--ci-navy); border-radius: 10px 10px 10px 24px; }
.ci .paths-ico svg { width: 30px; height: 30px; }
.ci .paths-grid b { display: block; margin-bottom: 3px; font: 600 1.05rem/1.2 var(--ci-font-head); letter-spacing: -0.02em; color: var(--ci-navy); }
.ci .paths-grid a > span:last-of-type { font-size: .9rem; line-height: 1.4; color: var(--ci-muted); }
@media (max-width: 900px) {
  .ci .collage { display: none; }
  .ci .paths-grid { grid-template-columns: 1fr; }
}

/* ---------- Live calculator in "Start with a number of your own" ---------- */
.ci .calc-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-bottom: 14px; }
.ci .calc-row label { margin: 0; font-size: .88rem; font-weight: 500; color: var(--ci-muted); }
.ci .calc-row output { font-weight: 600; color: var(--ci-navy); }
.ci .calc input[type=range] { grid-column: 1 / -1; width: 100%; height: 6px; margin: 4px 0 0; border-radius: 3px; background: rgba(var(--ci-navy-rgb),.12); -webkit-appearance: none; appearance: none; cursor: pointer; }
.ci .calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ci-navy); border: 4px solid #fff; box-shadow: 0 2px 6px rgba(var(--ci-navy-rgb),.35); transition: transform .12s; }
.ci .calc input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ci-navy); border: 4px solid #fff; box-shadow: 0 2px 6px rgba(var(--ci-navy-rgb),.35); transition: transform .12s; }
.ci .calc input[type=range]:focus-visible { outline: none; }
.ci .calc input[type=range]:focus-visible::-webkit-slider-thumb { transform: scale(1.2); }
.ci .calc input[type=range]:focus-visible::-moz-range-thumb { transform: scale(1.2); }
.ci .calc .try-spots { margin-top: 18px; }

/* ---------- Shared centered section header ---------- */
.ci .sec-head { text-align: center; margin: 0 auto clamp(36px, 4.5vw, 60px); }
.ci .sec-head h2 { margin: 0 auto 20px; font-size: clamp(2rem, 4.8vw, 4.2rem); line-height: .98; letter-spacing: -0.05em; max-width: none; white-space: nowrap; }
.ci .sec-lede { margin: 0 auto; max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ci-muted); }
.ci .section--dark .sec-head h2 { color: #fff; } .ci .section--dark .sec-lede { color: var(--ci-on-navy); }
@media (max-width: 760px) { .ci .sec-head h2 { white-space: normal; } }

/* mini previews used by the cards */
.ci .mini-svg { display: block; width: 100%; height: auto; }
.ci .mini-n { margin-left: auto; font: 600 1.1rem var(--ci-font-head); color: var(--ci-navy); }
.ci .mini-flag--warn { box-shadow: inset 0 0 0 1.5px #E4572E; color: #C9441E; }
.ci .mini-sched { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; } .ci .mini-sched i { height: 22px; border-radius: 6px; background: var(--ci-navy); } .ci .mini-sched i:nth-child(3n) { background: #566274; } .ci .mini-sched i.is-off { background: none; border: 1.5px dashed #E4572E; }

/* ---------- Poll header ---------- */

/* ---------- Try: centered title, one card ---------- */

/* ---------- What you get: navy panel with three white cards ---------- */
.ci .get-panel { background: var(--ci-navy); border-radius: var(--ci-block); padding: clamp(32px, 5vw, 64px); text-align: center; }
.ci .get-panel h2 { margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(2rem, 4.8vw, 4.2rem); line-height: .98; letter-spacing: -0.05em; color: #fff; }
.ci .get-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.ci .get-card { background: #fff; border-radius: 20px; padding: 28px 26px 32px; }
.ci .get-card .loss-ico { margin-bottom: 40px; }
.ci .get-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.ci .get-card p { margin: 0; color: var(--ci-muted); max-width: 34ch; }
@media (max-width: 900px) { .ci .get-cards { grid-template-columns: 1fr; } }

/* ---------- Call on a light section ---------- */
.ci .call h2 { margin: 0 0 28px; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: .98; letter-spacing: -0.05em; }
.ci .call-lede, .ci .section--soft .call-lede { color: var(--ci-muted); }
.ci .call-lede strong { display: block; margin-bottom: 8px; font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--ci-font-head); letter-spacing: -0.03em; color: var(--ci-navy); }
.ci .dial-n { font: 600 112px var(--ci-font-head); letter-spacing: -0.05em; fill: var(--ci-navy); } .ci .dial-u { font: 500 22px var(--ci-font-body); fill: var(--ci-muted); }

/* ---------- Blog slider header ---------- */
.ci .slider-nav--center { justify-content: center; margin: -20px 0 28px; }

/* ---------- Where the loss usually is: four cards with previews ---------- */
.ci .lb { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ci .lb-card { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 36px); background: var(--ci-bg-soft); border-radius: var(--ci-block-sm); }
.ci .lb-card:nth-child(1) { border-radius: var(--ci-block); }
.ci .lb-text h3 { margin: 0 0 10px; font-size: 1.5rem; }
.ci .lb-text p { margin: 0; color: var(--ci-muted); max-width: 44ch; }
.ci .lb-card .why-ui { aspect-ratio: auto; margin-top: auto; background: #fff; box-shadow: 0 20px 36px -30px rgba(var(--ci-navy-rgb),.35), 0 0 0 1px rgba(var(--ci-navy-rgb),.05); }
@media (max-width: 900px) { .ci .lb { grid-template-columns: 1fr; } }

/* ---------- Start with a number of your own: featured tool card ---------- */
.ci .try { background: var(--ci-bg-soft); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; border-radius: var(--ci-block); padding: clamp(32px, 6vw, 80px); }
.ci .try-tool { padding-top: 0; }
.ci .try-tool .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--ci-muted); }
.ci .try-tool .eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ci-navy); }
.ci .try-tool h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; margin: 0 0 12px; }
.ci .try-tool .lede { font-size: 1.05rem; margin: 0; max-width: 38ch; }
.ci .try-tool .btn-row { margin-top: 24px; }
.ci .try-tool .note { margin: 20px 0 0; max-width: 44ch; }
.ci .try-win { background: #fff; border-radius: var(--ci-block-sm); box-shadow: 0 30px 50px -30px rgba(var(--ci-navy-rgb),.35); padding: 20px 22px 22px; }
.ci .try-win-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; font-weight: 600; font-size: .92rem; color: var(--ci-navy); }
.ci .try-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ci-surface); }
.ci .try-win-bar span { margin-left: 10px; }
.ci .try-spots { margin: 0 0 14px; } .ci .try-spots svg { display: block; width: 100%; height: auto; }
.ci .try-result { background: var(--ci-navy); color: var(--ci-on-navy); border-radius: 14px; padding: 16px 18px; font-size: .85rem; }
.ci .try-result b { display: block; font: 600 2rem/1.1 var(--ci-font-head); letter-spacing: -0.03em; color: var(--ci-third); }
@media (max-width: 900px) { .ci .try { grid-template-columns: 1fr; } }

/* Pill (navy sections only) and dark inset panel */
.ci .section--dark .eyebrow { color: var(--ci-third); }

/* ---------- Poll: answers as pills ---------- */
.ci .poll { grid-template-columns: .9fr 1.1fr; display: grid; gap: 48px 80px; align-items: start; border-top: 1.5px solid var(--ci-navy); padding-top: 48px; }
.ci .poll h2 { margin-bottom: 12px; }

/* ---------- Forms / tool controls ----------
   Element styles (headings, paragraphs, labels, inputs) skip anything inside .ci-tool-app: a tool built as one block
   (Tool code) brings its own styles and only inherits the font and text colour. :where() keeps the specificity at 0. */
.ci label:where(:not(.ci-tool-app *)) { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 6px; }
.ci input[type=text]:where(:not(.ci-tool-app *)), .ci input[type=email]:where(:not(.ci-tool-app *)), .ci input[type=number]:where(:not(.ci-tool-app *)), .ci input[type=search]:where(:not(.ci-tool-app *)), .ci select:where(:not(.ci-tool-app *)), .ci textarea:where(:not(.ci-tool-app *)) {
  width: 100%; font: inherit; padding: 14px 18px; border: 0; border-radius: 14px; background: #fff; color: var(--ci-text); box-shadow: inset 0 0 0 1.5px var(--ci-border); }
.ci input:focus:where(:not(.ci-tool-app *)), .ci select:focus:where(:not(.ci-tool-app *)), .ci textarea:focus:where(:not(.ci-tool-app *)) { box-shadow: inset 0 0 0 2px var(--ci-navy); outline: 3px solid var(--ci-orange); outline-offset: 2px; }
.ci textarea:where(:not(.ci-tool-app *)) { min-height: 150px; resize: vertical; }
.ci input[type=range]:where(:not(.ci-tool-app *)) { width: 100%; accent-color: var(--ci-orange); }
.ci .field { margin-bottom: 20px; }
.ci .check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ci-muted); }
.ci .check input { margin-top: 4px; accent-color: var(--ci-orange); }
.ci .form-status { margin-top: 14px; font-weight: 500; } .ci .form-status[hidden] { display: none; }
.ci .result-label { font-size: .9rem; color: var(--ci-on-navy); }
.ci .inline-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.ci .inline-form .field { flex: 1 1 260px; margin: 0; }

/* ---------- Header (per brief): sticky, compact, light bar. Logo left, menu right, one orange button at the far right.
   A thin bottom border appears once the page scrolls. Solid background, nothing transparent over the hero. ---------- */
.ci-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--ci-header-h); background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.ci-header.is-scrolled { border-bottom-color: var(--ci-border); }
.admin-bar .ci-header { top: 32px; } @media (max-width: 782px) { .admin-bar .ci-header { top: 46px; } }
.ci-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.ci-header .logo { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.ci-header .logo img { height: 32px; width: auto; }
.ci-header .logo-text { font: 600 1.15rem/1 var(--ci-font-head); letter-spacing: -0.03em; color: var(--ci-navy); white-space: nowrap; }
.ci-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ci-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .96rem; padding: 8px 14px; border-radius: 10px; color: var(--ci-muted); transition: background .15s, color .15s; }
.ci-nav a:not(.btn):hover { background: rgba(var(--ci-navy-rgb),.06); color: var(--ci-navy); }
.ci-nav a[aria-current="page"] { background: rgba(var(--ci-navy-rgb),.07); color: var(--ci-navy); font-weight: 600; }
.ci-nav .btn { margin-left: 14px; }
/* Dropdown in the header. Unused since 1.5.0 (no header link has children); kept so one can come back without new CSS. */
.ci-sub { position: relative; }
.ci-sub-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font: 500 .96rem/1.6 var(--ci-font-body); padding: 8px 14px; border-radius: 10px; color: var(--ci-muted); transition: background .15s, color .15s; }
.ci-sub-btn:hover, .ci-sub.is-open .ci-sub-btn { background: rgba(var(--ci-navy-rgb),.06); color: var(--ci-navy); }
.ci-sub-btn.is-current { background: rgba(var(--ci-navy-rgb),.07); color: var(--ci-navy); font-weight: 600; }
/* Scoped under .ci-header (not just .ci-sub-btn) and with explicit display/box so no other rule, now or added
   later, can win on specificity; the svg also carries width/height HTML attributes (header.php) as a fallback
   in case this rule is ever delayed or dropped by a CSS-optimizing cache. */
.ci-header .ci-sub-btn svg { display: block; width: 12px; height: 12px; flex: none; box-sizing: content-box; transition: transform .15s; }
.ci-header .ci-sub.is-open .ci-sub-btn svg { transform: rotate(180deg); }
.ci-sub-menu { position: absolute; top: 100%; left: 0; z-index: 2; min-width: 230px; margin-top: 8px; padding: 8px; display: flex; flex-direction: column; gap: 2px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(var(--ci-navy-rgb),.07), 0 24px 40px -24px rgba(var(--ci-navy-rgb),.35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.ci-sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ci-sub.is-open .ci-sub-menu { opacity: 1; visibility: visible; transform: none; }
.ci-nav .ci-sub-menu a:not(.btn) { display: block; white-space: nowrap; }
@media (hover: hover) and (min-width: 801px) {
  .ci-sub:hover .ci-sub-menu { opacity: 1; visibility: visible; transform: none; }
  .ci-sub:hover .ci-sub-btn { background: rgba(var(--ci-navy-rgb),.06); color: var(--ci-navy); }
  .ci-sub:hover .ci-sub-btn svg { transform: rotate(180deg); }
}
.ci-burger { display: none; position: relative; z-index: 2; margin-left: auto; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ci-burger span { display: block; width: 24px; height: 2px; background: var(--ci-navy); margin: 5px 0; transition: transform .2s, opacity .2s; }
.ci-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ci-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ci-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 800px) {
  .ci-burger { display: block; }
  .ci-nav { position: fixed; top: var(--ci-header-h); right: 0; bottom: 0; left: 0; z-index: 1; margin: 0; overscroll-behavior: contain; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 24px var(--ci-gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .ci-nav.is-open { transform: none; visibility: visible; }
  /* !important: stops the desktop hover tint sticking on touch screens */
  .ci-nav a:not(.btn) { font-size: 1.5rem; font-family: var(--ci-font-head); font-weight: 600; color: var(--ci-navy) !important; letter-spacing: -0.03em; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--ci-border); background: none !important; }
  .ci-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 3px; }
  .ci-nav .btn { margin-top: auto; margin-left: 0; width: 100%; padding: 18px; }
  /* Dropdown inside the mobile menu: the label becomes a heading and its links are always listed under it. */
  .ci-sub { border-bottom: 1px solid var(--ci-border); padding-bottom: 8px; }
  .ci-sub-btn { width: 100%; padding: 14px 0 4px; border-radius: 0; background: none !important; pointer-events: none; font: 600 1.5rem/1.6 var(--ci-font-head); letter-spacing: -0.03em; color: var(--ci-navy) !important; text-align: left; }
  .ci-header .ci-sub-btn svg { display: none; }
  /* opacity/visibility forced rather than inherited, and important: a stale .is-open class left over from an
     earlier desktop/hover interaction (e.g. the browser window or a tablet was resized or rotated across this
     breakpoint without the dropdown being closed first) carries a more specific, non-mobile-scoped rule
     (.ci-sub.is-open .ci-sub-menu) that would otherwise win and leave this list in an unpredictable state;
     site.js also clears .is-open whenever the mobile menu opens or closes, so this is a second line of defence. */
  .ci-sub-menu { position: static; min-width: 0; margin: 0; padding: 0; gap: 0; background: none; border-radius: 0; box-shadow: none; opacity: 1 !important; visibility: visible !important; transform: none; transition: none; }
  .ci-sub-menu::before { display: none; }
  .ci-nav .ci-sub-menu a:not(.btn) { font: 500 1.15rem/1.4 var(--ci-font-body); letter-spacing: 0; color: var(--ci-muted) !important; padding: 9px 0 9px 16px; border-bottom: 0; }
  .ci-nav .ci-sub-menu a[aria-current="page"] { color: var(--ci-navy) !important; text-decoration-thickness: 2px; text-underline-offset: 5px; }
}

/* Logged-in admins (1.6.2): the menu opens below the header wherever the WordPress toolbar pushes it, so it never covers
   the close button. On phones WordPress lets the toolbar scroll away (position: absolute), which left a gap above the
   fixed header; keep it fixed instead, like on larger screens. Visitors never see the toolbar. */
@media (max-width: 800px) { .admin-bar .ci-nav { top: calc(var(--ci-header-h) + 32px); } }
@media (max-width: 782px) { .admin-bar .ci-nav { top: calc(var(--ci-header-h) + 46px); } }
@media (max-width: 600px) { .admin-bar #wpadminbar { position: fixed; } }

/* ---------- Footer: navy; newsletter row on top, then the four columns ---------- */
.ci-footer { background: var(--ci-navy); color: var(--ci-on-navy); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: .95rem; border-radius: 36px 36px 0 0; }
.ci-footer a { text-decoration: none; transition: color .15s; } .ci-footer a:hover { color: #fff; }
.ci-footer h4 { margin: 0 0 18px; font: 600 .85rem var(--ci-font-body); letter-spacing: .01em; color: var(--ci-on-navy-muted); }
.ci-footer ul { list-style: none; margin: 0; padding: 0; } .ci-footer li { margin-bottom: 12px; }
.ci-footer li a { color: var(--ci-on-navy-strong); }
.ci-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.ci-footer .footer-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.ci-footer .logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ci-footer .logo img { height: 38px; width: auto; max-width: none; margin: 0; }
.ci-footer .logo-text { font: 600 1.4rem/1 var(--ci-font-head); letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.ci-footer .logo:hover .logo-text { color: #fff; }
.ci-footer p { max-width: 30ch; margin: 0; line-height: 1.6; color: #B7C3D3; }
.ci-footer .social { display: flex; gap: 10px; margin-top: 24px; }
.ci-footer .social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.07); transition: background .15s; }
.ci-footer .social a:hover { background: rgba(255,255,255,.18); }
.ci-footer .social svg { width: 18px; height: 18px; fill: #fff; }
.ci-footer .bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; font-size: .88rem; color: var(--ci-on-navy-muted); }
.ci-footer .to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--ci-on-navy-strong); font-weight: 500; }
.ci-footer .to-top::after { content: '\2191'; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .15s; }
.ci-footer .to-top:hover::after { background: rgba(255,255,255,.22); }
/* ---------- Blog: editorial cards ---------- */
.ci .post-card { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.ci .post-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ci .post-meta { font-size: .85rem; color: var(--ci-muted); }
/* Swiper blog slider. Before Swiper loads (or if it fails) the cards still scroll sideways. */
.ci .ci-swiper { overflow: hidden; }
.ci .ci-swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.ci .ci-swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 82%; }
.ci .ci-swiper .swiper-slide { height: auto; display: flex; }
.ci .ci-swiper .swiper-slide .post-card { width: 100%; }
.ci .ci-swiper .swiper-slide-active, .ci .ci-swiper img { -webkit-user-drag: none; }
.ci .slider-nav { display: flex; gap: 8px; }
.ci .slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ci-navy); cursor: pointer; font-size: 1.1rem; color: var(--ci-navy); }
.ci .slider-nav button:hover:not(.is-disabled) { background: var(--ci-navy); color: #fff; }
.ci .slider-nav button.is-disabled { opacity: .3; cursor: default; }
.ci .grid > .empty { grid-column: 1 / -1; }
.ci .empty { padding: 48px; text-align: center; color: var(--ci-muted); background: var(--ci-bg-soft); border-radius: var(--ci-block-sm); }

/* Blog cards, minimal: image, one small line (category left, date right), then the title */
.ci .post-card .thumb { aspect-ratio: 16/10; background: var(--ci-surface); object-fit: cover; width: 100%; border-radius: 14px 14px 14px 40px; }
.ci .post-card .body { padding: 20px 2px 0; display: flex; flex-direction: column; flex: 1; }
.ci .ci-swiper .post-card .body, .ci .grid .post-card .body { display: grid; grid-template-columns: 1fr auto; align-content: start; column-gap: 16px; row-gap: 10px; }
.ci .post-card .tag { padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ci-muted); font-weight: 600; font-size: .85rem; }
.ci .post-card .post-meta { font-size: .85rem; color: var(--ci-muted); }
.ci .ci-swiper .post-card .tag, .ci .grid .post-card .tag { grid-column: 1; grid-row: 1; }
.ci .ci-swiper .post-card .post-meta, .ci .grid .post-card .post-meta { grid-column: 2; grid-row: 1; margin: 0; text-align: right; }
.ci .post-card h3 { margin: 0; font-size: 1.4rem; line-height: 1.2; }
.ci .ci-swiper .post-card h3, .ci .grid .post-card h3 { grid-column: 1 / -1; grid-row: 2; }
.ci .more { text-align: center; margin: 36px 0 0; }
.ci .link-arrow { font-weight: 600; color: var(--ci-navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ci .link-arrow::after { content: ' \2192'; }
.ci .link-arrow:hover { color: var(--ci-muted); }

/* Tools page groups */

/* Single post */
.ci .prose h2 { font-size: 1.9rem; margin-top: 1.8em; } .ci .prose h3 { font-size: 1.4rem; margin-top: 1.5em; }
.ci .prose a { color: var(--ci-navy); text-underline-offset: 3px; }
.ci .prose ul, .ci .prose ol { padding-left: 1.3em; } .ci .prose li { margin-bottom: .4em; }
.ci .prose blockquote { border-left: 3px solid var(--ci-navy); margin: 1.6em 0; padding: .2em 0 .2em 22px; font-size: 1.3rem; font-family: var(--ci-font-head); letter-spacing: -0.015em; line-height: 1.4; color: var(--ci-navy); }
.ci .prose table { width: 100%; border-collapse: collapse; font-size: .95rem; } .ci .prose th, .ci .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--ci-border); }
.ci .prose caption { caption-side: bottom; text-align: left; font-size: .85rem; color: var(--ci-muted); padding-top: 8px; }
.ci .prose img { border-radius: var(--ci-block-sm); margin: 1.5em 0; }
.ci .breadcrumb { font-size: .9rem; color: var(--ci-muted); margin-bottom: 24px; } .ci .breadcrumb a { text-decoration: none; } .ci .breadcrumb a:hover { text-decoration: underline; }

/* Tool template */
.ci .tool-results { position: sticky; top: calc(var(--ci-header-h) + 16px); }
.ci details.how summary { font: 600 1.2rem var(--ci-font-head); letter-spacing: -0.02em; cursor: pointer; }
.ci .note { font-size: .9rem; color: var(--ci-muted); }

.ci .tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) {
  .ci .grid--3, .ci .tool-layout, .ci .hero-grid, .ci .poll { grid-template-columns: 1fr; }
  .ci .hero-grid { align-items: start; }
  .ci .tool-results { position: static; }
  .ci .slider-nav { display: none; }
  .ci-footer .footer-cols { grid-template-columns: 1fr 1fr; }
  .ci-footer .footer-cols > :first-child { grid-column: 1 / -1; }
    }
@media (max-width: 560px) { .ci-footer .footer-cols { grid-template-columns: 1fr 1fr; } .ci-footer { border-radius: 28px 28px 0 0; } }
@media (prefers-reduced-motion: reduce) { .ci *, .ci-header, .ci-nav { transition: none !important; scroll-behavior: auto !important; } }
@media print { .ci-header, .ci-footer, .ci .no-print { display: none !important; } .ci .tool-results { position: static; } .ci .table-scroll { overflow: visible; } }

/* Poll on a dark navy section */
.ci .section--dark .poll { display: block; grid-template-columns: none; border: 0; padding: 0; max-width: 860px; margin: 0 auto; border-top: 0; padding-top: 0; }
.ci .section--dark label, .ci .section--dark .check { color: var(--ci-on-navy); }
.ci .section--dark .check a { color: #fff; }
.ci .section--dark .form-status { color: #fff; }

/* ====================== Inner pages (Blog, Contact, Tools, posts, tools, Privacy) ====================== */
.ci .pg-head { text-align: center; padding: clamp(56px, 7vw, 104px) 0 clamp(32px, 4vw, 56px); }
.ci .pg-head h1 { margin: 0 auto 20px; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -0.05em; }
.ci .pg-head .sec-lede { margin: 0 auto; }
.ci .pg-head--left { text-align: left; } .ci .pg-head--left h1 { margin-left: 0; font-size: clamp(2.1rem, 4.6vw, 3.7rem); } .ci .pg-head--left .sec-lede { margin-left: 0; }
.ci .pg-head--left .tag { margin-bottom: 14px; }
.ci .pg-block { padding: 0 0 clamp(40px, 5vw, 72px); }
.ci .pg-search { max-width: 460px; margin: 32px auto 0; }
.ci .pg-search input { padding: 15px 22px; border-radius: 999px; background: var(--ci-bg-soft); box-shadow: none; }
.ci .pg-search input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ci-navy); outline: none; }
.ci .chips--center { justify-content: center; margin: 28px 0 clamp(28px, 4vw, 48px); }
.ci .pg-head .chips--center { margin-bottom: 0; }
.ci .more-row { text-align: center; margin-top: 36px; }

/* Call band: the one navy block near the bottom of inner pages */
.ci .call-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; background: var(--ci-navy); border-radius: var(--ci-block); padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 64px); }
.ci .call-band h2 { margin: 0; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.02; letter-spacing: -0.04em; }
.ci .call-band .band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ci .call-band .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); } .ci .call-band .btn--ghost:hover { background: rgba(255,255,255,.1); }

/* Featured post (Blog) */
.ci .feat-post { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: 14px; background: var(--ci-bg-soft); border-radius: var(--ci-block); text-decoration: none; }
.ci .feat-img { aspect-ratio: 16 / 10; border-radius: 12px 12px 12px 56px; overflow: hidden; background: var(--ci-surface); }
.ci .feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ci .feat-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px clamp(8px, 2vw, 32px) 12px 0; }
.ci .feat-txt h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.05; }
.ci .feat-txt p { margin: 0; color: var(--ci-muted); max-width: 44ch; }
.ci .feat-post:hover .link-arrow { color: var(--ci-muted); }
@media (max-width: 900px) { .ci .feat-post { grid-template-columns: 1fr; } .ci .feat-txt { padding: 4px 12px 16px; } }

/* Featured tool band (Tools page): the one bold moment */
.ci .feat-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ci-navy); border-radius: var(--ci-block); padding: clamp(32px, 6vw, 72px); }
.ci .feat-band h2 { margin: 0 0 14px; color: #fff; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -0.045em; }
.ci .feat-band .eyebrow { margin: 0 0 14px; color: var(--ci-third); }
.ci .feat-band .lede { margin: 0; color: var(--ci-on-navy); max-width: 40ch; }
.ci .feat-art { flex: none; width: min(34%, 260px); height: auto; }
@media (max-width: 760px) { .ci .feat-art { display: none; } }

/* Tool cards and hub groups */
.ci .card { background: #fff; border: 0; border-radius: var(--ci-block-sm); padding: 32px; box-shadow: inset 0 0 0 1.5px var(--ci-border); }
.ci .card--link { display: flex; flex-direction: column; min-height: 230px; text-decoration: none; padding: 26px; transition: border-color .15s, background .15s; background: #fff; }
.ci .card--link:hover { border-color: var(--ci-navy); background: var(--ci-bg-soft); box-shadow: inset 0 0 0 1.5px var(--ci-navy); }
.ci .hub-group { border-top: 0; padding-top: 0; margin-bottom: clamp(48px, 6vw, 80px); }
.ci .hub-group h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 28px; display: flex; align-items: center; gap: 20px; margin: 0 0 24px; }
.ci .hub-group h2::after { content: ''; flex: 1; height: 1.5px; background: var(--ci-border); }

/* Contact */
.ci .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ci .cal-card { overflow: hidden; border-radius: var(--ci-block); background: #fff; box-shadow: 0 0 0 1.5px var(--ci-border); }
.ci .cal-card iframe { display: block; width: 100%; height: 680px; border: 0; }
.ci .form-card { padding: clamp(24px, 3.5vw, 40px); background: var(--ci-bg-soft); border-radius: var(--ci-block-sm); }
.ci .form-card input[type=text], .ci .form-card input[type=email], .ci .form-card input[type=number], .ci .form-card textarea, .ci .form-card select { background: #fff; box-shadow: none; }
.ci .form-card input:focus, .ci .form-card textarea:focus, .ci .form-card select:focus { box-shadow: inset 0 0 0 1.5px var(--ci-navy); outline: none; }
.ci .small-print { margin: 20px 4px 0; font-size: .92rem; color: var(--ci-muted); }
.ci .contact-form-card {}

.ci .contact-from-card {
  border-radius: var(--ci-block-sm-reversed);
}
@media (max-width: 900px) { .ci .contact-grid { grid-template-columns: 1fr; } .ci .cal-card { display: none; } }

/* Single post */
.ci .post-hero { max-width: none; margin: 0 0 clamp(32px, 5vw, 56px); aspect-ratio: 16 / 7; border-radius: var(--ci-block); overflow: hidden; background: var(--ci-surface); }
.ci .post-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ci .prose { max-width: 680px; margin: 0 auto; font-size: 1.125rem; line-height: 1.75; padding-bottom: clamp(24px, 4vw, 48px); }

/* Tool pages */
.ci .note--results { margin-top: 16px; }
.ci .result-sub { margin: 8px 0 0; color: var(--ci-on-navy); }
.ci .result-box { background: var(--ci-navy); color: #fff; border-radius: var(--ci-block-reversed); padding: 32px; }
.ci details.how { background: var(--ci-bg-soft); border-radius: var(--ci-block-sm); padding: 22px 28px; margin-top: 24px; }
.ci .section .container > details.how { margin-top: 20px; }

/* No outlines on the calculator sliders and the consent checkboxes (a soft change in the control itself marks keyboard focus) */
.ci input[type=range]:focus:where(:not(.ci-tool-app *)), .ci input[type=range]:focus-visible:where(:not(.ci-tool-app *)) { outline: none; box-shadow: none; }
.ci input[type=checkbox]:focus:where(:not(.ci-tool-app *)), .ci input[type=checkbox]:focus-visible:where(:not(.ci-tool-app *)) { outline: none; }

/* Post header: pill breadcrumb, big left-aligned title, one meta row. Lines up with the hero image below it. */
.ci .post-head { max-width: none; margin: 0 0 clamp(28px, 4vw, 48px); padding-top: clamp(40px, 6vw, 80px); }
.ci .crumbs { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 7px 16px; border-radius: 999px; background: var(--ci-bg-soft); font-size: .9rem; font-weight: 500; color: var(--ci-muted); }
.ci .crumbs a { text-decoration: none; } .ci .crumbs a:last-child { color: var(--ci-navy); } .ci .crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ci .post-head h1 { margin: 0 0 28px; max-width: none; text-wrap: pretty; font-size: clamp(2.1rem, 4.8vw, 4rem); line-height: .98; letter-spacing: -0.05em; }
.ci .post-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 22px; border-top: 1.5px solid var(--ci-border); font-size: .95rem; color: var(--ci-muted); }
.ci .post-meta-row .tag { text-decoration: none; color: var(--ci-navy); font-weight: 600; }
.ci .meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ci-slate); }
.ci .read-time { display: inline-flex; align-items: center; gap: 7px; } .ci .read-time svg { width: 16px; height: 16px; }
.ci .meta-group { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
@media (max-width: 560px) { .ci .post-meta-row > .meta-dot { display: none; } }

/* Filter chips: tighter on phones so they take fewer rows */
@media (max-width: 600px) {
  .ci .chips { gap: 6px; }
  .ci .chip { padding: 7px 13px; font-size: .88rem; }
}

/* ---------- Deep Dives (ci_research): a piece uses the blog article layout (.post-main, .prose). These are its few extras. ----------
   A piece that brings its own styling (.research-doc, see inc/research.php) is printed at the full page width instead of in
   the 680px column, so its opening band lines up exactly with a blog post's featured image. Its own CSS does the rest. */
.ci .research-doc { margin: 0 0 clamp(28px, 4vw, 52px); }
/* The opening band (the piece's first <header>, marked .ci-band on output) gets the featured image's corner and,
   where there is room, its height: 16:7 of the same width. Content taller than that simply grows. */
.ci .research-doc .ci-band { border-radius: var(--ci-block); overflow: hidden; display: grid; align-content: center; min-height: 43.75cqw; }
@supports not (min-height: 1cqw) { .ci .research-doc .ci-band { min-height: 0; } }
/* In-page links (the piece's own "jump to a section" nav, "read more" anchors, etc.) must land below the sticky
   header, not under it. Applies to every element with an id anywhere in a research piece, so this keeps working
   however a future quarter's template is built, as long as its jump targets are plain ids. */
.ci .research-doc [id] { scroll-margin-top: calc(var(--ci-header-h) + 16px); }
.admin-bar .ci .research-doc [id] { scroll-margin-top: calc(var(--ci-header-h) + 32px + 16px); }
@media (max-width: 782px) { .admin-bar .ci .research-doc [id] { scroll-margin-top: calc(var(--ci-header-h) + 46px + 16px); } }
/* The section right after the band (the piece's own "short version" summary panel, regardless of its own class or id)
   echoes the band's shape instead of sitting as a sharp-edged strip: same corner, same width, a gap instead of a seam,
   and no internal border lines of its own — those were there to separate it from the band, which the gap now does. */
.ci .research-doc .ci-band + * { margin-top: clamp(20px, 3vw, 32px); border-radius: var(--ci-block); overflow: hidden; border-top: 0; border-bottom: 0; }

.ci .post-head .post-lede { max-width: 760px; margin: -10px 0 26px; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--ci-muted); text-wrap: pretty; }
.ci .table-scroll { overflow-x: auto; margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.ci .table-scroll table { min-width: 0; margin: 0; }  /* 1.6.2: fit the screen; scroll only when a table truly can't (was 520px, which cut 3-4 column tables off on phones) */
/* A table that still has to scroll shows a soft shadow at the edge it continues past. */
.ci .table-scroll { background: linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left / 32px 100% no-repeat local, linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) right / 32px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(var(--ci-navy-rgb),.18), transparent) left / 12px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(var(--ci-navy-rgb),.18), transparent) right / 12px 100% no-repeat scroll; }
@media (max-width: 600px) {
  .ci .prose table { font-size: .9rem; }
  .ci .prose th, .ci .prose td { padding: 10px 8px; }
}
@media (max-width: 360px) { .ci .prose table { font-size: .85rem; } .ci .prose th, .ci .prose td { padding: 9px 5px; } }
.ci .prose .callout { margin: 1.8em 0; padding: 22px 26px; border-radius: var(--ci-block-sm); background: var(--ci-bg-soft); font-size: 1.05rem; }
.ci .prose .callout > :first-child { margin-top: 0; } .ci .prose .callout > :last-child { margin-bottom: 0; }
.ci .prose .callout strong:first-child { color: var(--ci-navy); }

/* ---------- Tool pages: intro, one-block tools, "How this is calculated", Ask us a question, page text, FAQ ---------- */
.ci .tool-intro { max-width: 760px; margin: 0 0 28px; font-size: 1.1rem; line-height: 1.6; color: var(--ci-text); }
.ci .tool-intro > :last-child { margin-bottom: 0; }
.ci .tool-intro a, .ci .how-body a, .ci .faq-a a, .ci .ask a { color: var(--ci-navy); text-underline-offset: 3px; }
.ci .ci-tool-app { display: block; width: 100%; min-width: 0; }
.ci .ci-tool-app [id] { scroll-margin-top: calc(var(--ci-header-h) + 16px); }
.ci .how-body > :last-child { margin-bottom: 0; }
.ci .how-body { margin-top: 14px; }
.ci .how-body ul, .ci .how-body ol { padding-left: 1.3em; } .ci .how-body li { margin-bottom: .45em; }

.ci .ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px clamp(28px, 5vw, 64px); align-items: start; margin: clamp(40px, 6vw, 72px) 0 0; padding-top: clamp(32px, 4vw, 48px); border-top: 1.5px solid var(--ci-navy); }
.ci .ask .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.ci .ask .eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ci-orange); }
.ci .ask h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 14px; }
.ci .ask-lead { color: var(--ci-muted); max-width: 46ch; }
.ci .ask-try { font-size: .9rem; font-weight: 600; color: var(--ci-navy); margin: 22px 0 10px; }
.ci .ask-ex { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ci .ask-chip { font: 500 .95rem/1.35 var(--ci-font-body); text-align: left; color: var(--ci-navy); background: var(--ci-bg-soft); border: 0; border-radius: 12px; padding: 10px 16px; min-height: 44px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--ci-border); transition: box-shadow .15s, background .15s; }
.ci .ask-chip:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ci-navy); }
.ci .ask-points { list-style: none; margin: 0; padding: 0; }
.ci .ask-points li { position: relative; padding-left: 28px; margin: 0 0 8px; font-size: .95rem; }
.ci .ask-points li::before { content: ''; position: absolute; left: 4px; top: .3em; width: 6px; height: 11px; border: solid var(--ci-orange); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ci .ask-form .field { margin-bottom: 16px; }
.ci .ask-form textarea { min-height: 130px; }
.ci .ask-form .check { margin: 4px 0 14px; }
.ci .ask-form .btn { margin-top: 6px; }
.ci .ask-small { margin: 0 0 12px; }
.ci .ask-fine { grid-column: 1 / -1; margin: 0; font-size: .92rem; color: var(--ci-muted); }
@media (max-width: 900px) { .ci .ask { grid-template-columns: 1fr; } }

.ci .tool-prose { max-width: 760px; margin: clamp(48px, 6vw, 80px) 0 0; padding-bottom: 0; }
.ci .tool-prose > :first-child { margin-top: 0; }
.ci .tool-faq { max-width: 760px; margin: clamp(48px, 6vw, 80px) 0 0; }
.ci .tool-faq h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 20px; }
.ci .faq-item { border-top: 1px solid var(--ci-border); padding: 4px 0; }
.ci .faq-item:last-child { border-bottom: 1px solid var(--ci-border); }
.ci .faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; padding: 16px 0; font: 600 1.15rem/1.3 var(--ci-font-head); letter-spacing: -0.02em; color: var(--ci-navy); }
.ci .faq-item summary::-webkit-details-marker { display: none; }
.ci .faq-item summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ci-bg-soft); font: 500 1.2rem/1 var(--ci-font-body); transition: transform .15s; }
.ci .faq-item[open] summary::after { content: '\2212'; }
.ci .faq-a { padding: 0 0 16px; color: var(--ci-text); }
.ci .faq-a > :last-child { margin-bottom: 0; }
.ci .tool-page .post-share, .ci .tool-page .share { margin-top: 40px; }
.ci .tool-locked { max-width: 560px; }
.ci .tool-locked input[type=submit] { margin-top: 12px; font: 500 1rem var(--ci-font-body); padding: 12px 24px; border-radius: 999px; border: 0; background: var(--ci-orange-btn); color: #fff; cursor: pointer; }
.ci .try-win--teaser .result-box { padding: 26px; }
.ci .try-teaser-text { color: var(--ci-on-navy); margin: 10px 0 20px; }
.ci .try-win--teaser .btn { margin: 0; }
@media print { .ci .ask, .ci .tool-faq, .ci .tool-prose, .ci .tool-intro { display: none !important; } }

/* ---------- Newsletter form as a shortcode ([ci_newsletter_form], inc/newsletter-form.php). Neutral base: a deep dive styles it to fit its own frame. ---------- */
.ci .ci-nl-form { display: grid; gap: 8px; }
.ci .ci-nl-form .ci-nl-label { font-size: .85rem; font-weight: 600; }
.ci .ci-nl-form .ci-nl-email { width: 100%; }
.ci .ci-nl-form .ci-nl-submit { border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer; background: var(--ci-orange-btn); color: #fff; }
.ci .ci-nl-form .ci-nl-submit:hover { background: var(--ci-orange-btn-hover); }
.ci .ci-nl-form .ci-nl-submit:disabled { opacity: .6; cursor: progress; }
.ci .ci-nl-form .ci-nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; line-height: 1.45; }
.ci .ci-nl-form .ci-nl-consent input { margin-top: 3px; flex: none; }
.ci .ci-nl-form .form-status { margin: 4px 0 0; font-size: .9rem; font-weight: 600; }

/* ---------- 1.6.2: bigger tap areas on touch screens, same look ----------
   Breadcrumbs, "Back to top" and a post's category tag were 23-29px tall; filter chips 31px. The invisible ::before
   extends what a finger can hit to about 44px without moving anything. Chips get a 40px minimum height. */
@media (max-width: 800px) {
  .ci .crumbs a, .ci-footer .to-top, .ci .post-meta-row .tag { position: relative; }
  .ci .crumbs a::before, .ci-footer .to-top::before, .ci .post-meta-row .tag::before { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
  .ci .chip { min-height: 40px; }
}
