/* =========================================================
   MCPTT.com — styles.css
   Dark theme. Clean. No gradients on text, no glow, no blur.
   ========================================================= */

/* ── Variables ─────────────────────────────────────── */
:root {
  --bg:          #0e1015;
  --bg-alt:      #13161d;
  --bg-card:     #171b24;
  --border:      #252a35;
  --border-soft: #1e2330;

  --text:        #e8eaf0;
  --text-2:      #8c90a0;
  --text-3:      #555c70;

  --accent:      #4a7cf7;
  --accent-2:    #3b6ce0;

  --radius:      8px;
  --radius-lg:   12px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header-h:    64px;
  --content-w:   1080px;
  --prose-w:     680px;
  --pad:         clamp(1rem, 5vw, 2rem);
}

/* ── Reset ──────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; color: var(--text); }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: #7299fa; text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Skip nav ───────────────────────────────────────── */
.skip-nav {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-nav:focus { left: 1rem; }

/* ── Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: #3a4155;
  background: var(--bg-card);
  color: var(--text);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--sm:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}

/* ── Header ─────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 16, 21, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none !important;
  flex-shrink: 0;
}

.logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.logo__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo__name span { color: var(--text-2); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: var(--bg-card);
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav { display: none; }
  .header__inner .btn { display: none; }
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero__inner { max-width: 740px; margin-inline: auto; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

.dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__lead {
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.7;
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.hero__logo {
  display: flex;
  justify-content: center;
  opacity: 0.85;
}

.hero__logo img {
  max-width: 220px;
  height: auto;
  margin-inline: auto;
}

/* ── Sections ───────────────────────────────────────── */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
}

.section--alt { background: var(--bg-alt); }

.section__head {
  max-width: var(--prose-w);
  margin-bottom: 2.5rem;
}

.section__label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}

.section__dek {
  margin: 0;
  font-size: 1rem;
  color: var(--text-2);
  max-width: 52ch;
  line-height: 1.65;
}

/* ── Feature grid ───────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.feature {
  background: var(--bg-card);
  padding: 1.75rem;
}

.feature h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
}

/* Tag */
.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 4px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* ── Spec row ───────────────────────────────────────── */
.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
}

.spec dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.35rem;
}

.spec dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 640px) {
  .spec-row { grid-template-columns: 1fr; }
}

/* ── Cards ──────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; }
}

/* ── Roadmap list ───────────────────────────────────── */
.roadmap {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: var(--prose-w);
}

.roadmap li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}

.roadmap li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.6rem;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.roadmap li:first-child { padding-top: 0; }
.roadmap li:first-child::before { top: 0.4rem; }
.roadmap li:last-child { border-bottom: none; padding-bottom: 0; }

.roadmap li strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

/* ── Contact ────────────────────────────────────────── */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-block .section__label { margin-bottom: 0.5rem; }
.contact-block .section__title { margin-bottom: 0.75rem; }

.contact-block__copy p:last-of-type {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

.contact-block__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.25rem;
}

.contact-item__label {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.contact-item__value {
  font-size: 1.0625rem;
  font-weight: 500;
}

@media (max-width: 700px) {
  .contact-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Footer ─────────────────────────────────────────── */
.footer {
  padding: 1.75rem 0;
  background: var(--bg-alt);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.footer__inner p { margin: 0; }

.footer__inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.footer__inner nav a {
  padding: 0.3rem 0.6rem;
  color: var(--text-3);
  border-radius: 4px;
  font-size: 0.8125rem;
  text-decoration: none;
}

.footer__inner nav a:hover {
  color: var(--text-2);
  background: var(--bg-card);
  text-decoration: none;
}
