:root {
  --ink: #10231b;
  --muted: #5b6b62;
  --line: #d8e1dc;
  --surface: #ffffff;
  --soft: #f4f7f5;
  --green: #287a4d;
  --green-dark: #145132;
  --navy: #103a5a;
  --gold: #e4b441;
  --blue-soft: #e6f0f6;
  --shadow: 0 18px 45px rgba(20, 35, 28, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.demo-hero {
  position: relative;
  min-height: min(720px, 92vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #0b2018;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 20, 15, 0.92), rgba(7, 20, 15, 0.64) 42%, rgba(7, 20, 15, 0.18)),
    url("./assets/02-generated-plan.png") center top / cover no-repeat;
}

.demo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 20, 15, 0.85), rgba(7, 20, 15, 0));
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 76px;
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-actions,
.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
}

.button:hover {
  transform: translateY(-1px);
}

main {
  display: grid;
  gap: 18px;
  padding: 18px 0 52px;
}

.notice-band,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.notice-band {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 14px 16px;
  border: 1px solid #e6d5a8;
  border-radius: 8px;
  background: #fff9e8;
}

.notice-band strong {
  color: #6f4d00;
}

.section {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(20, 35, 28, 0.04);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: start;
}

.intro-grid p,
.outputs-section p,
.access-section p {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.feature-list > div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--soft);
}

.feature-list strong {
  color: var(--green-dark);
}

.feature-list span {
  color: var(--muted);
}

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

.process-grid article {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.process-grid article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

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

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background: #f8faf9;
}

figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

figcaption span {
  color: var(--muted);
}

.outputs-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
}

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

.output-grid a {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 840;
  text-decoration: none;
}

.output-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.28;
  object-fit: contain;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.access-section {
  background: var(--navy);
  color: white;
}

.access-section p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 36px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 840px) {
  .demo-hero {
    min-height: 680px;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(7, 20, 15, 0.9), rgba(7, 20, 15, 0.58)),
      url("./assets/02-generated-plan.png") center top / cover no-repeat;
  }

  .section {
    padding: 24px 18px;
  }

  .intro-grid,
  .outputs-section {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .screenshot-grid,
  .output-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: 0;
  }

  footer {
    flex-direction: column;
  }
}

@media print {
  body {
    background: white;
  }

  .demo-hero {
    min-height: 300px;
  }

  .hero-content {
    padding: 48px 0;
  }

  .button {
    border-color: var(--line);
    color: var(--ink);
    background: white;
  }

  .button.primary {
    border-color: var(--green);
    background: var(--green);
    color: white;
  }

  .section,
  .notice-band {
    break-inside: avoid;
    box-shadow: none;
  }
}
