/* Andean brand: dark version. Monochrome, hairlines, light type. */
:root {
  --color-bg: #000000;
  --color-foreground: #EDEDED;
  --color-text: rgba(255, 255, 255, 0.9);
  --color-text-secondary: rgba(255, 255, 255, 0.75);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-faint: rgba(255, 255, 255, 0.4);
  --color-border: rgba(255, 255, 255, 0.2);
  --color-border-subtle: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.3);
  --color-hover-surface: #111827;
  --accent-gradient: linear-gradient(to right, #FB923C, #FACC15);
  --font: "Open Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Top bar */
.top {
  border-bottom: 1px solid var(--color-border-subtle);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-foreground);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.brand-logo {
  display: block;
  height: 18px;
  width: auto;
}
.top-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* Hero */
.hero {
  padding: 96px 0 56px;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
}
.tagline {
  margin: 0;
  font-style: italic;
  font-size: 18px;
  color: var(--color-text-secondary);
}

.rule {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* Tiles */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-left: 1px solid var(--color-border-subtle);
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 32px;
  border-right: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background 200ms ease;
}
.grid .tile:nth-child(-n+2) { border-top: 0; }
.tile:hover { background: var(--color-hover-surface); }

.tile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.tile-title {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.tile-icon {
  font-size: 22px;
  line-height: 1;
}
.tile-name {
  position: relative;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.tile-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: #FFFFFF;
  transition: width 300ms ease;
}
.tile:hover .tile-name::after { width: 100%; }

.tile-where {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.tile-where-lab { color: var(--color-text-faint); }

.tile-desc {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-secondary);
  max-width: 40ch;
}
.tile-url {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

/* Lab tiles with no host configured yet */
.tile-unset { cursor: default; }
.tile-unset:hover { background: transparent; }
.tile-unset:hover .tile-name::after { width: 0; }

/* Note and footer */
.note {
  padding: 32px 0 80px;
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 64ch;
}
.note p { margin: 0; }
.note em { color: var(--color-text-secondary); }

.foot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.foot a { position: relative; }
.foot a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 300ms ease;
}
.foot a:hover::after { width: 100%; }

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 64px 0 40px; }
  .grid { grid-template-columns: 1fr; }
  .grid .tile:nth-child(2) { border-top: 1px solid var(--color-border-subtle); }
  .tile { padding: 32px 20px; }
}
