:root {
  --bas-content-width: 1180px;
  --bas-page-gutter: clamp(20px, 4vw, 48px);
  --bas-page-inset: max(var(--bas-page-gutter), calc((100vw - var(--bas-content-width)) / 2));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  overflow-x: hidden;
}

body > main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  gap: 20px;
  min-height: 68px;
  padding: 8px clamp(20px, 2.5vw, 40px);
}

.brand {
  gap: 10px;
}

.brand img {
  width: 46px;
  height: 44px;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  font-size: 10px;
}

.site-header nav {
  justify-content: space-evenly;
  justify-self: center;
  gap: 0;
  width: 100%;
  max-width: none;
}

.site-header nav a {
  white-space: nowrap;
}

.site-header nav a,
.header-actions .sign-in {
  font-size: 12px;
}

.header-actions {
  gap: 12px;
}

.button {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 13px;
}

.button-small {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
}

.site-header nav a,
.site-menu a {
  position: relative;
}

.site-header nav a.page-current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue-600);
}

.hero {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(72px, 6vw, 96px);
  min-height: 520px;
  padding: clamp(48px, 5vw, 72px) var(--bas-page-inset) clamp(54px, 5.5vw, 82px);
}

.hero-copy {
  max-width: 420px;
  min-width: 0;
  text-align: left;
}

.hero h1 {
  max-width: 420px;
  font-size: clamp(36px, 2.7vw, 46px);
  line-height: 1.06;
  overflow-wrap: normal;
  text-align: left;
}

.hero-title-break {
  display: block;
}

.hero-description {
  max-width: 410px;
  margin-top: 20px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.58;
  text-align: left;
}

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

.price-line {
  margin-top: 20px;
  font-size: 12px;
}

.product-stage {
  min-width: 0;
  min-height: 380px;
}

.hero .main-window {
  left: auto;
  right: 0;
  width: min(100%, 760px);
}

.hero .results-window {
  left: 0;
  width: min(72%, 520px);
}

.benefit-strip {
  padding: 0 var(--bas-page-inset);
}

.benefit-strip article {
  gap: 14px;
  min-height: 112px;
  padding: 24px clamp(18px, 2vw, 30px);
}

.benefit-strip h2 {
  font-size: 15px;
}

.benefit-strip p {
  font-size: 12px;
}

.interior-hero {
  padding: 24px var(--bas-page-inset) 26px;
}

.interior-hero > div {
  max-width: 1060px;
}

.interior-hero .eyebrow {
  margin-bottom: 8px;
}

.interior-hero h1 {
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.08;
}

.interior-hero p:last-child {
  max-width: 860px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.reports-page-hero {
  padding-top: 26px;
  padding-bottom: 28px;
}

.reports-page-hero > div {
  max-width: 1040px;
}

.reports-page-hero .eyebrow {
  margin-bottom: 8px;
}

.reports-page-hero h1 {
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.08;
}

.reports-page-hero p:last-child {
  max-width: 850px;
  margin-top: 10px;
  line-height: 1.45;
}

.pricing-page-hero {
  padding-top: 24px;
  padding-bottom: 26px;
}

.pricing-page-hero > div {
  max-width: 1060px;
}

.pricing-page-hero .eyebrow {
  margin-bottom: 8px;
}

.pricing-page-hero h1 {
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.08;
}

.pricing-page-hero p:last-child {
  max-width: 860px;
  margin-top: 10px;
  line-height: 1.45;
}

.resources-page-hero {
  padding-top: 24px;
  padding-bottom: 26px;
}

.resources-page-hero > div {
  max-width: 1060px;
}

.resources-page-hero .eyebrow {
  margin-bottom: 8px;
}

.resources-page-hero h1 {
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.08;
}

.early-access-page-hero {
  padding-top: 20px;
  padding-bottom: 22px;
}

.early-access-page-hero .eyebrow {
  margin-bottom: 6px;
}

.early-access-page-hero h1 {
  font-size: clamp(30px, 2.5vw, 40px);
  line-height: 1.05;
}

.workflow-section,
.feature-section,
.demo-section,
.pricing-section,
.faq-section,
.contact-section,
.closing-cta,
.route-intro,
.resource-section,
.about-section {
  padding: clamp(50px, 5vw, 72px) var(--bas-page-inset);
}

.section-heading,
.feature-intro,
.feature-grid,
.workflow-track,
.demo-layout,
.resource-grid,
.about-grid {
  max-width: var(--bas-content-width);
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.feature-intro h2 {
  font-size: clamp(29px, 2.7vw, 40px);
  line-height: 1.12;
}

.section-heading > p:last-child {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.workflow-track {
  margin-top: 38px;
}

.workflow-track li {
  min-height: 148px;
  padding: 20px 14px 18px;
}

.workflow-track li:nth-child(1) { z-index: 6; }
.workflow-track li:nth-child(2) { z-index: 5; }
.workflow-track li:nth-child(3) { z-index: 4; }
.workflow-track li:nth-child(4) { z-index: 3; }
.workflow-track li:nth-child(5) { z-index: 2; }
.workflow-track li:nth-child(6) { z-index: 1; }

.workflow-track::before {
  top: 38px;
}

.workflow-track li:not(:last-child)::after {
  content: "→";
  top: 26px;
  padding-bottom: 1px;
  font-size: 13px;
  line-height: 1;
}

.workflow-track strong {
  font-size: 14px;
}

.workflow-track small {
  margin-top: 6px;
  font-size: 11px;
}

.workflow-footer {
  max-width: var(--bas-content-width);
  margin-right: auto;
  margin-left: auto;
}

.feature-intro {
  grid-template-columns: minmax(360px, .9fr) minmax(360px, 1.1fr);
  gap: 34px;
}

.feature-intro > p {
  font-size: 15px;
  line-height: 1.6;
}

.feature-grid {
  margin-top: 36px;
}

.feature-grid article {
  gap: 14px;
  min-height: 132px;
  padding: 22px;
}

.feature-grid h3 {
  font-size: 15px;
}

.feature-grid p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.55;
}

.demo-layout {
  grid-template-columns: minmax(500px, 1.2fr) minmax(330px, .8fr);
  gap: clamp(28px, 3.5vw, 48px);
  margin-top: 38px;
}

.reports-page .demo-heading {
  max-width: var(--bas-content-width);
  text-align: left;
}

.reports-page {
  padding-top: 34px;
}

.report-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1500px;
  margin: 26px auto 0;
}

.report-image-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1380px;
  gap: 24px;
  margin-top: 24px;
}

