/* Kenrick Cleveland site. Follows The Power Ark landing page conventions
   (system font, 800 headlines, tight tracking, centered hero, pill CTAs)
   with blue where The Power Ark uses red. */

:root {
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --ink: #0b0e16;
  --ink-2: #333333;
  --ink-3: #6b7280;
  --line: #e5e7eb;
  --blue: #1d4ed8;
  --blue-2: #1e40af;
  --blue-soft: rgba(29, 78, 216, 0.10);
  --red: #dc2626;
  --red-2: #b91c1c;
  --red-soft: rgba(220, 38, 38, 0.10);
  --max: 1120px;
  --panel: #f3f6fb;
  --panel-ink: #0b0e16;
  --panel-body: #3a4150;
  --panel-card: #ffffff;
  --panel-line: #dbe3f0;
  --panel-glow: rgba(37, 99, 235, 0.16);
  --panel-accent: #1d4ed8;
  --panel-num-a: #60a5fa;
  --panel-num-b: #1d4ed8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a0a0a; --paper-2: #141414; --ink: #f5f5f5; --ink-2: #e5e5e5; --ink-3: #a3a3a3; --line: #262626;
    --blue: #3b82f6; --blue-2: #2563eb; --blue-soft: rgba(59, 130, 246, 0.14); --red: #ef4444; --red-2: #dc2626; --red-soft: rgba(239, 68, 68, 0.14); --panel: #0b0e16; --panel-ink: #ffffff; --panel-body: #c9ced8; --panel-card: rgba(255,255,255,0.04); --panel-line: rgba(255,255,255,0.10); --panel-glow: rgba(37, 99, 235, 0.28); --panel-accent: #93c5fd; --panel-num-a: #93c5fd; --panel-num-b: #2563eb;
  }
}
:root[data-theme="dark"] {
  --paper: #0a0a0a; --paper-2: #141414; --ink: #f5f5f5; --ink-2: #e5e5e5; --ink-3: #a3a3a3; --line: #262626;
  --blue: #3b82f6; --blue-2: #2563eb; --blue-soft: rgba(59, 130, 246, 0.14); --red: #ef4444; --red-2: #dc2626; --red-soft: rgba(239, 68, 68, 0.14); --panel: #0b0e16; --panel-ink: #ffffff; --panel-body: #c9ced8; --panel-card: rgba(255,255,255,0.04); --panel-line: rgba(255,255,255,0.10); --panel-glow: rgba(37, 99, 235, 0.28); --panel-accent: #93c5fd; --panel-num-a: #93c5fd; --panel-num-b: #2563eb;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 560px) { .wrap { padding-inline: 16px; } body { font-size: 17px; } }

h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; text-wrap: balance; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
h2 + .lede, h1 + .lede { margin-top: 18px; }
.with + .lede { margin-top: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }

/* headline gradient rule, as on The Power Ark */
.rule-under { display: inline-block; padding-bottom: 10px; background-image: linear-gradient(90deg, transparent 0%, var(--blue) 18%, var(--blue) 82%, transparent 100%); background-repeat: no-repeat; background-size: 100% 3px; background-position: 50% 100%; }
.rule-under.red { background-image: linear-gradient(90deg, transparent 0%, var(--red) 18%, var(--red) 82%, transparent 100%); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; align-items: center; }
.nav li a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav li a:hover { color: var(--ink); }
.nav li a.pill, .nav li a.pill:hover { color: #fff; }
.nav li a.ext::after { content: " \2197"; font-size: 12px; }
@media (max-width: 720px) { .nav ul { gap: 14px; } .nav li a { font-size: 14px; } .nav li.hide-sm { display: none; } }

/* pill buttons: the exact recipe from The Power Ark navbar "Start Here" button, recolored */
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.25; text-decoration: none; color: #fff; will-change: transform; transition: all 300ms ease-out; white-space: nowrap; }
.pill:hover { transform: translateY(-2px); }
.pill.blue { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 40%, #1d4ed8 100%); border: 1px solid rgba(29, 78, 216, 0.8); box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(37, 99, 235, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
.pill.blue:hover { box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4), 0 3px 6px rgba(37, 99, 235, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.3); }
.pill.red { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 40%, #b91c1c 100%); border: 1px solid rgba(185, 28, 28, 0.8); box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3), 0 2px 4px rgba(220, 38, 38, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
.pill.red:hover { box-shadow: 0 6px 12px rgba(220, 38, 38, 0.4), 0 3px 6px rgba(220, 38, 38, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.3); }
.pill.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.pill.lg { padding: 14px 28px; font-size: 15px; }
.pill.xl { padding: 20px 40px; font-size: 19px; gap: 12px; }
.pill:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.note { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* hero */
.hero { min-height: calc(100vh - 84px); display: flex; align-items: center; padding: clamp(36px, 5vw, 64px) 0; text-align: center; }
.hero .wrap { width: 100%; }
.hero h1 { max-width: 980px; margin-inline: auto; line-height: 1.2; }
.hero .with { margin: 16px 0 18px; font-size: clamp(20px, 2.2vw, 26px); font-style: italic; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.hero .with img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; object-position: center 6%; border: 1px solid var(--line); }
.hero .lede { max-width: 780px; margin: 0 auto; }
.cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.cats li { font-size: 17px; font-weight: 500; color: var(--ink); padding: 4px 22px; border-left: 1px solid var(--line); }
.cats li:first-child { border-left: 0; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* the two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }
.door { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,0.04); position: relative; overflow: hidden; }
.door::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.door.blue::before { background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.door.red::before { background: linear-gradient(90deg, var(--red), var(--red-2)); }
.door .eyebrow { margin-bottom: 8px; }
.door.blue .eyebrow { color: var(--blue); }
.door.red .eyebrow { color: var(--red); }
.door h3 { font-size: 26px; margin-bottom: 10px; }
.door p { color: var(--ink-2); }
.door ul { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 9px; }
.door li { padding-left: 26px; position: relative; font-size: 16.5px; line-height: 1.5; }
.door li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; }
.door.blue li::before { color: var(--blue); }
.door.red li::before { color: var(--red); }
.door .foot { margin-top: auto; display: grid; gap: 10px; justify-items: center; }
.door .foot small { color: var(--ink-3); font-size: 14px; }
.pill.full { width: 100%; padding: 16px 28px; font-size: 16px; gap: 10px; }
.pill .arrow { display: inline-block; transition: transform 300ms ease-out; }
.pill:hover .arrow { transform: translateX(3px); }

/* framed media */
.frame { border-radius: 24px; padding: 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.10); max-width: 560px; margin: 0 auto; }
.frame img { border-radius: 16px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%; }

/* sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section.tint { background: var(--paper-2); }

/* three columns */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .cols3, .cols2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card .num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* story rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; } }
.row h3 { font-size: 19px; }
.row p:last-child { margin-bottom: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; padding: 22px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.stat b { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); }

