/* Marketing layouts are independent from the clinical workspace styles. */
.mkt-hero,
.mkt-intro {
  background: #f8faf6;
  border-bottom: 1px solid #dce5de;
}
.mkt-hero {
  padding: clamp(3rem, 5vw, 5.7rem) 0;
}
.mkt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
.mkt-hero h1,
.mkt-intro h1,
.mkt-section h2,
.mkt-section h3 {
  color: #112d38;
  margin: 0;
  text-wrap: balance;
}
.mkt-hero h1,
.mkt-intro h1 {
  font-size: clamp(2.65rem, 4.55vw, 4.7rem);
  font-weight: 570;
  line-height: 1.04;
  letter-spacing: -0.059em;
}
.mkt-hero h1 span {
  color: #1957ba;
}
.mkt-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  font-size: 0.79rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #315868;
  margin: 0 0 1rem;
}
.mkt-kicker i {
  display: inline-block;
  width: 1.6rem;
  height: 0.15rem;
  background: #138a7f;
}
.mkt-lede,
.mkt-intro p {
  font-size: clamp(1.03rem, 1.25vw, 1.25rem);
  line-height: 1.65;
  color: #455c66;
  max-width: 46rem;
}
.mkt-hero .mkt-lede {
  margin: 1.35rem 0 1.8rem;
  max-width: 35rem;
}
.mkt-actions,
.mkt-step-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.mkt-button,
.mkt-quiet,
.mkt-link,
.mkt-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  font-weight: 650;
  text-decoration: none;
}
.mkt-button {
  color: white;
  background: #1454c4;
  border: 1px solid #1454c4;
  border-radius: 8px;
  padding: 0.77rem 1.13rem;
  line-height: 1.4;
}
.mkt-button:hover {
  background: #0d3e99;
  color: white;
}
.mkt-link,
.mkt-doc-link,
.mkt-quiet {
  color: #194faa;
}
.mkt-link:hover,
.mkt-doc-link:hover,
.mkt-quiet:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.mkt-atlas {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cad6d4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(35, 62, 61, 0.08);
}
.mkt-atlas figcaption,
.mkt-example figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid #d5e2dc;
  font-weight: 660;
}
.mkt-atlas figcaption {
  background: #103b49;
  color: white;
}
.mkt-section {
  padding: clamp(2.5rem, 5vw, 5.25rem) 0;
}
.mkt-wash {
  background: #eff5f0;
}
.mkt-section h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  font-weight: 570;
  line-height: 1.13;
}
.mkt-section h3 {
  font-size: 1.32rem;
  line-height: 1.22;
  font-weight: 640;
  letter-spacing: -0.036em;
}
.mkt-section p {
  color: #415964;
  line-height: 1.64;
}
.mkt-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.mkt-section-head > a {
  flex-shrink: 0;
}
.mkt-section-head p {
  margin: 0.8rem 0 0;
}
.mkt-workflow,
.mkt-card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.mkt-workflow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mkt-workflow article {
  padding: 1.35rem 0.75rem 0 0;
  border-top: 2px solid #85ad9f;
}
.mkt-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mkt-card-grid:first-child {
  margin-top: 0;
}
.mkt-card,
.mkt-plan,
.mkt-resource-card {
  padding: clamp(1.25rem, 2.2vw, 2rem);
  border: 1px solid #cad9d1;
  background: white;
  border-radius: 12px;
}
.mkt-card,
.mkt-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mkt-card .mkt-link,
.mkt-plan .mkt-link {
  margin-top: auto;
}
.mkt-cta-wrap {
  padding-top: 0;
}
.mkt-cta {
  background: #193e4b;
  padding: clamp(1.6rem, 3.4vw, 3rem);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}
