/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  background: #0a0a0b;
  color: #e6e6e8;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@supports (font-variation-settings: normal) {
  body { font-family: 'InterVariable', -apple-system, sans-serif; }
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
em { font-style: italic; color: #c9a86a; }

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 11, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.brand-dot { color: #c9a86a; }
.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #a0a0a8;
}
.nav nav a:hover { color: #fff; transition: color 120ms; }
.nav-cta {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #fff !important;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.06); }

@media (max-width: 720px) {
  .nav nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 106, 0.08), transparent 60%),
    #0a0a0b;
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c9a86a;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 32px;
  color: #fff;
  letter-spacing: -0.035em;
}
.lede {
  font-size: 19px;
  color: #b8b8c0;
  max-width: 680px;
  margin-bottom: 20px;
}
.lede:last-of-type { margin-bottom: 40px; }
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 120ms;
  cursor: pointer;
}
.btn-primary {
  background: #fff;
  color: #0a0a0b;
}
.btn-primary:hover { background: #c9a86a; color: #0a0a0b; }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  color: #e6e6e8;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}
.btn-large {
  padding: 16px 28px;
  font-size: 16px;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ---------- Clients band ---------- */
.clients {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #060607;
  text-align: center;
}
.clients-eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #80808a;
  margin-bottom: 24px;
}
.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.client {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.01em;
}
.client-sep {
  color: #4a4a52;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
}
.clients-caption {
  font-size: 15px;
  color: #a0a0a8;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .clients-row { gap: 12px; }
  .client { font-size: 14px; }
}

/* ---------- Why grid ---------- */
.why {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.grid-3 h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
}
.grid-3 p {
  font-size: 15px;
  color: #a0a0a8;
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Loop diagram ---------- */
.loop {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.loop h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 56px;
  color: #fff;
}
.loop-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.loop-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  min-width: 160px;
  text-align: left;
}
.loop-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #c9a86a;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.loop-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.loop-sub {
  font-size: 13px;
  color: #80808a;
  margin-top: 4px;
}
.loop-arrow {
  font-size: 24px;
  color: #4a4a52;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.loop-caption {
  font-size: 15px;
  color: #80808a;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 820px) {
  .loop-diagram { flex-direction: column; }
  .loop-arrow { transform: rotate(90deg); }
  .loop-step { min-width: 220px; }
}

/* ---------- Phase sections ---------- */
.phase {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.phase-alt { background: #060607; }
.phase-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 48px;
}
.phase-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  color: #c9a86a;
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.phase-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
}
.phase-lede {
  font-size: 16px;
  color: #80808a;
  max-width: 640px;
  margin-bottom: 48px;
  margin-top: -24px;
}

/* ---------- Features grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.features-compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.feature h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.feature h3::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c9a86a;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}
.feature p {
  font-size: 15px;
  color: #a0a0a8;
  line-height: 1.6;
}
@media (max-width: 820px) {
  .features, .features-compact { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Four C ---------- */
.four-c {
  padding: 120px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 168, 106, 0.06), transparent 60%),
    #0a0a0b;
}
.four-c h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 64px;
  max-width: 600px;
}
.c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.c-item {
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}
.c-letter {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 32px;
  color: #c9a86a;
  margin-bottom: 16px;
  font-weight: 500;
}
.c-item h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}
.c-item p {
  font-size: 14px;
  color: #a0a0a8;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .c-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .c-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta {
  padding: 140px 0;
  text-align: center;
}
.cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  color: #fff;
  margin-bottom: 24px;
}
.cta p {
  font-size: 18px;
  color: #a0a0a8;
  max-width: 540px;
  margin: 0 auto 40px;
}

/* ---------- Footer ---------- */
footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-meta { color: #60606a; }

/* ---------- Selection ---------- */
::selection {
  background: rgba(201, 168, 106, 0.3);
  color: #fff;
}
