/* Blueberry Cupcake palette (Zemew network) */
:root {
  --bc-1: #98bae3;
  --bc-2: #5981b1;
  --bc-3: #365475;
  --bc-4: #15273c;
  --bc-5: #020408;
  --text: #f0f6ff;
  --text-soft: rgba(240, 246, 255, 0.78);
  --text-muted: rgba(184, 210, 240, 0.72);
  --muted: #bcd1ee;
  --border: rgba(152, 186, 227, 0.22);
  --border-strong: rgba(152, 186, 227, 0.38);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-btn: 12px;
  --radius-card: 18px;
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body.zmpc-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  background:
    radial-gradient(ellipse 100% 55% at 50% -18%, rgba(152, 186, 227, 0.28) 0%, transparent 52%),
    linear-gradient(168deg, var(--bc-2) 0%, var(--bc-3) 38%, var(--bc-4) 78%, #0a1524 100%);
}

body.zmpc-page > main {
  flex: 1 1 auto;
}

/* Hero */
.hero {
  width: 100%;
  padding: clamp(3rem, 10vw, 5.5rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 6vw, 3.5rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 95% 75% at 12% 18%, rgba(152, 186, 227, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 65% 55% at 92% 35%, rgba(89, 129, 177, 0.28) 0%, transparent 52%),
    linear-gradient(168deg, rgba(89, 129, 177, 0.35) 0%, rgba(21, 39, 60, 0.15) 100%);
}

.hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(152, 186, 227, 0.9);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 2px 28px rgba(2, 4, 8, 0.35);
}

.hero-tagline {
  margin: 0.75rem 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--text-soft);
}

.hero-status {
  display: inline-block;
  margin: 1.25rem 0 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bc-1);
  border: 1px solid var(--border-strong);
  background: rgba(152, 186, 227, 0.1);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-btn);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--bc-2), var(--bc-3));
  color: var(--text);
  box-shadow: 0 4px 14px rgba(2, 4, 8, 0.28);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 4, 8, 0.35);
}

.btn.ghost {
  border: 1px solid rgba(152, 186, 227, 0.28);
  background: rgba(14, 22, 35, 0.45);
  color: rgba(230, 240, 255, 0.95);
}

.btn.ghost:hover {
  background: rgba(22, 34, 52, 0.65);
  border-color: rgba(152, 186, 227, 0.45);
  transform: translateY(-1px);
}

/* About section */
.about {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 1.5rem) clamp(4rem, 8vw, 5rem);
}

.about-inner {
  max-width: min(52rem, 100%);
  margin: 0 auto;
  border-radius: var(--radius-card);
  border: 1px solid rgba(152, 186, 227, 0.14);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.045) 0%, transparent 45%),
    linear-gradient(168deg, rgba(30, 52, 78, 0.55) 0%, rgba(12, 20, 34, 0.82) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 48px -20px rgba(2, 4, 8, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.about-head {
  text-align: center;
  padding: clamp(1.25rem, 3vw, 1.5rem) clamp(1.15rem, 3.5vw, 1.5rem) clamp(0.85rem, 2vw, 1rem);
  border-bottom: 1px solid rgba(152, 186, 227, 0.12);
}

.section-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(152, 186, 227, 0.85);
}

.about-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-prose {
  padding: clamp(1.15rem, 3vw, 1.45rem) clamp(1.15rem, 3.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-prose p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.72;
  color: rgba(230, 236, 248, 0.95);
  text-wrap: pretty;
}

.about-prose strong {
  font-weight: 700;
  color: #eef4ff;
}

.about-prose a,
.feature-card a {
  color: var(--bc-1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-prose a:hover,
.feature-card a:hover {
  color: #c8dcff;
}

.about-prose a strong {
  color: inherit;
}

.build-story {
  padding: 0 clamp(1.15rem, 3.5vw, 1.5rem) clamp(1.15rem, 3vw, 1.35rem);
  border-top: 1px solid rgba(152, 186, 227, 0.12);
}

.build-story-head {
  text-align: center;
  margin-bottom: 0.25rem;
}

.build-story-head h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(238, 244, 255, 0.98);
}

.build-story-prose {
  padding-top: clamp(0.85rem, 2vw, 1rem);
}

.projected-specs {
  padding: 0 clamp(1.15rem, 3.5vw, 1.5rem) clamp(1.15rem, 3vw, 1.35rem);
  border-top: 1px solid rgba(152, 186, 227, 0.12);
}

.specs-head {
  text-align: center;
  margin-bottom: 1rem;
}

.specs-head h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(238, 244, 255, 0.98);
}

.specs-intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.specs-options {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}

.specs-list {
  margin: 0;
  border: 1px solid rgba(152, 186, 227, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.specs-list__row {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(152, 186, 227, 0.1);
}

.specs-list__row:first-child {
  border-top: none;
}

.specs-list dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(152, 186, 227, 0.9);
}

.specs-list dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(230, 236, 248, 0.95);
}

.specs-list dd a {
  color: var(--bc-1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.specs-list dd a:hover {
  color: #c8dcff;
}

@media (max-width: 520px) {
  .specs-list__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0 clamp(1rem, 3vw, 1.35rem) clamp(1.15rem, 3vw, 1.35rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1rem);
}

.feature-card {
  padding: clamp(1rem, 2.5vw, 1.15rem);
  border-radius: 14px;
  border: 1px solid rgba(152, 186, 227, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(238, 244, 255, 0.98);
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(200, 216, 240, 0.88);
}

.about-callout {
  margin: 0;
  padding: 0 clamp(1.15rem, 3.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.15rem);
  border: none;
  quotes: none;
}

.about-callout p {
  margin: 0;
  padding: clamp(0.85rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.15rem) clamp(0.85rem, 2vw, 1rem) clamp(1.35rem, 3vw, 1.5rem);
  font-size: clamp(0.98rem, 2vw, 1.04rem);
  line-height: 1.68;
  color: rgba(200, 216, 240, 0.96);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(152, 186, 227, 0.11);
  border-left: 3px solid #f0a55c;
}

.about-callout a {
  color: #ffd4a8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-callout a:hover {
  color: #ffe8cc;
}

.about-note {
  margin: 0;
  padding: 0 clamp(1.15rem, 3.5vw, 1.5rem) clamp(1.25rem, 3.5vw, 1.5rem);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}

.about-note a {
  color: var(--bc-1);
  font-weight: 600;
  text-decoration: none;
}

.about-note a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Footer (matches /var/www/zm/) */
.footer {
  margin-top: auto;
  padding: 26px 18px;
  background: rgb(14, 22, 35);
  text-align: center;
  color: var(--muted);
  position: relative;
  z-index: 10;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Back to top */
#toTop {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(21, 39, 60, 0.92);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2, 4, 8, 0.35);
  transition: opacity 0.2s ease, transform 0.15s ease;
}

#toTop.visible {
  display: flex;
}

#toTop:hover {
  transform: translateY(-2px);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, #toTop:hover { transform: none; }
}
