/* Reusable service-detail frame: all color and spacing values come from OPC tokens. */
:root {
  --opc-service-panel: var(--opc-surface-evidence);
  --opc-service-panel-text: var(--opc-surface-evidence-text);
  --opc-service-panel-rule: var(--opc-surface-evidence-rule);
}
.opc-service-hero { background: var(--paper); padding: clamp(52px, 6vw, 76px) 0; }
.opc-service-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(28px, 6vw, 64px); align-items: center; }
.opc-service-hero h1 { margin: 0 0 18px; max-width: 16ch; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.1; font-weight: 600; text-wrap: balance; }
.opc-service-hero p { max-width: 46ch; margin: 0; color: var(--ink-2); font-size: clamp(17px, 1.65vw, 20px); line-height: 1.58; }
.opc-service-price { display: grid; gap: 12px; padding: 26px; background: var(--opc-service-panel); color: var(--opc-service-panel-text); border: 1px solid var(--opc-service-panel-rule); border-radius: var(--r-md); }
.opc-service-price span { color: var(--ink-3); font-size: var(--t-sm); }
.opc-service-price b { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.opc-service-price p { font-size: var(--t-sm); color: var(--ink-2); }
.opc-service-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.opc-service-facts div { padding: 20px 24px; border-right: 1px solid var(--rule); }
.opc-service-facts div:last-child { border-right: 0; }
.opc-service-facts span { display: block; color: var(--ink-3); font-size: var(--t-xs); margin-bottom: 6px; }
.opc-service-facts b { font-size: var(--t-base); font-weight: 600; }
.opc-service-list { margin: 0; padding-left: 1.2em; color: var(--ink-2); line-height: 1.65; }
.opc-service-list li + li { margin-top: 8px; }
.opc-service-boundaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.opc-service-boundaries article { padding: 24px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--cream); }
.opc-service-boundaries h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.opc-service-boundaries p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.opc-service-module { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(0, 1.2fr) minmax(180px, .9fr); gap: 1px; border: 1px solid var(--rule); background: var(--rule); }
.opc-service-module > * { min-width: 0; margin: 0; padding: 18px 20px; background: var(--cream); }
.opc-service-module > b:nth-child(-n+3) { background: var(--paper); color: var(--ink-2); font-size: var(--t-sm); font-weight: 600; }
.opc-service-module b { font-weight: 600; }
.opc-service-module p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.opc-service-steps { counter-reset: service-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--rule); background: var(--rule); }
.opc-service-steps article { min-width: 0; padding: 22px; background: var(--cream); border-top: 3px solid var(--coral); }
.opc-service-steps article::before { counter-increment: service-step; content: "0" counter(service-step); color: var(--link); font-size: var(--t-sm); font-weight: 600; }
.opc-service-steps h3 { margin: 12px 0 8px; font-size: 19px; font-weight: 600; }
.opc-service-steps p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.opc-service-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 52px); background: var(--opc-service-panel); border: 1px solid var(--opc-service-panel-rule); border-radius: var(--r-md); }
.opc-service-cta h2 { margin: 0 0 10px; font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; }
.opc-service-cta p { margin: 0; color: var(--ink-2); }
.opc-solo-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--rule); background: var(--rule); }
.opc-solo-roles article { min-height: 196px; min-width: 0; padding: 26px; background: var(--cream); }
.opc-solo-roles span { color: var(--link); font-size: var(--t-xs); font-weight: 600; }
.opc-solo-roles h3 { margin: 12px 0 10px; font-size: 25px; line-height: 1.15; font-weight: 600; }
.opc-solo-roles p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.opc-solo-proof { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.opc-solo-proof h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; font-weight: 600; }
.opc-solo-proof p { color: var(--ink-2); font-size: 18px; line-height: 1.6; }
@media (max-width: 820px) { .opc-solo-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .opc-solo-roles article:nth-child(3n) { border-right: 1px solid var(--rule); } .opc-solo-roles article:nth-child(2n) { border-right: 0; } .opc-solo-proof { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .opc-solo-roles { grid-template-columns: 1fr; } .opc-solo-roles article, .opc-solo-roles article:nth-child(3n) { min-height: 0; border-right: 0; } }
@media (max-width: 820px) { .opc-service-hero__grid, .opc-service-boundaries { grid-template-columns: 1fr; } .opc-service-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .opc-service-facts, .opc-service-steps { grid-template-columns: 1fr; } .opc-service-facts div { border-right: 0; border-bottom: 1px solid var(--rule); } .opc-service-module { grid-template-columns: 1fr; } .opc-service-module > * { padding: 16px; } .opc-service-module > b:nth-child(-n+3) { display: none; } .opc-service-steps article { padding: 20px; } .opc-service-cta { display: grid; } }
