:root {
  color-scheme: dark;
  --gold: #efb81b;
  --line: #363636;
  --muted: #b5b5b5;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 52% -22%, #332914 0, transparent 56%), #090909;
  color: #f7f7f7;
}

.home-shell { width: min(74rem, calc(100% - 3rem)); margin: auto; padding: 2.5rem 0; }
.home-header { margin-bottom: 2rem; }
.home-brand { display: inline-flex; align-items: center; gap: .625rem; font-size: .875rem; font-weight: 750; }
.home-brand i {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  background: var(--gold);
  color: #171208;
  font-size: 1.125rem;
  font-style: normal;
}
.home-header h1 { margin: .75rem 0 .375rem; font-size: clamp(2.25rem, 6vw, 3.375rem); letter-spacing: -.045em; }
.home-intro, .home-status { margin: 0 0 1rem; color: var(--muted); }

.home-section {
  margin-bottom: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .875rem;
  background: linear-gradient(145deg, #1b1b1b, #111);
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .875rem;
  margin-bottom: 1rem;
}
.section-heading h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; }
.section-heading p { margin: .25rem 0 0; color: var(--muted); }
.workspace-open {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem .875rem;
  border-radius: .5rem;
  background: var(--gold);
  color: #171208;
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
}
.workspace-open:hover { background: #ffd464; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: .625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .25rem;
  height: 100%;
  min-height: 4.25rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: .625rem;
  background: #101010;
  color: inherit;
  text-decoration: none;
}
.tool-card:hover { background: #201c14; border-color: #92701e; }
.tool-card span { color: var(--muted); font-size: .875rem; line-height: 1.4; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 36rem) {
  .home-shell { width: calc(100% - 1.5rem); padding: 1.5rem 0; }
  .home-section { padding: 1rem; }
}