.mkt-cta h2 {
  color: white;
}
.mkt-cta p {
  color: #deeae7;
  margin: 0.7rem 0 0;
}
.mkt-cta .mkt-button {
  background: #fff;
  color: #164a6a;
  border-color: #fff;
  flex-shrink: 0;
}
.mkt-intro {
  padding: clamp(2.9rem, 6vw, 5.2rem) 0;
}
.mkt-intro p {
  margin: 1.05rem 0 0;
}
.mkt-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 3rem 0;
}
.mkt-feature:first-child {
  padding-top: 0;
}
.mkt-feature + .mkt-feature {
  border-top: 1px solid #cfddd7;
}
.mkt-feature p {
  max-width: 39rem;
}
.mkt-example,
.mkt-screenshot {
  min-width: 0;
  margin: 0;
  border: 1px solid #c4d4cd;
  border-radius: 12px;
  background: white;
  overflow: hidden;
}
.mkt-example figcaption {
  background: #e8f2ea;
  color: #214650;
  font-size: 0.93rem;
}
.mkt-fields {
  margin: 0;
  padding: 0.35rem 1.2rem;
}
.mkt-fields > div {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
}
.mkt-fields > div + div {
  border-top: 1px solid #e1e8e3;
}
.mkt-fields dt,
.mkt-table caption {
  color: #526874;
  font-size: 0.85rem;
}
.mkt-fields dd {
  color: #193946;
  font-weight: 590;
  margin: 0;
}
.mkt-table-scroll {
  overflow-x: auto;
  padding: 0.8rem 1.2rem 1.2rem;
}
.mkt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.mkt-table caption {
  text-align: left;
  padding: 0.4rem 0 1rem;
}
.mkt-table td,
.mkt-table th {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid #dce5df;
}
.mkt-table thead th {
  font-size: 0.78rem;
  color: #526874;
}
.mkt-table tbody th,
.mkt-table tbody td {
  font-size: 0.87rem;
}
.mkt-note {
  padding: 0.8rem 1.2rem;
  border-top: 1px solid #dce5df;
}
.mkt-note summary {
  cursor: pointer;
  color: #194faa;
  font-weight: 620;
}
.mkt-doc {
  background: #f2f5f1;
  padding: 1.2rem;
}
.mkt-sheet {
  margin: auto;
  padding: 1.15rem;
  max-width: 240px;
  background: white;
  color: #214452;
  border: 1px solid #d6dfd8;
  box-shadow: 0 2px 5px #dce4df;
}
.mkt-sheet span,
.mkt-sheet strong,
.mkt-sheet small {
  display: block;
}
.mkt-sheet span {
  font-size: 0.7rem;
  font-weight: bold;
  color: #205ab7;
  margin-bottom: 0.6rem;
}
.mkt-sheet small,
.mkt-sheet p,
.mkt-sheet b {
  font-size: 0.78rem;
}
.mkt-sheet hr {
  border: 0;
  border-top: 1px solid #dae1df;
  margin: 0.75rem 0;
}
.mkt-doc-link {
  margin: 0.25rem 1.2rem;
}
.mkt-stepnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.mkt-stepnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #cbd8d1;
  border-radius: 6px;
  background: white;
  padding: 0.5rem 0.8rem;
  color: #284951;
  text-decoration: none;
}
.mkt-stepnav a[aria-current="step"],
.mkt-stepnav a:hover {
  color: #103a85;
  background: #e8f0fe;
  border-color: #9cb9ea;
}
.mkt-tour-step {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #f4f7f2;
  border: 1px solid #d6e1db;
  border-radius: 16px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 1rem;
}
.mkt-tour-step[hidden] {
  display: none;
}
.mkt-step-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}
.mkt-plan h2,
.mkt-resource-card h2 {
  font-size: 1.55rem;
}
.mkt-plan strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  color: #193e4b;
  line-height: 1.16;
}
.mkt-plan strong small {
  font-size: 0.95rem;
  letter-spacing: 0;
  color: #415e66;
  font-weight: 480;
}
.mkt-practice {
  background: #eaf3ed;
  border-color: #91b4a4;
}
.mkt-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.6fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  margin-top: 2rem;
  background: #f4f6f2;
  border-radius: 12px;
}
.mkt-calculator h2 {
  font-size: 1.6rem;
}
.mkt-calculator label,
.mkt-calculator span {
  display: block;
  margin-bottom: 0.35rem;
  color: #385664;
}
.mkt-calculator input {
  display: block;
  width: 100%;
  border: 1px solid #9baea6;
  border-radius: 6px;
  padding: 0.65rem;
  font: inherit;
}
.mkt-calculator output {
  font-size: 1.8rem;
  font-weight: 650;
  color: #133c49;
  overflow-wrap: anywhere;
}
.mkt-guide-preview {
  margin: -1rem -0.65rem 1.5rem;
}
.mkt-guide-preview .mkt-example {
  font-size: 0.86rem;
}
.mkt-resource-card {
  display: flex;
  flex-direction: column;
}
.mkt-resource-card > .mkt-link {
  margin-top: auto;
}
.mkt-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 3rem;
  align-items: start;
}
.mkt-guide ol {
  margin: 0 0 1rem;
  padding-left: 1.65rem;
}
.mkt-guide li {
  padding: 0.2rem 0 1.25rem 0.4rem;
  color: #2c5762;
}
.mkt-guide h2,
.mkt-prose h2 {
  font-size: 1.55rem;
}
.mkt-guide p,
.mkt-prose p {
  font-size: 1.05rem;
}
.mkt-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
.mkt-screenshot figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.86rem;
  background: #e8f2ea;
  color: #385664;
}
.mkt-prose {
  max-width: 48rem;
}
.mkt-prose h2:not(:first-child) {
  margin-top: 2.2rem;
}
@media (max-width: 900px) {
  .mkt-hero-grid {
    gap: 1.7rem;
  }
  .mkt-hero h1 {
    font-size: clamp(2.55rem, 5.4vw, 4rem);
  }
  .mkt-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mkt-card-grid {
    gap: 0.75rem;
  }
  .mkt-guide,
  .mkt-feature {
    gap: 1.75rem;
  }
}
@media (max-width: 720px) {
  .mkt-hero-grid,
  .mkt-feature,
  .mkt-guide,
  .mkt-tour-step,
  .mkt-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mkt-hero h1 {
    font-size: clamp(2.55rem, 8.7vw, 3.65rem);
  }
  .mkt-section-head,
  .mkt-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .mkt-atlas {
    max-width: 40rem;
  }
  .mkt-hero {
    padding: 2.65rem 0;
  }
  .mkt-calculator {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.35rem;
  }
  .mkt-calculator > div:first-child {
    grid-column: 1 / -1;
  }
  .mkt-step-actions {
    justify-content: space-between;
  }
  .mkt-intro h1 {
    overflow-wrap: break-word;
  }
}
@media (max-width: 420px) {
  .mkt-readings > div {
    padding: 0.75rem 0.65rem;
  }
  .mkt-workflow {
    grid-template-columns: minmax(0, 1fr);
  }
  .mkt-table-scroll {
    padding: 0.5rem;
  }
  .mkt-table td,
  .mkt-table th {
    padding: 0.6rem 0.18rem;
  }
}
.workspace-preview {
  background: #fff;
  border: 1px solid #c9d8d7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 38px #16404a12;
}
.workspace-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #143d4a;
  color: white;
  font-weight: 700;
  padding: 1.2rem 1.5rem;
}
.workspace-preview a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid #dce5e4;
  text-decoration: none;
  color: #16394a;
}
.workspace-preview a:hover {
  background: #edf5fa;
}
.workspace-preview strong,
.workspace-preview small {
  display: block;
}
.workspace-preview strong {
  font-size: 1.3rem;
}
.workspace-preview small {
  margin-top: 0.3rem;
  color: #41616a;
  font-size: 0.92rem;
}
.visit-controls,
.price-grid {
  display: grid;
  gap: 0.75rem;
}
.visit-controls {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 0.8rem 0.8rem;
}
.visit-controls button {
  padding: 0.75rem 0.25rem;
  background: white;
  border: 1px solid #a9bbb9;
  color: #163d4a;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}
.visit-controls button[aria-pressed="true"] {
  background: #e8f1ff;
  border: 2px solid #1758b7;
}
.visit-controls span {
  display: block;
  font-size: 0.8rem;
}
.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem;
  border: 1px solid #cbd8dc;
  border-radius: 12px;
  background: #fff;
}
.price-card h3,
.price-card p {
  margin: 0;
}
.price-card strong {
  font-size: 2.25rem;
  color: #163846;
  letter-spacing: -0.04em;
}
.price-card small {
  font-size: 0.9rem;
  letter-spacing: 0;
}
.price-card ul {
  padding: 0;
  list-style: none;
  margin: 0 0 1rem;
}
.price-card li {
  display: flex;
  gap: 0.5rem;
  margin: 0.65rem 0;
  font-size: 0.91rem;
}
.price-card li::before {
  content: "✓";
  color: #1d7168;
}
.price-card .mkt-button {
  margin-top: auto;
  font-size: 0.86rem;
  text-align: center;
  justify-content: center;
}
.price-featured {
  border: 2px solid #1758b7;
  background: #f4f8ff;
}
@media (max-width: 1000px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

[data-visit-viewer] .visit-controls {
  padding: 1rem 1rem 0;
}
.visit-record {
  padding: 1rem;
}
.visit-record > h3,
.visit-record > p {
  margin: 0 0 0 0.75rem;
}
.visit-record > p {
  font-size: 0.92rem;
}
