/* SELLIFY AI — Global tokens, reset, typography, layout */
@import url("animations.css");

:root {
  --bg: #0B0B0D;
  --bg-2: #111114;
  --bg-3: #16161A;
  --text: #F0EDE5;
  --text-2: #A8A39A;
  --text-3: #5C5853;
  --line: #1F1F23;
  --line-2: #2A2A30;
  --accent: #D4FF3F;
  --accent-dim: rgba(212, 255, 63, 0.08);
  --serif: 'Instrument Serif', serif;
  --sans: 'Geist', sans-serif;
  --mono: 'Geist Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

/* ---------- GRID BACKGROUND ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.section-marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-marker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--text-3);
}

/* ---------- TYPOGRAPHY ---------- */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.h-display .em {
  font-style: italic;
  color: var(--accent);
}

.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.h-section .em { font-style: italic; color: var(--accent); }

.h-card {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  font-weight: 300;
  max-width: 640px;
}

.body { color: var(--text-2); font-size: 16px; line-height: 1.65; }

.mono {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Canonical scale — all pages */
.hero-headline { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -0.02em; }
.hero-sub, .lead { font-size: 19px; line-height: 1.55; color: var(--text-2); font-weight: 300; }
.btn, .btn-primary, .btn-secondary, .btn-nav { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: -0.005em; }
.accent, .em { font-style: italic; color: var(--accent); }
