@import url("base.css");

:root {
  --bg: #111113;
  --panel: #1a1a1f;
  --sidebar: #0d0d10;
  --text: #e7e7eb;
  --muted: #8f8f9a;
  --accent: #b8b0e8;
  --accent-2: #9a92c9;
  --line: rgba(184, 176, 232, 0.16);
}

body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.site-shell {
  display: grid;
  min-height: 100vh;
}
@media (min-width: 960px) {
  .site-shell {
    grid-template-columns: 210px 1fr;
  }
}
aside.sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 1.75rem 1.25rem;
}
.sidebar .logo {
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  margin-bottom: 1.75rem;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.sidebar nav a.active,
.sidebar nav a:hover {
  color: var(--accent);
}
.sidebar nav a.active::before {
  content: "•";
  color: var(--accent);
}
.main-col {
  min-width: 0;
}
.site-header {
  background: rgba(17, 17, 19, 0.9);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}
.btn-primary {
  background: var(--accent);
  color: #1a1828;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}
.hero .lede {
  color: var(--muted);
  max-width: 48ch;
}
.preview-frame {
  background: var(--panel);
  border-radius: 14px;
  padding: 0.6rem;
  border: 1px solid var(--line);
}
.section h2 {
  color: var(--accent);
}
.eyebrow {
  color: var(--accent-2);
}

.feature-bento {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.feature-esp-panel {
  display: grid;
  gap: 1.1rem;
  padding: 1.1rem 1.15rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .feature-esp-panel {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1.2rem 1.35rem;
    align-items: stretch;
  }
  .esp-panel-col:first-child {
    padding-right: 1.35rem;
  }
  .esp-panel-col-overlay {
    border-left: 1px solid var(--line);
    padding-left: 1.35rem;
  }
}
@media (max-width: 639px) {
  .esp-panel-col-overlay {
    border-top: 1px solid var(--line);
    padding-top: 1.1rem;
  }
}
.esp-panel-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  align-self: stretch;
}
.esp-panel-col-overlay {
  display: grid;
  gap: 0.65rem;
  align-content: center;
  min-height: 100%;
}
@media (min-width: 640px) {
  .esp-panel-col-overlay {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: 0.5rem;
    align-items: center;
    align-content: center;
  }
  .esp-panel-col-overlay .feature-head {
    grid-column: 1;
    align-self: center;
  }
  .esp-panel-col-overlay .feature-shot-overlay {
    grid-column: 2;
    justify-self: center;
    align-self: center;
    margin-left: -0.35rem;
  }
}
.feature-head {
  display: grid;
  gap: 0.12rem;
}
.feature-head .num {
  margin: 0;
}
.feature-head h3 {
  margin: 0;
  font-size: 1.02rem;
}
.feature-blurb {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.feature-shot {
  margin: 0;
  width: 100%;
  max-width: 240px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0c;
}
.feature-shot-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.5rem;
  min-height: 118px;
  max-height: 152px;
  box-sizing: border-box;
}
.feature-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 140px;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.feature-shot-overlay {
  max-width: 220px;
  margin-left: auto;
}
.feature-shot-overlay .feature-shot-media {
  min-height: 118px;
  max-height: 152px;
  padding: 0.4rem 0.45rem;
}
.feature-shot-overlay img {
  max-height: 148px;
  max-width: 188px;
}
@media (min-width: 640px) {
  .feature-shot-overlay {
    max-width: 236px;
    margin-left: 0;
  }
  .feature-shot-overlay .feature-shot-media {
    min-height: 132px;
    max-height: 188px;
    padding: 0.45rem 0.5rem;
  }
  .feature-shot-overlay img {
    max-height: 182px;
    max-width: 220px;
  }
}
.feature-shot figcaption {
  margin: 0;
  padding: 0.35rem 0.5rem;
  font-size: 0.65rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.feature-card-config {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .feature-card-config {
    grid-template-columns: 1fr minmax(200px, 280px);
    align-items: start;
    padding: 1.35rem 1.5rem;
  }
}
@media (min-width: 900px) {
  .feature-card-config {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
  .profile-slots {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .profile-slots li {
    flex: 1 1 calc(33.333% - 0.35rem);
    min-width: 7.5rem;
  }
}
.config-intro p {
  margin: 0;
}
.config-intro h3 {
  margin: 0.2rem 0 0.35rem;
}
.config-intro > p:last-child {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 42ch;
}
.profile-slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
@media (max-width: 639px) {
  .profile-slots {
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }
}
.profile-slots li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  color: var(--text);
}
.profile-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--accent);
}