/* AppHub Tech — minimal landing page styles.
   No build step, no framework. Mobile-first; one breakpoint at 720px. */

:root {
  --bg: #fafaf8;
  --fg: #1a1c1f;
  --muted: #5d6470;
  --accent: #2563eb;
  --line: #e5e7eb;
  --max-width: 56rem;
  --radius: 0.5rem;
  font-size: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --fg: #e6e8ed;
    --muted: #9aa1ad;
    --accent: #60a5fa;
    --line: #2a2f38;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01" on;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

main {
  flex: 1;
  padding-top: 0;
}

.site-header { padding-top: 2rem; padding-bottom: 1.5rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  font-size: 1.1rem;
  line-height: 1;
}

/* Hero */
.hero { padding: 3rem 0 2.5rem; }
.hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 600;
}
.hero .lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38rem;
  margin: 0;
}

/* Sections share styles */
section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.hero { border-top: none; }

section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

/* Products */
.products {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.product {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.product h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.product-status {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product p { margin: 0; color: var(--muted); }

/* About */
.about p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer p { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-sep { opacity: 0.5; }

@media (min-width: 720px) {
  .products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
