/* Wealtek Consults: clean modern design.
   Layout idea: white canvas, centered statements, hairline borders and soft orange light;
   content sits in quiet bordered cards. One accent (Wealtek orange). Light and dark themes. */
@font-face { font-family: "Geist"; src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --bg-2: #FAFAFA;
  --card: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #333333;
  --muted: #666666;
  --line: #EAEAEA;
  --line-2: #D9D9D9;
  --sig: #FF5B1F;
  --sig-text: #C2410C;
  --sig-soft: rgba(255, 91, 31, .10);
  --glow: rgba(255, 91, 31, .16);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.12);
  --invert-bg: #0A0A0A;
  --invert-ink: #FFFFFF;
  --font: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --sig-text: #FF8A5B; --bg: #0A0A0A; --bg-2: #0F0F0F; --card: #111111; --ink: #EDEDED; --ink-2: #CFCFCF; --muted: #A1A1A1;
    --line: #1F1F1F; --line-2: #2E2E2E; --sig-soft: rgba(255,91,31,.14); --glow: rgba(255,91,31,.20);
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px -12px rgba(0,0,0,.6); --invert-bg: #EDEDED; --invert-ink: #0A0A0A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sig-text: #FF8A5B; --bg: #0A0A0A; --bg-2: #0F0F0F; --card: #111111; --ink: #EDEDED; --ink-2: #CFCFCF; --muted: #A1A1A1;
  --line: #1F1F1F; --line-2: #2E2E2E; --sig-soft: rgba(255,91,31,.14); --glow: rgba(255,91,31,.20);
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px -12px rgba(0,0,0,.6); --invert-bg: #EDEDED; --invert-ink: #0A0A0A; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background-color .25s ease, color .25s ease; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sig-text); }
.dot { display: inline-block; width: .19em; height: .19em; border-radius: 50%; background: var(--sig); margin-left: .04em; }

