/* =============================================================================
   Coders Universe — inner pages (services, case studies, /work/, local businesses)
   Same visual language as the homepage: dark base, one terminal-green accent,
   mono labels. Self-contained so these pages stay light and fast.
   ============================================================================= */
:root {
  --bg: #0a0a0c;
  --bg-2: #101013;
  --card: #131317;
  --card-2: #17171c;
  --ink: #f2f2ee;
  --ink-2: #b4b4b9;
  --ink-3: #8f8f96;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #5ee08f;
  --accent-soft: rgba(94, 224, 143, 0.12);
  --accent-ink: #052012;
  --wa: #25d366;
  --r: 16px;
  --max: 1180px;
  --gut: clamp(16px, 4.5vw, 56px);
  --font-display: 'Satoshi', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'General Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.cu-skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.cu-skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.cu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent;
  color: var(--ink); font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.cu-btn:hover { border-color: var(--ink-3); }
.cu-btn--solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cu-btn--solid:hover { background: #7ce9a5; border-color: #7ce9a5; }
.cu-btn--wa { background: var(--wa); border-color: var(--wa); color: #06210f; min-height: 40px; padding: 0 16px; font-size: 14px; }
.cu-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- header ---------- */
.cu-top {
  position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 12, 0.86);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.cu-top__in { max-width: var(--max); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 20px; min-height: 64px; }
.cu-top__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.cu-top__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cu-top__nav > a, .cu-top__menu > summary {
  padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; cursor: pointer; list-style: none;
}
.cu-top__nav > a:hover, .cu-top__menu > summary:hover, .cu-top__nav > a[aria-current] { color: var(--ink); background: rgba(255,255,255,.05); }
.cu-top__menu { position: relative; }
.cu-top__menu > summary::-webkit-details-marker, .cu-top__mob > summary::-webkit-details-marker { display: none; }
.cu-top__menu > summary::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.cu-top__drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 320px;
  display: grid; gap: 2px; padding: 8px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.cu-top__drop a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.cu-top__drop a:hover, .cu-top__drop a[aria-current] { background: rgba(255,255,255,.05); }
.cu-top__drop b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cu-top__drop span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.cu-top__act { display: flex; align-items: center; gap: 10px; }
.cu-top__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.cu-top__phone svg { width: 16px; height: 16px; fill: var(--accent); }
.cu-top__mob { display: none; position: relative; }
.cu-top__mob > summary { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; border-radius: 10px; }
.cu-top__mob > summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.cu-top__mob[open] > summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cu-top__mob[open] > summary span:nth-child(2) { opacity: 0; }
.cu-top__mob[open] > summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.cu-top__sheet {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px); display: grid; padding: 8px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.cu-top__sheet a { padding: 12px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.cu-top__sheet a:hover { background: rgba(255,255,255,.05); }
@media (max-width: 980px) {
  .cu-top__nav { display: none; }
  .cu-top__act { margin-left: auto; }
  .cu-top__mob { display: block; }
}
@media (max-width: 560px) {
  .cu-top__phone span { display: none; }
  .cu-top__phone { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; }
}

/* ---------- breadcrumbs ---------- */
.cu-crumbs { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut) 0; }
.cu-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); }
.cu-crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.cu-crumbs a { color: var(--ink-2); text-decoration: none; }
.cu-crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- hero ---------- */
.cu-kick { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: lowercase; color: var(--ink-3); margin: 0 0 16px; }
.cu-kick span { color: var(--accent); margin-right: 4px; }
.cu-hero { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gut) clamp(32px, 5vw, 56px); }
.cu-hero h1 { font-weight: 800; font-size: clamp(30px, 4.6vw, 54px); max-width: 22ch; }
.cu-hero__lede { margin-top: 18px; max-width: 62ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); }
.cu-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cu-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 34px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cu-facts div { background: var(--bg-2); padding: 16px 18px; }
.cu-facts dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cu-facts dd { margin: 6px 0 0; font-weight: 600; font-size: 15.5px; color: var(--ink); }

/* ---------- sections ---------- */
.cu-sec { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gut); border-top: 1px solid var(--line); }
.cu-sec > h2, .cu-sec__head h2 { font-weight: 800; font-size: clamp(24px, 3vw, 36px); max-width: 26ch; margin-bottom: 18px; }
.cu-sec__lede { max-width: 66ch; color: var(--ink-2); font-size: 16.5px; }
.cu-prose { max-width: 70ch; color: var(--ink-2); font-size: 16.5px; }
.cu-prose strong { color: var(--ink); font-weight: 600; }
.cu-prose h3 { font-size: 20px; margin: 28px 0 10px; font-weight: 700; }
.cu-prose ul, .cu-prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.cu-prose li { margin-bottom: .45em; }
.cu-prose li::marker { color: var(--accent); }
.cu-prose a, .cu-sec__lede a, .cu-card a.cu-inline { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(94,224,143,.6); text-underline-offset: 3px; }
.cu-prose a:hover { text-decoration-color: var(--accent); }

