/* =============================================================
   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.12);
  --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;
  --space-section: clamp(80px, 12vh, 140px);
}

/* ===== 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: opacity 0.2s ease;
}

a:hover {
  opacity: 0.78;
}

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: 32px;
  padding-right: 32px;
}

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

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

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

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

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

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

/* ===== Hero ===== */
.hero {
  padding-top: 60px;
  padding-bottom: 100px;
}

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

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

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 36px;
}

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

.hero-body {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-status {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-dim);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: block;
}

.hero-status strong {
  color: var(--text-secondary);
  font-weight: 600;
}

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

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

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

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

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

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

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

/* ===== Products ===== */
.products-heading {
  margin-bottom: 44px;
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 580px) {
  .product-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  padding: 28px 24px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

@media (min-width: 768px) {
  .product-card {
    padding: 32px 28px;
  }
}

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

.product-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.product-card p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.product-status {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-dim);
  padding: 4px 10px;
  border-radius: 3px;
}

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

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

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

.principle-name {
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ===== Closing ===== */
.closing {
  padding-top: 80px;
  padding-bottom: 60px;
}

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

.closing h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.closing p {
  color: var(--text-secondary);
  max-width: 560px;
}

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

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

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

.footer-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.45;
}

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

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

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

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

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.28s; }
.delay-4 { animation-delay: 0.38s; }

/* ===== Mobile Responsive ===== */
@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

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

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