  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=IBM+Plex+Sans+Condensed:wght@400;500&display=swap');

  * {
    box-sizing: border-box;
  }

  :root {
    --bg-primary: #F7F8F9;
    --bg-surface: #FFFFFF;
    --text-primary: #1F2933;
    --text-secondary: #4B5563;
    --border-subtle: #D1D5DB;
    --accent: #5B6F8E;
    --measure: 70ch;
    --figure-measure: min(100%, 980px);
  }

  body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
  }

  header {
    border-bottom: 1px solid var(--border-subtle);
  }

  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
  }

	.logo-wrap {
	  display: flex;
	  align-items: center;
	  gap: 0;
	}


	.logo-rule {
	  width: 2px;
	  height: 20px; /* height must be explicit */
	  background-color: var(--accent);
	  display: inline-block;
	  margin-right: 6px; /* space between rule and text */
	  border-radius: 1px; /* optional, softens edge slightly */
	}


	.logo {
	  font-weight: 600;
	  font-size: 18px; /* can be up to 20px */
	  letter-spacing: 0.02em;
	  color: var(--text-primary);
	  text-decoration: none;
	}

  .nav-links a {
    position: relative;
    display: inline-block; /* REQUIRED */
    padding-bottom: 4px;
    margin-left: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
  }
  
  .nav-links a.active {
    color: var(--text-primary);
  }


  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 1px;
    right: 1px;
    width: auto;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    opacity: 0.6;
  }

  .cta-outline {
    padding: 8px 14px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    margin-left: 24px;
    font-size: 14px;
    text-decoration: none;
    background: transparent;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  }

  main .cta-outline {
    padding: 12px 24px; /* larger for hero */
    margin-top: 16px;   /* breathing room from text */
    margin-left: 0;
    display: inline-block;
  }

  .cta-outline:hover {
    background: rgba(91, 111, 142, 0.08);
  }

  .cta-outline:active {
    background: rgba(91, 111, 142, 0.16);
  }


  main section {
    padding: 72px 0;
  }

  .doc-page section {
    padding: 64px 0;
  }

  .doc-page section + section {
    border-top: 1px solid var(--border-subtle);
  }

  .doc-page h1,
  .doc-page h2,
  .doc-page h3,
  .doc-page p,
  .doc-page ul,
  .doc-page ol,
  .doc-page .callout {
    max-width: var(--measure);
  }

  h1 { font-size: 38px; font-weight: 600; line-height: 1.2; margin: 0 0 16px; }
  h2 { font-size: 26px; font-weight: 600; line-height: 1.3; margin: 32px 0 12px; }
  h3 { font-size: 18px; font-weight: 500; line-height: 1.35; margin: 24px 0 8px; }

  p { color: var(--text-secondary); margin: 0 0 16px; }
  ul,
  ol {
    color: var(--text-secondary);
    margin: 0 0 16px;
    padding-left: 20px;
  }

  li {
    margin: 8px 0;
  }

  .doc-page section > :last-child {
    margin-bottom: 0;
  }

  main a:not(.cta-outline) {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: rgba(91, 111, 142, 0.5);
    text-underline-offset: 3px;
  }

  main a:not(.cta-outline):hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 3px;
  }
  
.product-proof img, section img {
  max-width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: #fff;
}

/*

ALTERNATE STYLE WITH OUTER FRAME - REVIEW ONCE FINAL SCREENS IN PLACE

.product-proof img, section img {
  max-width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 24px;
  background: var(--bg-secondary);
  margin: 48px 0;
}

*/

figure {
  margin: 20px 0;
  max-width: var(--figure-measure);
}

