:root {
  --ink: #101827;
  --muted: #5a6676;
  --paper: #f7faf8;
  --panel: #ffffff;
  --line: #d7e0df;
  --green: #006c67;
  --green-dark: #064642;
  --blue: #234c9a;
  --red: #a53c30;
  --amber: #e4ad48;
  --shadow: 0 24px 70px rgba(13, 28, 39, 0.16);
  --platform-support-bg-a: #006c67;
  --platform-support-bg-b: #101827;
  --platform-support-bg-c: #234c9a;
  --platform-support-accent: #e4ad48;
  --platform-support-text: #ffffff;
  --platform-support-muted: #dde8ef;
  --platform-support-chip: #ffffff;
  --platform-support-chip-ink: #101827;
  --platform-support-border: rgba(0, 108, 103, 0.35);
  --platform-support-shadow: rgba(13, 28, 39, 0.18);
  font-family: "Segoe UI", Candara, "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 108, 103, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(165, 60, 48, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px, 36px 36px, auto;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.14);
  background: rgba(247, 250, 248, 0.94);
  padding: 0 max(18px, calc((100vw - 1180px) / 2));
  backdrop-filter: blur(14px);
}

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

.brand {
  min-width: 0;
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--green-dark);
  color: white;
  font-size: 0.82rem;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

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

.nav-button,
.primary-action {
  background: var(--red);
  color: white;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.hero {
  min-height: calc(86vh - 72px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(6, 70, 66, 0.96), rgba(0, 108, 103, 0.72), rgba(16, 24, 39, 0.18)),
    url("assets/builder-top.png") center top / cover no-repeat;
  padding: 8vh max(18px, calc((100vw - 1180px) / 2));
}

.hero-copy {
  max-width: 790px;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 0.94;
}

.lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  line-height: 1.58;
}

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

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.product-strip div {
  min-height: 118px;
  background: var(--panel);
  padding: 28px clamp(18px, 3vw, 34px);
}

.product-strip dt,
.product-strip dd {
  margin: 0;
}

.product-strip dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-strip dd {
  margin-top: 10px;
  font-size: 1.18rem;
  font-weight: 850;
}

.product-view,
.screenshots,
.included,
.workflow,
.buyer-band,
.faq,
.final-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.product-view {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 48px;
  align-items: center;
}

.section-copy h2,
.buyer-band h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.section-copy p,
.buyer-band p,
.final-cta p,
figcaption,
.feature-band p,
.workflow p,
.document-grid p,
.faq p {
  color: var(--muted);
  line-height: 1.7;
}

figure {
  margin: 0;
}

figure img,
.preview-shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 14px;
  font-size: 0.93rem;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.feature-band article {
  min-height: 270px;
  background: var(--green-dark);
  color: white;
  padding: clamp(28px, 4vw, 56px);
}

.feature-band h3,
.document-grid h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.feature-band p {
  color: rgba(255, 255, 255, 0.78);
}

.screenshots {
  display: grid;
  gap: 28px;
}

.screenshots .section-copy {
  max-width: 820px;
}

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

.preview-shot {
  display: grid;
  grid-template-rows: auto min-content;
  gap: 10px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(13, 28, 39, 0.08);
  color: var(--ink);
  cursor: zoom-in;
  font: inherit;
  font-weight: 850;
  padding: 10px;
  text-align: left;
}

.preview-shot:hover {
  border-color: rgba(0, 108, 103, 0.38);
}

.preview-shot:focus-visible {
  outline: 3px solid rgba(0, 108, 103, 0.36);
  outline-offset: 3px;
}

.preview-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
  box-shadow: none;
  background: #edf3f1;
}

.preview-shot[data-lightbox-src$="review-panel.png"] img {
  object-position: top center;
}

.preview-shot span {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.3;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
}

.document-grid article {
  min-height: 190px;
  background: var(--panel);
  padding: 26px;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(500px, 1fr);
  gap: 48px;
}

.workflow ol {
  display: grid;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--line);
}

.workflow li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--panel);
  padding: 26px;
}

.workflow span {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 850;
}

.workflow p {
  margin: 0;
}

.buyer-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq .section-copy {
  max-width: 760px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 850;
}

details p {
  margin: 14px 0 0;
}

.final-cta {
  display: grid;
  justify-items: start;
  border-top: 1px solid var(--line);
}

.final-cta p {
  max-width: 680px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 28, 0.78);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.lightbox-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 16px 18px;
}

.lightbox-header h2 {
  margin: 0;
  font-size: 1rem;
}

.lightbox-close {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 8px 12px;
}

.lightbox-panel img {
  display: block;
  width: 100%;
}

.platform-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(560px, 100%);
  margin-top: 14px;
  padding: 12px 14px;
  color: var(--platform-support-text);
  background:
    linear-gradient(135deg, var(--platform-support-bg-a), var(--platform-support-bg-b) 74%, var(--platform-support-bg-c)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 44px);
  border: 1px solid var(--platform-support-border);
  border-radius: 8px;
  box-shadow: 0 16px 36px var(--platform-support-shadow);
}

.platform-support p {
  margin: 0;
  color: var(--platform-support-muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.platform-support__label {
  color: var(--platform-support-text);
  font-weight: 900;
}

.platform-support__chips {
  display: grid;
  grid-template-columns: repeat(3, 34px);
  gap: 6px;
  margin-top: 0;
}

.platform-support__chip {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 34px;
  height: 32px;
  padding: 0;
  color: var(--platform-support-chip-ink);
  background: var(--platform-support-chip);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
}

.platform-support__chip img {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0;
  object-fit: contain;
}

@media (max-width: 560px) {
  .platform-support {
    grid-template-columns: 1fr;
  }

  .platform-support__chips {
    grid-template-columns: repeat(3, 34px);
  }
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 78vh;
  }

  .product-strip,
  .feature-band,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .product-view,
  .workflow,
  .buyer-band {
    grid-template-columns: 1fr;
  }

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

  .product-view,
  .screenshots,
  .included,
  .workflow,
  .buyer-band,
  .faq,
  .final-cta {
    padding: 58px 0;
  }
}

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

  h1 {
    font-size: 3rem;
  }

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

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