:root {
  color-scheme: light;
  --ink: #202524;
  --muted: #65706c;
  --paper: #f8f5ed;
  --white: #fffdf7;
  --soft: #e9efe4;
  --line: #ddd7ca;
  --clay: #9f6f54;
  --green: #315f4a;
  --blue: #355f7c;
  --shadow: rgba(32, 37, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fffdf7;
}

.brand {
  font-size: 20px;
  font-weight: 860;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: rgba(255, 253, 247, 0.82);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94vh;
  overflow: hidden;
  background: #182123;
  color: #fffdf7;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(20, 25, 24, 0.94), rgba(20, 25, 24, 0.58) 46%, rgba(20, 25, 24, 0.2)),
    url("/assets/hero-continuity-room.png") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(24, 33, 35, 0.08), rgba(24, 33, 35, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 15vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c7ded0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.lede {
  max-width: 700px;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 780;
  text-decoration: none;
}

.button.primary {
  background: #fffdf7;
  color: #1f2726;
}

.button.secondary {
  border: 1px solid rgba(255, 253, 247, 0.36);
  color: #fffdf7;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro,
.workflow,
.control-surface,
.install,
.privacy,
.alpha {
  padding: clamp(70px, 10vw, 132px) 0;
}

.intro {
  background: var(--white);
}

.intro-grid,
.split,
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.section-copy {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

.workflow {
  background: #eef3ef;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-grid article,
.feature-list div,
.promise-grid div,
.terminal-card,
.alpha-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(26, 31, 30, 0.05);
}

.workflow-grid article {
  min-height: 252px;
  padding: 22px;
}

.workflow-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 840;
}

.workflow-grid p,
.feature-list span,
.promise-grid span,
.alpha-card p {
  color: var(--muted);
  line-height: 1.55;
}

.control-surface {
  background: var(--paper);
}

.feature-list,
.promise-grid {
  display: grid;
  gap: 12px;
}

.feature-list div,
.promise-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.feature-list strong,
.promise-grid strong {
  font-size: 18px;
}

.install {
  background: #182123;
  color: #fffdf7;
}

.install .eyebrow {
  color: #b9d7c7;
}

.install .section-copy {
  color: rgba(255, 253, 247, 0.76);
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
  color: var(--blue);
  font-weight: 720;
}

.install code {
  color: #d5e8dc;
}

.terminal-card {
  overflow: hidden;
  background: #101615;
  color: #edf4ed;
}

.terminal-card pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.62;
}

.privacy {
  background: var(--white);
}

.alpha {
  background: #f1eadf;
}

.alpha-card {
  max-width: 920px;
  padding: clamp(24px, 5vw, 54px);
}

.alpha-card h2 {
  max-width: 780px;
}

.alpha-card p {
  max-width: 740px;
  font-size: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  margin-right: 8px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(20, 25, 24, 0.84), rgba(20, 25, 24, 0.56)),
      url("/assets/hero-continuity-room.png") center / cover no-repeat;
  }

  .hero-content {
    padding-bottom: 12vh;
  }

  .intro-grid,
  .split,
  .install-grid {
    grid-template-columns: 1fr;
  }

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

  .workflow-grid article {
    min-height: auto;
  }

  .workflow-grid span {
    margin-bottom: 22px;
  }

  .site-footer {
    display: grid;
  }
}