.report-shot {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid #b8c8d7;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(6, 41, 76, .14);
}

.report-shot a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.294 / 1;
  background: #eaf1f7;
}

.report-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: filter .2s ease;
}

.report-shot a:hover img,
.report-shot a:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
}

.report-shot-results img {
  object-position: center center;
}

.report-shot-detail img {
  object-position: center bottom;
}

.report-shot figcaption {
  display: grid;
  gap: 5px;
  min-height: 88px;
  padding: 14px 16px 16px;
}

.report-shot figcaption strong {
  color: var(--navy-900);
  font-size: 16px;
}

.report-shot figcaption span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.report-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 500px;
  padding: 22px;
  background: #fff;
  border: 1px solid #aebfce;
  border-top: 5px solid var(--navy-900);
  border-radius: 7px;
  box-shadow: 0 18px 42px #06294c1c;
}

.report-preview-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.report-preview-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.report-preview-title > div {
  display: grid;
  justify-items: end;
}

.report-preview-title small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 8px;
  font-weight: 800;
}

.report-preview-title strong {
  color: var(--blue-600);
  font-size: 17px;
}

.report-preview h3 {
  min-height: 54px;
  margin: 18px 0 12px;
  padding-bottom: 12px;
  color: var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  font-size: 20px;
  line-height: 1.2;
}

.report-meta,
.report-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.report-meta span,
.report-proof span {
  padding: 5px 7px;
  color: #36516a;
  background: #eaf2f8;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
}

.report-table {
  margin-top: 18px;
  border: 1px solid #b8c8d6;
}

.report-table > div {
  display: grid;
  grid-template-columns: .65fr 1fr 1fr;
}

.report-table span {
  min-width: 0;
  padding: 8px 6px;
  border-right: 1px solid #c8d5df;
  border-bottom: 1px solid #c8d5df;
  font-size: 10px;
  text-align: center;
}

.report-table > div:last-child span {
  border-bottom: 0;
}

.report-table span:last-child {
  border-right: 0;
}

.report-table-head span {
  color: #fff;
  background: var(--navy-900);
  font-weight: 800;
}

.report-table .result-pass,
.report-table .result-fail {
  margin: 4px;
  padding: 4px 3px;
  border-radius: 999px;
  font-weight: 900;
}

.report-table .result-pass {
  color: #087c35;
  background: #def5e6;
}

.report-table .result-fail {
  color: #a11922;
  background: #fde3e6;
}

.report-proof {
  margin-top: 16px;
}

.report-preview > p {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.reports-supporting-video {
  width: 100%;
  max-width: 900px;
  margin: 46px auto 0;
}

@media (width <= 1250px) {
  .report-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
  }
}

.pricing-section,
.faq-section,
.contact-section {
  grid-template-columns: minmax(320px, .78fr) minmax(500px, 1.22fr);
  gap: clamp(38px, 5vw, 72px);
}

.pricing-page-section {
  padding-top: 36px;
  padding-bottom: 40px;
}

.closing-cta {
  grid-template-columns: minmax(380px, 1.1fr) minmax(340px, .9fr);
  gap: clamp(32px, 4vw, 60px);
}

.closing-cta h2 {
  font-size: clamp(30px, 2.9vw, 42px);
}

.closing-cta p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.closing-cta.early-access-page-section {
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(500px, 1.18fr);
  align-items: start;
  gap: clamp(34px, 4vw, 58px);
  padding-top: 30px;
  padding-bottom: 34px;
}

.early-access-page-section .early-access-form {
  width: 100%;
  max-width: 700px;
  margin: 0;
  padding: 16px 18px;
}

