:root {
  --bg: #f4f3ee;
  --bg-deep: #ecebe4;
  --ink: #16181d;
  --ink-soft: #5a5e68;
  --line: #cdcfc7;
  --line-soft: #dcdcd3;
  --accent: #2b5fff;
  --accent-soft: rgba(43, 95, 255, 0.08);
}

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

html, body { min-height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ============================================
   ISOMETRIC GRID BACKGROUND
   ============================================ */
.iso-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.iso-bg svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.iso-grid line { stroke: var(--line); stroke-width: 0.5; }
.iso-shape { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0.55; }
.iso-shape.accent { stroke: var(--accent); opacity: 0.85; }
.iso-shape.faint { stroke: var(--ink); opacity: 0.18; stroke-dasharray: 2 3; }
.iso-shapes {
  animation: drift 24s ease-in-out infinite;
  transform-origin: center;
}
.vignette {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 35%, var(--bg) 95%);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
header {
  padding: 1.75rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 3; position: relative;
}

.header-left {
  display: flex; align-items: center; gap: 1.5rem;
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.75rem;
  color: inherit; text-decoration: none;
}
.logo-mark { width: 14px; height: 14px; }
.logo-mark svg { width: 100%; height: 100%; overflow: visible; }
.logo-mark svg path { stroke: var(--accent); stroke-width: 1.2; fill: none; }

.meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 0.6rem;
}
.meta.beta::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
.meta .avatar {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line); object-fit: cover;
}
.meta a {
  color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s;
}
.meta a:hover { color: var(--ink); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px rgba(43, 95, 255, 0.03); }
}

/* ============================================
   MAIN
   ============================================ */
main {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 2rem 2.5rem; text-align: center;
  z-index: 3; position: relative;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--ink-soft);
  margin-bottom: 2.25rem;
  display: flex; align-items: center; gap: 0.9rem;
  opacity: 0; animation: rise 1s ease-out 0.1s forwards;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--line);
}

h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.0; letter-spacing: -0.035em;
  max-width: 16ch; margin-bottom: 1.6rem;
  opacity: 0; animation: rise 1.1s ease-out 0.25s forwards;
}
h1 .accent { color: var(--accent); font-weight: 500; position: relative; }
h1 .accent::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -0.05em;
  height: 1px; background: var(--accent); opacity: 0.4;
}

.sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft); max-width: 52ch;
  line-height: 1.6; margin-bottom: 2.75rem;
  font-weight: 400;
  opacity: 0; animation: rise 1.1s ease-out 0.4s forwards;
}

.cta {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--ink); color: var(--bg);
  padding: 1.05rem 1.9rem;
  border: none; border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  cursor: pointer; text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, box-shadow 0.3s;
  opacity: 0; animation: rise 1.1s ease-out 0.55s forwards;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(22, 24, 29, 0.4);
}
.cta:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04), 0 12px 28px -10px rgba(43, 95, 255, 0.5);
}
.cta svg { width: 17px; height: 17px; fill: currentColor; }

.free, .status-line {
  margin-top: 1.1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  opacity: 0; animation: rise 1.1s ease-out 0.7s forwards;
}

/* ============================================
   DASHBOARD EXTRAS
   ============================================ */
#content {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  width: 100%; max-width: 520px;
}
.repo-list {
  list-style: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  opacity: 0; animation: rise 1.1s ease-out 0.55s forwards;
}
.repo-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}
.repo-list li:last-child { border-bottom: none; }
.repo-name { color: var(--ink); }
.repo-host {
  color: var(--ink-soft);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.empty {
  font-family: 'Inter Tight', sans-serif;
  color: var(--ink-soft);
  max-width: 42ch; line-height: 1.6;
  opacity: 0; animation: rise 1.1s ease-out 0.55s forwards;
}
.empty a { color: var(--accent); text-decoration: none; }
.empty a:hover { text-decoration: underline; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 1.75rem 2.5rem 2rem;
  z-index: 3; position: relative;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, transparent, var(--bg) 40%);
  opacity: 0; animation: rise 1.2s ease-out 0.85s forwards;
}
.works-with {
  display: flex; align-items: center; justify-content: center;
  gap: 2.25rem; flex-wrap: wrap;
}
.works-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--ink-soft);
  white-space: nowrap;
}
.logos {
  display: flex; align-items: center;
  gap: 1.9rem; flex-wrap: wrap; justify-content: center;
}
.logo-item {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--ink-soft);
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  transition: color 0.3s, transform 0.3s;
  cursor: default;
}
.logo-item:hover { color: var(--ink); transform: translateY(-1px); }
.logo-item img {
  width: 14px; height: 14px; object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s;
}
.logo-item:hover img { filter: grayscale(0%) opacity(1); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.footer-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--ink); }

/* ============================================
   CORNERS & ANIMATIONS
   ============================================ */
.corner {
  position: fixed;
  width: 12px; height: 12px;
  border: 1px solid var(--ink);
  opacity: 0.3; z-index: 4;
}
.corner.tl { top: 1.1rem; left: 1.1rem; border-right: none; border-bottom: none; }
.corner.tr { top: 1.1rem; right: 1.1rem; border-left: none; border-bottom: none; }
.corner.bl { bottom: 1.1rem; left: 1.1rem; border-right: none; border-top: none; }
.corner.br { bottom: 1.1rem; right: 1.1rem; border-left: none; border-top: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 720px) {
  header { padding: 1.25rem; }
  main { padding: 2rem 1.25rem; }
  footer { padding: 1.5rem 1.25rem; }
  .works-with { flex-direction: column; gap: 1.1rem; }
  .logos { gap: 1.2rem; }
  .corner { display: none; }
  .meta.beta span { display: none; }
}
