:root {
  color-scheme: light;
  --text: #171717;
  --ink: #171717;
  --muted: #616161;
  --line: #d9d5ce;
  --soft: #f6f4ef;
  --soft-2: #fbfaf7;
  --risk: #c82f2f;
  --amber: #b16b00;
  --green: #26745d;
  --blue: #2f5f98;
  --black: #111;
  --white: #fff;
  --shadow: 0 18px 42px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.inline-link {
  color: var(--risk);
  font-weight: 800;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--black);
  border-radius: 6px;
  font-family: Georgia, serif;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.header-contact {
  text-decoration: none;
}

.header-contact {
  padding: 8px 14px;
  color: #fff;
  background: var(--black);
  border-radius: 8px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  min-height: min(calc(100vh - 64px), 760px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  color: var(--risk);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 22px;
  font-weight: 700;
}

.context {
  max-width: 740px;
  margin: 16px 0 0;
  color: var(--muted);
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions {
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.btn.primary {
  color: #fff;
  background: var(--risk);
  border-color: var(--risk);
}

.btn.secondary {
  color: var(--text);
  background: #fff;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-row span,
.framework-list span,
.artifact-chip {
  min-height: 36px;
  padding: 7px 11px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.notice,
.microcopy {
  color: var(--muted);
  font-size: 13px;
}

.diagnostic-panel {
  width: 100%;
  max-width: none;
  min-height: 520px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.panel-top h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.32;
}

.question-count {
  flex: none;
  padding: 5px 8px;
  background: var(--black);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.panel-guide {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.progress-track {
  height: 8px;
  margin: 18px 0 20px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--risk);
  transition: width 160ms ease;
}

.question-help {
  min-height: 52px;
  color: var(--muted);
}

.option-list {
  display: grid;
  max-height: 360px;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
}

.option-button {
  display: flex;
  min-height: 56px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}

.option-button[aria-pressed="true"] {
  border-color: var(--risk);
  box-shadow: inset 0 0 0 1px var(--risk);
}

.option-icon {
  display: grid;
  flex: none;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
}

.option-button[aria-pressed="true"] .option-icon {
  color: #fff;
  background: var(--risk);
  border-color: var(--risk);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 0 24px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.section-heading p:last-child {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  white-space: nowrap;
}

.result-section,
.summary-section,
.sample-section,
.quick-consult-section,
.domains-section,
.improvement-lens-section,
.improvement-flow-section,
.ai-fit-section,
.frameworks-section,
.deliverables-section,
.consulting-flow-section,
.consultation-materials-section,
.consultation-section,
.differentiation-section,
.control-map-section,
.faq-section,
.contact-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.result-content,
.result-placeholder,
.answer-grid,
.sample-grid,
.quick-consult-section,
.domain-grid,
.lens-grid,
.fit-grid,
.process-grid,
.materials-grid,
.consultation-grid,
.difference-grid,
.framework-list,
.deliverable-story,
.deliverable-list,
.control-table-wrap,
.faq-list,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.result-placeholder {
  padding: 28px 24px;
  color: var(--muted);
  background: var(--soft-2);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.result-content {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
}

.score-card,
.result-main,
.answer-grid article,
.sample-card,
.fit-card,
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-card,
.result-main {
  padding: 24px;
}

.tier-label {
  display: inline-flex;
  padding: 6px 9px;
  color: #fff;
  background: var(--black);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.score-card h3 {
  margin: 18px 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.meter {
  margin-top: 18px;
}

.meter-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.meter-track,
.domain-track {
  height: 12px;
  margin-top: 8px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

.domain-track {
  height: 10px;
}

.meter-fill,
.domain-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--risk);
}

.domain-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.red-flags,
.artifact-list,
.platform-list,
.driver-list,
.control-gate-list,
.improvement-list,
.service-menu-list,
.priority-map-list,
.two-week-list,
.roadmap-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.red-flag {
  padding: 14px 16px;
  border-left: 4px solid var(--risk);
  background: #fff6f6;
  border-radius: 8px;
}

.driver-card,
.control-gate-card,
.improvement-card,
.service-menu-card,
.priority-map-card,
.two-week-card,
.summary-card {
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-consult-section {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-top: 44px;
  padding-bottom: 44px;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.quick-consult-section > div {
  max-width: 800px;
}

.quick-consult-section h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.quick-consult-section p:last-child {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.quick-consult-cta {
  flex: none;
  width: min(100%, 460px);
  max-width: none;
  text-align: center;
  white-space: normal;
}

.driver-card p,
.control-gate-card p,
.improvement-card p,
.service-menu-card p,
.priority-map-card p,
.two-week-card p {
  margin: 6px 0;
  color: var(--ink);
}

.priority-map-list {
  grid-template-columns: repeat(4, 1fr);
}

.two-week-list {
  grid-template-columns: repeat(2, 1fr);
}

.priority-map-card,
.two-week-card {
  display: grid;
  align-content: start;
  gap: 7px;
}

.priority-map-card span,
.two-week-card span {
  width: fit-content;
  padding: 4px 7px;
  color: var(--risk);
  background: #fff6f4;
  border: 1px solid #efc5bd;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.priority-map-card.active {
  border-color: var(--risk);
  box-shadow: 0 0 0 2px rgba(192, 58, 50, 0.12);
}

.summary-card {
  margin: 18px 0 0;
  color: var(--ink);
  line-height: 1.85;
}

.material-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.driver-card span,
.driver-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.artifact-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.platform-card,
.roadmap-card {
  padding: 14px 16px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.roadmap-grid {
  grid-template-columns: repeat(3, 1fr);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.memo-box {
  width: 100%;
  min-height: 180px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.sample-grid,
.answer-grid,
.domain-grid,
.lens-grid,
.materials-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sample-result-grid {
  grid-template-columns: repeat(3, 1fr);
}

.answer-grid {
  grid-template-columns: repeat(3, 1fr);
}

.fit-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sample-card,
.answer-grid article,
.fit-card {
  padding: 20px;
}

.sample-card,
.answer-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
}

.sample-card h3,
.answer-grid h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.sample-card p,
.answer-grid p {
  margin: 0;
  color: var(--muted);
}

.fit-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  color: var(--ink);
  border: 1px solid #d8d1c4;
  box-shadow: 0 14px 34px rgba(35, 32, 27, 0.06);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fit-card:hover {
  border-color: var(--risk);
  box-shadow: 0 18px 42px rgba(35, 32, 27, 0.11);
  transform: translateY(-2px);
}

.fit-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  text-decoration: none;
}

.fit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  text-decoration: none;
}

.fit-card span {
  align-self: end;
  color: var(--risk);
  font-size: 13px;
  font-weight: 800;
}

.process-grid,
.consultation-grid,
.difference-grid {
  display: grid;
  gap: 16px;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.consultation-grid {
  grid-template-columns: repeat(2, 1fr);
}

.difference-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-card,
.consultation-card,
.difference-grid div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 8px;
  color: var(--risk);
  background: #fff6f4;
  border: 1px solid #efc5bd;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.process-card h3,
.consultation-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.process-card p,
.consultation-card li,
.difference-grid span {
  color: var(--muted);
  line-height: 1.75;
}

.difference-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.consultation-cta {
  display: flex;
  width: max-content;
  margin: 24px auto 0;
}

.quick-consult-cta.consultation-cta {
  width: min(100%, 460px);
  margin-top: 4px;
}

.control-table-wrap {
  overflow-x: auto;
}

.control-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.control-card-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.control-card-grid span {
  width: fit-content;
  padding: 5px 8px;
  color: var(--risk);
  background: #fff6f4;
  border: 1px solid #efc5bd;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.control-card-grid h3,
.control-card-grid p,
.control-card-grid ul {
  margin: 0;
}

.control-card-grid h3 {
  font-size: 22px;
  line-height: 1.32;
}

.control-card-grid p,
.control-card-grid li {
  color: var(--muted);
}

.control-card-grid strong {
  margin-top: 4px;
}

.control-card-grid ul {
  padding-left: 20px;
}

.control-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.control-table th,
.control-table td {
  padding: 18px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.control-table th {
  background: var(--soft);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.control-table tr:last-child td {
  border-bottom: 0;
}

.control-table td strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.45;
}

.control-table td p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.status.high {
  background: var(--amber);
}

.status.critical {
  background: var(--risk);
}

.status.neutral {
  background: var(--blue);
}

.domain-grid {
  grid-template-columns: repeat(2, 1fr);
}

.domain-grid div,
.lens-grid div,
.materials-grid div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.domain-grid span,
.lens-grid span,
.materials-grid span,
.fit-grid p {
  color: var(--muted);
}

.lens-grid strong,
.materials-grid strong {
  font-size: 20px;
  line-height: 1.35;
}

.lens-grid,
.materials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.materials-grid {
  grid-template-columns: repeat(2, 1fr);
}

.print-memo {
  display: none;
}

.service-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 84px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--risk);
  text-decoration: none;
}

.service-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
}

.service-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 46px;
  line-height: 1.14;
}

.service-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-section h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.28;
}

.service-section li {
  margin: 8px 0;
}

.service-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.service-compare-card {
  display: grid;
  gap: 12px;
  min-height: 500px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8d1c4;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(35, 32, 27, 0.06);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-compare-card:hover {
  border-color: var(--risk);
  box-shadow: 0 18px 42px rgba(35, 32, 27, 0.11);
  transform: translateY(-2px);
}

.service-compare-card h3,
.service-compare-card p {
  margin: 0;
}

.service-compare-card h3 {
  font-size: 24px;
  line-height: 1.25;
}

.service-compare-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-compare-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
}

.service-pill {
  justify-self: start;
  padding: 5px 8px;
  color: var(--risk);
  background: #fff6f4;
  border: 1px solid #efc5bd;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.detail-link {
  align-self: end;
  color: var(--risk);
  font-size: 13px;
  font-weight: 800;
}

.source-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.source-table th,
.source-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.source-table th {
  background: var(--soft);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.source-table tr:last-child td {
  border-bottom: 0;
}

.comparison-matrix {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

.comparison-matrix th:first-child,
.comparison-matrix td:first-child {
  width: 132px;
}

.comparison-matrix thead th {
  font-size: 12px;
}

.comparison-matrix tbody th {
  color: var(--ink);
  background: #f4f1ea;
  font-size: 12px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.comparison-matrix td {
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.source-note {
  color: var(--muted);
  font-size: 13px;
}

.source-note a {
  color: var(--risk);
}

.service-cta {
  display: grid;
  gap: 12px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 36px;
  padding: 24px;
}

.framework-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  padding-left: 48px;
}

.deliverable-story {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.deliverable-story article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deliverable-story span {
  width: fit-content;
  padding: 5px 8px;
  color: var(--risk);
  background: #fff6f4;
  border: 1px solid #efc5bd;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.deliverable-story h3,
.deliverable-story p,
.deliverable-story ul {
  margin: 0;
}

.deliverable-story h3 {
  font-size: 22px;
  line-height: 1.3;
}

.deliverable-story p,
.deliverable-story li {
  color: var(--muted);
}

.deliverable-story ul {
  padding-left: 20px;
}

.faq-list {
  max-width: 860px;
}

.faq-list details {
  margin-bottom: 10px;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  color: var(--muted);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-section p {
  max-width: 720px;
  color: var(--muted);
}

.final-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.final-cta-points li {
  padding: 6px 10px;
  color: var(--risk);
  background: #fff6f4;
  border: 1px solid #efc5bd;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
}

.noscript {
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .diagnostic-panel {
    max-width: none;
  }

  .result-content {
    grid-template-columns: 1fr;
  }

  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .answer-grid,
  .sample-result-grid,
  .lens-grid,
  .materials-grid,
  .deliverable-story {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .consultation-grid,
  .difference-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) and (max-width: 1179px) {
  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 56px;
    padding: 0 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .result-section,
  .summary-section,
  .sample-section,
  .quick-consult-section,
  .domains-section,
  .improvement-lens-section,
  .improvement-flow-section,
  .ai-fit-section,
  .frameworks-section,
  .deliverables-section,
  .consulting-flow-section,
  .consultation-materials-section,
  .consultation-section,
  .differentiation-section,
  .control-map-section,
  .faq-section,
  .contact-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero,
  .section-heading,
  .result-content,
  .result-placeholder,
  .answer-grid,
  .sample-grid,
  .quick-consult-section,
  .domain-grid,
  .lens-grid,
  .materials-grid,
  .fit-grid,
  .framework-list,
  .deliverable-story,
  .deliverable-list,
  .process-grid,
  .consultation-grid,
  .difference-grid,
  .control-table-wrap,
  .control-card-grid,
  .faq-list,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading p:last-child {
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 19px;
  }

  .btn {
    width: 100%;
  }

  .quick-consult-section {
    display: grid;
    gap: 18px;
  }

  .comparison-matrix,
  .comparison-matrix tbody,
  .comparison-matrix tr,
  .comparison-matrix th,
  .comparison-matrix td {
    display: block;
    width: 100% !important;
    min-width: 0;
  }

  .comparison-matrix thead {
    display: none;
  }

  .source-table-wrap:has(.comparison-matrix) {
    overflow-x: visible;
    border: 0;
  }

  .comparison-matrix tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .comparison-matrix tbody th {
    position: static;
    padding: 12px 14px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .comparison-matrix td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .comparison-matrix td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--risk);
    font-size: 12px;
    font-weight: 800;
  }

  .diagnostic-panel {
    min-height: 0;
    padding: 18px;
  }

  .panel-top h2 {
    font-size: 22px;
  }

  .sample-grid,
  .answer-grid,
  .quick-consult-section,
  .domain-grid,
  .lens-grid,
  .materials-grid,
  .fit-grid,
  .sample-result-grid,
  .priority-map-list,
  .two-week-list,
  .roadmap-grid,
  .deliverable-story,
  .deliverable-list,
  .process-grid,
  .consultation-grid,
  .difference-grid,
  .control-card-grid {
    grid-template-columns: 1fr;
  }

  .consultation-cta {
    width: 100%;
  }

  .deliverable-list {
    padding-left: 42px;
  }

  .contact-section {
    display: block;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .service-page {
    padding: 36px 18px 56px;
  }

  .service-hero h1 {
    font-size: 32px;
  }
}

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

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  .site-header,
  .hero-actions,
  .diagnostic-panel,
  .faq-section,
  .contact-actions,
  .result-actions,
  .sample-section,
  .domains-section,
  .ai-fit-section,
  .frameworks-section,
  .deliverables-section,
  .contact-section,
  .site-footer {
    display: none !important;
  }

  html,
  body {
    width: 210mm;
    min-height: 297mm;
    color: #111;
    background: #fff;
    font-size: 10.5pt;
    line-height: 1.5;
  }

  main {
    display: block;
  }

  .result-section {
    display: block !important;
    padding: 0 !important;
    border: 0;
  }

  .section-heading {
    max-width: none;
    margin: 0 0 6mm;
    padding: 0;
  }

  .section-heading h2 {
    font-size: 18pt;
  }

  .result-content {
    display: block;
    max-width: none;
    padding: 0;
  }

  .score-card,
  .result-main,
  .red-flag,
  .platform-card,
  .priority-map-card,
  .two-week-card,
  .summary-card,
  .roadmap-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
  }

  .score-card,
  .result-main {
    padding: 0;
    border: 0;
  }

  .score-card {
    margin-bottom: 7mm;
    padding-bottom: 6mm;
    border-bottom: 1px solid #bbb;
  }

  .score-card h3 {
    font-size: 17pt;
  }

  .result-main h3 {
    margin: 6mm 0 3mm;
    font-size: 13pt;
    break-after: avoid;
  }

  .red-flags,
  .artifact-list,
  .platform-list,
  .priority-map-list,
  .two-week-list,
  .roadmap-grid,
  .domain-list {
    gap: 3mm;
    margin-top: 0;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .meter-track,
  .domain-track {
    height: 5mm;
    border: 1px solid #ddd;
  }

  .artifact-list {
    display: flex;
    flex-wrap: wrap;
  }

  .artifact-chip {
    min-height: 0;
    padding: 2mm 3mm;
  }

  .memo-box {
    display: none;
  }

  .print-memo {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 0;
    padding: 4mm;
    border: 1px solid #bbb;
    border-radius: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9pt;
    line-height: 1.45;
    break-inside: auto;
  }

  a {
    color: #111;
    text-decoration: none;
  }
}
