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

:root {
  --bg: #0a0e16;
  --bg-card: #101620;
  --bg-card-hover: #161d28;
  --fg: #f0ece3;
  --fg-muted: #8a8a8a;
  --fg-dim: #4a4a4a;
  --accent: #c9a84c;
  --accent-dim: #8a6f2e;
  --green: #4caf7a;
  --border: rgba(201, 168, 76, 0.15);
  --border-subtle: rgba(240, 236, 227, 0.06);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 40px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201, 168, 76, 0.04) 0%, transparent 70%),
    var(--bg);
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 32px;
}

.hero-lede {
  font-size: 18px;
  color: rgba(240, 236, 227, 0.65);
  line-height: 1.65;
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 56px;
}

.hero-pillars {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

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

.pillar-icon {
  opacity: 0.8;
}

.pillar-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(240, 236, 227, 0.6);
  letter-spacing: 0.02em;
}

/* PRINCIPLES */
.principles {
  padding: 100px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.principles-inner { max-width: 1100px; margin: 0 auto; }

.principles-header { margin-bottom: 72px; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: rgba(240, 236, 227, 0.55);
  line-height: 1.75;
  max-width: 600px;
  font-weight: 300;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border-subtle);
}

.principle {
  padding: 40px 36px;
  border-right: 1px solid var(--border-subtle);
}

.principle:last-child { border-right: none; }

.principle-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
}

.principle-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 16px;
}

.principle-body {
  font-size: 14px;
  color: rgba(240, 236, 227, 0.5);
  line-height: 1.7;
  font-weight: 300;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 40px;
  background: #080c12;
}

.how-it-works-inner { max-width: 780px; margin: 0 auto; }

.how-it-works .section-heading { margin-bottom: 64px; }

.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex;
  gap: 28px;
  padding-bottom: 56px;
}

.step:last-child { padding-bottom: 0; }

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-number {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.step-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: var(--border);
  margin-top: 12px;
  margin-bottom: 8px;
}

.step-content { padding-top: 6px; }

.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-body {
  font-size: 15px;
  color: rgba(240, 236, 227, 0.5);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
}

/* THE AGENT */
.the-agent {
  padding: 100px 40px;
  background: var(--bg);
}

.the-agent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.agent-status {
  font-size: 12px;
  color: var(--green);
  margin-top: 2px;
}

.agent-card-body { padding: 20px 24px; }

.agent-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.agent-metric:last-child { border-bottom: none; }

.agent-metric-label {
  font-size: 12px;
  color: var(--fg-muted);
}

.agent-metric-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.agent-metric-value.green { color: var(--green); }

.agent-card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(201, 168, 76, 0.03);
}

.agent-activity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
}

.agent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.the-agent-copy .section-heading { margin-bottom: 24px; }

.section-body {
  font-size: 16px;
  color: rgba(240, 236, 227, 0.55);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 16px;
}

.agent-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agent-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(240, 236, 227, 0.6);
  font-weight: 400;
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  background: #080c12;
  border-top: 1px solid var(--border-subtle);
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.closing-sub {
  font-size: 16px;
  color: rgba(240, 236, 227, 0.45);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(240, 236, 227, 0.35);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-legal {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 60px 24px; min-height: auto; padding-top: 80px; }
  .principles { padding: 72px 24px; }
  .how-it-works { padding: 72px 24px; }
  .the-agent { padding: 72px 24px; }
  .the-agent-inner { grid-template-columns: 1fr; }
  .agent-card { max-width: 420px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 40px 24px; }
  .principle { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .principle:last-child { border-bottom: none; }
  .hero-pillars { gap: 24px; }
}

@media (max-width: 480px) {
  .hero-pillars { flex-direction: column; gap: 16px; }
}