:root {
  --background: #f6faf6;
  --surface-soft: #edf6ef;
  --ink: #142d25;
  --text: #334b42;
  --muted: #4c655a;
  --line: #d6e5db;
  --blue: #11634e;
  --blue-dark: #084737;
  --teal: #0c634f;
  --teal-dark: #074b3c;
}

.site-header {
  background: #fff;
  backdrop-filter: none;
}

.brand-mark {
  box-shadow: none;
}

.site-header .nav a,
.site-header .mobile-nav a,
.footer-links a {
  color: var(--text);
}

.site-header .nav a:hover,
.site-header .nav a[aria-current="page"] {
  background: var(--surface-soft);
}

.site-header .nav-toggle {
  flex-shrink: 0;
}

.site-header .header-cta,
.button-primary {
  box-shadow: none;
}

.button-secondary {
  color: var(--teal-dark);
  border-color: #a8c8b7;
}

.button-secondary:hover {
  color: var(--teal-dark);
  border-color: #79a991;
  background: #f1f7f3;
}

:focus-visible {
  outline: 3px solid #14755a;
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 92px;
}

.page-hero h1,
.article-hero h1 {
  overflow-wrap: anywhere;
}

.unified-home .container,
.unified-page .container {
  --max-width: 1216px;
  width: min(var(--max-width), calc(100% - 64px));
}

.unified-home .eyebrow,
.unified-page .eyebrow {
  color: var(--teal-dark);
  letter-spacing: .08em;
  font-size: .875rem;
}

.update-strip {
  color: #143f31;
  background: #dff1e4;
  border-bottom: 1px solid #cfe6d6;
}

.update-strip .container {
  min-height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  padding-block: 8px;
  font-size: .9375rem;
}

.update-strip p {
  margin: 0;
}

.update-strip a {
  flex-shrink: 0;
  color: #07513d;
  font-weight: 750;
}

.unified-hero {
  background: radial-gradient(ellipse at 85% 38%, #deefe3, transparent 63%), #f8faf6;
  border-bottom: 1px solid var(--line);
}

.unified-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(52px, 6vw, 100px);
}

.unified-intro h1 {
  margin: 0 0 22px;
  color: #102d23;
  font-size: clamp(3.25rem, 6.15vw, 5.85rem);
  line-height: .97;
  letter-spacing: -.06em;
}

.unified-intro h1 em {
  color: #147257;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.055em;
}

.unified-intro .lead {
  max-width: 35ch;
  color: var(--text);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.6;
}

.unified-home .cta-row {
  margin-top: 24px;
}

.product-preview,
.report-preview {
  margin: 0;
}

.preview-stage {
  position: relative;
  padding: 4% 10% 5% 0;
}

.browser-frame,
.phone-frame {
  overflow: hidden;
  background: #fff;
}

.browser-frame {
  border: 1px solid #9fb9ac;
  border-radius: 16px;
  box-shadow: 0 22px 46px #21493925;
}

.browser-frame img,
.phone-frame img,
.report-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  color: #42584c;
  background: #f8fbf9;
  border-bottom: 1px solid #d7e4db;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.2;
}

.browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7e9b8d;
}

.browser-bar span {
  padding-inline-start: 7px;
}

.phone-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  border: 4px solid #18382e;
  border-radius: clamp(13px, 1.9vw, 26px);
  box-shadow: 0 14px 27px #153a3a38;
}

.product-preview figcaption {
  margin-top: 15px;
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
}

.unified-home .section,
.unified-page .section {
  padding-block: clamp(48px, 6.4vw, 92px);
}

.unified-home h2,
.unified-page h1 {
  letter-spacing: -.055em;
}

.unified-home h2 {
  font-size: clamp(2.1rem, 4vw, 3.75rem);
}

.unified-home .section-heading {
  margin-bottom: 30px;
}

.unified-home .section-heading p {
  max-width: 62ch;
}

.unified-features {
  position: relative;
}

.anchor-alias {
  position: absolute;
  top: 0;
}

.workflow-grid,
.unified-home .platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 38px);
}

.workflow-grid article {
  padding: 19px 4px 0 0;
  border-top: 2px solid #b5d1c0;
}

.workflow-grid p,
.platform-grid p,
.plan-grid p {
  margin-bottom: 0;
}

