:root {
  color-scheme: light;
  --paper: #f1efe8;
  --paper-deep: #e8e5dc;
  --ink: #1c2722;
  --ink-muted: #59635c;
  --line: #c9c9be;
  --forest: #263d33;
  --forest-dark: #172820;
  --acid: #d5ed75;
  --rust: #d66e43;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --sans: "IBM Plex Sans", "Avenir Next", sans-serif;
  --display: "Barlow Semi Condensed", "Avenir Next Condensed", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 10; left: 1rem; top: -4rem; padding: .7rem 1rem; background: var(--acid); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.section-wrap, .topbar { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.topbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--forest-dark); text-decoration: none; font-family: var(--display); font-size: 1.65rem; font-weight: 700; letter-spacing: .045em; }
.brand-mark { width: 27px; height: 27px; }
.brand-period { color: var(--rust); }
.topbar-note, nav, .eyebrow, .hero-note, .terminal-topline, .terminal-foot, .spec-label, .spec-caveat, .map-small, .map-guest-label, .filesystem small, .map-caption, .cap-number, .code-head, .code-foot, .footer-mark { font-family: var(--mono); }
.topbar-note { color: var(--ink-muted); font-size: .68rem; letter-spacing: .02em; }
.topbar nav { display: flex; align-items: center; gap: 1.8rem; font-size: .73rem; }
.topbar nav a, .footer nav a { color: var(--ink-muted); text-decoration: none; }
.topbar nav a:hover, .footer nav a:hover { color: var(--rust); }
.nav-github { padding: .58rem .8rem; border: 1px solid var(--line); color: var(--ink) !important; }
.nav-github span { color: var(--rust); }

