:root {
  --ink: #ecf1eb;
  --ink-soft: #b7c5bc;
  --muted: #82938a;
  --night: #13211f;
  --paper: #f2eee5;
  --line: #d5d0c4;
  --forest: #345849;
  --mint: #a5d8bc;
  --mint-strong: #65c394;
  --coral: #e77b5f;
  --amber: #ebbd71;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #26332d;
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); line-height: 1.5; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 3rem)); margin: 0 auto; }
.page-grid { position: fixed; inset: 0; pointer-events: none; opacity: .25; background-image: linear-gradient(rgb(49 76 61 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(49 76 61 / 5%) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; padding: .8rem max(1.5rem, calc((100vw - 1160px) / 2)); color: var(--ink); background: rgb(19 33 31 / 94%); border-bottom: 1px solid rgb(255 255 255 / 10%); backdrop-filter: blur(16px); }
.wordmark, .topbar nav, .github-link, .footer > div { display: flex; align-items: center; }
.wordmark { gap: .75rem; text-decoration: none; }.wordmark strong, .wordmark small, .footer strong, .footer small { display: block; }.wordmark strong, .footer strong { font-size: .82rem; letter-spacing: .02em; }.wordmark small, .footer small { color: var(--muted); font-size: .63rem; letter-spacing: .06em; text-transform: uppercase; }
.mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgb(165 216 188 / 45%); border-radius: 11px 11px 11px 3px; color: var(--mint); font: 800 .68rem/1 ui-monospace, monospace; letter-spacing: -.08em; }
.topbar nav { gap: 1.4rem; font-size: .72rem; color: var(--ink-soft); }.topbar nav a, .github-link { text-decoration: none; }.topbar nav a:hover, .github-link:hover { color: var(--mint); }.github-link { gap: .35rem; padding: .5rem .75rem; border: 1px solid rgb(165 216 188 / 30%); border-radius: 999px; color: var(--mint); font-size: .69rem; font-weight: 750; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); min-height: 650px; padding-top: 5rem; padding-bottom: 5rem; }.kicker { margin: 0 0 .8rem; color: var(--coral); font-size: .65rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }.pulse { display: inline-block; width: 7px; height: 7px; margin-right: .42rem; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 0 5px rgb(101 195 148 / 14%); }.hero h1 { max-width: 680px; margin: 0 0 1.45rem; color: #19332b; font: 500 clamp(3.7rem, 8vw, 7rem)/.92 Georgia, serif; letter-spacing: -.065em; }.hero h1 em, .section-heading em { color: var(--coral); font-style: italic; }.lede { max-width: 560px; margin: 0; color: #68766c; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.75; }.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.1rem; }.button { display: inline-flex; align-items: center; gap: .7rem; padding: .82rem 1rem; border-radius: 8px; font-size: .76rem; font-weight: 800; text-decoration: none; }.button.primary { color: white; background: var(--forest); box-shadow: 0 10px 22px rgb(52 88 73 / 17%); }.button.primary:hover { background: #244638; transform: translateY(-1px); }.button.quiet { border: 1px solid #c9c3b6; color: #54645b; }.button.quiet:hover { border-color: var(--forest); background: #eae5d9; }
.hero-card { position: relative; padding: 1.3rem; border: 1px solid rgb(165 216 188 / 25%); border-radius: 16px; color: var(--ink); background: linear-gradient(145deg, #1c3830, #13211f); box-shadow: 0 26px 60px rgb(27 44 37 / 22%); transform: rotate(2deg); }.hero-card::after { position: absolute; right: -26px; bottom: -25px; width: 110px; height: 110px; border: 1px solid rgb(231 123 95 / 34%); border-radius: 50%; content: ""; }.card-top, .terminal-top { display: flex; align-items: center; gap: .4rem; padding-bottom: 1.5rem; color: #718f82; font: .59rem ui-monospace, monospace; }.card-label, .terminal-top span:last-child { margin-left: .5rem; }.window-dot { width: 7px; height: 7px; border-radius: 50%; }.coral { background: var(--coral); }.amber { background: var(--amber); }.mint { background: var(--mint-strong); }.map-line { display: flex; align-items: center; gap: .65rem; margin: .85rem 0; }.map-line.offset { padding-left: 2.1rem; }.map-node { min-width: 105px; padding: .62rem .7rem; border: 1px solid rgb(165 216 188 / 22%); border-radius: 7px; color: #d9eee1; font: .66rem ui-monospace, monospace; text-align: center; }.map-node.private { border-color: rgb(231 123 95 / 36%); color: #ffd8ca; }.map-node.public { border-color: rgb(101 195 148 / 42%); color: #baf0ce; }.connector { flex: 1; height: 1px; background: linear-gradient(90deg, rgb(165 216 188 / 55%), transparent); }.map-caption { display: flex; align-items: center; gap: .45rem; margin-top: 1.65rem; color: #86a797; font-size: .64rem; }.tiny-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint-strong); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.principles > div { padding: 1.35rem 1.3rem 1.5rem; border-right: 1px solid var(--line); }.principles > div:last-child { border-right: 0; }.number, .pattern-index, .step-no { display: block; color: var(--coral); font: .63rem ui-monospace, monospace; letter-spacing: .08em; }.principles strong { display: block; margin-top: .8rem; color: #283b31; font-size: .88rem; }.principles p { max-width: 240px; margin: .35rem 0 0; color: #778279; font-size: .74rem; line-height: 1.55; }
.section { padding: 5.5rem 0; }.section-heading { max-width: 590px; }.section-heading h2 { margin: 0 0 1rem; color: #1f362b; font: 500 clamp(2.3rem, 5vw, 4rem)/.98 Georgia, serif; letter-spacing: -.05em; }.section-heading > p:last-of-type { max-width: 530px; margin: 0; color: #778279; font-size: .9rem; line-height: 1.7; }.pattern-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 2.6rem; }.pattern-card { min-height: 285px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 12px; background: rgb(255 253 248 / 56%); }.pattern-card.featured { background: #e6eee6; border-color: #c7d8c9; }.pattern-card.accent { background: #f9dfd4; border-color: #efc4b7; }.pattern-card h3 { margin: 2.1rem 0 .7rem; color: #294334; font: 500 1.35rem/1.05 Georgia, serif; }.pattern-card p { margin: 0; color: #6f7b72; font-size: .76rem; line-height: 1.62; }.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.3rem; }.tag-row span { padding: .28rem .45rem; border-radius: 4px; background: rgb(52 88 73 / 10%); color: #51705c; font: .58rem ui-monospace, monospace; }
.dark-section { color: var(--ink); background: var(--night); }.dark-section .section-heading h2 { color: var(--ink); }.section-heading.inverse > p:last-of-type { color: var(--ink-soft); }.flow-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: .7rem; margin-top: 3.2rem; }.flow-step { position: relative; min-width: 0; padding: 1rem; border: 1px solid rgb(165 216 188 / 20%); border-radius: 9px; background: rgb(255 255 255 / 4%); }.step-no { color: var(--mint); }.step-icon { display: grid; place-items: center; width: 33px; height: 33px; margin: 1.4rem 0 .8rem; border-radius: 9px; color: var(--night); background: var(--mint); font-weight: 850; }.flow-step h3 { margin: 0 0 .45rem; color: white; font: 500 1.05rem Georgia, serif; }.flow-step p { min-height: 88px; margin: 0; color: var(--ink-soft); font-size: .7rem; line-height: 1.5; }.step-label { color: var(--coral); font: .59rem ui-monospace, monospace; text-transform: uppercase; }.flow-arrow { display: grid; place-items: center; color: var(--coral); font-size: 1.2rem; }.callout { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; padding: .9rem 1rem; border-left: 2px solid var(--coral); background: rgb(255 255 255 / 5%); font-size: .72rem; }.callout strong { color: #ffd0c2; }.callout span { color: var(--ink-soft); }
.scheduler-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 5rem; }.terminal-card { padding: 1.3rem; border-radius: 13px; color: #dceee1; background: var(--night); box-shadow: 0 20px 42px rgb(26 43 35 / 14%); }.terminal-top { border-bottom: 1px solid rgb(165 216 188 / 15%); }.terminal-card pre { overflow: auto; margin: 1.2rem 0 0; font: .76rem/1.85 ui-monospace, SFMono-Regular, Menlo, monospace; }.dim { color: #789488; }.green { color: var(--mint-strong); }.amber-text { color: var(--amber); }.text-link { display: inline-flex; gap: .4rem; margin-top: 1.5rem; color: var(--forest); font-size: .75rem; font-weight: 800; text-decoration: none; }.text-link:hover { color: var(--coral); }.temporal-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: 2.5rem; padding: 1.2rem; border: 1px solid #c7d8c9; border-radius: 12px; background: #e5eee5; }.temporal-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: white; background: #4353a2; font: 700 1.2rem Georgia, serif; }.temporal-card strong { display: block; color: #294334; font-size: .82rem; }.temporal-card p { margin: .3rem 0 0; color: #6d7d70; font-size: .72rem; line-height: 1.55; }.temporal-card .text-link { margin-top: 0; white-space: nowrap; }
.boundary-section { padding-bottom: 7rem; }.boundary-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; margin-top: 2.5rem; }.boundary-list { display: grid; gap: .8rem; }.boundary-list > div { display: grid; grid-template-columns: 42px 1fr; gap: .7rem; align-items: start; padding: 1rem; border-top: 1px solid var(--line); }.boundary-list > div:last-child { border-bottom: 1px solid var(--line); }.boundary-list > div > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--forest); background: #dce9dc; font-weight: 850; }.boundary-list p { margin: 0; color: #738077; font-size: .78rem; line-height: 1.65; }.boundary-list strong { color: #2b4133; }.source-card { padding: 1.5rem; border-radius: 12px; color: var(--ink); background: var(--night); }.source-card h3 { margin: 1.8rem 0 1.2rem; color: white; font: 500 1.55rem/1.05 Georgia, serif; }.source-card a { display: flex; justify-content: space-between; gap: .5rem; padding: .85rem 0; border-top: 1px solid rgb(165 216 188 / 17%); color: var(--mint); font-size: .72rem; text-decoration: none; }.source-card a:hover { color: white; }.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: #738077; }.footer > div { gap: .65rem; }.small-mark { width: 30px; height: 30px; font-size: .55rem; }.footer p { margin: 0; font-size: .68rem; }.footer a { color: var(--forest); font-weight: 750; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }.hero-card { max-width: 560px; width: 100%; transform: none; }.pattern-grid { grid-template-columns: repeat(2, 1fr); }.flow-track { grid-template-columns: repeat(5, 1fr); }.flow-arrow { display: none; }.scheduler-layout, .boundary-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 640px) { .shell { width: min(100% - 2rem, 1160px); }.topbar { position: static; flex-wrap: wrap; }.topbar nav { order: 3; width: 100%; justify-content: space-between; padding-top: .3rem; }.github-link { margin-left: auto; }.hero { padding-top: 3.5rem; padding-bottom: 3.5rem; }.hero h1 { font-size: clamp(3.3rem, 16vw, 5rem); }.principles { grid-template-columns: 1fr; }.principles > div { border-right: 0; border-bottom: 1px solid var(--line); }.principles > div:last-child { border-bottom: 0; }.pattern-grid { grid-template-columns: 1fr; }.section { padding: 4rem 0; }.flow-track { grid-template-columns: 1fr; }.flow-step p { min-height: auto; }.temporal-card { grid-template-columns: auto 1fr; }.temporal-card .text-link { grid-column: 2; }.boundary-grid { gap: 2rem; }.footer { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, html { scroll-behavior: auto !important; } }
