/* Technical guide for the ORANO MCP contract. Kept deliberately quieter than
   the public lab so builders can scan the details without losing the ORANO
   visual language. */
.tech-skip{position:absolute;left:-10000px;top:8px;z-index:20;padding:10px 12px;background:#000;color:#fff;border:1px solid var(--red);font-size:9px;font-weight:700;letter-spacing:.12em;text-decoration:none}
.tech-skip:focus{left:16px}
.mcp-technical-page .mcp-nav{width:min(1240px,calc(100% - 48px))}
.mcp-technical-page main{width:min(1240px,calc(100% - 48px));margin:0 auto}
.mcp-technical-page .mcp-footer{width:min(1240px,calc(100% - 48px))}
.tech-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:72px;align-items:end;padding:clamp(82px,10vw,144px) 0 82px;border-bottom:1px solid var(--line)}
.tech-hero h1{max-width:850px;margin:0;font-size:clamp(52px,7.6vw,112px);line-height:.86;letter-spacing:-.065em;text-transform:uppercase}
.tech-hero h1 span{color:var(--red)}
.tech-lead{max-width:480px;margin:0;color:#c1c1c1;font-size:clamp(16px,1.45vw,20px);line-height:1.5;letter-spacing:-.02em}
.tech-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.tech-meta-chip{padding:8px 10px;border:1px solid #303030;color:#9b9b9b;font-size:8px;font-weight:700;letter-spacing:.13em}
.tech-meta-chip.is-red{border-color:#6b302b;color:var(--red)}
.tech-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:30px}
.tech-section{padding:92px 0;border-bottom:1px solid var(--line)}
.tech-section:last-of-type{border-bottom:0}
.tech-section-heading{display:grid;grid-template-columns:minmax(0,.78fr) minmax(280px,1fr);gap:56px;align-items:start;margin-bottom:38px}
.tech-section-heading h2{max-width:640px;margin:0;font-size:clamp(34px,4.4vw,64px);line-height:.94;letter-spacing:-.055em;text-transform:uppercase}
.tech-section-heading h2 span{color:var(--red)}
.tech-section-heading>div>p:not(.mcp-kicker){max-width:550px;margin:16px 0 0;color:var(--muted);font-size:13px;line-height:1.65}
.tech-section-heading>p{max-width:470px;margin:27px 0 0;color:#a7a7a7;font-size:13px;line-height:1.65}
.tech-section-heading>p strong{color:#fff;font-weight:600}
.tech-pipeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);background:#030303}
.tech-pipeline-step{position:relative;min-height:188px;padding:20px;border-right:1px solid var(--line);background:#060606}
.tech-pipeline-step:last-child{border-right:0}
.tech-pipeline-step:after{content:"→";position:absolute;right:-9px;top:50%;z-index:2;display:grid;place-items:center;width:18px;height:18px;margin-top:-9px;background:#030303;color:var(--red);font-size:15px}
.tech-pipeline-step:last-child:after{display:none}
.tech-pipeline-number{display:block;color:var(--red);font-size:9px;font-weight:700;letter-spacing:.14em}
.tech-pipeline-mark{height:66px;margin:18px 0 18px;display:flex;align-items:center;gap:8px;color:#fff}
.tech-pipeline-mark i{display:block;width:34px;height:34px;border:1px solid #464646;border-radius:50%;position:relative}
.tech-pipeline-mark i:after{content:"";position:absolute;left:8px;right:8px;top:16px;height:1px;background:var(--red);transform:rotate(-25deg)}
.tech-pipeline-step:nth-child(2) .tech-pipeline-mark i{border-radius:2px;transform:rotate(45deg)}
.tech-pipeline-step:nth-child(2) .tech-pipeline-mark i:after{transform:rotate(-45deg)}
.tech-pipeline-step:nth-child(3) .tech-pipeline-mark i{border-radius:2px 50% 50% 2px}
.tech-pipeline-step:nth-child(4) .tech-pipeline-mark i{border-color:var(--red);box-shadow:inset 0 0 0 5px #060606}
.tech-pipeline-step:nth-child(5) .tech-pipeline-mark i{border-style:dashed}
.tech-pipeline-step h3{margin:0;color:#f4f4f4;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.tech-pipeline-step p{margin:8px 0 0;color:#777;font-size:10px;line-height:1.45}
.tech-callout{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;margin-top:16px;padding:16px 18px;border-left:2px solid var(--red);background:#0b0706}
.tech-callout b{color:var(--red);font-size:9px;letter-spacing:.14em}
.tech-callout p{max-width:850px;margin:0;color:#b8aaa8;font-size:11px;line-height:1.55}
.tech-field-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tech-field-group{min-width:0;padding:20px;border:1px solid var(--line);background:#050505}
.tech-field-group>header{display:flex;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.tech-field-group>header h3{margin:0;color:#f2f2f2;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.tech-field-group>header span{color:var(--red);font-size:8px;font-weight:700;letter-spacing:.12em}
.tech-field-list{margin:0;padding:0;list-style:none}
.tech-field-list li{padding:14px 0;border-bottom:1px solid #202020}
.tech-field-list li:last-child{border-bottom:0;padding-bottom:0}
.tech-field-list code{color:#fff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}
.tech-field-list p{margin:5px 0 0;color:#848484;font-size:10px;line-height:1.5}
.tech-field-list small{display:inline-block;margin-top:8px;color:#5e5e5e;font-size:7px;font-weight:700;letter-spacing:.12em}
.tech-field-list small.is-source{color:#a66c66}
.tech-contract-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.tech-code-card{min-width:0;border:1px solid var(--line);background:#050505}
.tech-code-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line)}
.tech-code-head span{color:#777;font-size:8px;font-weight:700;letter-spacing:.14em}
.tech-code-head b{color:var(--red);font-size:8px;font-weight:700;letter-spacing:.12em}
.tech-code-wrap{position:relative;min-width:0}
.tech-code-wrap pre{max-width:100%;min-height:280px;margin:0;padding:20px;overflow:auto;color:#d7d7d7;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;tab-size:2;white-space:pre}
.tech-code-wrap code{font:inherit}
.tech-copy{position:absolute;right:12px;top:12px;padding:6px 8px;border:1px solid #383838;background:#070707;color:#aaa;cursor:pointer;font-size:7px;font-weight:700;letter-spacing:.12em}
.tech-copy:hover,.tech-copy:focus-visible{border-color:var(--red);color:#fff;outline:none}
.tech-code-note{margin:0;padding:12px 16px;border-top:1px solid var(--line);color:#6f6f6f;font-size:9px;line-height:1.5}
.tech-code-note strong{color:#aaa}
.tech-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.tech-format-card{padding:20px;border:1px solid var(--line);background:#050505}
.tech-format-card.is-featured{border-color:#61302b;background:#0b0706}
.tech-format-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tech-format-card h3{margin:0;color:#f1f1f1;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}
.tech-format-card header span{color:var(--red);font-size:8px;font-weight:700;letter-spacing:.12em}
.tech-format-card p{min-height:48px;margin:14px 0 0;color:#999;font-size:11px;line-height:1.55}
.tech-format-card pre{margin:18px 0 0;padding:12px;overflow:auto;border:1px solid #282828;color:#b9b9b9;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}
.tech-lifecycle{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.tech-life-step{min-width:0;min-height:220px;padding:20px 18px;border-right:1px solid var(--line)}
.tech-life-step:last-child{border-right:0}
.tech-life-step>span{display:block;width:27px;height:27px;padding-top:7px;border:1px solid #404040;border-radius:50%;color:var(--red);text-align:center;font-size:8px;font-weight:700}
.tech-life-step h3{margin:32px 0 8px;color:#eee;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.tech-life-step p{margin:0;color:#858585;font-size:10px;line-height:1.55}
.tech-life-step em{display:block;margin-top:15px;color:#5e5e5e;font-size:7px;font-style:normal;font-weight:700;letter-spacing:.12em}
.tech-webmcp-grid{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:14px}
.tech-principles{display:grid;gap:10px}
.tech-principle{display:grid;grid-template-columns:30px minmax(0,1fr);gap:14px;padding:16px;border:1px solid var(--line);background:#050505}
.tech-principle>span{color:var(--red);font:11px ui-monospace,SFMono-Regular,Consolas,monospace}
.tech-principle h3{margin:0;color:#eee;font-size:11px;letter-spacing:.09em;text-transform:uppercase}
.tech-principle p{margin:7px 0 0;color:#858585;font-size:10px;line-height:1.5}
.tech-reference{min-width:0;border:1px solid var(--line);background:#050505}
.tech-reference .tech-code-wrap pre{min-height:390px}
.tech-endpoints{width:100%;border-collapse:collapse;border:1px solid var(--line);background:#050505}
.tech-endpoints th,.tech-endpoints td{padding:14px 16px;border-bottom:1px solid #222;text-align:left;vertical-align:top}
.tech-endpoints tr:last-child td{border-bottom:0}
.tech-endpoints th{color:#686868;font-size:8px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.tech-endpoints td{color:#999;font-size:10px;line-height:1.5}
.tech-endpoints td:first-child{width:36%;color:#eee;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;overflow-wrap:anywhere}
.tech-endpoints td:first-child span{color:var(--red)}
.tech-retention{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:14px}
.tech-retention-card{padding:22px;border:1px solid var(--line);background:#050505}
.tech-retention-card.is-accent{border-color:#61302b;background:#0b0706}
.tech-retention-card h3{margin:0;color:#eee;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.tech-retention-card p{margin:12px 0 0;color:#999;font-size:11px;line-height:1.6}
.tech-retention-card strong{color:#fff}
.tech-retention-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
.tech-retention-fact{padding:10px;border:1px solid #2b2b2b}
.tech-retention-fact b{display:block;color:var(--red);font-size:18px;letter-spacing:-.04em}
.tech-retention-fact span{display:block;margin-top:4px;color:#777;font-size:8px;font-weight:700;letter-spacing:.1em}
.tech-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:82px 0 108px}
.tech-cta h2{max-width:740px;margin:0;font-size:clamp(36px,5vw,70px);line-height:.92;letter-spacing:-.055em;text-transform:uppercase}
.tech-cta h2 span{color:var(--red)}
.tech-cta-actions{display:flex;flex-direction:column;align-items:flex-start;gap:16px;white-space:nowrap}
.mcp-technical-page .mcp-footer{padding-top:20px}

@media(max-width:980px){
  .tech-hero{grid-template-columns:1fr;gap:28px}
  .tech-hero .tech-lead{max-width:680px}
  .tech-section-heading{grid-template-columns:1fr;gap:16px}
  .tech-section-heading>p{margin-top:0}
  .tech-field-groups{grid-template-columns:1fr 1fr}
  .tech-field-group:last-child{grid-column:1/-1}
  .tech-pipeline,.tech-lifecycle{grid-template-columns:1fr 1fr}
  .tech-pipeline-step:nth-child(2),.tech-lifecycle .tech-life-step:nth-child(2){border-right:0}
  .tech-pipeline-step:nth-child(-n+3),.tech-lifecycle .tech-life-step:nth-child(-n+3){border-bottom:1px solid var(--line)}
  .tech-pipeline-step:nth-child(3){border-right:1px solid var(--line)}
  .tech-pipeline-step:after{right:auto;left:50%;top:auto;bottom:-9px;margin:0 0 0 -9px;transform:rotate(90deg)}
  .tech-pipeline-step:nth-child(2):after,.tech-pipeline-step:nth-child(4):after{display:none}
  .tech-lifecycle .tech-life-step:nth-child(3){border-right:0}
  .tech-lifecycle .tech-life-step:nth-child(4){border-bottom:0}
  .tech-lifecycle .tech-life-step:nth-child(5){grid-column:1/-1;border-top:1px solid var(--line);border-right:0;min-height:160px}
  .tech-webmcp-grid,.tech-retention{grid-template-columns:1fr}
  .tech-cta{align-items:flex-start;flex-direction:column}
  .tech-cta-actions{flex-direction:row;align-items:center;flex-wrap:wrap}
}

@media(max-width:700px){
  .mcp-technical-page .mcp-nav,.mcp-technical-page main,.mcp-technical-page .mcp-footer{width:calc(100% - 32px)}
  .mcp-technical-page .mcp-nav{min-height:66px}
  .mcp-technical-page .mcp-nav-label{display:none}
  .mcp-technical-page .mcp-nav-cta{padding:9px 10px;font-size:8px}
  .tech-hero{padding:70px 0 62px}
  .tech-hero h1{font-size:clamp(45px,13vw,78px);line-height:.88}
  .tech-lead{font-size:15px}
  .tech-section{padding:68px 0}
  .tech-section-heading h2{font-size:clamp(34px,10vw,52px)}
  .tech-field-groups,.tech-contract-grid,.tech-format-grid{grid-template-columns:1fr}
  .tech-field-group:last-child{grid-column:auto}
  .tech-pipeline,.tech-lifecycle{grid-template-columns:1fr}
  .tech-pipeline-step,.tech-pipeline-step:nth-child(2),.tech-pipeline-step:nth-child(3),.tech-lifecycle .tech-life-step,.tech-lifecycle .tech-life-step:nth-child(2),.tech-lifecycle .tech-life-step:nth-child(3),.tech-lifecycle .tech-life-step:nth-child(4){min-height:0;border-right:0;border-bottom:1px solid var(--line)}
  .tech-pipeline-step:last-child,.tech-lifecycle .tech-life-step:last-child{border-bottom:0}
  .tech-pipeline-step:after{display:none}
  .tech-pipeline-mark{height:46px;margin:14px 0}
  .tech-life-step{display:grid;grid-template-columns:27px minmax(0,1fr);column-gap:14px;padding:18px}
  .tech-life-step h3{margin:4px 0 6px}
  .tech-life-step p,.tech-life-step em{grid-column:2}
  .tech-life-step em{margin-top:9px}
  .tech-code-wrap pre{min-height:250px;padding:16px;font-size:11px}
  .tech-format-card p{min-height:0}
  .tech-endpoints{display:block;overflow-x:auto;white-space:normal}
  .tech-endpoints th,.tech-endpoints td{min-width:150px;padding:12px}
  .tech-endpoints td:first-child{min-width:190px}
  .tech-retention-facts{grid-template-columns:1fr 1fr}
  .tech-cta{padding:68px 0 82px}
  .tech-cta h2{font-size:clamp(36px,10vw,52px)}
}

@media(prefers-reduced-motion:reduce){
  .tech-pipeline-step:after{transition:none}
}