/* Logo swap */
.logo-light { display: block; } .logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; } :root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .logo-light { display: none; } :root:not([data-theme]) .logo-dark { display: block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: 500 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--ink-2); }
.btn-sig, .btn-primary { background: var(--sig); color: #0A0A0A; }
.btn-sig:hover, .btn-primary:hover { background: #ff7440; box-shadow: 0 6px 20px -6px var(--glow); }
.btn-line, .btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover, .btn-ghost:hover { border-color: var(--ink); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btns.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 450; padding: 8px 12px; border-radius: 8px; transition: color .15s ease, background .15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--bg-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { height: 38px; font-size: 14px; padding: 0 14px; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
.theme-wrap { position: relative; }
.theme-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 60; }
.theme-menu p { font-size: 12px; color: var(--muted); padding: 6px 10px 4px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.theme-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; background: transparent; color: var(--ink); font: 450 14px/1.3 var(--font); border-radius: 8px; cursor: pointer; text-align: left; }
.theme-menu button:hover { background: var(--bg-2); }
.theme-menu button svg { width: 16px; height: 16px; flex: none; }
.theme-menu button small { display: block; color: var(--muted); font-size: 12px; }
.theme-menu button[aria-pressed="true"] { background: var(--sig-soft); }
.theme-menu button[aria-pressed="true"]::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--sig); flex: none; }
.ico-sun, .ico-moon { display: none; }
:root[data-theme="light"] .ico-sun, :root:not([data-theme]) .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: block; }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden; }
.bg-glow { position: absolute; left: 50%; top: -260px; width: 1100px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.hero > .wrap { position: relative; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font: 500 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink-2); margin: 0; box-shadow: var(--shadow); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 0 rgba(255,91,31,.5); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,91,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,91,31,0); } }
.display { font-size: clamp(44px, 7vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.0; margin: 26px auto 0; max-width: 14ch; }
.display em { font-style: normal; color: var(--sig); }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 62ch; margin: 22px auto 0; }
.hero .btns { margin-top: 34px; justify-content: center; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Product frame */
.frame { margin: 64px auto 0; max-width: 1040px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); box-shadow: 0 30px 80px -40px rgba(0,0,0,.35), 0 0 0 6px var(--bg-2); overflow: hidden; text-align: left; }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.frame-bar span { margin-left: 10px; font: 500 12.5px var(--mono); color: var(--muted); }
.frame-body { display: grid; grid-template-columns: 1.3fr 1fr; }
.frame-col { padding: 22px; }
.frame-col + .frame-col { border-left: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi strong { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .up { font: 500 11.5px var(--mono); color: #16A34A; }
.chart { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.chart-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.chart svg { width: 100%; height: 130px; display: block; margin-top: 8px; }
.ctl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ctl:last-of-type { border-bottom: 0; }
.ctl .pill { font: 500 11.5px var(--mono); padding: 3px 9px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.ctl .pill.warn { background: var(--sig-soft); border-color: transparent; color: var(--sig); }
.ctl .meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.ctl .meter i { display: block; height: 100%; border-radius: 3px; background: var(--ink); transform-origin: left; animation: grow 1.2s cubic-bezier(.2,.7,.2,1) both; }
.ctl.warn .meter i { background: var(--sig); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.frame-note { font: 500 11.5px var(--mono); color: var(--muted); padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg-2); }

/* Logos */
.logos { padding: 56px 0 24px; text-align: center; }
.logos p { font-size: 14px; color: var(--muted); }
.logo-row { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 52px; }
.logo-row img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: opacity .2s ease, filter .2s ease; }
.logo-row img:hover { filter: none; opacity: 1; }
:root[data-theme="dark"] .logo-row img { filter: grayscale(1) invert(1) brightness(1.6); mix-blend-mode: screen; opacity: .65; }
:root[data-theme="dark"] .logo-row img:hover { filter: grayscale(1) invert(1) brightness(1.8); opacity: .9; }

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.s-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 12px; }
.s-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.s-head.left { text-align: left; margin-left: 0; }

/* Cards */
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
a.card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
a.card:hover::before { opacity: 1; }
.card h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.card .more svg { width: 15px; height: 15px; transition: transform .15s ease; }
a.card:hover .more svg { transform: translateX(3px); color: var(--sig); }
.icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; color: var(--ink); margin-bottom: 8px; }
.icon svg { width: 20px; height: 20px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card .num { font: 500 12px var(--mono); color: var(--muted); }
.card.feature { background: var(--invert-bg); color: var(--invert-ink); border-color: transparent; }
.card.feature p, .card.feature .num { color: color-mix(in srgb, var(--invert-ink) 65%, transparent); }
.card.feature .more { color: var(--invert-ink); }
.card.feature .icon { background: transparent; border-color: color-mix(in srgb, var(--invert-ink) 25%, transparent); color: var(--invert-ink); }
.card.accent { border-color: color-mix(in srgb, var(--sig) 45%, var(--line)); background: linear-gradient(180deg, var(--sig-soft), var(--card) 70%); }
.card.accent .icon { background: var(--sig); border-color: var(--sig); color: #0A0A0A; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.stats > div { padding: 28px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats strong em { font-style: normal; color: var(--sig); }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 12px; }
.split .lead { font-size: 19px; color: var(--ink-2); margin-top: 18px; }
.split p + p { margin-top: 14px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.list svg { width: 20px; height: 20px; flex: none; color: var(--sig); margin-top: 2px; }
.list.two { grid-template-columns: 1fr 1fr; gap: 12px 28px; }

/* Cases */
.case .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 500 12px var(--mono); padding: 4px 9px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.case .result { margin-top: auto; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.case .result b { display: block; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--sig-text); margin-bottom: 4px; }

/* Health check promo */
.promo { position: relative; border: 1px solid var(--line-2); border-radius: 22px; background: var(--card); overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; }
.promo::before { content: ""; position: absolute; left: -200px; bottom: -260px; width: 700px; height: 520px; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.promo-copy { position: relative; padding: 52px; }
.promo-copy h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 12px; }
.promo-copy p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 50ch; }
.promo-copy .btns { margin-top: 28px; }
.promo-ui { position: relative; border-left: 1px solid var(--line); background: var(--bg-2); padding: 40px; display: grid; align-content: center; }
.q-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.q-card .step { font: 500 12px var(--mono); color: var(--muted); display: flex; justify-content: space-between; }
.q-card .bar { height: 6px; border-radius: 3px; background: var(--bg-2); margin: 10px 0 16px; overflow: hidden; }
.q-card .bar i { display: block; height: 100%; width: 58%; background: var(--sig); border-radius: 3px; }
.q-card h4 { font-size: 16px; letter-spacing: -0.01em; line-height: 1.4; font-weight: 600; }
.q-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.q-opts span { font-size: 13px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); }
.q-opts span.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.q-score { margin-top: 14px; display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); }
.ring { --p: 62; width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(var(--sig) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; flex: none; }
.ring b { width: 46px; height: 46px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.q-score span { font-size: 14px; color: var(--muted); }
.q-score strong { display: block; color: var(--ink); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 22px; height: 1px; background: var(--line-2); }
.step-c { position: relative; text-align: center; padding: 0 8px; }
.step-c .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--card); border: 1px solid var(--line-2); font: 600 15px var(--mono); position: relative; }
.step-c.gate .n { background: var(--sig); border-color: var(--sig); color: #0A0A0A; }
.step-c h3 { font-size: 18px; letter-spacing: -0.02em; }
.step-c p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.note { margin: 40px auto 0; max-width: 760px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14.5px; color: var(--ink-2); }
.note svg { width: 18px; height: 18px; color: var(--sig); flex: none; margin-top: 2px; }

/* FAQ */
.faqs { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; flex: none; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--muted); transform: translate(-50%, -50%); transition: transform .2s ease, background .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq[open] .faq-icon::before { background: var(--sig); }
.faq p { padding: 0 4px 22px; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta { position: relative; text-align: center; padding: 120px 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta .bg-glow { top: auto; bottom: -360px; }
.cta h2 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -0.045em; max-width: 16ch; margin: 14px auto 0; }
.cta p { color: var(--muted); font-size: 18px; margin: 18px auto 0; max-width: 52ch; }
.cta .btns { margin-top: 32px; justify-content: center; }
.cta .wrap { position: relative; }

/* Page hero */
.page-hero { position: relative; padding: 84px 0 64px; text-align: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.05em; line-height: 1.02; margin: 20px auto 0; max-width: 18ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero .btns { margin-top: 28px; justify-content: center; }
.crumbs { display: inline-flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }

/* Service detail */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.aside .card h3 { font-size: 17px; }
.outcome { border-left: 3px solid var(--sig); }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose .lead { font-size: 19px; color: var(--ink-2); }

/* Forms */
form.quote { display: grid; gap: 16px; }
form.quote h2 { font-size: 28px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sig); box-shadow: 0 0 0 4px var(--sig-soft); }
textarea { min-height: 130px; resize: vertical; }
.form-status { font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #16A34A; font-weight: 500; }
.form-status.err { color: #DC2626; font-weight: 500; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a, .hc-consent a, .legal a { color: var(--ink); }
#quote-form { scroll-margin-top: 90px; }
.contact-card strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; word-break: break-word; }

/* Legal */
.legal h2 { font-size: 24px; margin: 36px 0 10px; letter-spacing: -0.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal ul strong { color: var(--ink); }
.legal p + p { margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 32px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 40px; }
.foot-grid h4 { font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--muted); }
.foot-grid a:hover { color: var(--ink); }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin-top: 14px; color: var(--muted); max-width: 34ch; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; background: var(--card); gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 500 13px var(--font); padding: 6px 11px; border-radius: 7px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button svg { width: 14px; height: 14px; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- Health check (restyled) ---------- */
.hc-h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 8px; }
.hc-h3 { font-size: 19px; margin-bottom: 14px; }
.hc-gate-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.hc-gate-grid .prose p { margin-top: 12px; }
.hc-gate-grid .label, .hc-head .label, .hc-scorecard .label, .hc-cta .label { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--sig-text); }
.hc-what { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.hc-what li { display: flex; gap: 10px; align-items: flex-start; }
.hc-what svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--sig); }
.hc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.hc-consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; padding: 0; accent-color: var(--sig); }
.hc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hc-hint { color: var(--muted); font-size: 14px; max-width: 40ch; }
.hc-progress { margin: 20px 0 6px; height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }
.hc-progress i { display: block; height: 100%; background: var(--sig); transition: width .35s ease; }
.hc-q { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 24px 0; }
.hc-q legend { float: left; width: 100%; font-weight: 500; font-size: 16.5px; line-height: 1.45; display: flex; gap: 14px; padding: 0; }
.hc-qn { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); font: 500 13px var(--mono); display: grid; place-items: center; }
.hc-opts { clear: both; padding: 14px 0 0 42px; display: flex; flex-wrap: wrap; gap: 8px; }
.hc-opt { position: relative; cursor: pointer; }
.hc-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; padding: 0; }
.hc-opt span { display: inline-block; padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; background: var(--card); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.hc-opt:hover span { border-color: var(--ink); }
.hc-opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hc-opt input:focus-visible + span { outline: 2px solid var(--sig); outline-offset: 2px; }
.hc-nav { margin-top: 26px; display: flex; justify-content: space-between; gap: 12px; }
.hc-res-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.hc-scorecard { border: 1px solid var(--line); background: var(--bg-2); border-radius: 16px; padding: 28px; }
.hc-ring { --p: 0; margin-top: 16px; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sig) calc(var(--p) * 1%), var(--line-2) 0); }
.hc-ring > div { width: 138px; height: 138px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; align-content: center; }
.hc-ring strong { font-size: 50px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.hc-ring span { color: var(--muted); font-size: 14px; }
.hc-band-text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.hc-counts { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hc-count { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.hc-count strong { display: block; font-size: 24px; font-weight: 600; }
.hc-count span { font-size: 12px; color: var(--muted); }
.hc-count.hc-critical strong { color: #DC2626; } .hc-count.hc-high strong { color: var(--sig); }
.hc-dl { margin-top: 22px; width: 100%; }
.hc-link { margin-top: 12px; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 0; }
.hc-bars { display: grid; gap: 14px; }
.hc-bar-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.hc-track { margin-top: 6px; height: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.hc-track i { display: block; height: 100%; background: var(--ink); }
.hc-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hc-top li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.hc-top p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.hc-pill { flex: none; font: 600 11px var(--mono); padding: 4px 8px; border-radius: 6px; color: #fff; background: #777; margin-top: 2px; }
.hc-pill.hc-critical { background: #DC2626; } .hc-pill.hc-high { background: var(--sig); color: #0A0A0A; } .hc-pill.hc-medium { background: #6B6B6B; }
.hc-cta { margin-top: 28px; border-radius: 16px; padding: 32px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: var(--invert-bg); color: var(--invert-ink); transition: box-shadow .4s ease; }
.hc-cta .promo-text { color: color-mix(in srgb, var(--invert-ink) 68%, transparent); margin-top: 10px; }
.hc-cta .band-title { margin-top: 8px; font-size: clamp(26px, 3vw, 36px) !important; }
.hc-cta .dot { background: var(--sig); }
.hc-cta.hc-cta-on { box-shadow: 0 0 0 4px var(--sig); }
.hc-cta-actions { display: grid; gap: 8px; }
.hc-cta .btn-line { background: transparent; color: var(--invert-ink); border-color: color-mix(in srgb, var(--invert-ink) 30%, transparent); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .detail, .promo, .frame-body, .hc-gate-grid, .hc-res-grid, .hc-cta { grid-template-columns: 1fr; }
  .promo-ui { border-left: 0; border-top: 1px solid var(--line); }
  .frame-col + .frame-col { border-left: 0; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 880px) {
  .menu-toggle { display: grid; }
  .nav { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 15px; }
  .header-actions .btn { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .g2, .g3, .g4, .row2, .list.two { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .section { padding: 72px 0; }
  .promo-copy, .promo-ui { padding: 28px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hc-opts { padding-left: 0; }
  .lede { font-size: 17px; }
  .cta { padding: 80px 0; }
}


/* ===================== Usability update ===================== */
/* One primary action: black (white in dark mode). Orange is reserved for accents and buttons on dark panels. */
.foot-grid a.btn-ink { color: var(--bg); }
.foot-grid a.btn-ink:hover { color: var(--bg); }

/* Services dropdown */
.has-mega { position: relative; }
.has-mega > a { display: inline-flex; align-items: center; gap: 6px; }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.mega { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(6px); width: 860px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; padding: 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 70; }
.has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-h { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px 10px 8px; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--bg-2); }
.mega a b { display: block; font-weight: 500; font-size: 14.5px; }
.mega a small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.mi { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; background: var(--bg-2); }
.mi svg { width: 16px; height: 16px; }
.mega .mega-all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 8px; padding-top: 14px; font-weight: 500; font-size: 14px; align-items: center; }
.mega .mega-all svg { width: 15px; height: 15px; }
.nav-cta { display: none !important; }

/* Mobile sticky action bar */
.mbar { display: none; }
.hide-sm { }

/* Compact hero and tight sections */
.page-hero.compact { padding: 56px 0 40px; }
.page-hero.compact h1 { font-size: clamp(34px, 4.6vw, 54px); }
.section.tight { padding: 48px 0 96px; }

/* Grouped services */
.svc-group + .svc-group { margin-top: 56px; }
.svc-group-h { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.svc-group-h h2 { font-size: 28px; }
.svc-group-h p { color: var(--muted); }

/* Industries as a compact list */
.inds { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.ind { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ind:nth-child(3n) { border-right: 0; }
.ind:nth-last-child(-n+3) { border-bottom: 0; }
.ind-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); margin-top: 8px; flex: none; }
.ind h3 { font-size: 16px; letter-spacing: -0.01em; }
.ind p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); text-decoration: none; color: var(--ink); }
a.chip:hover { border-color: var(--ink); }
.q-opts.col { flex-direction: column; }
.q-opts.col span { text-align: left; }

/* Preferred contact */
.pref { border: 0; padding: 0; margin: 0; }
.pref legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 6px; }
.pref-opts { display: flex; gap: 6px; }
.pref-opts label { flex: 1; position: relative; cursor: pointer; }
.pref-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; padding: 0; }
.pref-opts span { display: block; text-align: center; padding: 11px 6px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.pref-opts input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pref-opts input:focus-visible + span { outline: 2px solid var(--sig); outline-offset: 2px; }

/* Footer services */
.foot-svc-all { display: none; }

/* ===== Assessments ===== */
.hc-card { padding: 40px; }
.hc-pick-head { margin-bottom: 22px; }
.hc-pick-head p { margin-top: 6px; }
.hc-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hc-type { position: relative; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hc-type:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.hc-type.rec { border-color: color-mix(in srgb, var(--sig) 50%, var(--line)); background: linear-gradient(180deg, var(--sig-soft), var(--card) 70%); }
.hc-type strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.hc-desc { color: var(--muted); font-size: 14px; line-height: 1.5; }
.hc-meta { margin-top: auto; padding-top: 8px; font: 500 12.5px var(--mono); color: var(--ink-2); }
.hc-rec { position: absolute; top: 14px; right: 14px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--sig-text); }
.hc-chosen { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.hc-chosen .hc-link { margin: 0 0 0 6px; }
.hc-more summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hc-qhead { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.hc-qmeta { font: 500 13px var(--mono); color: var(--muted); }
.hc-qbody { max-width: 720px; margin: 28px auto 0; text-align: center; }
.hc-area { font-size: 14px; color: var(--muted); }
.hc-qtext { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -0.03em; line-height: 1.25; margin-top: 10px; outline: none; }
.hc-answers { display: grid; gap: 8px; max-width: 460px; margin: 28px auto 0; }
.hc-ans { display: block; width: 100%; text-align: left; padding: 15px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink); font: 500 16px var(--font); cursor: pointer; transition: border-color .12s, background .12s, color .12s; }
.hc-ans:hover { border-color: var(--ink); }
.hc-ans.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hc-tip { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hc-nav { align-items: center; }
.hc-nav span { display: flex; gap: 14px; align-items: center; }
.hc-nav .hc-link { margin: 0; }
.hc-more-types { margin-top: 36px; }
.hc-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.hc-other { text-align: left; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; display: grid; gap: 4px; }
.hc-other:hover { border-color: var(--ink); }
.hc-other strong { font-size: 14px; font-weight: 600; }
.hc-other span { font: 500 12px var(--mono); color: var(--muted); }
.hc-cta .btn-sig { color: #0A0A0A; }

@media (max-width: 1020px) {
  .hc-types { grid-template-columns: repeat(2, 1fr); }
  .hc-others { grid-template-columns: repeat(2, 1fr); }
  .inds { grid-template-columns: repeat(2, 1fr); }
  .ind:nth-child(3n) { border-right: 1px solid var(--line); }
  .ind:nth-child(2n) { border-right: 0; }
  .ind:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .ind:nth-last-child(-n+2) { border-bottom: 0; }
  .mega { width: 680px; }
}
@media (max-width: 880px) {
  .has-mega .mega, .chev { display: none; }
  .nav-cta { display: inline-flex !important; margin-top: 8px; color: var(--bg) !important; height: 46px; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; height: 46px; }
  .mbar .btn svg { width: 16px; height: 16px; }
  body:has(.mbar) { padding-bottom: 72px; }
}
@media (max-width: 620px) {
  .hide-sm { display: none !important; }
  .hero { padding-bottom: 8px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-grid .card { padding: 16px; gap: 6px; }
  .svc-grid .card p, .svc-grid .card .num, .svc-grid .card .more { display: none; }
  .svc-grid .card .icon { width: 34px; height: 34px; margin-bottom: 4px; }
  .svc-grid .card h3 { font-size: 15px; }
  .svc-grid .cta-card { grid-column: span 2; }
  .svc-grid .cta-card p, .svc-grid .cta-card .more { display: block; }
  .svc-grid .cta-card .more { display: inline-flex; }
  .inds { grid-template-columns: 1fr; }
  .ind { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 14px 18px; }
  .ind:last-child { border-bottom: 0 !important; }
  .ind p { display: none; }
  .foot-svc { display: none; }
  .foot-svc-all { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink) !important; font-weight: 500; }
  .foot-svc-all svg { width: 15px; height: 15px; }
  .hc-card { padding: 22px; }
  .hc-types, .hc-others { grid-template-columns: 1fr; }
  .hc-qbody { text-align: left; margin-top: 20px; }
  .hc-answers { max-width: none; }
  .hc-nav { flex-wrap: wrap; }
  .pref-opts span { padding: 11px 2px; }
  .case p { display: none; }
}
.card .eyebrow, .card p.eyebrow { color: var(--sig-text); }
.site-header .wrap { position: relative; }
.has-mega { position: static; }
.has-mega::after { left: 0; right: 0; top: 52px; height: 18px; }
.mega { left: 50%; top: 60px; max-width: calc(100vw - 32px); }

/* ---------- Insights ---------- */
.topic-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.topic-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.topic-chips a span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.topic-chips a:hover { border-color: var(--ink); }
.topic-chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); } .topic-chips a[aria-current] span { color: inherit; opacity: .7; }
.post-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.post-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.pc-img { aspect-ratio: 16 / 9; background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .pc-img img { transform: scale(1.03); }
.pc-ph { display: grid; place-items: center; background: radial-gradient(120% 120% at 100% 0%, var(--sig-soft), transparent 60%), var(--bg-2); }
.pc-ph span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--sig-text); }
.pc-ph svg { width: 24px; height: 24px; }
.pc-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.pc-body h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
.pc-body p { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-cat { align-self: flex-start; font: 500 11.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--sig-text); background: var(--sig-soft); padding: 3px 9px; border-radius: 999px; }
.pc-meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); }
.post-card.featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 16px; }
.post-card.featured .pc-img { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: 1px solid var(--line); }
.post-card.featured .pc-body { padding: 40px; justify-content: center; }
.post-card.featured h3 { font-size: clamp(26px, 3vw, 36px); }
.post-card.featured .pc-meta { margin-top: 8px; }
.empty-insights { text-align: center; padding: 56px 24px; }
.empty-insights h2 { font-size: 28px; margin: 16px 0 8px; } .empty-insights p { color: var(--muted); }
.pc-ph-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: var(--sig-soft); color: var(--sig-text); } .pc-ph-ic svg { width: 26px; height: 26px; }
.pager-pub { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 32px; color: var(--muted); font-size: 14px; }
/* Article */
.art-narrow { max-width: 760px; }
.art-head { padding: 64px 0 36px; }
.art-head h1 { font-size: clamp(34px, 4.8vw, 54px); line-height: 1.08; letter-spacing: -0.04em; margin-top: 22px; }
.art-lede { margin-top: 18px; font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.art-cover { margin: 0 auto 8px; max-width: 1000px; }
.art-cover img { width: 100%; border-radius: 18px; border: 1px solid var(--line); display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.toc-box { margin: 28px 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.toc-box p { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.toc-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; } .toc-box li { padding-left: 16px; position: relative; } .toc-box li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--sig); } .toc-box a { color: var(--ink-2); text-decoration: none; } .toc-box a:hover { color: var(--sig-text); text-decoration: underline; }
.art-body { margin-top: 32px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.art-body > * + * { margin-top: 20px; }
.art-body h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); margin-top: 48px; scroll-margin-top: 90px; }
.art-body h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); margin-top: 36px; scroll-margin-top: 90px; }
.art-body a { color: var(--sig-text); text-underline-offset: 3px; }
.art-body ul, .art-body ol { padding-left: 24px; display: grid; gap: 8px; } .art-body li::marker { color: var(--sig); }
.art-body strong { color: var(--ink); }
.art-body blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sig); font-size: 20px; color: var(--ink); }
.art-body code { font-family: var(--mono); font-size: .86em; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 6px; }
.share a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink-2); font-size: 14px; } .share a:hover { border-color: var(--ink); color: var(--ink); }
.art-cta { margin: 40px 0 24px; padding: 32px; border-radius: 20px; background: var(--invert-bg); color: var(--invert-ink); display: grid; gap: 20px; position: relative; overflow: hidden; }
.art-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; background: radial-gradient(closest-side, rgba(255,91,31,.35), transparent); pointer-events: none; }
.art-cta h2 { font-size: 28px; letter-spacing: -0.03em; margin-top: 8px; color: var(--invert-ink); } .art-cta p { opacity: .8; margin-top: 8px; }
.art-cta .btn-line { background: transparent; color: var(--invert-ink); border-color: color-mix(in srgb, var(--invert-ink) 30%, transparent); } .art-cta > * { position: relative; z-index: 1; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: #FFF4D6; color: #5A3B00; text-align: center; font-size: 14px; padding: 10px 16px; border-bottom: 1px solid #F3D58A; }
@media (max-width: 900px) { .post-card.featured { grid-template-columns: 1fr; } .post-card.featured .pc-img { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); } .post-card.featured .pc-body { padding: 26px; } }
@media (max-width: 640px) { .art-head { padding: 40px 0 24px; } .art-body { font-size: 17px; } .art-body h2 { font-size: 25px; } .art-cta { padding: 24px; } }