.cu-split { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 960px) { .cu-split { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .cu-split__aside { position: sticky; top: 96px; } }

.cu-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 22px; }
.cu-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.cu-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cu-card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.cu-card__tag { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); margin-bottom: 10px; }

.cu-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.cu-steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.cu-steps li::before { content: '0' counter(s); display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); margin-bottom: 10px; }
.cu-steps b { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.cu-steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

.cu-prices { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 22px; }
.cu-price { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cu-price--hl { border-color: rgba(94,224,143,.45); box-shadow: inset 0 0 0 1px rgba(94,224,143,.15); }
.cu-price h3 { font-size: 18px; font-weight: 700; }
.cu-price__amt { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; color: var(--ink); }
.cu-price__amt small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.cu-price ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 14.5px; }
.cu-price li { margin-bottom: 4px; }
.cu-price li::marker { color: var(--accent); }
.cu-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); max-width: 70ch; }

.cu-faq { margin-top: 18px; display: grid; gap: 10px; max-width: 860px; }
.cu-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.cu-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative; font-weight: 600; font-size: 16px; color: var(--ink); }
.cu-faq summary::-webkit-details-marker { display: none; }
.cu-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); font-weight: 400; }
.cu-faq details[open] summary::after { content: '\2212'; }
.cu-faq details > div { padding: 0 18px 16px; color: var(--ink-2); font-size: 15.5px; }
.cu-faq details > div p:last-child { margin-bottom: 0; }

