/*
Theme Name: 懂两行 GEO
Description: 懂你这一行，也懂 AI 推荐这一行。中文 GEO 服务商官网。
Version: 1.2.29
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: donglianghang-geo
License: GPL-2.0-or-later
*/

:root {
  --ink: #202337;
  --muted: #505973;
  --primary: #2855cc;
  --ink-blue: #252955;
  --accent-light: #cdd8ff;
  --paper: #ffffff;
  --wash: #f5f7ff;
  --line: #dce3f3;
  --white: #fff;
  --accent-gradient: linear-gradient(108deg, #2458dd, #6d40c5);
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "Cascadia Code", Consolas, monospace;
  --motion-out: cubic-bezier(.23, 1, .32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #4c51db; outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: 8px; z-index: 10; transform: translateY(-150%); padding: 8px 12px; background: var(--accent-light); }
.skip-link:focus { transform: none; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); margin-inline: auto; }
.shell.narrow { width: min(760px, calc(100% - 96px)); }
h1, h2, h3, p { margin: 0 0 .75em; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.04em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 5.1vw, 4.8rem); font-weight: 850; }
h2 { font-size: clamp(1.6rem, 3vw, 2.7rem); font-weight: 820; }
h3 { font-size: 1.28rem; font-weight: 800; }
ul { padding-left: 1.25rem; }
.section { padding-block: clamp(56px, 7.3vw, 108px); }
.compact { padding-top: 12px; }
.surface { background: var(--wash); border-block: 1px solid var(--line); }
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 16px; }
.jump-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 13px; color: var(--primary); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: .85rem; font-weight: 700; }
.jump-nav a:hover { background: #edf1ff; border-color: #a5b6e6; }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.insight-grid article, .reading-block { padding: clamp(19px, 3vw, 30px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.principles-brand { color: var(--primary); }
@media (hover: hover) {
  .principles-grid article:hover { background-color: #e9eeff; border-color: #8b9fe2; }
  .principles-grid article:hover h3 { color: var(--primary); }
}
@media (prefers-reduced-motion: no-preference) {
  .principles-grid article { transition: background-color 180ms ease, border-color 180ms ease; }
}
.insight-grid p:last-child, .reading-block p:last-child, .reading-block ul:last-child, .reading-block ol:last-child { margin-bottom: 0; }
.insight-grid article p:not(.eyebrow), .reading-block p, .reading-block li { color: var(--muted); }
.reading-block li + li, .detail-grid ol li + li { margin-top: .6em; }
.reading-block ol, .detail-grid ol { padding-left: 1.4rem; }
.answer-example { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.answer-question { padding: clamp(18px, 3vw, 30px); border-bottom: 1px solid var(--line); border-radius: 18px 18px 0 0; background: var(--wash); }
.answer-question p { margin: 0; }
.answer-question-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .85rem; font-weight: 720; }
.answer-question strong { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.answer-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px clamp(18px, 3vw, 30px); border-bottom: 1px solid var(--line); }
.answer-controls button { min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 700; }
.answer-controls button:hover { border-color: var(--primary); }
.answer-controls button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--white); }
.answer-panel { padding: clamp(18px, 3vw, 30px); }
.answer-panel + .answer-panel { border-top: 1px solid var(--line); }
.answer-panel[hidden] + .answer-panel { border-top: 0; }
.answer-panel-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.answer-panel h3 { margin-bottom: 8px; }
.answer-source { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.answer-action { padding: 16px 18px; border-left: 3px solid var(--primary); border-radius: 8px; background: var(--wash); }
.answer-action p { margin-bottom: 0; }
.answer-example details { margin-top: 12px; }
.answer-example summary { min-height: 44px; padding-block: 8px; }
.answer-example details img { display: block; width: min(100%, 560px); height: auto; margin-top: 12px; border-radius: 10px; }
@media (max-width: 700px) {
  .answer-panel-body { grid-template-columns: minmax(0, 1fr); }
  .answer-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .answer-controls button { padding-inline: 5px; font-size: .85rem; }
}
.eyebrow, .meta { font-size: .79rem; font-weight: 720; letter-spacing: .10em; color: var(--primary); }
.eyebrow { margin-bottom: 16px; }
.signal-dot, .sample-badge i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4f62df; margin-right: 5px; vertical-align: .08em; }
.lede { max-width: 670px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.actions > p { display: contents; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px;
  padding: 10px 19px; border: 1px solid transparent; border-radius: 8px; background: var(--accent-gradient);
  color: var(--white); font-size: .92rem; font-weight: 740; text-decoration: none;
}
.button:hover { background: #2048b2; border-color: #2048b2; }
.button span { font-size: 1.13em; line-height: 1; }
.button-secondary { background: transparent; color: var(--primary); border-color: #acbce8; }
.button-secondary:hover { background: #edf1ff; border-color: var(--primary); }
.button-small { min-height: 42px; padding: 7px 12px; font-size: .83rem; gap: 8px; white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 2; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.reading-progress { position: absolute; inset: auto 0 -1px; height: 3px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--accent-gradient); transform: scaleX(0); transform-origin: left; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 75px; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.14rem; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; text-decoration: none; }
.wordmark b { color: var(--primary); }
.mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--primary); border-radius: 9px; color: var(--white); font-size: 22px; font-weight: 850; line-height: 1; letter-spacing: 0; }
.menu { display: flex; gap: clamp(8px, 1.15vw, 18px); align-items: center; margin: 0; padding: 0; list-style: none; }
.menu a { position: relative; display: block; padding-block: 13px; color: var(--muted); white-space: nowrap; text-decoration: none; font-size: .91rem; font-weight: 650; }
.menu a:hover, .menu a[aria-current="page"], .menu .current-menu-item > a { color: var(--primary); }
.menu a[aria-current="page"]::after, .menu .current-menu-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; background: var(--primary); border-radius: 2px; }
.menu-group { position: relative; display: flex; align-items: center; }
.menu-disclosure { padding: 0; border: 0; }
.menu-disclosure summary { display: grid; place-items: center; width: 26px; height: 44px; color: var(--muted); list-style: none; border-radius: 6px; }
.menu-disclosure summary::-webkit-details-marker { display: none; }
.menu-disclosure summary:hover, .menu-disclosure[open] summary { color: var(--primary); background: var(--wash); }
.menu-disclosure summary span { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu-disclosure[open] summary span { transform: translateY(2px) rotate(225deg); }
.site-submenu { position: absolute; z-index: 3; top: 100%; left: 0; min-width: 176px; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 28px -15px #25336955; }
.menu .site-submenu a { min-height: 44px; padding: 9px 11px; border-radius: 7px; }
.menu .site-submenu a:hover, .menu .site-submenu a[aria-current="page"] { background: var(--wash); }
.menu .site-submenu a[aria-current="page"]::after { display: none; }
.menu-toggle { background: transparent; border: 1px solid var(--line); border-radius: 8px; min-height: 44px; padding: 7px 12px; color: var(--primary); }
.menu-toggle span { margin-left: 6px; }

.home-opening {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding-block: clamp(36px, 7vh, 100px);
  color: var(--white);
  background: radial-gradient(ellipse at 50% 105%, #4a3488, transparent 64%), linear-gradient(140deg, #121832, #202754 64%, #191d40);
  text-align: center;
}
.home-opening h1 { margin-bottom: .24em; font-size: clamp(3.1rem, 9.5vw, 8.4rem); line-height: 1.06; letter-spacing: -.065em; }
.home-opening h1 em { color: #c4cfff; font-style: normal; }
.home-positioning { margin-bottom: 0; color: #e6e9fc; font-size: clamp(1rem, 2vw, 1.4rem); }
.home-positioning strong { color: var(--white); }
.home-opening .actions { justify-content: center; }
.home-opening .button:focus-visible { outline-color: #d2daff; }
.home-opening .button-secondary { color: var(--white); border-color: #aab5eb; }
.home-opening .button-secondary:hover { background: #ffffff1a; }
.opening-conversation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; width: min(100%, 760px); margin: clamp(26px, 5vh, 55px) auto 0; text-align: left; }
.opening-message { padding: 14px 18px; border: 1px solid #8c9ce366; border-radius: 13px; background: #f3f6ff0d; }
.opening-message > strong { display: block; margin-bottom: .25em; color: #cbd5ff; font-size: .83rem; }
.opening-message p { margin: 0; color: #f0f2ff; font-size: .94rem; line-height: 1.6; }
.opening-message p strong { color: var(--white); }

.hero {
  padding: clamp(48px, 6.4vw, 94px) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: clamp(22px, 4.4vw, 72px); }
.hero .lede { max-width: 510px; }
.hero .button-secondary { background: #ffffffb3; }
.hero .button-secondary:hover { background: #edf1ff; }
.hero-visual { min-width: 0; padding-inline: 6px; }
.phone-frame {
  position: relative; width: min(100%, 365px); margin-inline: auto; padding: 5px; border-radius: 51px;
  background: linear-gradient(128deg, #888b95, #31353e 28%, #767a85 58%, #25262c);
  box-shadow: 0 28px 50px -27px #18223d80, inset 0 0 0 1px #969aa3;
}
.phone-frame::before, .phone-frame::after { content: ""; position: absolute; top: 23%; width: 3px; background: #555965; }
.phone-frame::before { left: -3px; height: 37px; border-radius: 2px 0 0 2px; box-shadow: 0 48px #555965; }
.phone-frame::after { right: -3px; height: 56px; border-radius: 0 2px 2px 0; }
.hero-visual .report-stage {
  min-height: 620px; padding: 51px 10px 51px; border: 5px solid #111217; border-radius: 46px;
  background: #f4f6fd; box-shadow: none;
}
.hero-visual .report-stage::before, .hero-visual .report-stage::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); border-radius: 12px;
}
.hero-visual .report-stage::before { top: 10px; width: 91px; height: 23px; background: radial-gradient(circle at 84% 50%, #293044 0 3px, #090a0d 4px); }
.hero-visual .report-stage::after {
  bottom: 9px; width: 34px; height: 34px; border: 2px solid #585e70; border-radius: 50%;
  background: linear-gradient(145deg, #353a4a, #151821); box-shadow: inset 0 0 0 1px #111217;
}
.hero-visual .report-card { padding: 15px 12px; border-radius: 20px; box-shadow: none; }
.hero-visual .report-gridlines { display: none; }
.hero-visual .report-tabs button { flex: 1 0 28%; }
.hero-copy > h2 { font-size: clamp(1.9rem, 4.2vw, 3.75rem); text-wrap: balance; }
.home-diagnosis-results, .diagnosis-platform-list { list-style: none; margin: 0; padding: 0; }
.home-diagnosis-results li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 9px; }
.home-diagnosis-results li + li { margin-top: 15px; }
.home-diagnosis-results li::before { content: ""; width: 7px; height: 12px; margin: 5px 0 0 4px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); }
.home-diagnosis-results li span { grid-column: 2; color: var(--muted); font-size: .92rem; }
.home-diagnosis-platforms { grid-column: 1 / -1; padding: 0 clamp(14px, 2.6vw, 26px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.home-diagnosis-platforms > summary { min-height: 44px; padding-block: 9px; }
.home-diagnosis-platforms[open] { padding-bottom: 16px; }
.home-diagnosis-platforms p { margin: 16px 0 0; color: var(--muted); font-size: .88rem; }
.diagnosis-platform-group + .diagnosis-platform-group { margin-top: 16px; }
.diagnosis-platform-group h4 { margin: 0 0 7px; color: var(--muted); font-size: .86rem; }
.diagnosis-platform-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.diagnosis-platform-list li { display: grid; place-items: center; align-content: center; gap: 7px; min-height: 84px; padding: 8px 4px; border-radius: 9px; background: var(--wash); color: var(--ink); text-align: center; font-size: .86rem; font-weight: 720; }
.diagnosis-platform-list img { width: 46px; height: 46px; object-fit: contain; }
@media (min-width: 1040px) {
  .diagnosis-platform-group + .diagnosis-platform-group .diagnosis-platform-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .diagnosis-platform-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.report-stage {
  position: relative; isolation: isolate; padding: clamp(20px, 3vw, 42px);
  background: var(--ink-blue); color: var(--white); border: 1px solid #465081; border-radius: 22px;
  box-shadow: 0 22px 54px -28px #26356a65; overflow: hidden;
}
.report-gridlines {
  position: absolute; z-index: -1; inset: 0; opacity: .24;
  background-image: linear-gradient(#a7baff45 1px, transparent 1px), linear-gradient(90deg, #a7baff45 1px, transparent 1px), radial-gradient(ellipse at 100% 0, #7476d7, transparent 65%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}
.report-card { min-width: 0; padding: 22px; background: #ffffff; color: var(--ink); border: 1px solid #e0e5f7; border-radius: 14px; box-shadow: 0 12px 30px #17234940; }
.report-header, .report-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.report-header h3 { margin: 3px 0 0; font-size: clamp(1.15rem, 2vw, 1.6rem); }
.sample-badge { padding: 3px 8px; color: var(--primary); background: #eef0ff; border-radius: 20px; font-size: .69rem; font-weight: 750; white-space: nowrap; }
.sample-badge i { width: 5px; height: 5px; margin-right: 2px; }
.report-prompt { display: flex; gap: 10px; align-items: center; padding: 12px 10px; margin: 17px 0 12px; border-radius: 8px; background: #f0f3ff; }
.report-prompt-icon { display: grid; flex: 0 0 27px; height: 27px; place-items: center; border-radius: 7px; color: var(--white); background: var(--primary); font: 700 .92rem/1 var(--mono); }
.report-prompt span:not(.report-prompt-icon), .report-metrics span { display: block; color: var(--muted); font-size: .71rem; }
.report-prompt strong { display: block; font-size: .9rem; line-height: 1.45; }
.report-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.report-cases { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.report-card:not(.report-ready) :is(.report-tabs, .report-cases) { display: none; }
.report-cases button { flex: 1 1 90px; min-height: 44px; padding: 5px 9px; border: 1px solid #cdd8f0; border-radius: 7px; color: var(--primary); background: #fff; font-size: .82rem; font-weight: 720; }
.report-cases button:hover { border-color: var(--primary); }
.report-cases button[aria-pressed="true"] { background: #edf0ff; border-color: #6c7cdb; }
.report-tabs button { padding: 5px 10px; min-height: 44px; border: 1px solid #cdd8f0; border-radius: 6px; color: var(--primary); background: #fcfcff; font-size: .76rem; font-weight: 720; }
.report-tabs button:hover { border-color: var(--primary); }
.report-tabs button[aria-pressed="true"] { color: var(--white); background: var(--primary); border-color: var(--primary); }
.report-ready .report-data { min-height: 145px; }
.report-panel { margin-top: 9px; padding: 11px; border: 1px solid #e0e5f5; border-radius: 8px; }
.report-status { font-size: .7rem; }
.report-status > span { color: var(--muted); }
.report-status > strong { color: #5537a2; background: #f1edfc; border-radius: 4px; padding: 2px 5px; }
.report-panel p { margin: 7px 0; font-size: .82rem; }
.report-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.report-metrics strong { display: block; font-size: .75rem; line-height: 1.4; }
.report-answer-example { margin-top: 8px; padding: 0; border: 0; }
.report-answer-example summary { min-height: 44px; padding-block: 9px; font-size: .83rem; }
.report-answer-example blockquote, .system-example-compare blockquote { margin: 0 0 10px; padding: 10px 12px; border-inline-start: 3px solid var(--primary); background: var(--wash); }
.report-answer-example blockquote { font-size: .83rem; }
.system-example-compare article:last-child { border-color: #a5b6e6; }
.system-example-note { margin: 14px 0 0; color: var(--muted); }

.expertise { background: #f7f8ff; border-block: 1px solid var(--line); }
.section-lead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.section-lead h2 { margin-bottom: 0; }
.section-lead > p { max-width: 370px; margin-bottom: 3px; color: var(--muted); }
.expert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.system-core-advantages { margin-bottom: clamp(28px, 5vw, 56px); }
.system-capabilities > h3 { margin-bottom: 18px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.system-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.system-capability-grid > * { padding: clamp(16px, 2vw, 23px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.system-capability-grid h4 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.4; }
.system-capability-grid p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.65; }
.system-capability-grid .system-capability-mission { display: flex; flex-direction: column; align-items: flex-start; background: #edf1ff; }
.system-capability-mission .button { margin-top: auto; }
.system-capability-mission p { margin-bottom: 13px; }
.system-partners { background: var(--paper); border-block: 1px solid var(--line); }
.system-partners-intro { margin: 0 auto clamp(24px, 5vw, 54px); max-width: 43rem; text-align: center; }
.system-partners-intro h2 { margin: 0 auto 14px; max-width: 13em; text-wrap: balance; }
.system-partners-intro p { margin: 0; color: var(--muted); }
.system-partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.system-partner-card { display: flex; align-items: center; gap: 8px; min-height: 56px; height: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); text-decoration: none; font-size: .92rem; }
.system-partner-card:is(:hover, :focus-visible) { border-color: #a5b6e6; background: #edf2ff; }
.system-partner-link { border-color: #bbc9ed; }
.system-partner-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.system-partner-card :is(img, .system-partner-initial) { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 6px; }
.system-partner-card img { object-fit: contain; }
.system-partner-initial { display: grid; place-items: center; color: var(--primary); background: #edf2ff; font-weight: 800; }
.system-partner-text { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.system-partner-text strong { overflow-wrap: anywhere; }
.system-partner-text > span, .system-partners-note { color: var(--muted); font-size: .82rem; }
.system-partner-link .system-partner-text > span { color: var(--primary); }
.system-partners-note { margin: 17px 0 0; text-align: center; }
@media (max-width: 1120px) {
  .system-partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .system-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .system-partner-card { min-height: 50px; gap: 7px; padding: 6px 7px; font-size: .88rem; }
  .system-partner-card :is(img, .system-partner-initial) { flex-basis: 24px; width: 24px; height: 24px; }
}
@media (max-width: 1050px) {
  .system-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .system-capability-grid { grid-template-columns: minmax(0, 1fr); }
}
.expert-card { position: relative; padding: clamp(22px, 3.3vw, 43px); border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.expert-card-dark { color: var(--white); background: var(--ink-blue); border-color: var(--ink-blue); }
.expert-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); margin-bottom: .45em; }
.expert-card p { color: var(--muted); max-width: 490px; }
.expert-card-dark p { color: #dee4ff; }
@media (hover: hover) {
  #founder .expert-card:hover { background-color: #e9eeff; border-color: #8b9fe2; }
  #founder .expert-card:not(.expert-card-dark):hover h3 { color: var(--primary); }
  #founder .expert-card-dark:hover { background-color: #34439a; border-color: #34439a; }
}
@media (prefers-reduced-motion: no-preference) {
  #founder .expert-card { transition: background-color 180ms ease, border-color 180ms ease; }
}
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 20px 0 0; padding: 0; }
.tag-list li { border: 1px solid var(--line); color: var(--primary); border-radius: 20px; padding: 3px 10px; font-size: .78rem; }
.expert-card-dark .tag-list li { border-color: #6574aa; color: #edf0ff; }
.step-grid, .pricing-grid, .learning-grid, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.step-grid article { padding: 22px 18px 20px 0; border-top: 1px solid #bfcbed; }
.process-section .step-grid article { padding: 25px; background: #fff; border: 1px solid var(--line); border-top: 3px solid #5869e5; border-radius: 13px; }
.step-grid article > span, .step-number { display: inline-block; color: var(--primary); font: 700 .9rem/1.3 var(--mono); margin-bottom: 13px; }
.step-grid article h3 { margin-bottom: 9px; }
.step-grid article small { color: var(--primary); font-weight: 710; }
.step-grid article p { color: var(--muted); margin-bottom: 10px; }
.process-section { padding-bottom: 18px; }
.band { padding: clamp(24px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 28px; background: #edf1ff; border: 1px solid #dae2ff; border-radius: 16px; }
.band h2 { margin-bottom: 9px; }
.band p:last-child { color: var(--muted); margin-bottom: 0; }

.page-intro { background: radial-gradient(ellipse at 87% 12%, #eee8ff, transparent 60%), #f5f7ff; padding-block: clamp(50px, 6.8vw, 90px); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 1040px; margin-bottom: 17px; font-size: clamp(2.25rem, 4.65vw, 4.25rem); text-wrap: balance; }
.page-intro .lede { margin-bottom: 0; }
.page-default { padding-block: 55px; }
.detail-grid { display: grid; grid-template-columns: 1fr .93fr; align-items: start; gap: clamp(22px, 5vw, 76px); }
.detail-grid h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.detail-grid > * { min-width: 0; }
.report-aside .report-stage { margin-top: 20px; }
.service-stack { display: grid; gap: 12px; }
.service-row { display: grid; grid-template-columns: 40px 1fr 280px; gap: 20px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.service-row h2 { font-size: clamp(1.38rem, 2.5vw, 2.05rem); margin-bottom: 10px; }
.service-row p { color: var(--muted); margin-bottom: 0; }
.deliverables, .callout { background: #f2f5ff; border: 1px solid #dfe6f9; border-radius: 10px; padding: 15px 19px; }
.deliverables h3 { font-size: .93rem; margin-bottom: 4px; }
.deliverables ul { margin: 0; font-size: .87rem; }
.callout { padding: clamp(18px, 3vw, 35px); }
.callout p:last-child { margin-bottom: 0; }
.price-card, .learning-grid article, .article-card { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; }
.price-card-feature { background: #f3efff; border-color: #a798e5; }
.price-card h2, .learning-grid h2, .article-card h2 { font-size: 1.55rem; }
.price-card ul { margin: 5px 0 22px; }
.price-card p:not(.eyebrow), .learning-grid p, .article-card p:not(.meta) { color: var(--muted); }
.price-card .price-unit { margin-top: auto; font-weight: 730; }
details { border-bottom: 1px solid var(--line); padding: 13px 0; }
details summary { color: var(--primary); font-weight: 720; cursor: pointer; }
details p { margin: 8px 0 0; color: var(--muted); }

.geo-timing { padding-block: clamp(24px, 4vw, 52px); }
.geo-timing-inner { padding: clamp(18px, 4vw, 44px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, #eef2ff, #f7f9ff 72%); }
.geo-timing-inner h2 { margin: 0 0 clamp(16px, 2.8vw, 28px); }
.geo-timing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.geo-timing-card { padding: clamp(16px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.geo-timing-card .geo-timing-label { margin-bottom: 6px; color: var(--primary); font-size: .9rem; font-weight: 750; }
.geo-timing-card h3 { margin-bottom: 9px; font-size: clamp(1.16rem, 2.1vw, 1.65rem); }
.geo-timing-card > p:last-child { margin: 0; color: var(--muted); }
.geo-timing-card strong { color: var(--primary); }
.geo-timing-first { color: var(--white); border-color: var(--ink-blue); background: var(--ink-blue); }
.geo-timing-first :is(.geo-timing-label, p:last-child) { color: #e2e8ff; }
.consultation > .geo-timing { padding: 0 0 clamp(26px, 4vw, 52px); }
@media (max-width: 600px) {
  .geo-timing-grid { grid-template-columns: minmax(0, 1fr); }
}

.industry-cases { background: linear-gradient(145deg, #e8efff 0%, #f3f7ff 64%, #e8f6fc 100%); border-block: 1px solid var(--line); }
.industry-cases-heading, .home-faq-heading { max-width: 40rem; margin: 0 auto clamp(24px, 4vw, 40px); text-align: center; }
:is(.industry-cases-heading, .home-faq-heading) h2 { margin-bottom: 10px; }
:is(.industry-cases-heading, .home-faq-heading) > p:last-child { margin: 0; color: var(--muted); }
.industry-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 800px; margin: 0 auto 20px; padding: 6px; border: 1px solid #d1dcf4; border-radius: 16px; background: #ffffffb5; }
.industry-tabs button { min-height: 44px; padding: 6px 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); font-weight: 730; white-space: nowrap; }
.industry-tabs button:hover { color: var(--primary); background: #edf2ff; }
.industry-tabs button[aria-selected="true"] { background: var(--primary); color: var(--white); }
.industry-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 54px); padding: clamp(20px, 3.5vw, 42px); border: 1px solid #d7e0f3; border-radius: 20px; background: var(--paper); box-shadow: 0 18px 42px -34px #25447880; }
.industry-case + .industry-case:not([hidden]) { margin-top: 16px; }
.industry-tabs:not([hidden]) ~ .industry-case { margin-top: 0; }
.industry-case-label { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 6px; color: var(--primary); background: #edf2ff; font-size: .83rem; font-weight: 750; }
.industry-case-copy h3 { margin: 0 0 16px; font-size: clamp(1.32rem, 2.6vw, 2rem); }
.industry-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 8px; }
.industry-metrics > div { padding: clamp(10px, 1.65vw, 19px); border: 1px solid var(--line); border-radius: 11px; background: #f4f7ff; }
.industry-metrics dt { font-size: .89rem; font-weight: 740; }
.industry-metrics dd { margin: 2px 0 0; }
.industry-metrics strong { display: block; margin-bottom: 4px; color: var(--primary); font-size: clamp(1.26rem, 2.4vw, 2rem); line-height: 1.25; font-variant-numeric: tabular-nums; }
.industry-metrics small { font-size: .72rem; }
.industry-metrics dd span, .industry-metric-method { color: var(--muted); font-size: .83rem; line-height: 1.55; }
.industry-metric-method { margin-bottom: 15px; }
.industry-case-steps { display: grid; gap: 10px; margin: 0 0 24px; }
.industry-case-steps > div { display: grid; grid-template-columns: 2.5em minmax(0, 1fr); gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.industry-case-steps dt { color: var(--primary); font-weight: 760; }
.industry-case-steps dd { margin: 0; color: var(--muted); line-height: 1.6; }
.industry-case-visual { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #f4f7ff; }
.industry-photo { position: relative; aspect-ratio: 9 / 4; overflow: hidden; background: #dbe5f8; }
.industry-photo img { position: absolute; top: var(--photo-y, 0%); left: var(--photo-x, 0%); width: 200%; max-width: none; height: 300%; }
.industry-photo-health, .industry-photo-local { --photo-x: -100%; }
.industry-photo-education, .industry-photo-local { --photo-y: -100%; }
.industry-photo-legal { --photo-y: -200%; }
.industry-question { padding: clamp(14px, 2.4vw, 24px); }
.industry-question span { display: block; margin-bottom: 4px; color: var(--primary); font-size: .82rem; font-weight: 750; }
.industry-question p { margin: 0; color: var(--ink); font-size: clamp(1.05rem, 1.9vw, 1.38rem); font-weight: 750; line-height: 1.5; }
.home-faq { border-top: 1px solid var(--line); }
.home-faq-list { border-top: 1px solid var(--line); }
.home-faq-list details { padding: 0; }
.home-faq-list summary { display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 56px; padding: 10px 8px; list-style: none; color: var(--ink); }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after { content: ""; width: 9px; height: 9px; justify-self: center; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: translateY(-2px) rotate(45deg); }
.home-faq-list details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.home-faq-list :is(summary:hover, details[open] summary) { color: var(--primary); }
.home-faq-list details p { margin: 0; padding: 0 40px 16px 8px; }
@media (max-width: 760px) {
  .industry-case { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .industry-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .industry-tabs button { grid-column: span 2; padding-inline: 3px; font-size: .875rem; }
  .industry-tabs button:nth-child(n+4) { grid-column: span 3; }
}
.article-card h2 a { text-decoration: none; }
.article-card h2 a:hover { text-decoration: underline; }
.meta span { margin-left: 8px; font-weight: 600; }
.text-link, .back-link { color: var(--primary); font-weight: 700; }
.post-content .back-link { display: inline-block; margin-bottom: 27px; }
.post-content h1 { font-size: clamp(2.2rem, 4.2vw, 3.65rem); }
.post-content h2 { margin-top: 28px; font-size: 1.6rem; }
.whitepaper-chapter { padding-block: clamp(22px, 4vw, 38px); border-bottom: 1px solid var(--line); }
.whitepaper-chapter h2 { margin: 0 0 14px; font-size: clamp(1.38rem, 2.7vw, 1.9rem); }
.whitepaper-chapter > :last-child, .whitepaper-example > :last-child { margin-bottom: 0; }
.whitepaper-example { margin-block: 18px; background: var(--wash); }
.whitepaper-list { display: grid; gap: 10px; margin: 16px 0; }
.whitepaper-list > div { padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; }
.whitepaper-list dt { font-weight: 750; }
.whitepaper-list dd { margin: 4px 0 0; color: var(--muted); }
.whitepaper-timeline { padding-inline-start: 1.35rem; }
.whitepaper-next { margin-top: 28px; }
.whitepaper-next .actions { margin-top: 12px; }
.article-end { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pagination a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; }
.pagination a[aria-current="page"] { background: var(--primary); color: #fff; }
.about-line { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 800; margin-bottom: .4em; }

.intake-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 13px; margin-top: 19px; }
.field label { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 720; font-size: .91rem; }
.field label small { font-weight: 500; color: var(--muted); }
.field :is(input, select, textarea) { min-height: 45px; width: 100%; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #aebce2; border-radius: 7px; }
.field textarea { resize: vertical; }
.field-wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .88rem; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--primary); }
.intake-form button { justify-self: start; }
.form-message { padding: 12px; margin: 16px 0; background: #e7f0e4; border: 1px solid #adcaaf; border-radius: 8px; }
.form-message p { margin-bottom: 0; }
.form-error { color: #792b29; background: #fbeeed; border-color: #d0a9a5; }

.admin-bar .consultation, .admin-bar .consultation-qr { scroll-margin-top: 25px; }
.consultation { background: var(--wash); border-top: 1px solid var(--line); }
.system-comparison-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.system-comparison-table { width: 100%; min-width: 63rem; table-layout: fixed; border-collapse: separate; border-spacing: 0; line-height: 1.5; }
.system-comparison-table :is(th, td) { padding: 12px 9px; vertical-align: middle; text-align: center; }
.system-comparison-table thead { background: var(--wash); }
.system-comparison-table tbody :is(th, td) { border-top: 1px solid var(--line); }
.system-comparison-table tr > :first-child { position: sticky; left: 0; width: 13rem; padding-inline: 14px; border-right: 1px solid var(--line); background: var(--paper); text-align: left; }
.system-comparison-table thead tr > :first-child { background: var(--wash); }
.system-comparison-table tbody th span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 500; }
.system-comparison-table .system-comparison-featured { background: #f1f5ff; }
.system-comparison-table a, .system-comparison-table thead .system-comparison-featured { color: var(--primary); }
.comparison-mark { display: inline-block; font-size: 1.16rem; line-height: 1; font-weight: 720; }
.comparison-mark-yes, .system-comparison-legend strong:first-child { color: #176b43; }
.comparison-mark-unlisted, .system-comparison-legend strong:last-child { color: #626e87; }
.system-comparison-legend { color: var(--muted); font-size: .9rem; }
.system-comparison-hint { display: none; color: var(--muted); font-size: .875rem; }
@media (max-width: 67rem) {
  .system-comparison-hint { display: block; }
}
@media (max-width: 600px) {
  .system-comparison-table tr > :first-child { width: 9.5rem; padding-inline: 10px; }
}
.consultation-inner { display: grid; grid-template-columns: minmax(0, 680px) minmax(215px, 260px); align-items: start; justify-content: center; gap: clamp(22px, 4vw, 58px); }
.consultation h2 { margin-bottom: .35em; }
.consultation p { color: var(--muted); }
.consultation p a { color: var(--primary); text-underline-offset: .15em; }
.consultation p.form-error { color: #792b29; }
.consultation .field > small { color: var(--muted); }
.consultation-qr { padding: 22px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.consultation-qr img { display: block; width: 100%; max-width: 200px; height: auto; margin: 10px auto; }
.consultation-qr p { margin: 0; font-size: .9rem; }
.consultation .intake-form :is(input, select, textarea) { font-size: 1rem; }

.site-footer { padding: 34px 0; background: #f5f7fe; border-top: 1px solid var(--line); }
.footer-inner { display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.footer-inner p { color: var(--muted); margin: 8px 0 0; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: var(--primary); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-inner small { white-space: nowrap; color: var(--muted); }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 56px); }
  .hero-grid { gap: 25px; }
}
@media (max-width: 1100px) {
  .home-opening { min-height: calc(100svh - 65px); }
  .header-inner { flex-wrap: wrap; min-height: 64px; gap: 0 12px; padding-block: 9px; }
  .menu-toggle { order: 2; }
  .site-nav { width: 100%; order: 5; max-height: calc(100dvh - 80px); overflow-y: auto; }
  .menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding: 4px 4px 6px; gap: 0 12px; }
  .menu a { padding-block: 10px; }
  .menu-group { display: block; }
  .menu-group > a { margin-right: 44px; }
  .menu-disclosure summary { position: absolute; top: 0; right: 0; width: 44px; }
  .site-submenu { position: static; min-width: 0; padding: 3px; box-shadow: none; }
  .menu .site-submenu a { padding-inline: 7px; white-space: normal; }
  .header-cta { margin-left: auto; min-height: 44px; }
}
@media (max-width: 900px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 650px; width: 100%; }
  .hero-copy .lede { max-width: 590px; }
  .service-row { grid-template-columns: 30px 1fr 210px; gap: 11px; padding: 18px; }
  .pricing-grid, .learning-grid, .article-grid, .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shell, .shell.narrow { width: calc(100% - 36px); }
  .header-inner { gap: 0 6px; }
  .header-inner .wordmark { gap: 6px; font-size: 1rem; }
  .header-inner .mark { width: 30px; height: 30px; font-size: 19px; }
  .menu-toggle { padding-inline: 8px; }
  .menu-toggle span { margin-left: 2px; }
  .admin-bar .site-header { top: 0; }
  .section { padding-block: 42px; }
  .page-intro { padding-block: 41px; }
  .home-opening { padding-block: 34px; }
  .home-opening h1 { font-size: clamp(2.75rem, 11vw, 4.2rem); }
  .home-positioning strong { display: block; }
  .opening-conversation { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .opening-message { padding: 10px 12px; }
  .hero-visual { padding: 10px 5px 12px; }
  .hero-visual .report-stage { min-height: 520px; padding-inline: 7px; }
  .hero-visual .report-card { padding: 12px 8px; }
  .actions { margin-top: 20px; }
  .report-stage { padding: 13px; border-radius: 15px; }
  .report-card { padding: 13px; }
  .section-lead, .band, .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .expert-grid, .step-grid, .pricing-grid, .learning-grid, .article-grid, .intake-form, .insight-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 26px 1fr; }
  .deliverables { grid-column: 2; }
  .process-section { padding-bottom: 0; }
  .section-lead > p { margin: 0; }
  .jump-nav { padding-block: 12px; }
  .jump-nav a { flex: 1 0 43%; justify-content: center; text-align: center; }
  .band .button { width: 100%; }
  .intake-form button { width: 100%; }
  .report-tabs button { flex: 1 0 28%; }
}

@media (max-width: 720px) {
  .consultation-inner { grid-template-columns: minmax(0, 680px); }
}

@media (min-width: 1060px) {
  .principles-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@keyframes enter-content {
  from { opacity: .65; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes switch-answer {
  from { opacity: .45; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual, .entered-view { animation: enter-content 240ms var(--motion-out) both; }
  .hero-visual { animation-delay: 55ms; }
  .report-ready .report-panel:not([hidden]) { animation: switch-answer 180ms var(--motion-out); }
  .button, .answer-controls button, .report-tabs button, .report-cases button { transition: transform 160ms var(--motion-out), background-color 160ms ease; }
  :is(.button, .answer-controls button, .report-tabs button, .report-cases button):active { transform: scale(.97); }
}


