/* Language navigation and the developer-focused additions. */
.skip-link { opacity: 0; pointer-events: none; }
.skip-link:focus-visible { opacity: 1; pointer-events: auto; }
.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 10px var(--mono);
  letter-spacing: .04em;
}
.language-switch a {
  padding: 12px 3px;
  color: #869b7c;
  position: relative;
}
.language-switch a:hover, .language-switch a[aria-current] { color: var(--acid); }
.language-switch a[aria-current]:after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 3px;
  right: 3px;
  height: 1px;
  background: var(--acid);
}
.code-window { display: flex; flex-direction: column; }
.code-panel { flex: 1; }
.code-tab { padding: 22px 0; }
.locale-panel { padding-top: 22px; }
.locale-specimen { margin-bottom: 23px; min-width: 0; }
.locale-specimen > .mono { color: #7f9472; font-size: 9px; display: block; margin-bottom: 10px; }
.locale-specimen code { font-size: 11px; line-height: 1.8; }
.locale-call { border-top: 1px solid var(--line); padding: 18px 0; }
.locale-call code { font-size: 11px; }
.locale-result { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.locale-result .mono { font-size: 8px; color: #7f9472; }
.locale-result p { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 14px; color: var(--acid); }
.locale-result p > span:last-child { color: #acbd9f; font-size: 11px; }
.example-languages { display: flex; gap: 3px; }
.example-languages button { background: none; padding: 10px; border: 1px solid #4b6140; color: #7f9472; font: 10px var(--mono); }
.example-languages button[aria-pressed=true] { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.features-section { background: var(--paper); color: var(--ink); }
.features-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 60px; }
.features-heading > p { max-width: 370px; font-size: 14px; line-height: 1.85; color: #67765d; }
.feature-ledger { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8%; row-gap: 18px; }
.feature-entry { border-top: 1px solid #cbd5be; padding: 30px 0 32px; min-width: 0; }
.feature-entry > .mono { color: #799465; font-size: 9px; }
.feature-entry h3 { margin: 19px 0 16px; font-size: 29px; letter-spacing: -1.2px; line-height: 1.25; max-width: 470px; }
.feature-entry p { font-size: 14px; line-height: 1.85; color: #637359; max-width: 500px; }
.feature-entry code { font: 10px/1.8 var(--mono); color: #55733a; margin-top: 24px; display: block; overflow-wrap: anywhere; }
.features-section > .inline-link { margin-top: 5px; }
.agents-section { background: var(--ink); }
.agents-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 8%; }
.agent-symbol { color: #7a9466; font: 22px var(--mono); display: block; margin-bottom: 25px; }
.agents-copy h2 { font-size: clamp(42px, 4.7vw, 74px); }
.agents-copy h2 em { color: var(--acid); }
.agents-copy > p { color: #99ac90; font-size: 15px; line-height: 1.85; margin: 27px 0 20px; max-width: 420px; }
.agents-copy .inline-link { color: #c8dda7; border-color: #465b39; }
.agent-guide { border: 1px solid #49633d; background: #1d271e; min-width: 0; }
.agent-guide-top { border-bottom: 1px solid #49633d; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.agent-guide-top > .mono { color: #99b380; font-size: 9px; }
.agent-ready { font: 8px var(--mono); color: var(--acid); }
.agent-ready .status-dot { width: 4px; height: 4px; }
.agent-scope { padding: 28px 25px; }
.agent-scope > .mono { font-size: 8px; color: #84a16c; }
.agent-scope > p { font-size: 14px; line-height: 1.9; color: #bcccb0; margin-top: 15px; }
.agent-command { margin: 0 25px; border: 1px solid #49633d; background: var(--ink); }
.agent-command > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 15px; border-bottom: 1px solid #34452c; }
.agent-command .mono { font-size: 8px; color: #8aa274; }
.agent-command pre { margin: 0; padding: 18px 15px; overflow: auto; }
.agent-command code { font: 10px/1.8 var(--mono); color: var(--acid); white-space: pre; }
.agent-install-note { font-size: 11px; color: #8ea77a; line-height: 1.85; margin: 17px 25px 25px; }
.agent-compatible { margin: 0 25px; padding: 20px 0; border-top: 1px solid #3a502f; display: flex; justify-content: space-between; gap: 15px; color: #b7cda5; font-size: 11px; }
.agent-standard-link { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #809d6c; padding: 0 25px 23px; }
.roadmap-section { background: #e5e0ef; color: var(--ink); overflow: hidden; }
.roadmap-section .section-label { border-color: #c5bed3; }
.roadmap-section .section-label .mono { color: #81718e; }
.roadmap-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 7%; padding: 30px 0 60px; }
.roadmap-status { color: #796487; font-size: 8px; display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.roadmap-status .status-dot { background: #806c95; margin: 0; }
.roadmap-copy h2 { font-size: clamp(62px, 6.7vw, 108px); line-height: 1.02; letter-spacing: -5px; }
.roadmap-copy h2 em { color: #806392; }
.roadmap-copy > p { margin-top: 30px; color: #6b6272; font-size: 15px; line-height: 1.9; max-width: 380px; }

.roadmap-note { border-top: 1px solid #c5bed3; padding-top: 23px; display: flex; align-items: baseline; gap: 30px; }
.roadmap-note .mono { color: #806392; font-size: 8px; flex-shrink: 0; }
.roadmap-note p { font-size: 11px; color: #82768a; line-height: 1.8; }
.closing { position: relative; isolation: isolate; min-height: 690px; display: flex; flex-direction: column; padding-top: 50px; padding-bottom: 35px; overflow: hidden; }
#pixel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mask-image: linear-gradient(90deg, transparent 20%, #000 67%); }
.closing-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.closing-top > .eyebrow { color: #607437; font-size: 9px; }
.pixel-control { display: inline-flex; align-items: center; gap: 9px; color: #607437; border: 0; background: none; padding: 10px 0 10px 10px; }
.pixel-control .mono { font-size: 8px; }
.pixel-control .control-line { background: repeating-linear-gradient(90deg, #607437 0 1px, transparent 1px 4px); }
.pixel-control[aria-pressed=true] .control-line { animation: none; opacity: .5; }
.closing-main { flex: 1; padding: 80px 0 70px; }
.closing-main h2 { font-size: clamp(50px, 6.2vw, 98px); }
.closing-main h2 em { color: #617635; }
.pixel-caption { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 25px; font-size: 7px; color: #779148; }
.pixel-touch-hint { display: none; }
@media (pointer: coarse) { .pixel-pointer-hint { display: none; } .pixel-touch-hint { display: inline; } }
@media (max-width: 1150px) {
  .header-actions { gap: 19px; }
  .agent-guide-top { padding: 18px 20px; gap: 12px; }
  .agent-guide-top > .mono { font-size: 8px; }
  .agent-scope { padding: 25px 20px; }
  .agent-command, .agent-compatible { margin-left: 20px; margin-right: 20px; }
  .agent-install-note { margin-left: 20px; margin-right: 20px; }
  .agent-standard-link { padding-left: 20px; padding-right: 20px; }
  .agents-grid { gap: 6%; }
  .feature-entry h3 { font-size: 26px; }
  .roadmap-grid { gap: 5%; }

}
@media (max-width: 820px) {
  .header-actions { gap: 14px; }
  .main-nav { gap: 16px; }
  .code-tab { padding: 9px 0; }
  .code-menu { row-gap: 12px; }
  .features-heading { gap: 30px; }
  .features-heading > p { max-width: 280px; font-size: 12px; }
  .feature-entry h3 { font-size: 24px; }
  .feature-entry p { font-size: 13px; }
  .feature-entry > .mono { font-size: 8px; }
  .feature-entry code { font-size: 9px; }
  .agents-grid { grid-template-columns: 1fr; gap: 40px; }
  .agents-copy h2 { font-size: 56px; }
  .agents-copy > p { max-width: 500px; font-size: 14px; }
  .agent-guide { max-width: 600px; }
  .agent-guide-top { padding: 20px 25px; }
  .agent-guide-top > .mono { font-size: 9px; }
  .agent-scope { padding: 27px 25px; }
  .agent-command, .agent-compatible { margin-left: 25px; margin-right: 25px; }
  .agent-install-note { margin-left: 25px; margin-right: 25px; }
  .agent-standard-link { padding-left: 25px; padding-right: 25px; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 45px; padding-top: 15px; }
  .roadmap-copy h2 { font-size: 85px; }
  .roadmap-copy > p { max-width: 460px; font-size: 14px; }

  .closing { min-height: 600px; }
}
@media (max-width: 600px) {
  .built-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px; }
  .built-sites > a { justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #bfc9ae; }
  .landing-page .github-link { display: none; }
  .header-actions { gap: 8px; }
  .language-switch { gap: 5px; font-size: 9px; }
  .language-switch a { padding: 12px 3px; }
  .docs-page .header-actions { gap: 15px; }
  .code-menu { grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
  .code-tab { padding: 5px 0 9px; }
  .code-tab > span:nth-child(2) { font-size: 13px; }
  .locale-specimen code, .locale-call code { font-size: 10px; }
  .locale-result { padding-top: 18px; gap: 12px; }
  .locale-result .mono { font-size: 7px; }
  .locale-result p { font-size: 12px; }
  .locale-result p > span:last-child { font-size: 10px; }
  .features-heading { display: block; margin-bottom: 35px; }
  .features-heading h2 { font-size: 43px; }
  .features-heading > p { margin-top: 25px; font-size: 13px; max-width: none; }
  .feature-ledger { grid-template-columns: 1fr; gap: 0; }
  .feature-entry { padding-top: 27px; padding-bottom: 28px; }
  .feature-entry h3 { font-size: 27px; margin-top: 18px; }
  .feature-entry p { font-size: 13px; }
  .feature-entry code { font-size: 9px; margin-top: 20px; }
  .feature-entry > .mono { font-size: 7px; }
  .agents-copy h2 { font-size: 45px; }
  .agents-copy > p { font-size: 13px; }
  .agent-symbol { font-size: 19px; margin-bottom: 20px; }
  .agents-copy .inline-link { font-size: 12px; }
  .agent-guide-top { padding: 17px; gap: 10px; }
  .agent-guide-top > .mono { font-size: 7px; }
  .agent-ready { font-size: 6px; }
  .agent-ready .status-dot { margin-right: 5px; }
  .agent-scope { padding: 24px 17px; }
  .agent-scope > .mono { font-size: 7px; }
  .agent-scope > p { font-size: 12px; }
  .agent-command, .agent-compatible { margin-left: 17px; margin-right: 17px; }
  .agent-command > div { padding: 10px 12px; }
  .agent-command .mono { font-size: 6px; }
  .agent-command pre { padding: 16px 12px; }
  .agent-command code { font-size: 10px; }
  .agent-install-note { margin-left: 17px; margin-right: 17px; font-size: 10px; }
  .agent-compatible { flex-wrap: wrap; justify-content: flex-start; gap: 13px 20px; font-size: 10px; }
  .agent-standard-link { padding-left: 17px; padding-right: 17px; font-size: 9px; }
  .roadmap-copy h2 { font-size: 76px; letter-spacing: -4px; }
  .roadmap-status { margin-bottom: 25px; font-size: 7px; }
  .roadmap-copy > p { font-size: 13px; }

  .roadmap-grid { gap: 25px; padding-bottom: 35px; }

  .roadmap-note { flex-direction: column; gap: 13px; }
  .roadmap-note p { font-size: 10px; }
  .closing { min-height: 660px; padding-top: 37px; padding-bottom: 27px; }
  #pixel-canvas { mask-image: linear-gradient(180deg, transparent 25%, #000 50%, #000 86%, transparent); }
  .closing-top > .eyebrow { font-size: 6px; }
  .pixel-control { gap: 7px; }
  .pixel-control .mono { font-size: 6px; }
  .closing-main { flex: initial; padding: 47px 0 30px; align-items: flex-end; }
  .closing-main h2 { font-size: clamp(32px, 8.2vw, 47px); }
  .pixel-caption { margin-top: auto; padding-bottom: 20px; font-size: 6px; }
}

/* Native marks and a small, self-hosted subset of Tabler Icons. */
.tabler-icon { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.github-link, #mobile-nav a:last-child { display: inline-flex; align-items: center; gap: 9px; }
.github-link .tabler-icon { width: 17px; height: 17px; }
.ophelios-signature { display: inline-flex; align-items: center; gap: 11px; }
.ophelios-signature img { object-fit: contain; }
.ophelios-signature .tabler-icon { width: 13px; height: 13px; margin-left: -5px; }
.feature-entry-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #638047; }
.feature-entry-top .mono { font-size: 9px; }
.feature-entry-top .tabler-icon { width: 30px; height: 30px; stroke-width: 1.25; }
.product-mark { object-fit: contain; filter: brightness(0); flex-shrink: 0; }
.ecosystem { position: relative; }
.ecosystem-ridge { position: absolute; width: 100%; height: 76px; top: -75px; left: 0; fill: #dce4cd; pointer-events: none; }
.ecosystem-leaf .leaf-symbol { width: 54px; height: 48px; margin-top: 40px; transition: transform .3s; }
.ecosystem-leaf:hover .leaf-symbol { transform: rotate(-8deg); }
.ecosystem-leaf h3 .tabler-icon { width: 24px; height: 24px; transition: transform .25s; }
.ecosystem-leaf:hover h3 .tabler-icon { transform: translate(3px,-3px); }
.built-sites > a { gap: 11px; font-size: 23px; }
.built-sites .product-mark { width: 28px; height: 28px; transition: transform .25s; }
.built-sites > a:hover .product-mark { transform: translateY(-3px); }

/* The entry point is a real terminal, with one command to copy. */
.start-section { background: #222e23; display: grid; grid-template-columns: .75fr 1.25fr; gap: 8%; align-items: center; padding-top: 74px; padding-bottom: 74px; }
.start-copy > .eyebrow { color: #8ca079; font-size: 8px; }
.start-copy h2 { font-size: clamp(32px, 3.4vw, 51px); margin: 22px 0 17px; letter-spacing: -2px; }
.start-copy h2 em { color: var(--acid); }
.start-copy p { max-width: 340px; color: #a6b89a; font-size: 13px; line-height: 1.8; }
.start-requirement { display: flex; gap: 16px; color: #93a880; font-size: 9px; margin-top: 23px; }
.install-command { min-width: 0; border: 1px solid #536747; background: var(--ink); }
.install-top { display: flex; align-items: center; justify-content: space-between; padding: 17px 23px; border-bottom: 1px solid #35432d; gap: 20px; }
.install-top > .mono { display: flex; align-items: center; gap: 10px; color: #8fa578; font-size: 8px; }
.install-top .tabler-icon { width: 17px; height: 17px; }
.install-top .copy-button { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; }
.install-line { display: flex; align-items: baseline; gap: 13px; padding: 31px 23px 24px; }
.install-line code { font: 13px/1.9 var(--mono); color: var(--acid); overflow-wrap: anywhere; }
.install-prompt, .install-next i { font: 11px var(--mono); color: #71845f; font-style: normal; user-select: none; }
.install-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 23px; border-top: 1px solid #35432d; font-size: 9px; line-height: 1.7; color: #81946f; }
.install-footer a { display: flex; align-items: center; gap: 5px; color: #b0c39b; }
.install-footer .tabler-icon { width: 12px; height: 12px; }

/* An engineering sketch of a chain becoming application data. */
.roadmap-grid { padding-bottom: 55px; }
.chain-study { min-width: 0; }
.chain-study-header, .chain-study-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #806b90; font-size: 8px; line-height: 1.8; }
.chain-study-footer { padding-top: 19px; border-top: 1px solid #c5bed3; }
.chain-visual { position: relative; aspect-ratio: 600/390; margin: 22px 0 15px; }
.chain-topology { width: 100%; height: 100%; }
.chain-lines { stroke: #a38bb6; stroke-width: 1.2; }
.chain-lines circle { fill: #a38bb6; }
.chain-signal { stroke: #613577; stroke-width: 2.2; stroke-dasharray: 12 450; animation: chain-signal 8s linear infinite; }
.chain-signal-return { animation-delay: -4s; }
.chain-node-label, .chain-php-label, .chain-output-label { position: absolute; bottom: 0; font-size: 8px; color: #806b90; }
.chain-node-label { left: 13%; }
.chain-php-label { left: 47%; }
.chain-output-label { right: 7%; }
.roadmap-paths-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; margin-bottom: 25px; }
.roadmap-paths-heading .eyebrow { color: #715c80; font-size: 10px; }
.roadmap-paths-heading > .mono { font-size: 8px; color: #887398; }
.roadmap-paths { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 5%; margin-bottom: 30px; }
.roadmap-path { padding: 25px 0 30px; border-top: 1px solid #c5bed3; }
.roadmap-path-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #806392; }
.roadmap-path-top .mono { font-size: 8px; }
.roadmap-path-top .tabler-icon { width: 26px; height: 26px; stroke-width: 1.3; }
.roadmap-path h4 { font-family: var(--heading); font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -.85px; margin: 22px 0 14px; max-width: 310px; }
.roadmap-path p { color: #706477; font-size: 13px; line-height: 1.85; }
@keyframes chain-signal { to { stroke-dashoffset: -924; } }
.closing-main { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 35px; }
.closing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
.closing-github { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; }
.closing-github:hover { color: #617635; }
.closing-actions .button { font-size: 13px; gap: 25px; }

@media (max-width: 1150px) {
  .start-section { gap: 5%; }
  .install-line code { font-size: 11px; }
  .built-sites > a { font-size: 20px; }
  .built-sites { gap: 22px; }
  .roadmap-path h4 { font-size: 22px; }
}
@media (max-width: 820px) {
  .start-section { grid-template-columns: 1fr; gap: 32px; }
  .start-copy p { max-width: 480px; }
  .install-command { max-width: 680px; }
  .roadmap-paths { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 7%; }
  .ecosystem-ridge { height: 51px; top: -50px; }
  .built-sites { flex-wrap: wrap; }
  .built-sites > .mono { width: 100%; }
  .chain-study { max-width: 600px; }
  .closing-main { align-items: flex-start; }
}
@media (max-width: 600px) {
  .landing-page .github-link { display: none; }
  .start-section { padding-top: 48px; padding-bottom: 48px; }
  .start-copy h2 { font-size: 38px; }
  .start-copy > .eyebrow { font-size: 7px; }
  .install-top { padding: 15px; gap: 10px; }
  .install-top > .mono { font-size: 6px; gap: 7px; }
  .install-line { padding: 24px 15px 20px; gap: 9px; }
  .install-line code { font-size: 10px; }
  .install-footer { padding: 13px 15px; font-size: 8px; }
  .feature-entry-top .mono { font-size: 8px; }
  .ecosystem-ridge { height: 36px; top: -35px; }
  .ecosystem-leaf .leaf-symbol { width: 37px; height: 34px; margin-top: 33px; }
  .ecosystem-leaf h3 .tabler-icon { width: 22px; height: 22px; }
  .built-sites > a { justify-content: flex-start; gap: 12px; font-size: 23px; padding: 17px 0; }
  .built-sites .product-mark { width: 25px; height: 25px; }
  .chain-study-header, .chain-study-footer { font-size: 6px; gap: 10px; }
  .chain-node-label, .chain-php-label, .chain-output-label { font-size: 6px; }
  .roadmap-grid { padding-bottom: 40px; }
  .roadmap-paths-heading { flex-direction: column; gap: 12px; }
  .roadmap-paths-heading .eyebrow { font-size: 8px; }
  .roadmap-paths-heading > .mono { font-size: 6px; }
  .roadmap-paths { grid-template-columns: 1fr; }
  .roadmap-path { padding: 23px 0 27px; }
  .roadmap-path h4 { max-width: 100%; font-size: 25px; margin-top: 18px; }
  .roadmap-path p { font-size: 13px; }
  .roadmap-path-top .mono { font-size: 7px; }
  .closing { min-height: 720px; }
  .closing-main { padding-top: 42px; gap: 25px; }
  .closing-actions { gap: 18px; }
  .closing-actions .button { font-size: 11px; gap: 14px; }
  .closing-github { font-size: 11px; }
  .closing-github .tabler-icon { width: 17px; height: 17px; }
  .site-footer { gap: 20px; flex-wrap: wrap; }
  .site-footer > div { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .ophelios-signature img { width: 30px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) { .chain-signal { animation: none; } }

.copy-button { display: inline-flex; align-items: center; gap: 8px; }
.copy-button .tabler-icon, .search-trigger .tabler-icon { width: 15px; height: 15px; }
