/* Noema marketing site — temporary static build */

:root {
  --bg: #0a0a0f;
  --bg-elev: #11111a;
  --bg-card: #14141f;
  --border: #22222e;
  --border-strong: #2f2f3d;
  --fg: #f5f5f7;
  --fg-muted: #a1a1aa;
  --fg-dim: #71717a;
  --accent: #7c5cff;
  --accent-hover: #9277ff;
  --accent-soft: rgba(124, 92, 255, 0.12);
  --success: #4ade80;
  --warning: #fbbf24;
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1180px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Layout helpers */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section--tight {
  padding: 64px 0;
}

.section--hero {
  padding: 120px 0 96px;
  border-top: none;
  position: relative;
  overflow: hidden;
}

.section--hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 19px;
  color: var(--fg-muted);
  line-height: 1.55;
}

.muted {
  color: var(--fg-muted);
}

.text-center {
  text-align: center;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--fg);
}

.nav-brand:hover {
  color: var(--fg);
}

.nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #4c1d95 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 24px -8px rgba(124, 92, 255, 0.5);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--fg);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-elev);
  color: var(--fg);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, #c4b5fd 0%, #7c5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-dim);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta .check {
  color: var(--success);
}

/* Feature grid */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: 1fr;
}

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

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

.grid-2 {
  grid-template-columns: 1fr;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--border-strong);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin-bottom: 8px;
}

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

/* Steps */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* Platforms */
.platforms {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .platforms {
    grid-template-columns: repeat(3, 1fr);
  }
}

.platform {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.platform-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--fg);
}

.platform-logo svg {
  width: 22px;
  height: 22px;
}

.platform h3 {
  margin-bottom: 6px;
}

.platform-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-top: 14px;
  padding: 4px 10px;
  background: var(--bg-elev);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.platform-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-beta .dot { background: var(--warning); }
.status-soon .dot { background: var(--fg-dim); }
.status-live .dot { background: var(--success); }

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

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

details.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  font-size: 16px;
  color: var(--fg);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--fg-dim);
  font-weight: 300;
  transition: transform 0.15s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item p {
  margin: 16px 0 0;
  color: var(--fg-muted);
  font-size: 15px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 80px 32px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-soft) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  color: var(--fg-muted);
  margin-bottom: 28px;
}

/* Footer */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  max-width: 320px;
  margin: 12px 0 0;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--fg-muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-dim);
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--fg-dim);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal p, .legal li {
  color: #d4d4d8;
  font-size: 15px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 22px;
  margin: 12px 0;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal strong {
  color: var(--fg);
  font-weight: 600;
}

.legal code {
  font-family: var(--font-mono);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* Support / contact */
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

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

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

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card .email {
  font-family: var(--font-mono);
  color: var(--accent-hover);
  font-size: 15px;
  word-break: break-all;
}

.contact-card p {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-page .code {
  font-family: var(--font-mono);
  font-size: 80px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.error-page h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--fg-muted);
  margin-bottom: 28px;
}
