body {
  margin: 0;
}

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

.marketing-page {
  background: #f4f6f3;
  color: #202523;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  min-height: 100vh;
}

.dev-recovery-page {
  background: #f6f8f6;
}

.dev-recovery-hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.primary-link,
.secondary-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.primary-link {
  background: #202223;
  color: #ffffff;
}

.secondary-link {
  background: #ffffff;
  border: 1px solid #b8c7c0;
  color: #202223;
}

.recovery-score {
  align-items: center;
  background: #e3f1e7;
  border-radius: 999px;
  color: #0c5132;
  display: flex;
  flex-direction: column;
  height: 120px;
  justify-content: center;
  width: 120px;
}

.recovery-score.warn {
  background: #fff1d6;
  color: #7a4f01;
}

.recovery-score.blocked {
  background: #fde2dd;
  color: #8e1f0b;
}

.recovery-score strong {
  font-size: 40px;
  line-height: 1;
}

.recovery-score span,
.value-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.recovery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recovery-card,
.command-block {
  background: #ffffff;
  border: 1px solid #d8e3dd;
  border-radius: 8px;
  max-width: 100%;
  padding: 18px;
}

.recovery-card h3,
.recovery-card p {
  margin: 0;
}

.recovery-card h3 {
  font-size: 20px;
  margin-top: 12px;
}

.recovery-card p,
.recovery-list,
.disclaimer-panel p {
  color: #5f6f68;
  font-size: 16px;
  line-height: 1.5;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
}

.status.ready {
  background: #e3f1e7;
  color: #0c5132;
}

.status.warning {
  background: #fff1d6;
  color: #7a4f01;
}

.status.blocker {
  background: #fde2dd;
  color: #8e1f0b;
}