.early-access-page-section .form-status {
  margin-bottom: 9px;
  padding: 6px 9px;
}

.early-access-page-section .early-access-fields {
  gap: 7px 12px;
}

.early-access-page-section .early-access-fields label {
  gap: 3px;
}

.early-access-page-section .early-access-fields input {
  min-height: 34px;
  padding: 6px 9px;
}

.early-access-consents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 9px;
}

.early-access-page-section .early-access-check,
.early-access-page-section .optional-check {
  margin-top: 0;
  font-size: 10px;
  line-height: 1.4;
}

.early-access-action-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(220px, .8fr);
  align-items: end;
  gap: 18px;
  margin-top: 9px;
}

.early-access-page-section .turnstile-field,
.early-access-page-section .early-access-submit {
  margin-top: 0;
}

.early-access-page-section .optional-check,
.early-access-page-section .turnstile-field,
.early-access-page-section .early-access-submit {
  margin-top: 10px;
}

.early-access-page-section .early-access-submit {
  display: grid;
  gap: 6px;
}

.early-access-page-section .early-access-submit .button {
  width: 100%;
}

@media (width <= 899px) {
  .closing-cta.early-access-page-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .early-access-page-section .early-access-form {
    max-width: 760px;
  }
}

.resource-grid,
.about-grid {
  gap: 14px;
}

.resource-card,
.about-card {
  min-height: 176px;
  padding: 22px;
}

.resource-card h2,
.about-card h2 {
  margin-top: 9px;
  font-size: 19px;
}

.resource-card p,
.about-card p {
  margin: 11px 0 18px;
  font-size: 13px;
  line-height: 1.55;
}

.resources-page-section {
  padding-top: 28px;
  padding-bottom: 20px;
}

.resources-page-section .resource-card {
  min-height: 154px;
  padding: 18px;
}

.resources-page-section .resource-card h2 {
  margin-top: 6px;
  font-size: 17px;
}

.resources-page-section .resource-card p {
  margin: 8px 0 12px;
  font-size: 12px;
  line-height: 1.45;
}

.resources-faq {
  padding-top: 28px;
  padding-bottom: 38px;
}

.resources-faq .faq-intro h2 {
  font-size: clamp(30px, 2.7vw, 42px);
}

.bas-native-form {
  max-width: 720px;
}

.site-footer {
  grid-template-columns: minmax(240px, .65fr) minmax(580px, 1.35fr);
  gap: 18px;
  width: 100%;
  margin-top: auto;
  padding: 12px clamp(20px, 2.5vw, 40px) 8px;
}

.footer-links {
  gap: 12px;
}

.footer-links > div {
  gap: 3px;
}

.footer-brand > p {
  display: none;
}

.footer-brand > span {
  display: block;
  margin-top: 4px;
}

.footer-links strong {
  margin-bottom: 2px;
  line-height: 1.15;
}

.footer-links a {
  line-height: 1.2;
}

.footer-bottom {
  padding-top: 7px;
}

@media (width <= 1400px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(38px, 4.4vw, 52px);
  }

  .product-stage {
    min-height: clamp(340px, 50vw, 560px);
  }

  .feature-intro,
  .pricing-section,
  .faq-section,
  .contact-section,
  .closing-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (width <= 760px) {
  :root {
    --bas-page-gutter: 20px;
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    min-height: 64px;
    padding: 7px 16px;
  }

  .brand img {
    width: 40px;
    height: 39px;
  }

  .hero {
    gap: 30px;
    padding: 42px 20px 64px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-description {
    font-size: 16px;
  }

  .product-stage {
    min-height: 230px;
  }

  .interior-hero,
  .workflow-section,
  .feature-section,
  .demo-section,
  .pricing-section,
  .faq-section,
  .contact-section,
  .closing-cta,
  .route-intro,
  .resource-section,
  .about-section {
    padding: 46px 20px;
  }

  .interior-hero {
    padding: 22px 20px 24px;
  }

  .reports-page-hero,
  .pricing-page-hero,
  .resources-page-hero {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  .pricing-page-section {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .resources-page-section {
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .resources-faq {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .early-access-page-section {
    padding: 18px 14px 22px;
  }

  .early-access-consents,
  .early-access-action-row {
    grid-template-columns: 1fr;
  }

  .early-access-action-row {
    gap: 12px;
  }

  .interior-hero h1 {
    font-size: clamp(32px, 9.5vw, 42px);
  }

  .section-heading h2,
  .feature-intro h2,
  .closing-cta h2 {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .workflow-track {
    margin-top: 30px;
  }

  .workflow-track li {
    min-height: 92px;
    padding: 18px 16px 16px 58px;
  }

  .feature-grid {
    margin-top: 30px;
  }

  .feature-grid article {
    padding: 20px 2px;
  }

  .demo-layout {
    margin-top: 30px;
  }

  .report-gallery {
    grid-template-columns: 1fr;
  }

  .report-preview {
    min-height: 0;
  }

  .resource-card,
  .about-card {
    min-height: 0;
    padding: 20px;
  }

  .site-footer {
    padding: 18px 20px 12px;
  }
}
