/* Shared styling for the AACC marketing site. Colors and font stack are
   copied verbatim from packages/ui/src/index.css so the website reads as
   the same product as the app, not a mismatched marketing template. */

:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-elevated: #11151d;
  --bg-panel: #151a24;
  --border: #262d3a;
  --text: #e6e9ef;
  --text-muted: #8b93a7;
  --accent: #4f8cff;
  --warn: #e0a336;
  --critical: #e0554f;
  --ok: #3fb97f;
  font-family:
    -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji';
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top nav --- */

.site-nav {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.site-nav__brand img {
  width: 28px;
  height: 28px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.site-nav__links a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--text);
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #061024;
}

.btn--primary:hover {
  filter: brightness(1.08);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--text-muted);
}

.btn[disabled],
.btn--disabled {
  background: var(--bg-panel);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: not-allowed;
  pointer-events: none;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Hero --- */

.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero__logo {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero p.lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero .btn-row {
  justify-content: center;
  margin-bottom: 18px;
}

/* --- Status banner: an honest, unmissable statement of current stage,
   not tucked away in fine print. This mirrors the app's own Overview
   page, which states its monitor-only status plainly rather than
   implying more than is built. --- */

.status-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 auto;
}

.status-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  flex-shrink: 0;
}

/* --- Sections --- */

section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 26px;
  margin: 0 0 10px;
}

section p.section-lede {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 40px;
  font-size: 15.5px;
}

/* --- Feature grid --- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card__dot--ok {
  background: var(--ok);
}

.card__dot--accent {
  background: var(--accent);
}

/* --- Honesty list (what it doesn't do yet) --- */

.honesty-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.honesty-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-muted);
}

.honesty-list li::before {
  content: '\2013';
  color: var(--warn);
  font-weight: 700;
  flex-shrink: 0;
}

.honesty-list strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Steps --- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 15.5px;
  margin: 0 0 6px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* --- Download page --- */

.download-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.download-panel h2 {
  margin-top: 0;
}

.download-note {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: left;
  margin-top: 28px;
}

.download-note strong {
  color: var(--text);
}

.platform-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.platform-table th,
.platform-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.platform-table th {
  color: var(--text);
  font-weight: 600;
}

/* --- Footer --- */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--text-muted);
}

/* --- Responsive --- */

@media (max-width: 760px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-nav__links {
    gap: 14px;
    font-size: 13px;
  }
}