.caption {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

  .callout {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 18px 22px;
    margin: 16px 0;
  }

  .callout-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
  }

  .callout > :last-child {
    margin-bottom: 0;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .product-proof-wide {
    max-width: var(--figure-measure);
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
  }

  .card {
    padding: 20px 22px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
  }

  .card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-primary);
  }

  .card p {
    margin: 0;
  }

  .site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0 40px;
    margin-top: 40px;
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
  }

  .footer-inner a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: rgba(91, 111, 142, 0.5);
    text-underline-offset: 3px;
  }

  .footer-inner a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
  }

  /* Pricing Page Styles */

  /* 1. Workflow Diagram Section */
  .workflow-diagram-section h1 {
    margin-bottom: 16px;
  }

  .workflow-diagram-section > p {
    margin-bottom: 48px;
    font-size: 18px;
  }

  .workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin: 48px 0;
  }

  .workflow-stage {
    flex: 1;
    padding: 24px 20px;
    border-left: 2px solid var(--border-subtle);
  }

  .workflow-stage:first-child {
    border-left: none;
  }

  .stage-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
  }

  .stage-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
  }

  .workflow-arrow {
    font-size: 24px;
    color: var(--accent);
    padding: 0 12px;
  }

  .workflow-continuity {
    padding: 24px;
    background: #F9FAFB;
    border-radius: 6px;
  }

  .workflow-continuity p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    max-width: none;
  }

  /* 2. System Boundary Section */
  .system-boundary-section {
    background: #F9FAFB;
    padding: 72px 48px;
    margin-left: -24px;
    margin-right: -24px;
  }

  .boundary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  .boundary-card {
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
  }

  .boundary-header {
    padding: 20px 24px;
    background: #F9FAFB;
    border-bottom: 1px solid var(--border-subtle);
  }

  .boundary-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }

  .boundary-content {
    padding: 24px;
  }

  .boundary-item {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid #F3F4F6;
  }

  .boundary-item:last-child {
    border-bottom: none;
  }

  /* 3. Applicability Section */
  .applicability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
  }

  .applicability-side {
    padding: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
  }

  .applicability-side.applies {
    background: var(--bg-surface);
    border-color: var(--accent);
    border-width: 2px;
  }

  .applicability-side.not-applies {
    background: #F9FAFB;
    border-color: var(--border-subtle);
  }

  .applicability-side h3 {
    margin-top: 0;
    margin-bottom: 16px;
  }

  .applicability-content > p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .applicability-item {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin-bottom: 12px;
  }

  /* 4. Proof of Seriousness Section */
  .proof-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    max-width: 680px;
  }

  .proof-property {
    padding: 28px 32px;
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: 6px;
  }

  .proof-property-name {
    font-weight: 600;
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--accent);
    opacity: 0.9;
  }

  .mechanism-item {
    padding: 7px 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* 2. Operational Context Section */
  .operational-context-section {
    padding: 48px 0;
  }

  .operational-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  .operational-item {
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
  }

  .operational-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 12px;
  }

  .operational-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* 5. Pricing Section */
  .pricing-section {
    padding: 72px 0;
  }

  .access-structure-container {
    max-width: 680px;
    margin: 40px 0;
  }

  .access-boundary {
    padding: 20px 24px;
    background: #F9FAFB;
    border: 1px solid var(--border-subtle);
    border-radius: 6px 6px 0 0;
    border-bottom: none;
  }

  .access-boundary-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
  }

  .access-boundary-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
  }

  .pricing-card {
    padding: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
  }

  .pricing-tier-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
  }

  .pricing-amount {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #F3F4F6;
  }

  .price {
    font-size: 42px;
    font-weight: 600;
    color: var(--text-primary);
  }

  .price-period {
    font-size: 16px;
    color: var(--text-secondary);
    margin-left: 8px;
  }

  .access-scope-group {
    margin-bottom: 24px;
  }

  .access-scope-group:last-child {
    margin-bottom: 0;
  }

  .access-scope-label {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }

  .access-scope-items {
    padding: 16px;
    background: #FAFBFC;
    border-radius: 4px;
  }

  .access-scope-item {
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid #F3F4F6;
  }

  .access-scope-item:last-child {
    border-bottom: none;
  }

  .pricing-billing-note {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
    font-size: 13px;
    color: var(--text-secondary);
  }

  .access-evaluation {
    padding: 20px 24px;
    background: #F9FAFB;
    border: 1px solid var(--border-subtle);
    border-radius: 0 0 6px 6px;
    border-top: none;
  }

  .access-evaluation-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
  }

  .access-evaluation-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
  }

  /* 6. Organizational Readiness Section */
  .readiness-section {
    padding: 28px 0 20px;
  }

  .readiness-section h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary);
  }

  .readiness-tracks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 14px;
  }

  .readiness-track {
    padding: 12px 14px;
    background: transparent;
    border: 1px solid #E5E7EB;
    border-radius: 3px;
  }

  .readiness-track-name {
    font-weight: 400;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #F3F4F6;
  }

  .readiness-track-desc {
    margin-top: 10px;
  }

  .readiness-track-item {
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
  }

  .readiness-foundation {
    padding: 12px 16px;
    background: transparent;
    border-top: 1px solid #F3F4F6;
    margin-top: 6px;
  }

  .readiness-foundation p {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    max-width: none;
    font-style: italic;
    opacity: 0.85;
  }

  /* 7. Trial Section */
  .trial-intro {
    margin-top: 24px;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 6px;
  }

  .trial-intro p {
    margin: 0;
    font-size: 15px;
    color: var(--text-secondary);
    max-width: none;
  }

  .trial-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
  }

  .trial-phase {
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
  }

  .trial-phase-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F3F4F6;
  }

  .trial-phase-desc {
    margin-top: 12px;
  }

  .trial-phase-item {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 12px;
    position: relative;
  }

  .trial-phase-item::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
  }

  /* 8. Billing Section */
  .billing-section {
    padding: 72px 0;
    background: #FAFBFC;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .billing-section h2 {
    margin-bottom: 32px;
  }

  .billing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .billing-item {
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
  }

  .billing-item-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
  }

  .billing-item-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* Guided walkthrough page */
  .walkthrough-section {
    max-width: 760px;
  }

  .walkthrough-form {
    margin-top: 28px;
    max-width: 640px;
  }

  .field-group {
    margin-bottom: 20px;
  }

  .field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
  }

  .field-group select,
  .field-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-surface);
  }

  .field-group select:focus-visible,
  .field-group textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
  }

  .helper-text {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--text-secondary);
  }

  .field-error {
    margin: 6px 0 0;
    min-height: 20px;
    font-size: 13px;
    color: var(--text-secondary);
  }

  .intake-submit {
    margin-top: 8px;
    margin-left: 0;
    min-width: 120px;
  }

  .intake-submit:disabled {
    opacity: 0.7;
    cursor: default;
  }

  .form-status {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
  }

  .scheduler-section {
    margin-top: 28px;
    max-width: 100%;
  }

  .section-divider {
    border: 0;
    border-top: 1px solid var(--border-subtle);
    margin: 0 0 28px;
  }

  .scheduler-subline {
    margin-bottom: 16px;
  }

  .scheduler-placeholder {
    height: 980px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: linear-gradient(90deg, #f2f4f7 25%, #f8f9fb 37%, #f2f4f7 63%);
    background-size: 400% 100%;
    animation: scheduler-load 1.4s ease-in-out infinite;
  }

  .scheduler-mount {
    height: 980px;
    overflow: hidden;
  }

  .scheduler-mount > * {
    width: 100%;
    height: 100%;
  }

  .scheduler-mount .calendly-inline-widget {
    width: 100%;
    height: 980px !important;
    min-width: 320px;
    overflow: hidden;
  }

  .scheduler-mount iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .scheduler-status {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
  }

  @keyframes scheduler-load {
    0% {
      background-position: 100% 0;
    }

    100% {
      background-position: 0 0;
    }
  }

  /* Lightbox */
  @media (pointer: fine) {
    figure img {
      cursor: zoom-in;
    }
  }

  .lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(31, 41, 51, 0.82);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .lb-overlay.is-open {
    display: flex;
  }

  .lb-overlay img {
    max-width: min(100%, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
    cursor: zoom-out;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    header .container {
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }

    .nav {
      flex-wrap: wrap;
      height: auto;
      padding: 12px 0;
      gap: 12px;
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      justify-content: flex-start;
      align-items: center;
    }

    .nav-links a {
      margin-left: 0;
    }

    header .cta-outline {
      margin-left: 0;
    }

    .doc-page section {
      padding: 40px 0;
    }

    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }

    .workflow-diagram {
      flex-direction: column;
      padding: 24px;
    }

    .workflow-stage {
      border-left: none;
    }

    .workflow-arrow {
      transform: rotate(90deg);
      padding: 12px 0;
    }

    .boundary-grid,
    .operational-grid,
    .applicability-grid,
    .proof-grid,
    .readiness-tracks,
    .trial-phases,
    .billing-grid {
      grid-template-columns: 1fr;
    }

    .system-boundary-section {
      padding: 48px 24px;
      margin-left: 0;
      margin-right: 0;
    }

    .readiness-section {
      padding: 28px 0 20px;
    }

    .access-structure-container {
      max-width: 100%;
    }

    .walkthrough-section {
      max-width: 100%;
    }

    .scheduler-placeholder,
    .scheduler-mount,
    .scheduler-mount .calendly-inline-widget {
      height: 820px !important;
    }
  }
