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

:root {
  --bg: #0A0C0B;
  --bg-2: #111410;
  --bg-3: #161914;
  --border: rgba(255,255,255,0.07);
  --border-em: rgba(255,255,255,0.14);
  --text: #E2DFD8;
  --text-muted: #DEDAD3;
  --text-faint: #4A4A47;
  --amber: #ffd10f;
  --amber-light: #ffd10f;
  --amber-faint: rgba(255,209,15,0.10);
  --teal: #2A8C6E;
  --teal-faint: rgba(42,140,110,0.1);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

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

/* ── LAYOUT ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 680px) {
  .container { padding: 0 24px; }
}

section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
section:last-child { border-bottom: none; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,12,11,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span {
  color: var(--amber-light);
}
.nav-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── EYEBROW ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--amber);
}

/* ── HERO ── */
#hero {
  padding: 120px 0 96px;
  border-bottom: 1px solid var(--border);
}
#hero .eyebrow { margin-bottom: 32px; }

h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 36px;
}
h1 em {
  font-style: italic;
  color: var(--amber-light);
}

.hero-sub {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
}

/* ── SECTION HEADERS ── */
h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 32px;
}
h2 em { font-style: italic; color: var(--amber-light); }

.section-body {
  max-width: 660px;
  color: var(--text-muted);
  font-weight: 300;
}
.section-body p + p { margin-top: 20px; }

/* ── PROBLEM ── */
#problem .problem-points-wrap {
  margin-top: 56px;
  max-width: 660px;
}

.problem-points {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem-points li {
  padding-left: 20px;
  border-left: 1px solid var(--border-em);
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}
.problem-points li strong {
  display: block;
  font-size: 20px;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

/* ── SOLUTION ── */
#solution {
  background: var(--bg-2);
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .solution-grid { grid-template-columns: 1fr; gap: 40px; }
}

.differentiators {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}
.differentiators li {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
}
.differentiators li:last-child { border-bottom: none; }
.diff-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--amber-faint);
  border: 1px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}
.diff-icon svg {
  width: 10px;
  height: 10px;
  stroke: var(--amber-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── PROCESS ── */
#process .process-header {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 64px;
}
@media (max-width: 760px) {
  #process .process-header { flex-direction: column; gap: 24px; }
}
.process-intro {
  max-width: 440px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

.phase {
  border: 1px solid var(--border);
  margin-bottom: 2px;
  position: relative;
}
.phase-header {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 0;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: inherit;
}
.phase-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  padding: 28px 28px;
  border-right: 1px solid var(--border);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.phase-title-block {
  padding: 28px 32px;
}
.phase-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
.phase-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.phase-toggle {
  padding: 28px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  transition: color 0.2s;
}
.phase.open .phase-toggle { color: var(--amber); }
.phase.open .phase-header { border-bottom: 1px solid var(--border); }

.phase-body {
  display: none;
  padding: 40px 40px 40px 120px;
  gap: 48px;
}
@media (max-width: 760px) {
  .phase-body { padding: 32px 24px; }
}
.phase.open .phase-body { display: flex; flex-direction: column; }

.phase-description {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
}
.phase-description p + p { margin-top: 18px; }

.phase-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  max-width: 560px;
}
.phase-items li {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}
.phase-items li:last-child { border-bottom: none; }
.phase-items li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 8px;
}
.phase-items--cols li {
  display: grid;
  grid-template-columns: 4px max-content 1fr;
  column-gap: 12px;
  align-items: start;
}

.phase-output {
  background: var(--amber-faint);
  border: 1px solid rgba(196,123,42,0.25);
  padding: 20px 24px;
  max-width: 560px;
}
.phase-output-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.phase-output p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── OUTCOMES ── */
#outcomes {
  background: var(--bg-2);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}
@media (max-width: 600px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}
.outcome {
  background: var(--bg-2);
  padding: 36px 32px;
}
.outcome-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 20px;
  display: block;
}
.outcome h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 14px;
}
.outcome p {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── MOBILE ── */
@media (max-width: 760px) {
  section { padding: 64px 0; }
  #hero { padding: 72px 0 56px; }

  .nav-tag { display: none; }

  .phase-header { grid-template-columns: 56px 1fr auto; }
  .phase-num { padding: 18px 16px; }
  .phase-title-block { padding: 18px 16px; }
  .phase-title { font-size: 26px; }
  .phase-toggle { padding: 18px 16px; font-size: 10px; }

  .phase-items { max-width: 100%; }
  .phase-items--cols li {
    grid-template-columns: 4px 1fr;
    grid-template-rows: auto auto;
    row-gap: 4px;
  }
  .phase-items--cols li span {
    grid-column: 2;
    grid-row: 2;
  }
  .phase-output { max-width: 100%; }
}

@media (max-width: 480px) {
  section { padding: 48px 0; }
  #hero { padding: 48px 0 36px; }
  .hero-sub { font-size: 17px; }
  .outcome { padding: 28px 20px; }
  .outcome h3 { font-size: 24px; }
  .outcome p { font-size: 17px; }
}

/* ── FOOTER ── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 600px) {
  footer .container { flex-direction: column; gap: 16px; text-align: center; }
}
.footer-logo {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.footer-logo span { color: var(--amber); }
.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
}
