/* =============================================================
   CAUSYNE — Coming Soon Design System
   Font: Exo 2 (self-hosted variable woff2)
   Palette: Charcoal #202421 / Lime #B5D66A / Near-black bg
   ============================================================= */

/* ===== Exo 2 Variable Font ===== */
@font-face {
  font-family: 'Exo 2';
  src: url('../assets/fonts/exo2-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Exo 2';
  src: url('../assets/fonts/exo2-latin-italic-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ===== Design Tokens ===== */
:root {
  --bg: #141714;
  --bg-subtle: #1a1d1a;
  --charcoal: #202421;
  --lime: #B5D66A;
  --lime-dim: rgba(181, 214, 106, 0.10);
  --text-primary: #e4e8e0;
  --text-secondary: #969e8e;
  --text-dim: #5e665a;
  --border: rgba(255, 255, 255, 0.055);
  --border-hover: rgba(181, 214, 106, 0.14);
  --font: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max-width: 720px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-primary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--lime);
  color: var(--charcoal);
}

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

a:hover {
  color: #c8e682;
}

a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ===== Page Container ===== */
.page {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

@media (min-width: 768px) {
  .page {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ===== Navigation ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  padding-bottom: 36px;
}

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

.nav-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-wordmark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-status {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-dim);
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid rgba(181, 214, 106, 0.15);
}

/* ===== Hero ===== */
.hero {
  padding-top: 52px;
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 96px;
  }
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.1rem;
  }
}

.hero-body {
  font-size: 1.05rem;
  line-height: 1.76;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ===== Dividers ===== */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ===== Content Sections ===== */
.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.section h2 {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .section h2 {
    font-size: 1.65rem;
  }
}

.section p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 600px;
}

.section p:last-child,
.section p:last-of-type {
  margin-bottom: 0;
}

.section p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.section p a {
  font-weight: 500;
}

/* ===== Principles ===== */
.principles-list {
  list-style: none;
  margin-top: 28px;
}

.principles-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.68;
}

.principles-list li:first-child {
  border-top: 1px solid var(--border);
}

.principle-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 4px;
}

.principle-desc {
  color: var(--text-secondary);
}

/* ===== Closing ===== */
.closing {
  padding-top: 64px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .closing {
    padding-top: 80px;
    padding-bottom: 64px;
  }
}

.closing h2 {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .closing h2 {
    font-size: 1.65rem;
  }
}

.closing p {
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 12px;
}

.closing p:last-child {
  margin-bottom: 0;
}

.closing p a {
  font-size: 0.92rem;
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  padding-top: 32px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.4;
}

.footer-wordmark {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-note {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ===== Entrance Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.6s ease-out both;
}

.delay-1 { animation-delay: 0.06s; }
.delay-2 { animation-delay: 0.14s; }
.delay-3 { animation-delay: 0.24s; }

/* ===== Mobile ===== */
@media (max-width: 480px) {
  .nav {
    gap: 12px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section h2,
  .closing h2 {
    font-size: 1.2rem;
  }
}
