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

:root {
  --bg-base: #0D1117;
  --bg-surface: #161B22;
  --bg-hover: #21262D;
  --border: #30363D;
  --text-primary: #E6EDF3;
  --text-secondary: #8B949E;
  --text-muted: #484F58;
  --accent-teal: #2A9D8F;
  --accent-teal-dim: rgba(42, 157, 143, 0.15);
  --accent-blue: #5B8AC5;
  --accent-blue-dim: rgba(91, 138, 197, 0.15);
  --accent-red: #E04040;
  --success-green: #2EA043;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Aptos', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
}

.wordmark {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.wordmark .i-accent {
  color: var(--accent-teal);
}

.wordmark .tools {
  color: var(--text-secondary);
  font-weight: 400;
}

.byline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.credibility {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
}

.credibility span {
  white-space: nowrap;
}

/* Tools Grid */
.tools-section {
  padding: 1rem 1.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.tool-card.live {
  cursor: pointer;
  border-left: 3px solid var(--accent-teal);
}

.tool-card.live:hover {
  background: var(--bg-hover);
  border-color: var(--accent-teal);
  box-shadow: 0 0 20px var(--accent-teal-dim), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.tool-card.live:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

.tool-card.coming-soon {
  opacity: 0.6;
  cursor: default;
  border-left: 3px solid transparent;
}

.tool-card.coming-soon:hover {
  opacity: 0.75;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.card-title {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2em 0.6em;
  border-radius: 9999px;
}

.badge-live {
  background: var(--accent-teal-dim);
  color: var(--accent-teal);
}

.badge-soon {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Footer */
.footer {
  margin-top: auto;
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--accent-blue);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-line {
  margin-top: 0.5rem;
}

/* Responsive */
@media (min-width: 640px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .hero {
    padding-top: 6rem;
  }

  .logo {
    width: 180px;
    height: 180px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 8rem;
  }

  .logo {
    width: 200px;
    height: 200px;
  }
}
