/* PHP response: the immediate work and the later platform decision stay distinct. */
body:has(> .php-response) { padding-top: var(--header-h); }
.php-response .rn-page-header { margin-top: 0; padding: 64px 0; }
.php-response .rn-page-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.5; }
.php-response .rn-page-title span { display: inline-block; }
.php-response .rn-page-lead { font-size: 16px; max-width: none; }
.php-response .rn-page-lead + .rn-page-lead { margin-top: 12px; }
.php-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.php-hero-action { margin: 28px 0 0; }
.php-priority-map { margin: 0; }
.php-priority-map h2 { margin: 0 0 16px; font-size: 25px; }
.php-map-now, .php-map-later { padding: 28px; }
.php-map-now { background: #004d99; color: #fff; }
.php-map-later { background: #e9f2fb; margin-top: 12px; }
.php-map-label { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.php-priority-map ol { display: flex; padding: 0; list-style: none; gap: 9px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.php-priority-map li + li::before { content: '→'; padding-right: 9px; }
.php-priority-map p:not(.php-map-label) { margin: 10px 0 0; font-size: 14px; }
.php-priority-map figcaption { color: var(--c-text-sub); margin-top: 12px; font-size: 13px; }
.php-contents { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 24px; font-size: 14px; }
.php-response a:not(.rn-btn):not(.rn-case-card), .ec-security a:not(.rn-btn) { text-underline-offset: 4px; }
.php-response a:focus-visible, .ec-security a:focus-visible { outline: 3px solid #0066cc; outline-offset: 5px; }
.php-response [id], .ec-security[id] { scroll-margin-top: 108px; }
.php-section { padding: 72px 0; }
.php-section.bg-alt { background: var(--c-bg-alt); }
.php-section h2, .ec-security h2 { font-size: clamp(23px, 2.6vw, 32px); line-height: 1.55; margin: 0 0 24px; text-wrap: balance; }
.php-section h3, .ec-security h3 { font-size: 19px; line-height: 1.6; margin: 0 0 10px; }
.php-section p, .ec-security p { margin: 12px 0; }
.php-lead { max-width: 900px; color: var(--c-text-sub); margin-bottom: 32px !important; }
.php-note, .php-source { font-size: 14px; color: var(--c-text-sub); }
.php-advisory { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; padding: 32px; border: 1px solid #d9e1e9; border-top: 4px solid #805914; }
.php-checked { color: #805914; font-size: 14px; font-weight: 700; margin-top: 0 !important; }
.php-version-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.php-version-table th, .php-version-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--c-border); }
.php-version-table thead { background: var(--c-bg-alt); }
.php-response-steps { list-style: none; padding: 0; margin: 0 0 28px; counter-reset: response-step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.php-response-steps li { counter-increment: response-step; border-top: 2px solid #0066cc; padding: 24px 0 0 44px; position: relative; }
.php-response-steps li::before { content: counter(response-step); position: absolute; left: 0; top: 22px; color: #0066cc; font: 700 26px var(--font-en); }
.php-step-result { font-weight: 700; color: #004d99; font-size: 14px; }
.php-support-list { margin: 0; }
.php-support-list > div { display: grid; grid-template-columns: 280px 1fr; gap: 36px; padding: 28px 0; border-top: 1px solid var(--c-border); }
.php-support-list dt { font-size: 18px; font-weight: 700; }
.php-support-list dd { margin: 0; }
.php-support-list dd p { color: var(--c-text-sub); }
.php-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 32px 0; }
.php-options article { border-top: 3px solid #0066cc; padding-top: 20px; }
.php-option-check { color: #004d99; font-size: 14px; font-weight: 700; }
.php-consultation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.php-consultation-grid > div { background: var(--c-bg-alt); padding: 28px; }
.php-consultation-grid ul { padding-left: 1.25em; margin: 16px 0; }
.php-consultation-grid li { margin: 8px 0; }
.php-consultation-action { margin-top: 28px !important; }
.ec-security-note { margin: 0; padding: 26px 30px; background: #e9f2fb; }
.ec-security-note h2 { font-size: 21px; margin-bottom: 12px; }
.ec-security-note p { margin: 8px 0; }
.risk-comparison { width: 100%; border-collapse: collapse; margin: 28px 0; }
.risk-comparison th, .risk-comparison td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); padding: 20px; }
.risk-comparison thead th { background: #004d99; color: #fff; }
.risk-comparison tbody th { width: 18%; background: var(--c-bg-alt); }
.risk-comparison td { width: 41%; }
.ec-security-cost { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 30px 0; }
.ec-security-cost > div { border-top: 2px solid #0066cc; padding-top: 18px; }
@media (max-width: 900px) {
  .php-hero-grid, .php-advisory { grid-template-columns: 1fr; gap: 28px; }
  .php-priority-map { max-width: 700px; }
}
@media (max-width: 768px) {
  .php-response .rn-page-header { padding: 40px 0; }
  .php-section { padding: 48px 0; }
  .php-response-steps, .php-options, .php-consultation-grid, .ec-security-cost { grid-template-columns: 1fr; gap: 24px; }
  .php-support-list > div { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .php-map-now, .php-map-later, .php-advisory, .php-consultation-grid > div, .ec-security-note { padding: 22px; }
  .php-priority-map h2 { font-size: 23px; }
  .php-response .rn-btn { max-width: 100%; white-space: normal; text-align: left; }
  .risk-comparison thead { display: none; }
  .risk-comparison tr, .risk-comparison tbody th, .risk-comparison td { display: block; width: 100%; }
  .risk-comparison tbody th { padding: 14px 16px; background: #e9f2fb; }
  .risk-comparison td { padding: 16px; }
  .risk-comparison td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: #004d99; margin-bottom: 6px; }
}