/* quotes with faces */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.quote p { font-size: 17.5px; color: var(--ink); line-height: 1.5; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: 15px; flex: none; }
.quote b { display: block; font-size: 15px; color: var(--ink); }
.quote span { display: block; font-size: 13px; color: var(--ink-3); }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.tier .num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 8px; }
.tier h3 { font-size: 26px; }
.tier .len { font-size: 15px; color: var(--ink-3); margin: 4px 0 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.tier li { padding-left: 26px; position: relative; font-size: 16px; line-height: 1.5; }
.tier li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
.tier .best { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.tier .best b { color: var(--ink); }
.tier.featured { border-color: var(--blue); box-shadow: 0 16px 40px rgba(29, 78, 216, 0.12); }

/* conditions */
.conds { list-style: none; padding: 0; margin: 0 auto 26px; display: grid; gap: 14px; max-width: 720px; text-align: left; }
.conds li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-size: 18px; color: var(--ink); }
.conds li i { font-style: normal; width: 30px; height: 30px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-top: 2px; }

/* bio strip */
.bio { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--paper); }
.bio img { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; object-position: center 6%; }
.bio p { margin: 0; font-size: 16.5px; }
@media (max-width: 560px) { .bio { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--ink-3); }

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

/* through-line panel, light and dark via tokens */
section.dark { --panel: #0b0e16; --panel-ink: #ffffff; --panel-body: #c9ced8; --panel-card: rgba(255,255,255,0.04); --panel-line: rgba(255,255,255,0.10); --panel-glow: rgba(37, 99, 235, 0.28); --panel-accent: #93c5fd; --panel-num-a: #93c5fd; --panel-num-b: #2563eb; background: var(--panel); color: var(--panel-body); position: relative; overflow: hidden; }
section.dark::before { content: ""; position: absolute; inset: -40% -20% auto -20%; height: 80%; background: radial-gradient(ellipse at 50% 0%, var(--panel-glow), transparent 60%); pointer-events: none; }
section.dark .wrap { position: relative; }
section.dark h2, section.dark h3 { color: var(--panel-ink); }
section.dark .lede { color: var(--panel-body); }
section.dark .eyebrow { color: var(--panel-accent); }
section.dark h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.035em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--panel-card); border: 1px solid var(--panel-line); border-radius: 20px; padding: 30px 28px 26px; position: relative; transition: border-color 300ms ease, transform 300ms ease; }
.step:hover { border-color: var(--panel-accent); transform: translateY(-2px); }
.step .big { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, var(--panel-num-a) 0%, var(--panel-num-b) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--panel-body); font-size: 16.5px; line-height: 1.6; }
section.dark .tag { margin: 36px auto 0; font-size: 18px; color: var(--panel-accent); font-weight: 600; }

