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

:root {
  --bg: #0B0D12;
  --surface: #13161D;
  --surface-2: #1A1E27;
  --border: rgba(232, 168, 56, 0.12);
  --amber: #E8A838;
  --amber-dim: rgba(232, 168, 56, 0.15);
  --amber-glow: rgba(232, 168, 56, 0.08);
  --text: #F0EBE3;
  --text-muted: rgba(240, 235, 227, 0.45);
  --text-subtle: rgba(240, 235, 227, 0.25);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  padding: 160px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(232, 168, 56, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-layers {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0.15;
}

.layer {
  width: 300px;
  height: 200px;
  border: 1px solid var(--amber);
  border-radius: 12px;
  transform: translateX(calc(var(--i, 0) * 20px));
}

.layer-1 { --i: 0; transform: translateX(0px) rotate(-3deg); }
.layer-2 { --i: 1; transform: translateX(20px) rotate(-1deg); }
.layer-3 { --i: 2; transform: translateX(40px) rotate(1deg); }
.layer-4 { --i: 3; transform: translateX(60px) rotate(3deg); }

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pill {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 400;
}

.pill-sep {
  color: var(--text-subtle);
  font-size: 12px;
}

/* === PALIMPSEST STACK (Hero Visual) === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.palimpsest-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 340px;
}

.ms-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
}

.ms-card-4 {
  transform: translateX(70px) translateY(0px) rotate(2deg);
  opacity: 0.5;
  z-index: 1;
}

.ms-card-3 {
  transform: translateX(45px) translateY(-10px) rotate(-0.5deg);
  opacity: 0.7;
  z-index: 2;
}

.ms-card-2 {
  transform: translateX(25px) translateY(-20px) rotate(0.5deg);
  opacity: 0.85;
  z-index: 3;
}

.ms-card-1 {
  transform: translateX(0px) translateY(-30px) rotate(0deg);
  z-index: 4;
  border-color: rgba(232, 168, 56, 0.25);
}

.ms-card-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  opacity: 0.8;
}

.ms-line {
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  margin-bottom: 6px;
}

.ms-check {
  margin-top: 10px;
  display: flex;
}

.ms-card-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
}

.ms-bar {
  flex: 1;
  background: var(--surface-2);
  border-radius: 3px;
  display: flex;
  align-items: flex-end;
}

.ms-bar-fill {
  width: 100%;
  background: linear-gradient(to top, var(--amber), rgba(232, 168, 56, 0.3));
  border-radius: 3px;
  min-height: 4px;
}

.ms-email-line {
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  margin-bottom: 6px;
}

.ms-priority {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms-priority-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ms-priority-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ms-priority-text {
  flex: 1;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 80px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.philosophy-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--text-muted);
  position: relative;
}

.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--amber);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 20px;
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(232, 168, 56, 0.25);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 48px;
  flex-shrink: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 32px;
}

.manifesto-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.manifesto-body p em {
  font-style: italic;
  color: var(--text);
}

.manifesto-punch {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  text-align: center;
}

.closing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.closing-visual {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.ring-outer {
  width: 200px;
  height: 200px;
  border-color: rgba(232, 168, 56, 0.1);
  animation: ring-pulse 4s ease-in-out infinite;
}

.ring-mid {
  width: 140px;
  height: 140px;
  border-color: rgba(232, 168, 56, 0.15);
  animation: ring-pulse 4s ease-in-out infinite 0.5s;
}

.ring-inner {
  width: 80px;
  height: 80px;
  border-color: rgba(232, 168, 56, 0.25);
  background: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-center { display: flex; }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.1;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === FOOTER === */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-legal {
  font-size: 12px;
  color: var(--text-subtle);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 60px; padding-top: 120px; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero, .features, .howitworks, .philosophy, .manifesto, .closing { padding-left: 24px; padding-right: 24px; }
  .philosophy-quote { font-size: 17px; }
  .manifesto-body p { font-size: 16px; }
  .feature-card, .step { padding: 28px 24px; }
}