.hero { min-height: 575px; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; padding-block: 5.5rem 5rem; }
.hero::before { content: ""; position: absolute; z-index: -1; top: 3rem; right: 0; width: 57%; height: 78%; border: 1px solid #d9d7ce; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(38,61,51,.028) 18px 19px); }
.hero-copy { max-width: 620px; padding-block: 1rem; }
.eyebrow { margin: 0 0 1.2rem; color: var(--rust); font-size: .67rem; font-weight: 600; letter-spacing: .09em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #78923a; box-shadow: 0 0 0 3px rgba(120,146,58,.15); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; }
h1 { max-width: 700px; margin-bottom: 1.3rem; font-size: clamp(3.7rem, 7vw, 6.35rem); line-height: .91; }
h1 span, h2 span { color: var(--rust); }
.hero-lede { max-width: 505px; margin-bottom: 1.8rem; color: var(--ink-muted); font-size: 1.06rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; }
.button { display: inline-flex; align-items: center; gap: 1.25rem; min-height: 48px; padding: 0 1.1rem; text-decoration: none; font-size: .83rem; font-weight: 600; }
.button-dark { background: var(--forest-dark); color: var(--paper); }
.button-dark span { color: var(--acid); font-size: 1.1rem; }
.button-dark:hover { background: var(--forest); }
.text-link { color: var(--ink); font-size: .83rem; font-weight: 600; text-decoration-color: var(--rust); text-underline-offset: 5px; }
.text-link span { color: var(--rust); padding-left: .2rem; }
.hero-note { margin: 1.6rem 0 0; color: #777c73; font-size: .63rem; }
.hero-index { position: absolute; right: 0; bottom: 1.8rem; color: #7b8178; font: .65rem var(--mono); }

.terminal-card { width: 100%; max-width: 500px; justify-self: end; background: var(--forest-dark); color: #edf0e6; box-shadow: 15px 15px 0 #d7d6cb; transform: rotate(1deg); }
.terminal-topline { display: flex; align-items: center; gap: 1rem; min-height: 46px; padding: 0 1rem; border-bottom: 1px solid rgba(255,255,255,.13); color: #9cab9e; font-size: .62rem; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #66756a; }
.window-dots i:first-child { background: var(--rust); }
.terminal-tag { margin-left: auto; color: var(--acid); font-size: .55rem; letter-spacing: .08em; }
.terminal-body { min-height: 275px; padding: 1.4rem 1.5rem .7rem; font: .73rem/1.75 var(--mono); }
.terminal-body p { margin-bottom: .5rem; }
.terminal-comment, .terminal-result { color: #9cac9c; }
.terminal-comment { font-size: .67rem; }
.terminal-gap { margin-top: 1.1rem; }
.prompt { margin-right: .55rem; color: var(--acid); }
.terminal-result { margin-left: 1.2rem; font-size: .63rem; }
.terminal-output { margin-left: 1.2rem; color: var(--acid); }
.terminal-cursor { margin-top: .55rem; }
.terminal-cursor span { display: inline-block; width: 7px; height: 13px; background: var(--acid); animation: blink 1.1s steps(2, start) infinite; }
.terminal-foot { min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding-inline: 1rem; border-top: 1px solid rgba(255,255,255,.13); color: #9cab9e; font-size: .53rem; letter-spacing: .035em; }
@keyframes blink { to { visibility: hidden; } }

.spec-strip { width: 100%; padding: 1.75rem max(32px, calc((100% - 1180px) / 2)); background: var(--paper-deep); display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; align-items: center; gap: 1.2rem; border-block: 1px solid var(--line); }
.spec-item { display: flex; flex-direction: column; gap: .25rem; border-right: 1px solid var(--line); }
.spec-value { font-family: var(--display); font-size: 2.4rem; line-height: 1; font-weight: 600; color: var(--forest); }
.spec-value small { font-family: var(--mono); font-size: .68rem; }
.spec-label { max-width: 180px; color: var(--ink-muted); font-size: .58rem; line-height: 1.5; }
.spec-caveat { margin: 0; color: #767c73; font-size: .58rem; line-height: 1.6; }
.spec-caveat a { display: inline-block; margin-top: .4rem; color: var(--forest); text-underline-offset: 3px; }

.comparison { padding-block: 7rem; }
.comparison-heading { display: grid; grid-template-columns: 1fr .78fr; align-items: end; gap: 4rem; margin-bottom: 2.3rem; }
.comparison-heading h2 { margin: 0; }
.comparison-heading > p { max-width: 450px; margin: 0 0 .25rem; color: var(--ink-muted); font-size: .9rem; line-height: 1.75; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--paper-deep); }
.comparison-card { padding: 1.7rem 1.8rem; }
.comparison-docker { border-right: 1px solid var(--line); }
.comparison-rift { background: var(--forest-dark); color: var(--paper); }
.comparison-label { margin-bottom: .75rem; color: var(--rust); font: .58rem var(--mono); letter-spacing: .08em; }
.comparison-rift .comparison-label { color: var(--acid); }
.comparison-card h3 { margin-bottom: 1.2rem; font-family: var(--display); font-size: 1.8rem; font-weight: 600; letter-spacing: -.02em; }
.comparison-card dl { margin: 0; }
.comparison-card dl > div { display: grid; grid-template-columns: 6.8rem 1fr; gap: .9rem; padding-block: .85rem; border-top: 1px solid var(--line); }
.comparison-rift dl > div { border-color: rgba(255,255,255,.18); }
.comparison-card dt { color: var(--forest); font: 600 .6rem var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.comparison-rift dt { color: var(--acid); }
.comparison-card dd { margin: 0; color: var(--ink-muted); font-size: .74rem; line-height: 1.65; }
.comparison-rift dd { color: #c0cabd; }
.comparison-note, .comparison-license { color: #777c73; font: .58rem/1.7 var(--mono); }
.comparison-note { margin: 1rem 0 0; }
.comparison-note a, .comparison-license a { color: var(--forest); text-underline-offset: 3px; }
.comparison-scope { margin: 1.35rem 0 .9rem; padding: .95rem 1.1rem; border-left: 3px solid var(--rust); background: var(--paper-deep); color: var(--ink-muted); font-size: .78rem; line-height: 1.7; }
.comparison-license { margin-bottom: 0; }

.architecture { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 5rem; padding-block: 8rem; }
.section-heading { max-width: 410px; }
h2 { margin-bottom: 1rem; font-size: clamp(3rem, 4.5vw, 4.5rem); line-height: .95; }
.section-heading > p:last-child, .build-copy > p:not(.eyebrow) { color: var(--ink-muted); font-size: .93rem; line-height: 1.75; }
.architecture-map { position: relative; padding: 1rem; border: 1px solid #bfc5b7; background: #e9e9df; }
.map-host { padding: 1rem; background: var(--forest-dark); color: var(--paper); }
.map-host-label { display: flex; align-items: center; gap: .65rem; font-size: .8rem; font-weight: 600; }
.map-symbol { color: var(--acid); font-size: 1.1rem; }
.map-small { margin-left: auto; color: #9cab9e; font-size: .55rem; letter-spacing: .08em; }
.map-command { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.15); color: #bdc7bb; font: .62rem var(--mono); }
.map-arrow { color: var(--acid); }
.map-connector { height: 54px; display: flex; align-items: center; gap: .8rem; color: #6f796d; }
.map-connector span { height: 1px; flex: 1; background: #aeb8a9; }
.map-connector::before { content: ""; position: absolute; left: 50%; width: 8px; height: 8px; margin-top: -1px; border-right: 1px solid var(--rust); border-bottom: 1px solid var(--rust); transform: rotate(45deg); }
.map-connector small { padding-inline: .5rem; background: #e9e9df; font: .53rem var(--mono); text-transform: uppercase; }
.map-guest { padding: 1.05rem; border: 1px solid #a7b4a6; background: #f5f3ea; }
.map-guest-label { display: flex; align-items: center; gap: .55rem; color: var(--ink-muted); font-size: .57rem; }
.guest-chip { padding: .35rem .45rem; background: var(--acid); color: var(--forest-dark); font-size: .54rem; font-weight: 600; letter-spacing: .06em; }
.map-filesystems { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .55rem; margin-top: 1rem; }
.filesystem { position: relative; min-height: 83px; padding: .7rem .75rem .65rem 2.35rem; border: 1px solid #c9cec3; }
.fs-image { background: #eef0e7; }
.fs-overlay { background: #f8eee6; border-color: #e3c9b7; }
.fs-mark { position: absolute; left: .65rem; top: .78rem; color: var(--forest); font: 600 .54rem var(--mono); }
.fs-overlay .fs-mark { color: var(--rust); }
.filesystem strong, .filesystem small { display: block; }
.filesystem strong { font-size: .67rem; }
.filesystem small { margin-top: .35rem; color: var(--ink-muted); font-size: .5rem; }
.fs-plus { color: var(--rust); font: 1rem var(--mono); }
.map-exec { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; padding-top: .7rem; border-top: 1px dashed #c3cabe; color: var(--forest); font-size: .64rem; font-weight: 600; }
.exec-pulse { width: 7px; height: 7px; border-radius: 50%; background: #86a93b; box-shadow: 0 0 0 4px #e2e9d4; }
.map-exec code { margin-left: auto; color: #777d72; font: .53rem var(--mono); }
.map-caption { display: flex; justify-content: space-between; gap: .5rem; margin-top: .8rem; color: #6c756a; font-size: .49rem; letter-spacing: .04em; }

.capabilities { padding-block: 0 8rem; }
.cap-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.cap-head .eyebrow { align-self: start; }
.cap-head h2 { margin: 0; text-align: right; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.cap-item { display: flex; gap: 1.2rem; padding: 1.65rem 1.2rem 1.55rem 0; border-bottom: 1px solid var(--line); }
.cap-item:nth-child(odd) { border-right: 1px solid var(--line); }
.cap-item:nth-child(even) { padding-left: 1.5rem; }
.cap-number { flex: 0 0 24px; color: var(--rust); font-size: .67rem; }
.cap-item h3 { margin-bottom: .42rem; font-size: .95rem; }
.cap-item p { max-width: 390px; margin: 0; color: var(--ink-muted); font-size: .82rem; line-height: 1.7; }
.scope-note { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding: 1rem 1.1rem; border: 1px solid #dfbfaa; background: #f4e9df; }
.scope-mark { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border: 1px solid var(--rust); color: var(--rust); font: 600 .8rem var(--mono); }
.scope-note p { flex: 1; margin: 0; color: #655d55; font-size: .74rem; line-height: 1.6; }
.scope-note strong { color: #332d28; }
.scope-note a { color: #6a4938; font: .62rem var(--mono); text-underline-offset: 3px; white-space: nowrap; }

.build-section { overflow: hidden; background: var(--forest-dark); color: var(--paper); }
.build-inner { min-height: 430px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 4rem; padding-block: 5rem; }
.build-copy .eyebrow { color: var(--acid); }
.build-copy h2 { margin-bottom: 1rem; font-size: clamp(3.2rem, 5vw, 5rem); }
.build-copy h2 span { color: var(--acid); }
.build-copy > p:not(.eyebrow) { max-width: 390px; color: #b8c1b6; }
.light-link { display: inline-block; margin-top: .2rem; color: var(--paper); }
.light-link span { color: var(--acid); }
.code-card { border: 1px solid #53685a; background: #1e3329; box-shadow: 12px 12px 0 rgba(0,0,0,.16); }
.code-head, .code-foot { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding-inline: 1rem; color: #9cad9b; font-size: .55rem; letter-spacing: .06em; }
.code-head { border-bottom: 1px solid #405548; }
.copy-button { padding: .42rem .62rem; border: 1px solid #637866; background: transparent; color: var(--acid); font: .57rem var(--mono); cursor: pointer; }
.copy-button:hover { background: rgba(213,237,117,.1); }
.code-card pre { overflow-x: auto; margin: 0; padding: 1.25rem 1rem; color: #e6eadf; font: .67rem/1.9 var(--mono); tab-size: 2; }
.code-card code { font: inherit; }
.code-foot { border-top: 1px solid #405548; font-size: .5rem; }

.footer { min-height: 102px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.5rem; }
.footer-brand { font-size: 1.25rem; }
.footer-brand .brand-mark { width: 21px; height: 21px; }
.footer > p { margin: 0; color: var(--ink-muted); font-size: .7rem; }
.footer nav { display: flex; gap: 1rem; font-size: .61rem; }
.footer-mark { color: #878b82; font-size: .56rem; white-space: nowrap; }
.copy-status { position: fixed; right: 1rem; bottom: 1rem; margin: 0; padding: .6rem .8rem; background: var(--acid); color: var(--ink); font: .62rem var(--mono); opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s; pointer-events: none; }
.copy-status.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .topbar-note { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .comparison-heading { gap: 2rem; }
  .comparison-card { padding: 1.4rem; }
  .comparison-card dl > div { grid-template-columns: 5.5rem 1fr; gap: .7rem; }
  .architecture { grid-template-columns: 1fr; gap: 2rem; padding-block: 6rem; }
  .section-heading { max-width: 600px; }
  .architecture-map { max-width: 720px; width: 100%; justify-self: center; }
  .spec-strip { grid-template-columns: repeat(3, 1fr); }
  .spec-caveat { grid-column: 1 / -1; }
  .build-inner { gap: 2.2rem; }
  .footer { grid-template-columns: auto 1fr auto; }
  .footer-mark { display: none; }
}
@media (max-width: 640px) {
  .section-wrap, .topbar { width: min(100% - 36px, 520px); }
  .topbar { min-height: 68px; }
  .brand { font-size: 1.35rem; }
  .brand-mark { width: 23px; height: 23px; }
  .topbar nav { gap: .8rem; font-size: .62rem; }
  .topbar nav a:first-child { display: none; }
  .nav-github { padding: .48rem .58rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 2.5rem; padding-block: 4rem 3.5rem; }
  .hero::before { top: 8rem; width: 76%; height: 54%; }
  .eyebrow { font-size: .59rem; }
  h1 { font-size: clamp(3.45rem, 17vw, 5rem); }
  .hero-lede { max-width: 450px; font-size: .94rem; }
  .hero-actions { gap: 1rem; flex-wrap: wrap; }
  .button { min-height: 44px; padding-inline: .82rem; font-size: .74rem; }
  .text-link { font-size: .75rem; }
  .hero-note { font-size: .55rem; }
  .terminal-card { max-width: none; transform: none; box-shadow: 7px 7px 0 #d7d6cb; }
  .terminal-body { min-height: 240px; padding: 1.1rem 1rem .6rem; font-size: .62rem; }
  .terminal-comment { font-size: .58rem; }
  .terminal-foot { font-size: .45rem; }
  .hero-index { display: none; }
  .spec-strip { padding: 1.35rem 18px; gap: .6rem; }
  .spec-value { font-size: 1.9rem; }
  .spec-value small { font-size: .56rem; }
  .spec-label { padding-right: .4rem; font-size: .51rem; }
  .spec-caveat { font-size: .52rem; }
  .comparison { padding-block: 4.5rem; }
  .comparison-heading { grid-template-columns: 1fr; gap: .9rem; margin-bottom: 1.5rem; }
  .comparison-heading > p { font-size: .84rem; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-docker { border-right: 0; border-bottom: 1px solid var(--line); }
  .comparison-card { padding: 1.15rem; }
  .comparison-card h3 { font-size: 1.55rem; }
  .comparison-card dl > div { grid-template-columns: 5.3rem 1fr; gap: .55rem; padding-block: .72rem; }
  .comparison-card dt { font-size: .53rem; }
  .comparison-card dd { font-size: .69rem; }
  .comparison-note, .comparison-license { font-size: .53rem; }
  .comparison-scope { padding: .8rem; font-size: .71rem; }
  .architecture { gap: 1.5rem; padding-block: 4.5rem; }
  h2 { font-size: clamp(2.85rem, 12vw, 3.7rem); }
  .section-heading > p:last-child { font-size: .86rem; }
  .architecture-map { padding: .6rem; }
  .map-host { padding: .85rem; }
  .map-command { font-size: .51rem; }
  .map-guest { padding: .75rem; }
  .filesystem { min-height: 76px; padding: .65rem .35rem .5rem 1.85rem; }
  .fs-mark { left: .4rem; font-size: .48rem; }
  .filesystem strong { font-size: .58rem; }
  .filesystem small { font-size: .43rem; }
  .map-caption { font-size: .39rem; }
  .capabilities { padding-bottom: 4.5rem; }
  .cap-head { display: block; }
  .cap-head h2 { text-align: left; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-item, .cap-item:nth-child(even), .cap-item:nth-child(odd) { padding: 1.2rem 0; border-right: 0; }
  .cap-item h3 { font-size: .9rem; }
  .cap-item p { font-size: .77rem; }
  .scope-note { align-items: start; flex-wrap: wrap; gap: .6rem; padding: .85rem; }
  .scope-note p { flex-basis: calc(100% - 36px); font-size: .7rem; }
  .scope-note a { margin-left: 33px; }
  .build-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 4rem; }
  .build-copy h2 { font-size: 3.55rem; }
  .build-copy > p:not(.eyebrow) { font-size: .85rem; }
  .code-card pre { font-size: .55rem; padding-inline: .8rem; }
  .code-head, .code-foot { padding-inline: .8rem; }
  .footer { grid-template-columns: 1fr auto; gap: .5rem; padding-block: 1.4rem; }
  .footer > p { grid-column: 1; grid-row: 2; font-size: .62rem; }
  .footer nav { grid-column: 1 / -1; grid-row: 3; gap: 1rem; padding-top: .4rem; font-size: .57rem; }
  .footer-mark { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