.record-types {
  margin: 24px 0 0;
  color: var(--teal-dark);
  font-size: .9375rem;
  font-weight: 680;
}

.record-types span {
  padding-inline: .25em;
  color: #567d69;
}

.report-showcase {
  color: #e0f2e8;
  background: #143e32;
}

.report-grid,
.pricing-grid,
.transition-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
}

.report-showcase h2 {
  color: #fff;
}

.report-showcase .button-light {
  color: #143e32;
  background: #f5fff8;
}

.report-showcase .button-light:hover {
  background: #def2e6;
}

.report-link,
.report-link:hover {
  align-self: center;
  color: #e0f2e8;
  font-weight: 700;
}

.report-showcase :focus-visible {
  outline-color: #d4f5e2;
}

.report-preview {
  overflow: hidden;
  border: 1px solid #8ba99b;
  border-radius: 14px;
  background: #f4f7fa;
  box-shadow: 0 18px 30px #071e1850;
}

.unified-home .platform-grid article,
.plan-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(17px, 2.3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.unified-home .platform-grid p {
  flex: 1;
  margin-bottom: 18px;
}

.existing-origin,
.price-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .9375rem;
}

.pricing-showcase {
  background: #eaf5ec;
}

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

.plan-grid .plan-price {
  margin: 5px 0 8px;
  color: var(--teal-dark);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.1;
}

.plan-price small {
  font-size: .9rem;
  letter-spacing: 0;
}

.transition-grid {
  align-items: start;
}

.question-list details {
  border-top: 1px solid var(--line);
}

.question-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.question-list summary {
  padding: 14px 2px;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.question-list p {
  margin: 0 0 12px 18px;
}

.unified-footer {
  background: #f2f7f2;
}

.unified-footer .footer-top {
  align-items: start;
}

.unified-footer .brand + p {
  margin: 8px 0 2px;
}

.unified-page .page-hero {
  padding-block: clamp(42px, 6vw, 80px);
  background: #ecf6ee;
  border-bottom: 1px solid var(--line);
}

.unified-page .page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.65rem, 6vw, 5.2rem);
}

.unified-page .page-hero .lead {
  max-width: 68ch;
}

.release-section {
  background: #fff;
}

.release-section + .release-section {
  border-top: 1px solid var(--line);
}

.release-section .section-heading {
  margin-bottom: 24px;
}

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

.release-grid article,
.migration-instructions {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7faf7;
}

.release-grid article > :last-child,
.migration-instructions > :last-child {
  margin-bottom: 0;
}

.migration-instructions {
  max-width: 80ch;
}

.migration-instructions li + li {
  margin-top: 10px;
}

@media (max-width: 1040px) {
  .site-header .header-cta {
    margin-left: auto;
  }

  .site-header .nav-toggle {
    margin-left: 0;
  }
}

@media (max-width: 800px) {
  .site-header .header-cta {
    display: inline-flex;
  }

  .unified-home .container,
  .unified-page .container {
    width: calc(100% - 40px);
  }

  .unified-hero-grid,
  .report-grid,
  .pricing-grid,
  .transition-grid {
    grid-template-columns: 1fr;
  }

  .unified-hero-grid {
    gap: 26px;
  }

  .product-preview,
  .report-preview {
    width: min(100%, 610px);
    margin-inline: auto;
  }

  .preview-stage {
    padding-top: 0;
  }

  .unified-intro h1 {
    font-size: clamp(2.9rem, 13.5vw, 5.9rem);
  }
}

@media (max-width: 580px) {
  .unified-home .container,
  .unified-page .container {
    width: calc(100% - 32px);
  }

  .site-header .header-inner {
    gap: 10px;
  }

  .site-header .header-cta {
    display: none;
  }

  .site-header .nav-toggle {
    margin-left: auto;
  }

  .update-strip .container {
    display: block;
    padding-block: 11px;
  }

  .unified-intro .cta-row {
    gap: 8px;
  }

  .unified-intro .cta-row .button {
    padding-inline: 12px;
    font-size: .9375rem;
  }

  .workflow-grid,
  .unified-home .platform-grid,
  .release-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    gap: 19px;
  }

  .workflow-grid article {
    padding-top: 14px;
  }

  .plan-grid {
    gap: 9px;
  }

  .page-hero h1 {
    font-size: clamp(1.95rem, 8vw, 2.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
