/* === Standout Design System: Stone + Teal Terminal UI === */

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

html {
  font-size: 14px;
}

body {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 400;
  line-height: 1.6;
  color: #292524; /* stone-800 */
  background: #fafaf9; /* stone-50 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === Header === */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7e5e4; /* stone-200 */
}

.header-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 0.875rem;
  font-weight: 600;
}

.logo-muted {
  color: #78716c; /* stone-500 */
}

.logo-bold {
  color: #1c1917; /* stone-900 */
}

/* === Main Content === */

main {
  flex: 1;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* === Footer === */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e7e5e4; /* stone-200 */
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  font-size: 0.75rem;
  color: #a8a29e; /* stone-400 */
}

/* === Typography === */

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 600;
  line-height: 1.3;
  color: #1c1917; /* stone-900 */
}

h1 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 0.875rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #44403c; /* stone-700 */
}

a {
  color: #0d9488; /* teal-600 */
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: #14b8a6; /* teal-500 */
}

strong {
  font-weight: 600;
  color: #1c1917; /* stone-900 */
}

em {
  font-style: italic;
  color: #57534e; /* stone-600 */
}

/* === Hero Section === */

.hero {
  text-align: center;
  padding: 3rem 0;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1917; /* stone-900 */
  margin-bottom: 0.25rem;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: #78716c; /* stone-500 */
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1rem;
  color: #44403c; /* stone-700 */
  margin-bottom: 0;
}

/* === Cards/Sections === */

.card {
  background: #ffffff;
  border: 1px solid #e7e5e4; /* stone-200 */
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e7e5e4; /* stone-200 */
}

.card-header h2 {
  margin: 0;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #78716c; /* stone-500 */
}

.card-content {
  padding: 1.5rem;
}

/* === Feature Grid === */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: #e7e5e4; /* stone-200 */
  border: 1px solid #e7e5e4; /* stone-200 */
  border-radius: 0.25rem;
  overflow: hidden;
  margin: 1.5rem 0;
}

.feature {
  background: #ffffff;
  padding: 1.5rem;
}

.feature-name {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #78716c; /* stone-500 */
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: #44403c; /* stone-700 */
  margin: 0;
}

/* === Product Grid === */

.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: #e7e5e4; /* stone-200 */
  border: 1px solid #e7e5e4; /* stone-200 */
  border-radius: 0.25rem;
  overflow: hidden;
  margin: 1.5rem 0;
}

.product {
  background: #ffffff;
  padding: 1.5rem;
}

.product-name {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0d9488; /* teal-600 */
  margin-bottom: 0.5rem;
}

.product-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1917; /* stone-900 */
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.875rem;
  color: #44403c; /* stone-700 */
  margin: 0;
}

/* === Status Indicators === */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.status-building .status-dot {
  background: #eab308; /* yellow-500 */
}

.status-building {
  color: #ca8a04; /* yellow-600 */
}

.status-live .status-dot {
  background: #14b8a6; /* teal-500 */
}

.status-live {
  color: #0d9488; /* teal-600 */
}

/* === Badges === */

.badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.badge-teal {
  background: #ccfbf1; /* teal-100 */
  color: #0f766e; /* teal-700 */
}

.badge-yellow {
  background: #fef9c3; /* yellow-100 */
  color: #a16207; /* yellow-700 */
}

.badge-stone {
  background: #f5f5f4; /* stone-100 */
  color: #78716c; /* stone-500 */
}

/* === Dividers === */

hr {
  border: none;
  height: 1px;
  background: #e7e5e4; /* stone-200 */
  margin: 1.5rem 0;
}

/* === Code === */

code {
  font-family: inherit;
  font-size: 0.875em;
  background: #f5f5f4; /* stone-100 */
  padding: 0.125em 0.375em;
  border-radius: 0.125rem;
  color: #44403c; /* stone-700 */
}

pre {
  background: #ffffff;
  border: 1px solid #e7e5e4; /* stone-200 */
  border-radius: 0.25rem;
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
  line-height: 1.5;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.8125rem;
}

/* === Lists === */

ul, ol {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: #44403c; /* stone-700 */
}

li {
  margin-bottom: 0.375rem;
}

li::marker {
  color: #a8a29e; /* stone-400 */
}

/* === Tables === */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e7e5e4; /* stone-200 */
}

th {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #78716c; /* stone-500 */
}

td {
  color: #44403c; /* stone-700 */
}

/* === Blockquote === */

blockquote {
  border-left: 2px solid #14b8a6; /* teal-500 */
  padding-left: 1rem;
  margin: 1rem 0;
  color: #57534e; /* stone-600 */
}

blockquote p {
  margin: 0;
  color: inherit;
}

/* === Note Section === */

.note {
  text-align: center;
  padding: 1.5rem 0;
}

.note p {
  font-size: 0.75rem;
  color: #78716c; /* stone-500 */
  margin: 0;
}

/* === Buttons === */

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #1c1917; /* stone-900 */
  color: #ffffff;
}

.btn-primary:hover {
  background: #292524; /* stone-800 */
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #e7e5e4; /* stone-200 */
  color: #44403c; /* stone-700 */
}

.btn-secondary:hover {
  background: #fafaf9; /* stone-50 */
  color: #44403c;
}

/* === Labels === */

.label {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a8a29e; /* stone-400 */
}

/* === Tags === */

.tag {
  display: inline-block;
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  background: #f5f5f4; /* stone-100 */
  color: #78716c; /* stone-500 */
  border-radius: 0.125rem;
}

/* === Progress Bar === */

.progress {
  height: 0.25rem;
  background: #e7e5e4; /* stone-200 */
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: #14b8a6; /* teal-500 */
}

/* === Responsive === */

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  main {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .card-content {
    padding: 1rem;
  }

  .feature {
    padding: 1rem;
  }

  .product {
    padding: 1rem;
  }
}
