/* MODE³ — pre-launch site
   Black + off-white, one accent (PRIME teal), no decoration.
   Mobile-first; works at 320px through 4K. */

:root {
  --bg:      #0b0d10;
  --txt:     #ede9e3;
  --txt2:    rgba(237, 233, 227, 0.65);
  --txt3:    rgba(237, 233, 227, 0.42);
  --line:    rgba(237, 233, 227, 0.12);
  --accent:  #9fe6d3; /* PRIME teal — use sparingly */
  --maxw:    640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--txt); text-decoration: underline; text-decoration-color: rgba(237, 233, 227, 0.3); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--txt); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top wordmark — same scale on every page */
.site-head {
  padding: 32px 0 0;
}
.wordmark {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.32em;
  color: var(--txt);
  text-decoration: none;
  display: inline-block;
}
.wordmark:hover { text-decoration: none; }

/* HOMEPAGE — hero + components + CTA */
.hero {
  padding: 96px 0 0;
}
.hero-title {
  font-weight: 900;
  font-size: clamp(32px, 7vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero-sub {
  font-weight: 500;
  font-size: clamp(14px, 2.6vw, 17px);
  color: var(--txt2);
  letter-spacing: 0.01em;
}

.components {
  padding: 52px 0 0;
  display: grid;
  gap: 32px;
}
.component {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.component:last-child { border-bottom: 0; }
.component-name {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--txt);
}
.component-line {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--txt);
}

.cta-block {
  padding: 48px 0 0;
}
.cta {
  display: inline-block;
  padding: 16px 26px;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.cta:hover {
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}
.cta-sub {
  margin-top: 14px;
  font-weight: 500;
  font-size: 12px;
  color: var(--txt2);
  letter-spacing: 0.01em;
}

/* LEGAL PAGES — long-form prose */
.legal {
  padding: 56px 0 0;
}
.legal h1 {
  font-weight: 900;
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.legal .meta {
  font-size: 12px;
  color: var(--txt3);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.legal h2 {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--txt);
  margin: 36px 0 14px;
  text-transform: uppercase;
}
.legal h3 {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--txt);
  margin: 22px 0 10px;
}
.legal p {
  font-size: 14.5px;
  color: var(--txt2);
  margin-bottom: 14px;
  line-height: 1.6;
}
.legal p strong { color: var(--txt); font-weight: 700; }
.legal a { color: var(--txt); }
.legal ul {
  margin: 0 0 14px 22px;
  color: var(--txt2);
  font-size: 14.5px;
  line-height: 1.6;
}
.legal ul li { margin-bottom: 6px; }
.legal .back {
  display: inline-block;
  margin-top: 48px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--txt2);
  text-decoration: underline;
  text-decoration-color: rgba(237, 233, 227, 0.25);
  text-underline-offset: 4px;
}

/* FOOTER — same on every page */
.site-foot {
  margin-top: auto;
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--txt3);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.site-foot .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.site-foot .links a {
  color: var(--txt2);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 12px;
}
.site-foot .links a:hover { color: var(--txt); }
.site-foot .legal-line, .site-foot .contact-line { display: block; }

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .site-head { padding-top: 40px; }
  .hero { padding-top: 128px; }
  .components { padding-top: 68px; }
  .cta-block { padding-top: 56px; }
}