/* theme toggle */
.theme { background: transparent; border: 1px solid var(--line); border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--ink); font-size: 17px; line-height: 1; padding: 0; }
.theme .sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .moon { display: none; } :root:not([data-theme="light"]) .theme .sun { display: inline; } }
:root[data-theme="dark"] .theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: inline; }

/* endorsements: the exact block from The Power Ark author card, recolored blue */
.endorse { max-width: 900px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 32px; text-align: left; }
.end { display: flex; align-items: center; gap: 24px; }
.end-photo { flex-shrink: 0; width: 80px; height: 80px; }
.end-photo img { width: 100%; height: 100%; border-radius: 9999px; object-fit: cover; }
.end-body { flex: 1; margin-left: 16px; }
.end-body blockquote { margin: 0 0 12px; font-size: 18px; line-height: 1.625; font-style: italic; color: var(--ink); }
.end-body .hl { background: #dbeafe; color: #1e40af; padding: 4px 8px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.end-who { color: #86868b; }
.end-name { font-weight: 600; font-size: 18px; color: var(--ink); }
.end-title { font-style: italic; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .end-body .hl { background: #1e3a8a; color: #bfdbfe; } :root:not([data-theme="light"]) .end-who { color: #a1a1a6; } }
:root[data-theme="dark"] .end-body .hl { background: #1e3a8a; color: #bfdbfe; }
:root[data-theme="dark"] .end-who { color: #a1a1a6; }
@media (max-width: 560px) { .end { flex-direction: column; align-items: flex-start; gap: 12px; } .end-body { margin-left: 0; } }

/* faq */
.faqs { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-3); flex: none; }
.faq[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 18px; color: var(--ink-2); font-size: 16.5px; }

.pill.two { flex-direction: column; gap: 2px; padding: 14px 28px 15px; line-height: 1.2; }
.pill.two .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.pill.two .act { font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

/* hero (restored) */
.hero-top { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; text-align: left; max-width: 860px; margin: 0 auto; }
.hero-photo { width: 240px; margin: 0 auto; }
.hero-photo img { width: 240px; height: 240px; border-radius: 28px; object-fit: cover; object-position: center 10%; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.hero-text h1 { text-align: left; margin-inline: 0; }
.hero-text h1 .rule-under { background-image: linear-gradient(90deg, var(--blue) 0%, var(--blue) 55%, transparent 100%); background-position: 0 100%; }
.hero-text .cred { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
.hero-text .cred b { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.hero-text .cred span { font-size: 15px; color: var(--ink-3); }
.hero-text .cred span::before { content: "\00b7"; margin-right: 10px; color: var(--ink-3); }
.hero-panel { max-width: 900px; margin: 40px auto 0; padding: 44px 48px; border-radius: 28px; background: var(--paper-2); }
.hero-panel .hero-with { display: block; margin: 0 auto; font-style: normal; font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); max-width: 720px; }
.hero-panel .hero-lede { max-width: 720px; margin: 16px auto 0; text-align: center; font-size: 17.5px; line-height: 1.55; color: var(--ink-3); font-weight: 400; }
@media (max-width: 860px) { .hero-top { grid-template-columns: 1fr; text-align: center; gap: 22px; } .hero-photo, .hero-photo img { width: 200px; height: auto; } .hero-photo img { height: 200px; } .hero-text h1 { text-align: center; } .hero-text .cred { justify-content: center; } }
@media (max-width: 560px) { .hero-panel { padding: 28px 22px; border-radius: 22px; } }
.attrib { margin-top: 14px; font-size: 16px; color: var(--ink-3); font-weight: 600; }
.attrib .role { font-weight: 400; }

/* case studies: The Power Ark services pattern */
.cs-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cs-pill { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); cursor: pointer; transition: all 200ms ease; font-family: inherit; }
.cs-pill:hover { color: var(--ink); border-color: var(--ink-3); }
.cs-pill.on { color: #fff; transform: scale(1.05); background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 40%, #1d4ed8 100%); border: 1px solid rgba(29, 78, 216, 0.8); box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(37, 99, 235, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
.cs-card { display: grid; grid-template-columns: 5fr 6fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; max-width: 1000px; margin: 0 auto; box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.cs-card[hidden] { display: none; }
@media (max-width: 860px) { .cs-card { grid-template-columns: 1fr; } }
.cs-media { position: relative; min-height: 320px; background: #0b0e16; display: grid; place-items: center; overflow: hidden; }
.cs-media::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(60% 60% at 50% 40%, rgba(37, 99, 235, 0.55), transparent 70%); filter: blur(30px); }
.cs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.cs-media.video { background: #0b0e16; padding: 0; }
.cs-media.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-stat { position: relative; text-align: center; color: #fff; padding: 24px; }
.cs-stat b { display: block; font-size: clamp(38px, 4.2vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.cs-stat span { display: block; margin-top: 10px; font-size: 15px; color: rgba(255,255,255,0.75); letter-spacing: 0.02em; }
.cs-body { padding: 32px 34px; }
.cs-body .eyebrow { color: var(--blue); margin-bottom: 8px; }
.cs-body h3 { font-size: 24px; margin-bottom: 12px; }
.cs-body p { font-size: 16.5px; color: var(--ink-2); margin-bottom: 12px; }
.cs-body blockquote { margin: 16px 0 0; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--paper-2); border-radius: 0 12px 12px 0; font-style: italic; font-size: 15.5px; color: var(--ink); }
.cs-body blockquote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13.5px; color: var(--ink-3); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1000px; margin: 22px auto 0; }
@media (max-width: 560px) { .strip { grid-template-columns: 1fr 1fr; } }
.strip div { text-align: center; padding: 16px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.strip b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.strip span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }

/* video testimonials: a light panel in dark mode so the widget reads as a card, not a glitch */
.senja-wrap { margin-top: 40px; border-radius: 20px; padding: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .senja-wrap { background: #ffffff; padding: 18px; } }
:root[data-theme="dark"] .senja-wrap { background: #ffffff; padding: 18px; }
.cs-media.portrait { padding: 18px; }
.cs-media.portrait video { position: relative; height: 420px; max-width: 100%; border-radius: 14px; background: #000; box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.stackwrap { display: grid; gap: 22px; }
.cs-card.stack[hidden] { display: grid; }

/* phones: nav keeps only the button and the theme toggle; pills may wrap */
@media (max-width: 640px) {
  .nav .wrap { height: 64px; }
  .nav li.nav-text { display: none; }
  .nav ul { gap: 10px; }
  .pill { white-space: normal; text-align: center; }
  .pill.lg, .pill.xl { padding: 14px 22px; font-size: 16px; width: 100%; max-width: 420px; }
  .pill.two .act { font-size: 15px; white-space: normal; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .door { padding: 22px 18px; }
  .door .foot small { text-align: center; }
  .cs-nav { gap: 6px; }
  .cs-pill { padding: 7px 12px; font-size: 13px; }
}
@media (max-width: 860px) { .hero-text .cred { flex-direction: column; gap: 2px; } .hero-text .cred span::before { content: none; margin: 0; } }
