@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: Canvas;
  --text: CanvasText;
  --text-dim: #666;
  --text-muted: #999;
  --border: #d0cec8;
  --link: #2a7fa5;
  --accent-orange: #e05c1a;
  --accent-green: #04D27F;
  --mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --text-dim: #aaa; --text-muted: #666; --border: #333; --link: #5aabce; }
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: light dark;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* nav */
nav {
  height: 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* inner wrapper */
.nav-inner {
  width: 100%;
  max-width: 900px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — left */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.logo-img { display: block; }

/* status dot */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* GitHub icon */
.github-link {
  display: flex;
  align-items: center;
  color: var(--text);
  transition: color 0.15s;
  text-decoration: none;
}
.github-link:hover { color: var(--text-dim); text-decoration: none; }

/* Status pill */
.status-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-pill.online { color: var(--accent-green); border-color: var(--accent-green); }
.status-pill.online .status-dot { background: var(--accent-green); box-shadow: 0 0 5px var(--accent-green); }
.status-pill.offline { color: var(--accent-orange); border-color: var(--accent-orange); }
.status-pill.offline .status-dot { background: var(--accent-orange); }

/* content */
.content { max-width: 900px; margin: 0 auto; padding: 56px 40px 80px; }

.tagline-block {
  border-left: 3px solid var(--accent-orange);
  padding-left: 18px;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.body-text { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.body-text a { color: var(--link); }
.body-text strong { font-weight: 700; }

.star-list { list-style: none; margin: 20px 0 32px; display: flex; flex-direction: column; gap: 4px; }
.star-list li { display: flex; gap: 12px; font-size: 14px; line-height: 1.6; padding: 2px 0 2px 4px; }
.star-list li::before { content: '*'; flex-shrink: 0; }
.star-list li a { color: var(--link); }

.quote { border-left: 3px solid var(--border); padding: 4px 0 4px 20px; font-size: 14px; line-height: 1.7; margin: 28px 0 12px; }
.quote-attr { font-size: 14px; color: var(--text-dim); margin-bottom: 40px; }

/* apps table */
.apps-table { border: 1px solid var(--border); border-radius: 2px; width: 100%; overflow: hidden; margin: 24px 0 40px; }
.apps-table-row { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--border); }
.apps-table-row:last-child { border-bottom: none; }
.app-cell { padding: 22px 18px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; transition: background 0.1s; }
.app-cell:last-child { border-right: none; }
.app-cell:hover { background: color-mix(in srgb, Canvas 90%, CanvasText 10%); }
.app-cell-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.app-cell-name a { color: var(--text); text-decoration: none; }
.app-status { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.s-live { color: var(--accent-green); }
.s-beta { color: var(--accent-orange); }
.s-wip  { color: var(--text-muted); }
.app-cell-tech { font-size: 11px; color: var(--text-muted); }
.app-cell-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; margin-top: 2px; }

/* footer */
.footer-outer { padding: 0 40px 60px; max-width: 900px; margin: 0 auto; }
.footer-box { border: 1px dashed var(--border); margin-bottom: 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px dashed var(--border); }
.footer-col { padding: 20px 16px; border-right: 1px dashed var(--border); }
.footer-col:last-child { border-right: none; }
.footer-col-head { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.1s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-box-bottom { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.footer-links-row { font-size: 13px; color: var(--text-dim); }
.footer-links-row a { color: var(--text-dim); text-decoration: none; }
.footer-links-row a:hover { color: var(--text); }
.footer-links-row .sep { margin: 0 8px; color: var(--text-muted); }
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-social { display: flex; align-items: center; font-size: 13px; }
.footer-social a { color: var(--text-dim); text-decoration: none; transition: color 0.1s; }
.footer-social a:hover { color: var(--text); }
.footer-social .sep { color: var(--text-muted); margin: 0 8px; }

/* responsive */
@media (max-width: 900px) {
  nav { padding: 0 16px; }
  .content { padding: 32px 20px 60px; }
  .apps-table-row { grid-template-columns: repeat(2, 1fr); }
  .app-cell:nth-child(2) { border-right: none; }
  .footer-outer { padding: 0 20px 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-col:nth-child(2) { border-right: none; }
  .footer-col:nth-child(3) { border-top: 1px dashed var(--border); }
}

/* terminal box */
.terminal { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin: 32px 0 40px; }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.tdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tdot-r { background: #ff5f57; }
.tdot-y { background: #febc2e; }
.tdot-g { background: #28c840; }
.tname { font-size: 11px; color: var(--text-muted); margin-left: 6px; }
.terminal-body { padding: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 2; }
.t-dollar { color: var(--text-muted); margin-right: 8px; }
.t-cmd { color: var(--text); }
.t-comment { color: var(--text-muted); }
.t-ok { color: #04D27F; }