.public-actions { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.public-actions a:hover, .public-footer a:hover { color: var(--blue); }
.public-hero { max-width: 1380px; min-height: 720px; padding-top: 72px; padding-bottom: 72px; grid-template-columns: minmax(0,1.2fr) minmax(360px,.9fr); gap: clamp(40px,6vw,90px); }
.public-hero h1 { font-size: clamp(44px,5vw,68px); }
.public-hero h1 > span { color: var(--blue); }
.hero-promise { color: var(--text); font-size: 17px; line-height: 1.6; margin: 18px 0 0; }
.public-hero .hero-principle { font-size: 14px; line-height: 1.6; }
.input-universe { margin: 0; min-width: 0; }
.input-universe figcaption { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.input-orbit { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 16px auto 20px; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #e0e6ee; stroke-width: 1; }
.orbit-lines path { stroke-dasharray: 3 6; }
.orbit-cell { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 39%; padding: 0 0 16px; border: 2px solid var(--blue); border-radius: 6px; background: white; display: grid; gap: 9px; text-align: center; box-shadow: 0 8px 28px rgba(11,87,208,.08); }
.orbit-cell > span { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 8px 10px; background: var(--blue-soft); font: 11px/1.3 var(--mono); color: var(--blue); }
.orbit-cell b { font: 500 11px/1.3 var(--system); }
.orbit-cell > strong { font-size: 18px; font-weight: 600; margin-top: 4px; }
.orbit-cell small { font-size: 12px; color: var(--muted); }
.orbit-cell code { font: 11px var(--mono); }
.orbit-node { position: absolute; transform: translate(-50%,-50%); width: 90px; min-height: 76px; border: 1px solid transparent; border-radius: 14px; padding: 10px 4px; display: grid; justify-items: center; gap: 9px; background: white; color: var(--muted); cursor: pointer; }
.orbit-node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.orbit-node span { font-size: 13px; font-weight: 550; }
.orbit-node:hover { background: var(--surface-soft); color: var(--blue); }
.orbit-node[aria-pressed="true"] { background: #f2f6ff; color: var(--blue); border-color: #c5d7f5; }
.orbit-node:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.orbit-web { top: 11%; left: 50%; }
.orbit-social { top: 25.68%; left: 80.49%; }
.orbit-message { top: 58.68%; left: 88.02%; }
.orbit-devices { top: 85.14%; left: 66.92%; }
.orbit-document { top: 85.14%; left: 33.08%; }
.orbit-photo { top: 58.68%; left: 11.98%; }
.orbit-audio { top: 25.68%; left: 19.51%; }
.input-scenario { background: var(--surface-soft); border-radius: 12px; padding: 20px; min-height: 172px; display: grid; align-content: start; gap: 10px; }
.input-scenario > span { font-size: 16px; font-weight: 600; line-height: 1.5; }
.input-scenario code { font: 500 13px/1.65 var(--mono); color: var(--blue); overflow-wrap: anywhere; }
.input-scenario p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.input-scenario-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.cell-principle, .home-section, .errors-section { padding: 80px clamp(24px,7vw,108px); border-top: 1px solid #e5e8eb; }
.cell-principle { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; background: var(--surface-soft); }
.cell-principle h2 { margin: 12px 0 0; font-size: clamp(28px,3vw,40px); font-weight: 640; letter-spacing: -.035em; line-height: 1.15; }
.cell-contract { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.cell-contract div { display: grid; gap: 12px; }
.cell-contract span { font-size: 13px; color: var(--blue); font-weight: 600; }
.cell-contract strong { font-size: 17px; font-weight: 550; line-height: 1.5; }
.cell-contract > b { color: var(--subtle); font-weight: 400; }
.story-heading { max-width: 800px; margin-bottom: 38px; }
.story-heading h2 { margin: 14px 0 18px; font-size: clamp(34px,4vw,54px); line-height: 1.08; font-weight: 640; letter-spacing: -.04em; }
.story-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 730px; }
.story-heading code { font: 600 .9em var(--mono); }
.home-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; margin: 48px 0; }
.home-steps article { border-top: 1px solid var(--line); padding-top: 22px; }
.step-number { color: var(--blue); font-size: 20px; font-weight: 600; }
.home-steps h3 { font-size: 20px; margin: 14px 0 10px; font-weight: 600; letter-spacing: -.02em; }
.home-steps p, .home-model p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.everyday-inputs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.everyday-inputs .step-number { font-size: 15px; }
.plan-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.plan-heading span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.plan-heading h3 { font-size: 28px; letter-spacing: -.03em; margin: 8px 0 0; }
.plan-total { display: grid; gap: 4px; }
.plan-total > strong { color: var(--blue); font-size: 34px; font-weight: 600; letter-spacing: -.035em; }
.plan-table-wrap { max-height: 410px; overflow: auto; }
.plan-table { border-collapse: separate; border-spacing: 0; width: 100%; text-align: left; font-size: 16px; }
.plan-table caption { text-align: left; color: var(--muted); font-size: 14px; line-height: 1.6; padding-bottom: 14px; }
.plan-table th, .plan-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan-table thead th { position: sticky; top: 0; background: var(--surface-soft); font-size: 13px; font-weight: 600; z-index: 1; }
.plan-table th:first-child, .plan-table td:first-child { padding-left: 0; }
.plan-table th:last-child, .plan-table td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.plan-table tbody th { font-weight: 600; }
.plan-table small { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; color: var(--muted); }
.plan-note, .plan-evidence p { color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.plan-evidence { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; }
.plan-evidence summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.plan-evidence code { font: 12px/1.7 var(--mono); overflow-wrap: anywhere; }
.offer-evidence { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.offer-evidence span { color: var(--muted); }
.compact-plan .plan-heading { gap: 12px; }
.public-workspace .shopping-list:has(.shopping-plan) { max-height: none; overflow: visible; display: block; }
.compact-plan .plan-table-wrap { max-height: none; overflow: visible; }
.compact-plan .plan-heading h3 { font-size: 20px; }
.compact-plan .plan-table { font-size: 13px; }
.compact-plan .plan-table th, .compact-plan .plan-table td { padding: 12px 5px; }
.compact-plan .plan-table small, .compact-plan .plan-table thead th { font-size: 11px; }
.home-model { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px,6vw,90px); padding: 36px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 16px; }
.home-model h3 { font-size: clamp(26px,3vw,36px); line-height: 1.15; letter-spacing: -.035em; margin: 14px 0; font-weight: 600; }
.home-model p { margin: 12px 0; }
.text-link { display: inline-block; padding: 10px 0; color: var(--blue); font-weight: 600; font-size: 15px; }
.text-link:hover { text-decoration: underline; }
.model-example { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.model-example > span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.model-example h4 { margin: 18px 0; font-size: 28px; font-weight: 600; }
.model-example dl { margin: 0; }
.model-example dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.model-example dt { color: var(--muted); }
.model-example dd { margin: 0; text-align: right; font-weight: 600; }
.model-example p { font-size: 13px; line-height: 1.6; margin-top: 20px; }
.availability-note { margin: 24px 0 0; font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 920px; }
.errors-section { background: white; }
.error-lab { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.error-lab-head { padding: 24px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.error-lab-head h3 { margin: 0 0 7px; font-size: 20px; font-weight: 600; }
.error-lab-head p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.error-lab-head button { flex-shrink: 0; }
.error-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.error-flow article { padding: 28px 24px; min-width: 0; border-right: 1px solid var(--line); }
.error-flow article:last-child { border-right: 0; }
.error-flow article > span { color: var(--muted); font: 600 12px/1.5 var(--mono); }
.error-flow h4 { margin: 18px 0 12px; font-size: 23px; font-weight: 600; }
.error-flow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.error-flow code { font: 500 13px/1.6 var(--mono); overflow-wrap: anywhere; }
.error-flow .step-failed { background: #faf5ef; box-shadow: inset 0 3px #b78147; }
.error-flow .step-blocked { background: var(--surface-soft); color: var(--muted); }
.error-explanation { margin: 0; padding: 22px 24px; background: var(--surface-soft); line-height: 1.65; font-size: 15px; }
.error-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.error-notes p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.error-notes strong { color: var(--text); }
.proof-section { padding: 78px clamp(24px, 7vw, 108px); border-top: 1px solid #e5e8eb; background: var(--surface-soft); }
.proof-heading { max-width: 790px; margin-bottom: 34px; }
.proof-heading h2 { margin: 9px 0 15px; font-size: clamp(34px,4vw,54px); line-height: 1.06; letter-spacing: -.045em; font-weight: 640; }
.proof-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.proof-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--line); gap: 1px; }
.proof-grid button { min-width: 0; min-height: 220px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border: 0; background: white; color: var(--text); cursor: pointer; text-align: left; }
.proof-grid button:hover { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px #aecbfa; }
.proof-grid button:focus-visible { position: relative; z-index: 1; outline: 3px solid rgba(11,87,208,.2); outline-offset: -3px; }
.proof-grid span { color: var(--muted); font-size: 14px; font-weight: 600; }
.proof-grid strong { margin-top: 15px; font-size: 18px; letter-spacing: -.025em; }
.proof-grid code { max-width: 100%; margin-top: auto; color: #3c4043; font: 500 12px/1.6 var(--mono); overflow-wrap: anywhere; }
.proof-grid small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.public-demo-section .section-heading { align-items: end; }
.section-lead { max-width: 1500px; margin: -4px auto 28px; color: var(--muted); font-size: 14px; line-height: 1.65; text-align: left; }
.demo-formulas { max-width: 1500px; margin: 0 auto 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.demo-formulas button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--muted); cursor: pointer; font-size: 11px; }
.demo-formulas button:hover { border-color: #aecbfa; background: #f6f9fe; color: var(--blue); }
.demo-formulas button.error-example:hover { border-color: #c7cbd1; background: #f8f9fa; color: var(--text); }
.demo-formulas .best-price-question { background: #f0f6f2; border-color: #d5e4da; color: #35634b; padding: 7px 12px; line-height: 1.5; text-align: left; }
.demo-formulas .best-price-question:hover { background: #e8f1eb; border-color: #9db8a7; color: #294e3b; }
.workbook-panel { flex: 1; min-height: 0; min-width: 0; display: flex; overflow: hidden; }
.workbook-panel[hidden] { display: none; }
.best-price-panel { display: block; padding: 24px; overflow: auto; background: white; }
.best-price-panel .plan-table-wrap { max-height: none; overflow: visible; }
.best-price-panel .plan-table thead th { background: #f0f6f2; }
.best-price-panel .plan-total > strong { color: #35634b; }
.best-price-empty { padding: 32px 12px; max-width: 540px; }
.best-price-empty > span { font-size: 12px; color: #35634b; font-weight: 600; }
.best-price-empty h3 { font-size: 28px; letter-spacing: -.03em; margin: 18px 0; }
.best-price-empty p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.best-price-empty small { color: var(--muted); font-size: 13px; line-height: 1.7; }
.public-sheet-shell .sheet-tabs { flex-shrink: 0; }
.sheet-tabs .best-price-tab { background: #f0f6f2; color: #35634b; }
.sheet-tabs .best-price-tab.active { background: #e8f1eb; color: #294e3b; border-top-color: #6e927b; }
.sheet-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
.public-workspace { height: 520px; }
.public-sheet { grid-template-columns: 46px repeat(6, minmax(150px,1fr)); }
.error-explainer { max-width: 1500px; margin: 22px auto 0; padding: 28px; display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: clamp(40px,8vw,120px); border: 1px solid var(--line); border-radius: 10px; background: white; }
.error-explainer h3 { margin: 8px 0 0; max-width: 470px; font-size: clamp(24px,3vw,38px); line-height: 1.1; letter-spacing: -.035em; }
.error-explainer p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.error-explainer code { padding: 2px 5px; border-radius: 4px; background: #f1f3f4; color: #62413e; font: 600 12px/1 var(--mono); }
.capabilities { padding: 90px clamp(24px,7vw,108px); display: grid; gap: 38px; border-top: 1px solid #e5e8eb; background: var(--surface-soft); }
.capabilities-heading { max-width: 800px; }
.capabilities-heading h2, .architecture-section h2, .roadmap-heading h2, .public-cta h2 { margin: 9px 0 18px; font-size: clamp(36px,4.2vw,56px); line-height: 1.06; letter-spacing: -.045em; font-weight: 640; }
.capabilities-heading p, .roadmap-heading p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.capability-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-list article { min-width: 0; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.capability-list article > span { color: var(--blue); font: 700 10px/1.5 var(--mono); }
.capability-list h3 { margin: 12px 0 0; font-size: 21px; font-weight: 600; }.capability-list p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.capability-examples { margin-top: 16px; display: grid; gap: 7px; }
.capability-list code { max-width: 100%; padding: 12px; display: block; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); color: var(--text); font: 500 13px/1.6 var(--mono); overflow-wrap: anywhere; white-space: normal; }
.architecture-section { padding: 110px clamp(24px,7vw,108px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px,10vw,150px); border-top: 1px solid #e5e8eb; background: var(--surface-soft); }
.architecture-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.architecture-copy strong { color: var(--text); }
.architecture-copy > p + p { margin-top: 20px; }
.product-detail { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.product-detail summary { cursor: pointer; font-size: 16px; font-weight: 600; }
.product-detail p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.architecture-flow { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.architecture-flow span { padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 7px; background: white; font: 600 12px/1 var(--mono); }
.architecture-flow b { color: var(--subtle); font-size: 16px; }
.roadmap-section { padding: 110px clamp(24px,7vw,108px); border-top: 1px solid #e5e8eb; }
.roadmap-heading { max-width: 760px; margin-bottom: 54px; }
.roadmap-list { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roadmap-list article { min-width: 0; padding: 24px; border-right: 1px solid var(--line); }
.roadmap-list article:first-child { padding-left: 0; }.roadmap-list article:last-child { padding-right: 0; border-right: 0; }
.roadmap-list article > span { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.roadmap-list h3 { margin: 12px 0 9px; font-size: 17px; }.roadmap-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.public-cta { padding: 110px 24px; border-top: 1px solid #e5e8eb; background: var(--surface-soft); text-align: center; }
.public-cta h2 { max-width: 800px; margin-left: auto; margin-right: auto; }.public-cta p { max-width: 630px; margin: 0 auto 28px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.public-footer { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 28px; }
.public-footer > p { max-width: 760px; margin: 0; justify-self: center; font-size: 11px; line-height: 1.55; text-align: center; }
.public-footer > p strong { color: var(--text); }
.public-footer a { color: var(--muted); }
.public-footer > p a { color: var(--blue); font-weight: 600; }
.footer-meta { justify-self: end; display: flex; align-items: center; gap: 22px; text-align: right; }
.public-footer .footer-wordmark { flex-wrap: wrap; white-space: normal; }
section[id] { scroll-margin-top: 80px; }

@media (max-width: 1050px) {
  .orbit-audio { left: 17%; }
  .orbit-social { left: 83%; }
  .everyday-inputs { grid-template-columns: 1fr 1fr; }
  .public-hero { grid-template-columns: 1fr 1fr; gap: 28px; }
  .public-hero h1 { font-size: 46px; }
  .cell-principle { grid-template-columns: 1fr; }
  .home-model { gap: 28px; padding: 26px; }
  .error-flow { grid-template-columns: 1fr 1fr; }
  .error-flow article:nth-child(2) { border-right: 0; }
  .error-flow article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .capabilities, .architecture-section { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-list { grid-template-columns: 1fr 1fr; }.roadmap-list article, .roadmap-list article:first-child, .roadmap-list article:last-child { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .roadmap-list article:nth-child(2n) { border-right: 0; }.roadmap-list article:last-child { border-bottom: 0; }
  .error-explainer { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .input-orbit { max-width: 400px; aspect-ratio: .85; }
  .orbit-node { width: 70px; min-height: 68px; gap: 7px; padding: 8px 2px; }
  .orbit-node span { font-size: 12px; }
  .orbit-node svg { width: 23px; height: 23px; }
  .orbit-cell { width: 38%; gap: 7px; padding-bottom: 12px; }
  .orbit-cell > span { padding: 7px 5px; font-size: 10px; }
  .orbit-cell b { font-size: 10px; }
  .orbit-cell > strong { font-size: 16px; }
  .orbit-cell small { font-size: 11px; }
  .best-price-panel { padding: 18px; }
  .plan-table { font-size: 14px; }
  .plan-table th, .plan-table td { padding: 12px 6px; }
  .public-hero { grid-template-columns: 1fr; padding: 50px 22px; gap: 36px; }
  .public-hero h1 { font-size: clamp(36px,8vw,48px); }
  .public-hero .workflow-card { width: 100%; max-width: none; }
  .hero-promise { font-size: 16px; }
  .cell-principle, .home-section, .errors-section { padding: 54px 22px; }
  .cell-contract { grid-template-columns: 1fr; gap: 14px; }
  .cell-contract div { grid-template-columns: 90px 1fr; gap: 18px; }
  .cell-contract > b { display: none; }
  .cell-contract br { display: none; }
  .cell-contract strong { font-size: 16px; }
  .home-steps, .home-model, .error-notes { grid-template-columns: 1fr; gap: 24px; }
  .home-model { padding: 22px; }
  .model-example { padding: 18px; }
  .model-example dl > div { flex-wrap: wrap; gap: 8px; }
  .error-lab-head { flex-direction: column; align-items: start; padding: 20px; }
  .error-flow { grid-template-columns: 1fr; }
  .error-flow article { padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .error-flow article:last-child { border-bottom: 0; }
  .public-footer .footer-wordmark { justify-content: center; }
  .public-hero .hero-principle { font-size: 13px; }
  .public-actions { margin-left: auto; font-size: 10px; }
  .proof-section { padding: 56px 22px; }.proof-grid { grid-template-columns: 1fr; }.proof-grid button { min-height: 168px; }
  .section-lead, .demo-formulas { margin-left: 10px; margin-right: 10px; }
  .public-sheet { grid-template-columns: 42px repeat(6,145px); }.public-workspace { height: auto; }
  .error-explainer { margin: 18px 10px 0; padding: 22px; }
  .capabilities, .architecture-section, .roadmap-section { padding: 78px 22px; }
  .capability-list { grid-template-columns: 1fr; }
  .roadmap-list { grid-template-columns: 1fr; }.roadmap-list article, .roadmap-list article:first-child, .roadmap-list article:last-child { padding: 22px 0; border-right: 0; }.roadmap-list article:last-child { border-bottom: 0; }
  .public-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }.footer-meta { justify-self: center; align-items: center; flex-direction: column; gap: 8px; white-space: normal; }
}
