:root {
  --bg: #0e0e10;
  --bg-alt: #141417;
  --bg-panel: #111115;
  --fg: #f5f0e8;
  --fg-dim: #9a9590;
  --accent: #e8923a;
  --accent-dim: rgba(232, 146, 58, 0.12);
  --accent-border: rgba(232, 146, 58, 0.25);
  --rule: rgba(245, 240, 232, 0.1);
  --mono: 'IBM Plex Mono', monospace;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

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

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

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.brand-mark-footer {
  width: 24px;
  height: 24px;
  font-size: 13px;
}

.brand-name {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.brand-name-footer {
  font-size: 13px;
  opacity: 0.6;
}

.nav-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── NAV ACTIONS ─── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-login:hover {
  color: var(--fg);
}

.nav-get-started {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav-get-started:hover {
  background: #d4802e;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, transparent 0%, var(--bg) 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.eyebrow-rule {
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.eyebrow-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--fg);
}

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

.hero-sub {
  font-size: 16px;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta-primary {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
}

.hero-cta-primary:hover {
  background: #d4802e;
}

.hero-cta-ghost {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-dim);
  background: transparent;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  display: inline-block;
}

.hero-cta-ghost:hover {
  color: var(--fg);
  border-color: rgba(245, 240, 232, 0.3);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--rule);
}

/* ─── TAKEOFF PANEL ─── */
.hero-visual {
  position: relative;
}

.takeoff-panel {
  background: var(--bg-panel);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,146,58,0.08);
}

.panel-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
}

.panel-badge {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  border-radius: 3px;
}

.panel-body {
  padding: 20px;
}

.room-section {
  margin-bottom: 16px;
}

.room-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: 8px;
}

.room-chips {
  display: flex;
  gap: 6px;
}

.chip {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid;
}

.chip-kitchen {
  background: rgba(232,146,58,0.15);
  border-color: rgba(232,146,58,0.3);
  color: var(--accent);
}

.chip-bath {
  background: rgba(232,146,58,0.08);
  border-color: rgba(232,146,58,0.15);
  color: var(--fg-dim);
}

.divider-line {
  height: 1px;
  background: var(--rule);
  margin: 16px 0;
}

.material-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mat-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 8px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
}

.mat-row.mat-header {
  color: var(--fg-dim);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4px;
}

.mat-name {
  color: var(--fg);
}

.mat-qty {
  color: var(--accent);
  font-weight: 600;
  text-align: right;
  min-width: 28px;
}

.mat-unit {
  color: var(--fg-dim);
  font-size: 10px;
  min-width: 50px;
  text-align: right;
}

.mat-row.mat-highlight {
  background: rgba(232,146,58,0.06);
  border: 1px solid rgba(232,146,58,0.12);
}

.panel-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.change-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.change-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
}

.annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
}

.annotation-1 {
  bottom: -48px;
  left: 0;
}

.annotation-2 {
  top: 24px;
  right: -120px;
}

.ann-text {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-dim);
}

.ann-right {
  text-align: right;
}

.ann-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent-border);
}

.ann-line-right {
  /* reverse side */
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 80px 40px;
}

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

.manifesto-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 40px;
}

.manifesto-rule-bottom {
  margin: 40px auto 0;
}

.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.5;
  color: var(--fg-dim);
  font-weight: 400;
}

/* ─── FEATURES ─── */
.features {
  padding: 80px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header-center {
  text-align: center;
}

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

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 400;
}

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

.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  border: 1px solid var(--rule);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-border);
}

.feature-card-accent {
  border-color: var(--accent-border);
  background: var(--bg-panel);
}

.feature-icon {
  margin-bottom: 24px;
  opacity: 0.9;
}

.feature-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--fg);
}

.feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 20px;
}

.feature-detail {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1.6;
}

/* ─── BLUEPRINT SECTION ─── */
.blueprint-section {
  padding: 100px 40px;
}

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

.bp-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 48px;
}

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

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.step:first-child {
  border-top: 1px solid var(--rule);
}

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
  min-width: 28px;
}

.step-heading {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

.bp-diagram {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
}

.bp-grid {
  margin-bottom: 20px;
}

.bp-svg {
  width: 100%;
  height: auto;
  display: block;
}

.bp-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  text-align: center;
  line-height: 1.5;
}

/* ─── PRICING ─── */
.pricing {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
}

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

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 48px;
}

.pricing-top {
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  border-radius: 20px;
  margin-bottom: 28px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.amount {
  font-family: var(--serif);
  font-size: 72px;
  color: var(--fg);
  line-height: 1;
}

.amount-sub {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg-dim);
}

.pricing-desc {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.7;
}

.pricing-divider {
  height: 1px;
  background: var(--rule);
  margin: 36px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}

.pf-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-footer {
  text-align: center;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  padding: 12px 20px;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
}

.pricing-note p {
  font-size: 13px;
  color: var(--fg-dim);
  font-style: italic;
}

/* ─── CLOSING ─── */
.closing {
  padding: 100px 40px;
}

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

.closing-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 48px;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 16px;
  color: var(--fg-dim);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 56px;
}

.closing-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

.meta-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tagline {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  opacity: 0.6;
}

.footer-sep {
  opacity: 0.4;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }

  .hero-headline {
    font-size: 44px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .bp-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .closing-meta {
    flex-direction: column;
    gap: 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .amount {
    font-size: 56px;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .annotation-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .manifesto,
  .features,
  .blueprint-section,
  .pricing,
  .closing {
    padding: 60px 24px;
  }

  .footer {
    padding: 40px 24px;
  }
}