.split-section {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.recovery-list {
  margin: 18px 0 0;
  padding-left: 22px;
}

.command-panel {
  display: grid;
  gap: 12px;
}

.command-block span,
.value-card span {
  color: #5f6f68;
  display: block;
}

.command-block code,
.value-card strong {
  display: block;
  margin-top: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.site-header {
  align-items: center;
  background: rgba(244, 246, 243, 0.96);
  border-bottom: 1px solid #d8dfdc;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand,
.header-links,
.hero-actions,
.beta-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand,
.header-links a {
  color: #202523;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 23, 20, 0.16);
  display: block;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.header-links {
  font-size: 14px;
}

.nav-button {
  border: 1px solid #202523;
  border-radius: 8px;
  min-height: 36px;
  padding: 8px 12px;
}

.hero {
  align-items: center;
  background: #101714;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 78vh;
  overflow: hidden;
  padding: clamp(40px, 8vw, 96px) clamp(18px, 5vw, 72px);
  position: relative;
}

.hero-scene {
  inset: 0;
  opacity: 0.86;
  position: absolute;
}

.scene-column {
  background: rgba(246, 249, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  color: #202523;
  display: grid;
  gap: 14px;
  padding: 18px;
  position: absolute;
}

.main-screen {
  bottom: 6vh;
  right: clamp(16px, 6vw, 86px);
  width: min(560px, 52vw);
}

.side-screen {
  right: clamp(80px, 12vw, 180px);
  top: 9vh;
  width: min(320px, 34vw);
}

.scene-topbar {
  display: flex;
  gap: 6px;
}

.scene-topbar span {
  background: #99a6a1;
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.scene-title,
.row-title,
.mini-check,
.visual-metric strong {
  font-weight: 780;
}

.scene-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-metric {
  background: #ffffff;
  border: 1px solid #d8dfdc;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.visual-metric strong {
  font-size: 24px;
  line-height: 1;
}

.visual-metric span,
.scene-row,
.mini-check {
  color: #66736f;
  font-size: 12px;
}

.scene-row {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8dfdc;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px;
}

.status-pill,
.mini-check {
  border-radius: 999px;
  display: inline-flex;
  min-height: 24px;
  padding: 4px 8px;
  width: fit-content;
}

.status-pill.success,
.mini-check.success {
  background: #e2f3e7;
  color: #1f7a42;
}

.status-pill.warning,
.mini-check.neutral {
  background: #f4e8cf;
  color: #7b4d00;
}

.status-pill.danger {
  background: #fae6e3;
  color: #9f332e;
}

.link-line {
  background: #006c9c;
  border-radius: 999px;
  height: 12px;
  width: 100%;
}

.link-line.short {
  width: 64%;
}

.hero-copy {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #66736f;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b9c8c2;
}

.hero h1 {
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.95;
  margin: 0;
}

.hero-subtitle {
  color: #e4ebe7;
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.3;
  margin: 20px 0 0;
  max-width: 680px;
}

.hero-actions {
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 780;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
}

.primary-action {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #101714;
}

.secondary-action {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 48px);
}

.section h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  margin: 0;
  max-width: 820px;
}

.section p {
  color: #5f6f69;
  font-size: 17px;
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 780px;
}

.intro-band {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.feature-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
}

.feature-card,
.price-card,
.comparison-table,
.flow-step,
.beta-section {
  background: #ffffff;
  border: 1px solid #d8dfdc;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.feature-card,
.price-card {
  padding: 20px;
}

.feature-card h3,
.price-card h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}

.feature-card p,
.price-card p {
  font-size: 14px;
}

.comparison {
  display: grid;
  gap: 22px;
}

.comparison-table {
  overflow: hidden;
}

.comparison-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 18px;
}

.comparison-row + .comparison-row {
  border-top: 1px solid #e3e8e6;
}

.heading-row {
  background: #202523;
  color: #ffffff;
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.comparison-row span,
.comparison-row strong {
  min-width: 0;
  overflow-wrap: break-word;
}

.comparison-row span:nth-child(2) {
  color: #66736f;
}

.comparison-row strong {
  color: #1f7a42;
}

.flow-section {
  display: grid;
  gap: 24px;
}

.open-section {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.flow-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.open-card {
  background: #ffffff;
  border: 1px solid #d8dfdc;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: grid;
  gap: 12px;
  padding: 18px;
}

.open-step {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
}

.open-step span {
  align-items: center;
  background: #e2f3e7;
  border-radius: 999px;
  color: #1f7a42;
  display: inline-flex;
  font-size: 13px;
  font-weight: 820;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.open-step p {
  color: #5f6f69;
  font-size: 15px;
  line-height: 1.45;
  margin: 3px 0 0;
  max-width: none;
  overflow-wrap: anywhere;
}

.open-note {
  background: #fff8e8;
  border: 1px solid #ead7aa;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding: 14px;
}

.open-note strong {
  color: #202523;
}

.open-note span {
  color: #5f6f69;
  overflow-wrap: anywhere;
}

.flow-step {
  display: grid;
  gap: 12px;
  min-height: 126px;
  padding: 16px;
}

.flow-step span {
  align-items: center;
  background: #e2f3e7;
  border-radius: 999px;
  color: #1f7a42;
  display: inline-flex;
  font-weight: 820;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.flow-step strong {
  align-self: end;
  line-height: 1.25;
}

.pricing-section {
  display: grid;
  gap: 22px;
}

.price {
  font-size: 30px;
  font-weight: 820;
  line-height: 1;
  margin-top: 18px;
}

.beta-section {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 48px;
}

.beta-section .primary-action {
  background: #202523;
  border-color: #202523;
  color: #ffffff;
}

.beta-section .secondary-action {
  color: #202523;
}

.site-footer {
  align-items: center;
  border-top: 1px solid #d8dfdc;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(18px, 4vw, 48px) 42px;
}

.site-footer div,
.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer span {
  color: #66736f;
}

.site-footer a {
  color: #202523;
  font-weight: 760;
  text-decoration: none;
}

@media (max-width: 980px) {
  .header-links a:not(.nav-button) {
    display: none;
  }

  .hero {
    align-items: end;
    min-height: 82vh;
  }

  .hero-scene {
    opacity: 0.48;
  }

  .main-screen {
    bottom: 8vh;
    right: -120px;
    width: 640px;
  }

  .side-screen {
    display: none;
  }

  .intro-band,
  .comparison-row,
  .feature-grid,
  .open-section,
  .flow-strip,
  .pricing-grid,
  .dev-recovery-hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    gap: 8px;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: start;
    display: grid;
  }

  .hero {
    padding-top: 34px;
  }

  .main-screen {
    bottom: 18vh;
    right: -250px;
    width: 560px;
  }

  .scene-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .beta-actions {
    align-items: stretch;
    display: grid;
  }
}
