:root {
  --lb-ink: #f7fff9;
  --lb-muted: #a8b9ae;
  --lb-dim: #74837a;
  --lb-bg: #06110c;
  --lb-bg-soft: #0a1811;
  --lb-panel: rgba(14, 34, 23, .88);
  --lb-panel-solid: #0e2217;
  --lb-line: rgba(110, 231, 151, .18);
  --lb-green: #5ee98b;
  --lb-green-strong: #2dcf68;
  --lb-mint: #a9f5bd;
  --lb-gold: #f5c86b;
  --lb-purple: #b9a0ff;
  --lb-red: #ff8b88;
  --lb-radius: 20px;
  --lb-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  --lb-header: 74px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.lb-shell {
  margin: 0;
  min-width: 300px;
  background:
    radial-gradient(circle at 10% 0%, rgba(45, 207, 104, .12), transparent 29rem),
    radial-gradient(circle at 94% 16%, rgba(96, 165, 250, .08), transparent 25rem),
    var(--lb-bg);
  color: var(--lb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.lb-shell.menu-open { overflow: hidden; }
body.lb-shell > header:not(.lb-site-header) { display: none !important; }
body.lb-shell > footer { display: none !important; }
body.lb-shell .site-nav { display: none !important; }
body.lb-shell a { text-underline-offset: 3px; }
body.lb-shell img { max-width: 100%; }
body.lb-shell button, body.lb-shell a { -webkit-tap-highlight-color: transparent; }

.lb-skip {
  position: fixed; left: 12px; top: -80px; z-index: 1000;
  padding: 12px 16px; border-radius: 12px; background: var(--lb-green); color: #041008;
  font-weight: 900; transition: top .18s ease;
}
.lb-skip:focus { top: 10px; }

.lb-site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--lb-header);
  border-bottom: 1px solid var(--lb-line);
  background: rgba(6, 17, 12, .9);
  backdrop-filter: blur(18px);
}
.lb-nav-wrap {
  width: min(1180px, calc(100% - 24px)); height: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
}
.lb-brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; flex: 0 0 auto; }
.lb-brand img { width: 38px; height: 38px; image-rendering: pixelated; }
.lb-brand-name { font-weight: 950; letter-spacing: -.035em; font-size: 1.15rem; }
.lb-brand-name span { color: var(--lb-green); }
.lb-desktop-links { display: none; align-items: center; gap: 4px; margin-left: auto; }
.lb-desktop-links a {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 12px;
  color: #c8d5cd; text-decoration: none; font-weight: 750; font-size: .9rem;
}
.lb-desktop-links a:hover, .lb-desktop-links a[aria-current="page"] { background: rgba(94, 233, 139, .1); color: var(--lb-mint); }
.lb-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lb-status-link { display: none; align-items: center; gap: 7px; min-height: 44px; color: #adc0b4; text-decoration: none; font-size: .82rem; font-weight: 800; }
.lb-status-dot { width: 8px; height: 8px; border-radius: 999px; background: #6b7280; box-shadow: 0 0 0 4px rgba(107,114,128,.12); }
.lb-status-dot.bg-emerald-400 { background: #5ee98b !important; box-shadow: 0 0 0 4px rgba(94,233,139,.12); }
.lb-status-dot.bg-red-400 { background: #ff8b88 !important; box-shadow: 0 0 0 4px rgba(255,139,136,.12); }
.lb-nav-primary {
  display: none; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 13px;
  color: #031108; background: linear-gradient(135deg, var(--lb-green), #9df3b4); text-decoration: none; font-weight: 950;
  box-shadow: 0 10px 28px rgba(45, 207, 104, .16);
}
.lb-menu-button {
  width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--lb-line); border-radius: 14px;
  background: rgba(94, 233, 139, .06); color: white; cursor: pointer; font-size: 1.35rem;
}
.lb-menu-backdrop { position: fixed; inset: 0; z-index: 108; background: rgba(0,0,0,.64); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lb-menu-backdrop.open { opacity: 1; pointer-events: auto; }
.lb-mobile-menu {
  position: fixed; z-index: 109; inset: 8px 8px auto; max-height: calc(100svh - 16px); overflow: auto;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); border: 1px solid rgba(94,233,139,.25); border-radius: 22px;
  background: #0a1a11; box-shadow: 0 30px 90px rgba(0,0,0,.62); transform: translateY(-115%); transition: transform .24s ease;
}
.lb-mobile-menu.open { transform: translateY(0); }
.lb-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lb-menu-title { font-size: 1.05rem; font-weight: 950; }
.lb-menu-close { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--lb-line); background: #12281b; color: white; font-size: 1.2rem; }
.lb-menu-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: 16px; background: rgba(94,233,139,.07); color: #c8d8ce; }
.lb-menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.lb-menu-links a {
  min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px; color: #e8f3eb; text-decoration: none; font-weight: 850; background: rgba(255,255,255,.025);
}
.lb-menu-links a[aria-current="page"] { border-color: rgba(94,233,139,.35); background: rgba(94,233,139,.1); color: var(--lb-mint); }
.lb-menu-join { margin-top: 12px; display: flex; min-height: 54px; align-items: center; justify-content: center; border-radius: 15px; background: var(--lb-green); color: #041109; text-decoration: none; font-weight: 950; }

.lb-mobile-dock {
  position: fixed; z-index: 90; inset: auto 8px calc(8px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 7px;
  border: 1px solid rgba(94,233,139,.2); border-radius: 18px; background: rgba(7, 20, 13, .94); backdrop-filter: blur(18px); box-shadow: 0 16px 48px rgba(0,0,0,.46);
}
.lb-mobile-dock a, .lb-mobile-dock button {
  min-width: 0; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 4px 2px; border: 0; border-radius: 12px; background: transparent; color: #9cad9f; text-decoration: none; font: inherit;
}
.lb-mobile-dock .lb-dock-icon { font-size: 1.05rem; line-height: 1; }
.lb-mobile-dock .lb-dock-label { font-size: .66rem; line-height: 1; font-weight: 850; white-space: nowrap; }
.lb-mobile-dock a[aria-current="page"] { color: #06140b; background: var(--lb-green); }

.lb-page { min-height: 100svh; padding: calc(var(--lb-header) + 34px) 0 110px; }
.lb-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.lb-narrow { width: min(780px, calc(100% - 32px)); margin: 0 auto; }
.lb-kicker { margin: 0 0 9px; color: var(--lb-green); font-size: .78rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.lb-title { margin: 0; max-width: 900px; font-size: clamp(2.25rem, 9vw, 5.2rem); line-height: .98; letter-spacing: -.055em; font-weight: 950; }
.lb-title .leaf { color: var(--lb-green); }
.lb-lead { max-width: 720px; margin: 20px 0 0; color: #b7c7bd; font-size: clamp(1.03rem, 3vw, 1.25rem); line-height: 1.65; }
.lb-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.lb-button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent;
  border-radius: 15px; background: var(--lb-green); color: #041109; text-decoration: none; font-weight: 950; cursor: pointer; font: inherit;
}
.lb-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.lb-button.secondary { border-color: var(--lb-line); background: rgba(255,255,255,.035); color: #e4eee7; }
.lb-button.small { min-height: 44px; padding: 0 15px; font-size: .9rem; }
.lb-button.purple { background: var(--lb-purple); }
.lb-button.gold { background: var(--lb-gold); }

.lb-hero { position: relative; overflow: hidden; padding: 34px 0 48px; }
.lb-hero::after {
  content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -130px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,233,139,.18), transparent 67%); filter: blur(4px);
}
.lb-hero-grid { display: grid; gap: 30px; align-items: center; }
.lb-hero-art { position: relative; min-height: 280px; display: grid; place-items: center; }
.lb-hero-art img { width: min(100%, 470px); max-height: 420px; object-fit: contain; filter: drop-shadow(0 30px 45px rgba(0,0,0,.46)); }
.lb-server-card { padding: 16px; border: 1px solid rgba(94,233,139,.24); border-radius: 18px; background: rgba(8,25,15,.9); box-shadow: var(--lb-shadow); }
.lb-server-card strong { display: block; font-size: 1.15rem; }
.lb-server-card code { display: block; margin: 5px 0 12px; color: var(--lb-mint); font-size: 1rem; overflow-wrap: anywhere; }
.lb-server-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #aabbb0; font-size: .88rem; }

.lb-section { padding: 54px 0; }
.lb-section-head { margin-bottom: 24px; }
.lb-section-title { margin: 0; font-size: clamp(1.85rem, 6vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.lb-section-copy { max-width: 700px; margin: 11px 0 0; color: var(--lb-muted); }
.lb-grid { display: grid; gap: 14px; }
.lb-grid.two, .lb-grid.three, .lb-grid.four { grid-template-columns: 1fr; }
.lb-card { padding: 20px; border: 1px solid var(--lb-line); border-radius: var(--lb-radius); background: var(--lb-panel); box-shadow: 0 12px 34px rgba(0,0,0,.15); }
.lb-card h2, .lb-card h3 { margin: 0 0 8px; line-height: 1.2; }
.lb-card p { margin: 0; color: var(--lb-muted); }
.lb-card p + p { margin-top: 10px; }
.lb-card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 14px; background: rgba(94,233,139,.1); font-size: 1.45rem; }
.lb-card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--lb-mint); font-weight: 900; text-decoration: none; }
.lb-card-link:hover { text-decoration: underline; }
.lb-task-card { min-height: 190px; display: flex; flex-direction: column; }
.lb-task-card .lb-card-link { margin-top: auto; padding-top: 18px; }

.lb-banner { padding: 20px; border: 1px solid rgba(245,200,107,.24); border-radius: var(--lb-radius); background: linear-gradient(135deg, rgba(245,200,107,.09), rgba(94,233,139,.05)); }
.lb-banner h2, .lb-banner h3 { margin: 0 0 7px; }
.lb-banner p { margin: 0; color: var(--lb-muted); }
.lb-banner .lb-actions { margin-top: 18px; }

.lb-step-list { display: grid; gap: 12px; counter-reset: leafstep; }
.lb-step { position: relative; min-height: 92px; padding: 18px 18px 18px 68px; border: 1px solid var(--lb-line); border-radius: 18px; background: var(--lb-panel); counter-increment: leafstep; }
.lb-step::before {
  content: counter(leafstep); position: absolute; left: 16px; top: 18px; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; background: var(--lb-green); color: #041109; font-weight: 950;
}
.lb-step h2, .lb-step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.lb-step p { margin: 0; color: var(--lb-muted); }

.lb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.lb-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 10px; border: 1px solid var(--lb-line); border-radius: 999px; color: #c7d8cd; background: rgba(94,233,139,.055); font-size: .8rem; font-weight: 800; }
.lb-note { padding: 14px 16px; border-left: 3px solid var(--lb-gold); border-radius: 0 14px 14px 0; background: rgba(245,200,107,.07); color: #d8c89f; }
.lb-note strong { color: #f8dda5; }

.lb-recipe-grid { display: grid; gap: 16px; }
.lb-recipe-card { overflow: hidden; padding: 0; }
.lb-recipe-head { padding: 20px 20px 15px; }
.lb-recipe-head .lb-kicker { margin-bottom: 6px; }
.lb-recipe-name { margin: 0; font-size: 1.28rem; }
.lb-recipe-media { margin: 0; padding: 18px; background: radial-gradient(circle, rgba(255,255,255,.075), rgba(0,0,0,.08)); border-block: 1px solid rgba(255,255,255,.06); text-align: center; }
.lb-recipe-media img { width: 100%; max-width: 440px; height: auto; image-rendering: pixelated; }
.lb-recipe-media figcaption { margin-top: 10px; color: var(--lb-dim); font-size: .78rem; }
.lb-recipe-body { padding: 18px 20px 22px; }
.lb-recipe-body p { color: var(--lb-muted); }
.lb-recipe-body dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 15px 0 0; font-size: .9rem; }
.lb-recipe-body dt { color: var(--lb-dim); font-weight: 800; }
.lb-recipe-body dd { margin: 0; color: #e1ebe4; }

.lb-category-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.lb-category-nav a { min-height: 70px; display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--lb-line); border-radius: 16px; color: #dce9e0; text-decoration: none; font-weight: 900; background: rgba(255,255,255,.025); }
.lb-category-nav a:hover { border-color: rgba(94,233,139,.42); background: rgba(94,233,139,.08); }

.lb-rule { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.lb-rule-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(94,233,139,.1); font-weight: 950; }
.lb-rule h2, .lb-rule h3 { margin: 0 0 5px; }
.lb-rule p { margin: 0; color: var(--lb-muted); }

.lb-change-list { display: grid; gap: 12px; }
.lb-change { display: grid; gap: 13px; padding: 18px; border: 1px solid var(--lb-line); border-radius: 18px; background: var(--lb-panel); }
.lb-change-badge { width: fit-content; height: 30px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: rgba(94,233,139,.11); color: var(--lb-mint); font-size: .72rem; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.lb-change-badge.changed { background: rgba(185,160,255,.11); color: #cfbeff; }
.lb-change-badge.fixed { background: rgba(96,165,250,.11); color: #add5ff; }
.lb-change h2, .lb-change h3 { margin: 0 0 5px; }
.lb-change p { margin: 0; color: var(--lb-muted); }
.lb-change time { color: var(--lb-dim); font-size: .82rem; font-weight: 800; }

.lb-accordion { border: 1px solid var(--lb-line); border-radius: 16px; background: var(--lb-panel); overflow: hidden; }
.lb-accordion button { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 0; background: transparent; color: white; font: inherit; font-weight: 900; text-align: left; cursor: pointer; }
.lb-accordion [data-panel] { padding: 0 16px 16px; color: var(--lb-muted); }
.lb-accordion [data-panel][hidden] { display: none; }

.lb-site-footer { padding: 42px 0 120px; border-top: 1px solid var(--lb-line); background: rgba(3,10,6,.55); }
.lb-footer-grid { display: grid; gap: 25px; }
.lb-footer-brand p { max-width: 460px; margin: 10px 0 0; color: var(--lb-dim); }
.lb-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.lb-footer-links a { color: #9db0a3; text-decoration: none; font-weight: 750; }
.lb-footer-links a:hover { color: var(--lb-mint); }
.lb-footer-note { margin: 24px 0 0; color: #66776c; font-size: .78rem; }

.lb-toast { position: fixed; z-index: 150; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 18px); opacity: 0; pointer-events: none; padding: 12px 16px; border: 1px solid var(--lb-line); border-radius: 13px; background: #12291b; color: white; font-weight: 850; box-shadow: var(--lb-shadow); transition: .2s ease; }
.lb-toast.show { opacity: 1; transform: translate(-50%, 0); }

body.lb-shell .page { padding-top: calc(var(--lb-header) + 22px) !important; padding-bottom: 110px !important; }

@media (min-width: 560px) {
  .lb-actions { flex-direction: row; flex-wrap: wrap; }
  .lb-button { width: auto; }
  .lb-grid.two, .lb-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-change { grid-template-columns: auto 1fr; align-items: start; }
  .lb-change time { grid-column: 2; }
}

@media (min-width: 760px) {
  .lb-container { width: min(1120px, calc(100% - 48px)); }
  .lb-narrow { width: min(780px, calc(100% - 48px)); }
  .lb-page { padding-bottom: 42px; }
  .lb-mobile-dock { display: none; }
  .lb-site-footer { padding-bottom: 42px; }
  .lb-status-link, .lb-nav-primary { display: inline-flex; }
  .lb-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lb-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-category-nav { grid-template-columns: repeat(3, 1fr); }
  .lb-footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .lb-footer-links { grid-template-columns: repeat(3, 1fr); }
  .lb-toast { bottom: 28px; }
  body.lb-shell .page { padding-bottom: 48px !important; }
}

@media (min-width: 1020px) {
  .lb-desktop-links { display: flex; }
  .lb-nav-actions { margin-left: 6px; }
  .lb-menu-button { display: none; }
  .lb-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); }
  .lb-hero { padding: 76px 0 74px; }
  .lb-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lb-recipe-grid { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