/* project / case-study cards */
.cu-projs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 22px; }
.cu-proj { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.cu-proj:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cu-proj img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cu-proj__b { padding: 16px 18px 18px; display: grid; gap: 6px; }
.cu-proj__k { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.cu-proj__t { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.cu-proj__d { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.cu-proj__more { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 4px; }

/* case study page */
.cu-meta { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 30px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cu-meta div { background: var(--bg-2); padding: 14px 16px; }
.cu-meta dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cu-meta dd { margin: 6px 0 0; font-weight: 600; font-size: 15px; }
.cu-meta a { color: var(--accent); }
.cu-shot { margin: 30px 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.cu-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cu-shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); }
.cu-stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.cu-stack li { font-family: var(--font-mono); font-size: 12.5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.cu-quote { margin: 22px 0 0; padding: 22px 24px; border-radius: var(--r); background: linear-gradient(180deg, rgba(94,224,143,.08), rgba(94,224,143,.02)); border: 1px solid rgba(94,224,143,.25); max-width: 760px; }
.cu-quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.cu-quote figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.cu-quote figcaption b { color: var(--ink); }
.cu-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cu-pager a { flex: 1 1 260px; display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--card); }
.cu-pager a:hover { border-color: var(--line-2); }
.cu-pager small { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.cu-pager b { font-family: var(--font-display); font-size: 16.5px; }
.cu-pager a:last-child { text-align: right; }

.cu-links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 18px; }
.cu-links a { display: grid; gap: 4px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .2s; }
.cu-links a:hover { border-color: var(--line-2); }
.cu-links b { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.cu-links span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ---------- audit form ---------- */
.cu-audit { border-top: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, rgba(94,224,143,.08), transparent 60%), var(--bg-2); }
.cu-audit__in { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut); display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 920px) { .cu-audit__in { grid-template-columns: 1fr 1fr; align-items: start; } }
.cu-audit h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.cu-audit__copy > p { color: var(--ink-2); max-width: 52ch; }
.cu-audit__alt { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }
.cu-audit__alt a { color: var(--ink); font-weight: 600; }
.cu-audit__form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 26px); display: grid; gap: 14px; }
.cu-f { display: grid; gap: 6px; }
.cu-f2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .cu-f2 { grid-template-columns: 1fr 1fr; } }
.cu-f label { font-size: 14px; font-weight: 600; }
.cu-f small { font-weight: 400; color: var(--ink-3); }
.cu-f input, .cu-f textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.cu-f textarea { resize: vertical; min-height: 88px; }
.cu-f input:focus, .cu-f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cu-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cu-audit__msg { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; background: var(--accent-soft); color: var(--ink); }
.cu-audit__msg.is-err { background: rgba(248,113,113,.12); }
.cu-fine { margin: 0; font-size: 13px; color: var(--ink-3); }
.cu-fine a { color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cu-cta { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--gut); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.cu-cta h2 { font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); max-width: 26ch; }
.cu-cta p { margin: 8px 0 0; color: var(--ink-2); }
.cu-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.cu-foot { border-top: 1px solid var(--line); background: var(--bg); }
.cu-foot__grid { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 28px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.cu-foot__grid > div { display: grid; gap: 8px; align-content: start; }
.cu-foot__grid a, .cu-foot__grid span { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.cu-foot__grid a:hover { color: var(--ink); }
.cu-foot__brand p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 6px; max-width: 34ch; }
.cu-foot__name { font-family: var(--font-display); font-weight: 800; color: var(--ink) !important; font-size: 17px !important; }
.cu-foot__brand .cu-btn { color: var(--accent-ink); }
.cu-foot__h { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.cu-foot__bot { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut) calc(18px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.cu-foot__bot a { color: var(--ink-2); }

/* ---------- floating WhatsApp + cookie banner ---------- */
.cu-wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
.cu-wa-float:hover { transform: scale(1.06); }
.cu-wa-float svg { width: 28px; height: 28px; fill: #fff; }
.cu-cookie { position: fixed; left: max(16px, env(safe-area-inset-left)); right: max(88px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); max-width: 520px; z-index: 70; background: #0a0a0c; color: #e4e4e7; border: 1px solid #27272a; border-radius: 12px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(0,0,0,.45); font-size: 13.5px; line-height: 1.5; }
.cu-cookie p { margin: 0 0 10px; }
.cu-cookie a { color: #86efac; }
.cu-cookie div { display: flex; gap: 8px; flex-wrap: wrap; }
.cu-cookie button { font: 600 13.5px/1 var(--font-body); border-radius: 8px; padding: 9px 14px; cursor: pointer; border: 1px solid #3f3f46; background: transparent; color: #fafafa; }
.cu-cookie #cookie-accept { background: #fafafa; color: #0a0a0c; border-color: #fafafa; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* headings inside long-form text (case studies) */
.cu-prose h2 { font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); margin: 36px 0 12px; }
.cu-prose > h2:first-child { margin-top: 0; }
.cu-prose .cu-stack { padding-left: 0; }
.cu-prose .cu-stack li { margin-bottom: 0; }
.cu-prose .cu-quote { margin-top: 24px; }
picture.site-logo-pic { display: contents; }

/* ---------- logo: emblem + live-text wordmark ---------- */
.cu-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1; white-space: nowrap; }
.cu-brand__pic { display: contents; }
.cu-brand__mark { height: 36px; width: auto; display: block; }
.cu-brand__word { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .2em; }
.cu-brand__word b { font-weight: 700; color: var(--accent); }
@media (max-width: 560px) { .cu-brand__mark { height: 30px; } .cu-brand__word { font-size: 12px; letter-spacing: .12em; } .cu-brand { gap: 8px; } }
@media (max-width: 370px) { .cu-brand__word { display: none; } }

/* ---------- theme toggle ---------- */
.cu-theme { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; }
.cu-theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cu-theme__moon { display: none; }
html.cu-light .cu-theme__sun { display: none; }
html.cu-light .cu-theme__moon { display: block; }

/* ---------- light theme (same palette as the homepage's light mode) ---------- */
html.cu-light {
  --bg: #f4f3ef; --bg-2: #eae9e4; --card: #ffffff; --card-2: #fafaf7;
  --ink: #0b0b0c; --ink-2: #4f4f55; --ink-3: #66666c;
  --line: rgba(11, 11, 12, 0.12); --line-2: rgba(11, 11, 12, 0.22);
  --accent: #15803d; --accent-soft: rgba(21, 128, 61, 0.12); --accent-ink: #ffffff;
  color-scheme: light;
}
html.cu-light .cu-brand__mark { filter: invert(1); }
html.cu-light .cu-top { background: rgba(244, 243, 239, 0.88); }
html.cu-light .cu-btn--solid:hover { background: #166534; border-color: #166534; }
html.cu-light .cu-top__nav > a:hover, html.cu-light .cu-top__menu > summary:hover, html.cu-light .cu-top__nav > a[aria-current],
html.cu-light .cu-top__drop a:hover, html.cu-light .cu-top__sheet a:hover { background: rgba(11, 11, 12, .05); }
html.cu-light .cu-quote { background: linear-gradient(180deg, rgba(21,128,61,.08), rgba(21,128,61,.02)); border-color: rgba(21,128,61,.3); }
html.cu-light .cu-price--hl { border-color: rgba(21,128,61,.5); }
html.cu-light .cu-audit { background: radial-gradient(80% 120% at 100% 0%, rgba(21,128,61,.08), transparent 60%), var(--bg-2); }
html.cu-light .cu-prose a, html.cu-light .cu-sec__lede a, html.cu-light .cu-card a.cu-inline { text-decoration-color: rgba(21,128,61,.6); }
html.cu-light .cu-top__drop, html.cu-light .cu-top__sheet { box-shadow: 0 24px 60px rgba(0,0,0,.14); }
@media (max-width: 560px) { .cu-top .cu-btn--wa { display: none; } }
/* header call button: icon only (no number on screen) */
.cu-top__phone--icon { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; }
.cu-top__phone--icon:hover { border-color: var(--accent); }
.cu-btn--icon { display: inline-flex; align-items: center; }