/* ---------- Privacy rights ---------- */
.rights-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.right-card { padding: 22px; } .right-card h3 { font-size: 17px; margin-top: 4px; } .right-card p { color: var(--muted); font-size: 14.5px; }
.rc-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--sig-soft); color: var(--sig-text); } .rc-ic svg { width: 19px; height: 19px; }
.dsr-opts { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .dsr-opts legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.dsr-opt { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; background: var(--card); transition: border-color .15s, background .15s; }
.dsr-opt:hover { border-color: var(--ink); }
.dsr-opt input { margin-top: 3px; accent-color: var(--sig); width: 17px; height: 17px; flex: none; }
.dsr-opt span { display: flex; flex-direction: column; gap: 2px; } .dsr-opt small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.dsr-opt:has(input:checked) { border-color: var(--sig); background: var(--sig-soft); }
.field-help { color: var(--muted); font-size: 12.5px; }
.dsr-steps { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.dsr-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.dsr-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sig-soft); color: var(--sig-text); font-weight: 600; font-size: 13px; }
.dsr-steps span { color: var(--muted); font-size: 14px; }
.dsr-state { text-align: center; padding: 40px 24px; margin-bottom: 28px; border-color: var(--ink); }
.dsr-state h2 { font-size: 28px; margin: 14px 0 8px; } .dsr-state p { color: var(--ink-2); max-width: 560px; margin: 0 auto 18px; }
.dsr-state form { display: flex; justify-content: center; }
.dsr-ic { width: 54px; height: 54px; margin: 0 auto; border-radius: 15px; display: grid; place-items: center; background: var(--sig-soft); color: var(--sig-text); } .dsr-ic svg { width: 26px; height: 26px; }
.dsr-state.ok .dsr-ic { background: rgba(12,163,12,.12); color: #067647; } .dsr-state.warn .dsr-ic { background: rgba(250,178,25,.18); color: #8A5A00; }
@media (max-width: 1000px) { .rights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rights-grid { grid-template-columns: 1fr; } }
#dsr-form .field { align-content: start; }
.cookie-note { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px; display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); }
.cookie-note-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.cookie-note-text a { color: var(--sig-text); text-decoration: underline; }
.cookie-note .btn { flex: none; white-space: nowrap; }
.cookie-ok .cookie-note { display: none; }
@media (max-width: 880px) { .cookie-note { bottom: calc(76px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; } .cookie-note .btn { width: 100%; } }
