@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,500;1,6..72,500&display=swap');

:root {
  --ink: #17233d;
  --muted: #667085;
  --paper: #f7f5ee;
  --white: #fffef9;
  --line: rgba(23, 35, 61, .16);
  --orange: #ef613d;
  --yellow: #f5c84c;
  --green: #64ba8a;
  --blue: #77a9e8;
  --violet: #8a72c7;
  --shadow: 0 24px 80px rgba(23, 35, 61, .12);
  --sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; text-rendering: optimizeLegibility; }
a { color: inherit; }
button { color: inherit; font: inherit; }
code { font-family: var(--mono); }
.skip { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 14px; color: white; background: var(--ink); }
.skip:focus { top: 12px; }

.topbar { position: sticky; z-index: 30; top: 0; width: 100%; min-height: 76px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); background: rgba(247,245,238,.9); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-sign { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 4px; color: var(--ink); background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: -.04em; transform: rotate(-2deg); }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: .95rem; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { padding: 9px 13px; border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a.active { color: var(--ink); background: var(--white); box-shadow: 0 3px 14px rgba(23,35,61,.08); }
.menu { display: none; border: 0; background: none; }

.hero { width: min(calc(100% - 48px), 1240px); min-height: 690px; margin: 0 auto; padding: 104px 0 82px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); gap: 80px; align-items: center; }
.hero-copy h1 { max-width: 820px; margin: 20px 0 26px; font-family: var(--serif); font-size: clamp(4rem, 7.2vw, 7.3rem); font-weight: 500; line-height: .88; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--orange); font-weight: 500; }
.hero-lede { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.28rem); }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: #b94328; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kicker i { width: 26px; height: 3px; background: currentColor; }
.kicker.violet { color: #6550a0; }
.kicker.green { color: #317653; }
.kicker.light { color: var(--yellow); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 4px; font-size: .82rem; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }
.button.secondary { background: transparent; }

.room-stack { position: relative; min-height: 490px; }
.room-card { position: absolute; width: min(100%, 390px); padding: 24px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); box-shadow: 9px 10px 0 var(--ink); }
.room-card > div { display: flex; align-items: center; justify-content: space-between; }
.door-number { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-family: var(--mono); font-size: 1.05rem; }
.room-card small { color: var(--muted); font-family: var(--mono); font-size: .68rem; }
.room-card strong { display: block; margin: 20px 0 3px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.room-card p { margin: 0 0 20px; color: var(--muted); font-size: .8rem; }
.room-state { display: inline-flex; align-items: center; gap: 7px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.room-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(100,186,138,.18); }
.room-one { z-index: 3; top: 0; left: 0; transform: rotate(-2deg); }
.room-two { z-index: 2; top: 130px; left: 62px; transform: rotate(2.5deg); }
.room-two .door-number { background: #f1a48e; }
.room-three { z-index: 1; top: 260px; left: 20px; transform: rotate(-1deg); }
.room-three .door-number { background: var(--blue); }
.model-note { position: absolute; right: 0; bottom: -10px; max-width: 190px; color: var(--muted); font-size: .65rem; text-align: right; }

.one-line { width: min(calc(100% - 48px), 1240px); margin: 0 auto 20px; padding: 32px 38px; display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: start; color: white; background: var(--ink); box-shadow: 9px 9px 0 var(--orange); }
.one-line span { color: var(--yellow); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.one-line p { max-width: 920px; margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1.16; }

.section { padding: 104px max(24px, calc((100vw - 1240px) / 2)); }
.section.shade { background: #ece9df; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr); gap: 64px; align-items: end; margin-bottom: 48px; }
.section-heading.narrow { display: block; max-width: 850px; }
.section-heading h2, .split-block h2, .local-grid h2, .next-page h2 { margin: 13px 0 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; line-height: .94; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading.narrow p { max-width: 700px; margin-top: 18px; }

.route { display: grid; grid-template-columns: repeat(4, 1fr 30px) 1fr; align-items: stretch; }
.route article { min-height: 300px; padding: 24px 20px; border: 1px solid var(--line); background: var(--white); }
.route article:nth-of-type(2) { border-top: 5px solid var(--yellow); }
.route article:nth-of-type(3) { border-top: 5px solid var(--orange); }
.route article:nth-of-type(4) { border-top: 5px solid var(--blue); }
.route article:nth-of-type(5) { border-top: 5px solid var(--green); }
.route article > span { font-family: var(--mono); font-size: .7rem; }
.route article small { display: block; margin-top: 34px; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.route h3 { margin: 5px 0 16px; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1; }
.route p { margin: 0; color: var(--muted); font-size: .78rem; }
.route > i { display: grid; place-items: center; color: var(--orange); font-style: normal; font-weight: 800; }

.candidate-section { padding-top: 72px; background: #e2f0e7; }
.candidate-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.candidate-modes article { min-height: 390px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.candidate-modes article:nth-child(1) { border-top: 5px solid var(--orange); }
.candidate-modes article:nth-child(2) { border-top: 5px solid var(--blue); }
.candidate-modes article:nth-child(3) { border-top: 5px solid var(--green); }
.candidate-modes article > span { color: #317653; font-size: .63rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.candidate-modes h3 { margin: 38px 0 15px; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.candidate-modes p { margin: 0 0 26px; color: var(--muted); font-size: .78rem; }
.candidate-modes code { margin-top: auto; padding: 14px; color: #3f4b61; background: #f4f6f9; font-size: .68rem; line-height: 1.6; }
.candidate-rule { margin-top: 16px; padding: 20px 24px; border-left: 5px solid var(--ink); background: var(--yellow); font-size: .8rem; }

.prompt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prompt-card { padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.prompt-card.feature { background: #fff6d8; }
.prompt-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.prompt-title span { font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.prompt-title button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; font-size: .66rem; font-weight: 700; }
.prompt-title button:hover, .prompt-title button.copied { color: white; background: var(--ink); }
.prompt-card code { display: block; color: #3f4b61; font-size: .8rem; line-height: 1.7; }

.split-block, .local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr); gap: 80px; align-items: center; }
.split-block > article > p, .local-grid header > p { max-width: 670px; margin-top: 20px; color: var(--muted); }
.tool-list { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.tool-list code { padding: 8px 11px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: .7rem; }
.principles { padding: 34px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 9px 9px 0 var(--ink); transform: rotate(1deg); }
.principles h3 { margin: 0 0 22px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.principles ul { margin: 0; padding: 0; list-style: none; }
.principles li { padding: 13px 0; border-top: 1px solid rgba(23,35,61,.22); font-size: .82rem; }

/* Expandable approver dossier */
.technical-section { padding-top: 86px; background: #e9eef4; }
.technical-heading { align-items: end; }
.tech-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 34px; }
.tech-summary article { min-height: 180px; padding: 22px; border: 1px solid rgba(23,35,61,.18); background: rgba(255,255,255,.66); }
.tech-summary article > span { color: #476994; font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tech-summary strong { display: block; margin: 34px 0 8px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1; }
.tech-summary p { margin: 0; color: var(--muted); font-size: .72rem; }
.technical-dossier { border-top: 2px solid var(--ink); }
.technical-dossier details { border-bottom: 1px solid rgba(23,35,61,.22); background: transparent; }
.technical-dossier summary { min-height: 112px; padding: 24px 8px; display: grid; grid-template-columns: 60px 1fr 40px; gap: 18px; align-items: center; cursor: pointer; list-style: none; }
.technical-dossier summary::-webkit-details-marker { display: none; }
.technical-dossier summary:hover { background: rgba(255,255,255,.42); }
.detail-number { color: #476994; font-family: var(--mono); font-size: .72rem; }
.technical-dossier summary strong, .technical-dossier summary small { display: block; }
.technical-dossier summary strong { font-family: var(--serif); font-size: clamp(1.65rem, 2.6vw, 2.35rem); font-weight: 500; line-height: 1; }
.technical-dossier summary small { margin-top: 7px; color: var(--muted); font-size: .72rem; }
.technical-dossier summary > i { position: relative; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; }
.technical-dossier summary > i::before, .technical-dossier summary > i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 16px; height: 1px; background: var(--ink); }
.technical-dossier summary > i::after { transform: rotate(90deg); transition: transform .2s ease; }
.technical-dossier details[open] summary > i::after { transform: rotate(0); }
.technical-dossier details[open] summary { background: var(--white); }
.detail-body { padding: 8px 68px 52px 86px; background: var(--white); }
.detail-intro { max-width: 870px; margin: 0 0 28px; color: var(--muted); font-size: .9rem; }
.isolation-table { border-top: 1px solid var(--ink); }
.isolation-table > div { padding: 14px 0; display: grid; grid-template-columns: 145px 1.25fr 1fr; gap: 24px; border-bottom: 1px solid var(--line); font-size: .76rem; }
.isolation-table .table-head { color: var(--muted); font-size: .61rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.isolation-table code { font-size: .7rem; }
.decision-note, .failure-lane { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--orange); color: #4d596e; background: #fff6d8; font-size: .78rem; }
.sequence-strip { padding: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px; border: 1px solid var(--line); background: #f4f6f9; font-family: var(--mono); font-size: .7rem; }
.sequence-strip span, .sequence-strip strong { padding: 8px 10px; border: 1px solid var(--line); background: var(--white); }
.sequence-strip strong { color: white; background: var(--ink); }
.sequence-strip i { color: var(--orange); font-style: normal; font-weight: 800; }
.technical-list { max-width: 940px; margin: 28px 0; padding: 0; list-style: none; counter-reset: technical-point; }
.technical-list li { position: relative; padding: 12px 0 12px 38px; border-top: 1px solid var(--line); color: #4d596e; font-size: .8rem; counter-increment: technical-point; }
.technical-list li::before { content: counter(technical-point, decimal-leading-zero); position: absolute; left: 0; top: 13px; color: #476994; font-family: var(--mono); font-size: .65rem; }
.record { max-width: 600px; margin: 0; padding: 20px; overflow-x: auto; color: #d9e2f1; background: var(--ink); font-size: .72rem; line-height: 1.65; }
.reset-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.reset-steps li { padding: 18px 0; display: grid; grid-template-columns: 40px 1fr; gap: 14px; border-top: 1px solid var(--line); }
.reset-steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: white; background: #476994; font-family: var(--mono); font-size: .65rem; }
.reset-steps strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.reset-steps p { margin: 3px 0 0; color: var(--muted); font-size: .73rem; }
.failure-lane { border-color: #b44f36; background: #f8e5df; }
.custody-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.custody-grid article { min-height: 205px; padding: 20px; border: 1px solid var(--line); background: #f7f8fa; }
.custody-grid span { color: #476994; font-size: .61rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.custody-grid strong { display: block; margin: 32px 0 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1; }
.custody-grid p { margin: 0; color: var(--muted); font-size: .72rem; }
.source-note { margin: 24px 0 0; color: var(--muted); font-size: .7rem; }
.source-note a { color: #315f98; font-weight: 700; }
.control-plane-map { max-width: 960px; margin: 0 auto 38px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.control-client, .command-core, .workflow-core { padding: 20px; border: 1px solid var(--ink); text-align: center; background: #f7f8fa; }
.control-client span, .command-core span, .workflow-core span { display: block; margin-bottom: 6px; color: #476994; font-size: .59rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.control-client strong, .command-core strong, .workflow-core strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.control-client small, .command-core small, .workflow-core small { color: var(--muted); font-size: .64rem; }
.join-lines { grid-column: span 2; height: 28px; position: relative; display: flex; justify-content: space-around; }
.join-lines::after { content: ''; position: absolute; bottom: 0; left: 25%; right: 25%; height: 1px; background: var(--ink); }
.join-lines i { width: 1px; height: 100%; background: var(--ink); }
.command-core, .workflow-core { grid-column: span 2; color: white; background: var(--ink); }
.command-core span, .workflow-core span { color: var(--yellow); }
.command-core small, .workflow-core small { color: #b7c0d1; }
.down-arrow { grid-column: span 2; color: var(--orange); font-style: normal; text-align: center; }
.workflow-core { color: var(--ink); background: var(--yellow); }
.workflow-core span, .workflow-core small { color: #5f522e; }
.surface-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.surface-columns > div { padding-top: 18px; border-top: 2px solid var(--ink); }
.surface-columns strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.surface-columns p { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.state-line { padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; background: #f4f6f9; font-family: var(--mono); font-size: .65rem; }
.state-line span { padding: 7px 9px; border: 1px solid var(--line); background: white; }
.state-line i { color: var(--orange); font-style: normal; }
.state-line b { width: 100%; margin-top: 8px; color: #a54530; font-weight: 500; }

.dark-section { color: white; background: var(--ink); }
.dark-section .section-heading p { color: #b7c0d1; }
.cleanup-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: 90px; align-items: start; }
.cleanup-grid h2 { margin: 14px 0 20px; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.2rem); font-weight: 500; line-height: .9; }
.cleanup-grid header p { color: #b7c0d1; }
.cleanup-grid ol, .cutover { margin: 0; padding: 0; list-style: none; }
.cleanup-grid li, .cutover li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.18); }
.cleanup-grid li > span, .cutover li > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-family: var(--mono); font-size: .72rem; }
.cleanup-grid strong, .cutover strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.cleanup-grid p, .cutover p { margin: 0; color: #b7c0d1; font-size: .78rem; }

.next-page { padding: 90px max(24px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: 160px 1fr auto; gap: 40px; align-items: center; background: var(--orange); }
.next-page > span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.next-page h2 { max-width: 720px; font-size: clamp(2.5rem, 4vw, 4.2rem); }
.next-page a { padding-bottom: 5px; border-bottom: 2px solid var(--ink); font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.next-page a i { margin-left: 12px; font-style: normal; }
.next-page.return { background: var(--blue); }

footer { padding: 42px max(24px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); background: var(--white); }
footer p { max-width: 550px; margin: 0; color: var(--muted); font-size: .7rem; text-align: right; }
.footer-brand .brand-sign { width: 36px; height: 36px; box-shadow: 3px 3px 0 var(--ink); }

/* Sutra */
.sutra-hero { min-height: 640px; }
.sutra-hero .hero-copy h1 { font-size: clamp(4rem, 6.7vw, 6.7rem); }
.sutra-hero .hero-copy h1 em { color: var(--violet); }
.scale-card { padding: 34px; color: white; background: var(--ink); box-shadow: 11px 11px 0 var(--violet); transform: rotate(1deg); }
.scale-card > span { color: #c9bdf0; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.scale-card > strong { display: block; margin: 28px 0 14px; font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 4.5rem); font-weight: 500; line-height: .92; }
.scale-card p { color: #b7c0d1; }
.scale-card div { margin-top: 28px; padding-top: 18px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.2); font-size: .78rem; }
.scale-card div i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.comparison-section { padding-top: 70px; }
.architecture-compare { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; }
.architecture { min-height: 530px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.architecture.before { background: #eee9e3; }
.architecture.after { border: 2px solid var(--ink); box-shadow: 9px 9px 0 var(--violet); }
.architecture-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.architecture-label span { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.architecture-label b { color: var(--muted); font-size: .68rem; }
.node { padding: 18px; border: 1px solid var(--ink); border-radius: 4px; background: var(--white); text-align: center; font-weight: 800; }
.node small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; }
.node.sutra-node { color: white; background: var(--ink); }
.node.product.target { background: #ddd5f3; }
.architecture > i { height: 45px; display: grid; place-items: center; color: var(--orange); font-style: normal; }
.fan { height: 52px; display: flex; align-items: center; justify-content: space-around; color: var(--violet); }
.fan i { font-style: normal; }
.node-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.node.small { padding: 13px 7px; font-size: .7rem; }
.node.small.capsule { background: #f0ecfb; }
.node.small.legacy { border-style: dashed; }
.architecture > p { margin: 30px 0 0; color: var(--muted); font-size: .78rem; }
.change-arrow { text-align: center; color: var(--violet); font-size: 2rem; font-weight: 800; }
.capsule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.capsule-grid article { min-height: 260px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.capsule-grid article > span { font-family: var(--mono); font-size: .7rem; }
.capsule-grid h3 { margin: 60px 0 14px; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; line-height: 1; }
.capsule-grid p { margin: 0; color: var(--muted); font-size: .78rem; }
.local-section { background: #e2f0e7; }
.local-stack { display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; }
.local-stack > i { color: var(--muted); font-size: .65rem; font-style: normal; text-align: center; }
.local-machine, .hosted-capsules { padding: 24px; border: 2px solid var(--ink); background: var(--white); box-shadow: 7px 7px 0 var(--ink); }
.local-machine > span, .hosted-capsules > span { display: block; margin-bottom: 18px; color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.local-machine strong, .hosted-capsules strong { display: block; padding: 8px 0; border-top: 1px solid var(--line); font-size: .82rem; }
.local-machine small { display: block; margin-top: 17px; color: #317653; font-family: var(--mono); font-size: .66rem; }
.legacy-text { color: #a44b36; }
.no-local { margin-top: 64px; padding: 24px; display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(23,35,61,.2); }
.no-local span { width: 100%; margin-bottom: 8px; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.no-local del { padding: 7px 10px; border-radius: 3px; color: #7c554d; background: rgba(255,255,255,.58); font-family: var(--mono); font-size: .68rem; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.decision-grid article { min-height: 260px; padding: 27px; border: 1px solid rgba(255,255,255,.2); }
.decision-grid article > span { font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.decision-grid .keep > span { color: #83d6a7; }
.decision-grid .move > span { color: #a9caff; }
.decision-grid .retire > span { color: #f4a28d; }
.decision-grid h3 { margin: 56px 0 14px; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.decision-grid p { margin: 0; color: #b7c0d1; font-size: .8rem; }
.cutover { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; }
.cutover li { border-color: var(--line); }
.cutover p { color: var(--muted); }
.cutover li > span { color: white; background: var(--violet); }

.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.not-found main { padding: 30px; }
.not-found .brand-sign { margin: 0 auto 30px; }
.not-found h1 { margin: 10px 0 30px; font-family: var(--serif); font-size: clamp(3rem, 8vw, 7rem); font-weight: 500; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 50px; }
  .room-stack { width: min(100%, 560px); margin: 0 auto; }
  .route { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .route > i { display: none; }
  .route article:last-of-type { grid-column: span 2; }
  .section-heading, .split-block, .local-grid, .cleanup-grid { grid-template-columns: 1fr; gap: 38px; }
  .candidate-modes { grid-template-columns: 1fr; }
  .candidate-modes article { min-height: auto; }
  .candidate-modes code { margin-top: 8px; }
  .capsule-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-summary { grid-template-columns: repeat(2, 1fr); }
  .custody-grid { grid-template-columns: repeat(2, 1fr); }
  .next-page { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 740px) {
  .topbar { min-height: 68px; padding: 0 20px; }
  .menu { width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; }
  .menu span { width: 22px; height: 2px; display: block; background: var(--ink); }
  nav { position: absolute; top: 68px; left: 0; right: 0; padding: 16px 20px 22px; display: none; align-items: stretch; flex-direction: column; border-bottom: 1px solid var(--line); background: var(--paper); }
  nav.open { display: flex; }
  nav a { border-radius: 3px; }
  .hero { width: min(calc(100% - 36px), 1240px); min-height: auto; padding: 70px 0 64px; }
  .hero-copy h1, .sutra-hero .hero-copy h1 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .room-stack { min-height: 510px; }
  .room-card { width: calc(100% - 26px); }
  .room-two { left: 26px; }
  .model-note { right: 4px; bottom: -2px; }
  .one-line { width: min(calc(100% - 36px), 1240px); grid-template-columns: 1fr; gap: 12px; padding: 27px; }
  .section { padding: 76px 20px; }
  .route, .prompt-grid, .architecture-compare, .decision-grid, .cutover { grid-template-columns: 1fr; }
  .route article:last-of-type { grid-column: auto; }
  .change-arrow { transform: rotate(90deg); }
  .prompt-card { padding: 20px; }
  .prompt-title { align-items: flex-start; }
  .capsule-grid { grid-template-columns: 1fr; }
  .tech-summary, .custody-grid, .reset-steps, .surface-columns { grid-template-columns: 1fr; }
  .technical-dossier summary { min-height: 96px; padding: 20px 4px; grid-template-columns: 34px 1fr 34px; gap: 10px; }
  .technical-dossier summary strong { font-size: 1.45rem; }
  .technical-dossier summary small { font-size: .66rem; }
  .detail-body { padding: 8px 8px 42px 38px; }
  .isolation-table > div { grid-template-columns: 1fr; gap: 7px; padding: 16px 0; }
  .isolation-table .table-head { display: none; }
  .isolation-table [role="cell"]:last-child { padding-left: 12px; border-left: 2px solid var(--yellow); }
  .sequence-strip { align-items: stretch; flex-direction: column; text-align: center; }
  .sequence-strip i { transform: rotate(90deg); }
  .control-plane-map { grid-template-columns: 1fr; }
  .join-lines, .command-core, .down-arrow, .workflow-core { grid-column: auto; }
  .join-lines { display: none; }
  .local-stack { grid-template-columns: 1fr; gap: 18px; }
  .local-stack > i { padding: 8px; }
  .next-page { padding: 68px 20px; }
  footer { align-items: flex-start; flex-direction: column; padding: 34px 20px; }
  footer p { text-align: left; }
}
