:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --steel: #1f5f8b;
  --steel-dark: #17486a;
  --green: #2f7d5c;
  --gold: #b58a55;
  --charcoal: #0b1118;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  --mono:
    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
    monospace;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--charcoal);
  border-radius: var(--radius);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--steel);
}

.nav-products {
  position: relative;
}

.nav-products-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.nav-products-toggle:hover,
.nav-products-toggle[aria-current="page"],
.nav-products.is-open .nav-products-toggle {
  color: var(--steel);
}

.nav-products-toggle span {
  transition: transform 160ms ease;
}

.nav-products.is-open .nav-products-toggle span {
  transform: rotate(180deg);
}

.nav-products-menu {
  position: absolute;
  top: calc(100% + 17px);
  left: 50%;
  display: none;
  width: 310px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.nav-products.is-open .nav-products-menu {
  display: grid;
}

.nav-products-menu a {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 8px;
}

.nav-products-menu a:hover,
.nav-products-menu a:focus-visible {
  color: var(--ink);
  background: var(--soft);
  outline: none;
}

.nav-products-menu strong {
  font-size: 0.92rem;
}

.nav-products-menu span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(34px, 4vw, 56px) clamp(20px, 5vw, 72px)
    clamp(28px, 3.5vw, 44px);
  background:
    linear-gradient(
      90deg,
      rgba(245, 247, 250, 0.94),
      rgba(255, 255, 255, 0.72)
    ),
    repeating-linear-gradient(
      0deg,
      rgba(31, 95, 139, 0.08) 0 1px,
      transparent 1px 42px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(31, 95, 139, 0.08) 0 1px,
      transparent 1px 42px
    );
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
  font-weight: 780;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.22rem;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.3rem, 3.9vw, 3.8rem);
}

.hero-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--steel);
  border-color: var(--steel);
}

.button.primary:hover {
  background: var(--steel-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
}

.button.secondary:hover {
  border-color: var(--steel);
}

.hero-visual-stack {
  display: grid;
  gap: 18px;
}

.hero-image,
.case-image,
.visual-tile img,
.profile-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-image {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bridge-panel {
  padding: clamp(18px, 2vw, 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.flow {
  display: grid;
  gap: 8px;
}

.flow-item {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) minmax(0, 1.25fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.flow-item strong {
  line-height: 1.35;
}

.flow-item span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.flow-arrow {
  justify-self: center;
  color: var(--steel);
  font-weight: 900;
  line-height: 0.7;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  padding: 24px clamp(14px, 3vw, 28px);
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--charcoal);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.page-hero,
.split-section,
.cta-band,
.article-shell,
.blog-grid {
  padding: clamp(42px, 5vw, 68px) clamp(20px, 5vw, 72px);
}

.page-hero {
  background: var(--soft);
}

.page-hero.compact {
  padding-top: clamp(32px, 3.5vw, 48px);
  padding-bottom: clamp(24px, 2.75vw, 34px);
}

.about-hero {
  padding-top: clamp(32px, 3.5vw, 48px);
}

.about-hero h1 {
  max-width: 960px;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
}

.page-hero p,
.section-lead {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero > p:not(.eyebrow) {
  margin: 14px 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 640px;
  color: var(--muted);
}

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

.card,
.post-card,
.case-card,
.service-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.04);
}

.card,
.post-card,
.case-card {
  padding: 24px;
}

.card p,
.case-card p,
.post-card p,
.service-row p {
  color: var(--muted);
}

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

.audience-card {
  min-height: 320px;
  padding: 30px;
  color: #fff;
  background: var(--charcoal);
  background-position: center;
  background-size: cover;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.audience-card-startup {
  background-image:
    linear-gradient(90deg, rgba(11, 17, 24, 0.88), rgba(11, 17, 24, 0.38)),
    url("/res/img/startup-product-planning.webp");
}

.audience-card-manufacturing {
  background-image:
    linear-gradient(90deg, rgba(11, 17, 24, 0.88), rgba(22, 50, 71, 0.42)),
    url("/res/img/manufacturing-analytics.webp");
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: auto -25% -42% 30%;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(-8deg);
}

.audience-card-startup::after,
.audience-card-manufacturing::after {
  display: none;
}

.audience-card h3,
.audience-card p {
  position: relative;
  z-index: 1;
  color: #fff;
}

.audience-card p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.visual-section {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: 0;
}

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

.visual-tile {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.04);
}

.visual-tile img {
  aspect-ratio: 4 / 3;
}

.visual-tile figcaption {
  padding: 12px 14px 14px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(18px, 2vw, 24px);
}

.service-row .eyebrow {
  margin-bottom: 8px;
}

.service-row h2 {
  max-width: 440px;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.12;
}

.service-row > p {
  max-width: 760px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.recommended-reading {
  padding-top: clamp(28px, 4vw, 48px);
  background: var(--soft);
}

.recommended-reading h2 {
  max-width: 720px;
}

.reading-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.reading-list a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reading-list span {
  font-weight: 850;
}

.reading-list small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.profile-intro {
  display: grid;
  gap: 22px;
}

.profile-photo {
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-profile {
  align-items: center;
}

.about-copy {
  max-width: 820px;
}

.profile-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.linkedin-button {
  padding-inline: 14px;
}

.linkedin-icon {
  display: block;
  width: auto;
  height: 22px;
}

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

.credential-item {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.credential-item p {
  margin: 0;
  color: var(--muted);
}

.about-faq {
  background: var(--soft);
}

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

.faq-item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.04);
}

.faq-item h3 {
  font-size: 1.04rem;
  line-height: 1.3;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.case-card {
  overflow: hidden;
  padding: 20px;
}

.case-image {
  aspect-ratio: 16 / 9;
  margin: -20px -20px 16px;
  width: calc(100% + 40px);
}

.case-card .eyebrow {
  margin-bottom: 8px;
}

.case-card h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1.12;
}

.case-card > p:last-child {
  margin: 12px 0 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.check-list {
  padding-left: 20px;
  color: var(--muted);
}

.check-list li {
  margin-bottom: 10px;
}

.cta-band {
  color: #fff;
  background: var(--charcoal);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band a:not(.button) {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.medium-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 17, 24, 0.94), rgba(31, 95, 139, 0.86)),
    url("/res/img/ai-workflow-architecture.webp") center / cover;
  color: #fff;
}

.medium-panel h2,
.medium-panel p {
  color: #fff;
}

.medium-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.external-writing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.medium-panel .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.medium-panel .button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.56);
}

.medium-articles {
  display: grid;
  gap: 12px;
}

.medium-articles a {
  padding: 16px 18px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.medium-articles span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.medium-articles a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.post-card h2 {
  font-size: 1.35rem;
}

.post-card h2 a {
  text-decoration: none;
}

.post-card time,
.post-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.post-meta span {
  padding: 4px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 640px of text at 1.125rem lands near 68 characters per line. */
.article-shell {
  max-width: 784px;
  margin: 0 auto;
}

.article-body {
  max-width: none;
}

.article-body h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  scroll-margin-top: 96px;
}

.article-body h3 {
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  font-size: 1.3rem;
  scroll-margin-top: 96px;
}

.article-body p,
.article-body li {
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-body li + li {
  margin-top: 0.5em;
}

.article-body > p:first-child {
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.6;
}

.article-body a:not(.series-link, .button) {
  color: var(--steel);
  text-decoration: underline;
  text-decoration-color: rgba(31, 95, 139, 0.35);
  text-underline-offset: 3px;
}

.article-body a:not(.series-link, .button):hover {
  text-decoration-color: var(--steel);
}

.article-body p.button-row {
  margin: 8px 0 30px;
}

.article-body table {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 34px 0 42px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-spacing: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.article-body thead {
  background: var(--charcoal);
}

.article-body th,
.article-body td {
  min-width: 170px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-body td {
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.6;
}

.article-body th:first-child,
.article-body td:first-child {
  min-width: 130px;
  font-weight: 700;
}

.article-body th:last-child,
.article-body td:last-child {
  border-right: 0;
}

.article-body tbody tr:nth-child(even) td {
  background: var(--soft);
}

.article-body tbody tr:last-child td {
  border-bottom: 0;
}

.article-body tbody tr:hover td {
  background: #eaf3f8;
}

.article-body blockquote {
  position: relative;
  margin: 42px 0;
  padding: 28px 0 28px 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.article-body blockquote::before {
  position: absolute;
  top: 20px;
  left: 0;
  color: var(--gold);
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.7rem;
  line-height: 0.8;
}

.article-body blockquote p {
  margin: 0;
  color: #243142;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.72rem);
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .article-body table {
    margin: 28px 0 34px;
  }

  .article-body th,
  .article-body td {
    min-width: 190px;
    padding: 14px 16px;
  }

  .article-body blockquote {
    padding-left: 38px;
  }

  .article-body blockquote::before {
    font-size: 3.8rem;
  }
}

.post-read-time {
  font-variant-numeric: tabular-nums;
}

.series-strip {
  margin-bottom: 40px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.series-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.series-strip-name {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.series-strip-count {
  color: var(--muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.series-progress {
  display: block;
  height: 4px;
  margin: 12px 0 16px;
  border-radius: 999px;
  background: var(--line);
}

.series-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--steel);
}

.series-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}

.series-link {
  flex: 1 1 220px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.series-link.next {
  text-align: right;
}

.series-link:hover {
  color: var(--steel);
}

.series-link-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.post-toc {
  margin: 24px 0 40px;
  padding: 20px 24px;
  border-left: 3px solid var(--steel);
  background: var(--soft);
  border-radius: 0 8px 8px 0;
}

.post-toc-title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.post-toc li {
  counter-increment: toc;
  margin: 0 0 6px;
}

.post-toc li:last-child {
  margin-bottom: 0;
}

.post-toc a {
  color: var(--ink);
  font-size: 0.98rem;
  text-decoration: none;
}

.post-toc a::before {
  margin-right: 10px;
  color: var(--muted);
  content: counter(toc) ".";
  font-variant-numeric: tabular-nums;
}

.post-toc a:hover {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Code blocks scroll inside their own box. Without overflow-x the default
   white-space: pre lets long lines force the whole page wider than the
   viewport, which breaks the layout on phones. */
.article-body pre {
  max-width: 100%;
  margin: 30px 0 34px;
  padding: 20px 22px;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--charcoal);
  color: #e6edf3;
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.7;
  tab-size: 2;
}

.article-body pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.article-body :not(pre) > code {
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: rgba(31, 95, 139, 0.1);
  color: #14395a;
  font-family: var(--mono);
  font-size: 0.88em;
  overflow-wrap: break-word;
}

.article-figure {
  margin: 36px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Let figures, tables, and code breathe past the narrow text measure. Declared
   last so these widths win over the element rules above at equal specificity. */
@media (min-width: 900px) {
  .article-body > figure,
  .article-body > table,
  .article-body > pre {
    width: calc(100% + 120px);
    max-width: none;
    margin-right: -60px;
    margin-left: -60px;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #52616f;
  font-size: 0.95rem;
}

.form-status[data-state="success"] {
  color: #0f7a4f;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="pending"] {
  color: #5b6170;
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.calendly-followup {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid #cfe2f0;
  border-radius: var(--radius);
}

.calendly-followup h2 {
  font-size: 1.05rem;
}

.calendly-followup p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.calendly-embed-target {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.calendly-embed-target.is-unavailable {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.calendly-followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendly-followup-actions .button {
  min-height: 44px;
}

body.has-calendly-modal {
  overflow: hidden;
}

.calendly-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(11, 17, 24, 0.62);
}

.calendly-modal-card {
  display: grid;
  gap: 14px;
  width: min(1040px, 100%);
  max-height: min(900px, calc(100vh - 34px));
  overflow: auto;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(11, 17, 24, 0.32);
}

.calendly-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calendly-modal-header h2 {
  font-size: 1.45rem;
}

.calendly-modal-card p {
  color: var(--muted);
}

.calendly-modal-card .calendly-embed-target {
  min-height: min(700px, calc(100vh - 250px));
}

.calendly-modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.calendly-modal-card .button {
  justify-self: start;
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--charcoal);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.resume-page-shell {
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px);
  background: #eef2f6;
}

.resume-download-bar {
  position: sticky;
  top: 76px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.08);
}

.resume-download-bar h1 {
  font-size: 1.35rem;
}

.resume-download-bar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.resume-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resume-download-actions button {
  cursor: pointer;
}

.resume-document {
  display: grid;
  gap: 24px;
  justify-items: center;
  overflow-x: auto;
}

.resume-sheet {
  width: 210mm;
  min-height: 297mm;
  padding: 13.8mm 15mm;
  color: #404246;
  background: #fff;
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.14);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11.1pt;
  line-height: 1.22;
}

.resume-sheet-content {
  width: 100%;
}

.resume-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 29mm;
  gap: 20mm;
  align-items: start;
  margin-bottom: 13mm;
}

.resume-name {
  margin: 0 0 1.5mm;
  color: #303034;
  font-size: 27pt;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.resume-title {
  margin: 0 0 4mm;
  color: #00b8cd;
  font-size: 14.5pt;
  line-height: 1.16;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2mm 5mm;
  color: #4e5054;
  font-size: 10.2pt;
}

.resume-contact a {
  color: inherit;
  text-decoration: none;
}

.resume-contact span::before,
.resume-date::before,
.resume-location::before {
  display: inline-block;
  width: 3.2mm;
  margin-right: 1mm;
  color: #9aa0a6;
  font-weight: 800;
  text-align: center;
}

.resume-contact span:nth-child(1)::before {
  content: "T";
}

.resume-contact span:nth-child(2)::before {
  content: "@";
}

.resume-contact span:nth-child(3)::before {
  content: "L";
}

.resume-contact span:nth-child(4)::before {
  content: "W";
}

.resume-contact span:nth-child(5)::before,
.resume-location::before {
  content: "P";
}

.resume-date::before {
  content: "D";
}

.resume-photo {
  width: 29mm;
  height: 29mm;
  border-radius: 50%;
  object-fit: cover;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: 13mm;
  row-gap: 0;
  align-items: start;
}

.resume-grid-first {
  row-gap: 0;
}

.resume-section {
  margin-bottom: 7mm;
  break-inside: avoid;
}

.resume-section h2 {
  margin: 0 0 4mm;
  padding-bottom: 1.1mm;
  color: #6a6f74;
  border-bottom: 1.4pt solid #a8adb2;
  font-size: 11.8pt;
  font-weight: 500;
  line-height: 1.1;
}

.resume-summary p {
  margin: 0 0 4.2mm;
}

.resume-item {
  margin-bottom: 6.8mm;
  break-inside: avoid;
}

.resume-item h3,
.resume-achievement h3,
.resume-education-item h3 {
  margin: 0 0 1.4mm;
  color: #34363a;
  font-size: 15pt;
  font-weight: 400;
  line-height: 1.08;
}

.resume-company,
.resume-education-item h3 {
  margin: 0;
  color: #00b8cd;
}

.resume-role-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8mm;
  align-items: start;
}

.resume-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5mm;
  color: #63686d;
  font-size: 10.2pt;
  white-space: normal;
}

.resume-item ul {
  margin: 1.2mm 0 0;
  padding-left: 4.7mm;
}

.resume-item li {
  margin: 0 0 0.7mm;
  color: #414348;
}

.resume-project-copy {
  margin: 0 0 1mm;
}

.resume-achievement {
  display: grid;
  grid-template-columns: 13mm minmax(0, 1fr);
  gap: 4.5mm;
  align-items: start;
  margin-bottom: 6.6mm;
  break-inside: avoid;
}

.resume-achievement-icon {
  display: grid;
  width: 11mm;
  height: 11mm;
  place-items: center;
  color: #00b8cd;
  background: #f0f1f2;
  border-radius: 50%;
  font-size: 16pt;
  line-height: 1;
}

.resume-achievement p,
.resume-education-item p {
  margin: 0;
}

.resume-education-item {
  margin-bottom: 5mm;
  break-inside: avoid;
}

.resume-education-item h3 {
  font-size: 12.5pt;
  font-weight: 400;
  line-height: 1.16;
}

.resume-awards .resume-achievement {
  grid-template-columns: 9.5mm minmax(0, 1fr);
  gap: 3.8mm;
  align-items: center;
  margin-bottom: 4.2mm;
}

.resume-awards .resume-achievement-icon {
  width: 8.5mm;
  height: 8.5mm;
  font-size: 12pt;
}

.resume-awards .resume-achievement h3 {
  margin: 0;
  max-width: 58mm;
  font-size: 11.6pt;
  font-weight: 400;
  line-height: 1.2;
}

.chatbot-shell {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chatbot-launcher {
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.chatbot-panel {
  display: grid;
  width: min(420px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 96px));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(11, 17, 24, 0.22);
}

.chatbot-panel.is-expanded {
  width: min(720px, calc(100vw - 32px));
  max-height: min(85vh, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
}

.chatbot-panel.is-expanded .chatbot-messages {
  flex: 1;
  max-height: none;
}

.chatbot-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.chatbot-header-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.chatbot-header h2 {
  font-size: 1.25rem;
}

.chatbot-expand {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.chatbot-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.chatbot-topics {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.chatbot-qualifiers {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.chatbot-qualifiers p {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 800;
}

.chatbot-qualifiers button {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: left;
  background: #eef6fb;
  border: 1px solid #cfe2f0;
  border-radius: var(--radius);
  cursor: pointer;
}

.chatbot-topics button {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--steel);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  background: #eef6fb;
  border: 1px solid #cfe2f0;
  border-radius: var(--radius);
  cursor: pointer;
}

.chatbot-identity {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.chatbot-identity label {
  font-size: 0.88rem;
}

.chatbot-identity .button {
  width: 100%;
}

.chatbot-turnstile {
  min-height: 65px;
  overflow: hidden;
}

.chatbot-error {
  margin: 0;
  color: #9c2f24;
  font-size: 0.88rem;
  font-weight: 700;
}

.chatbot-note {
  margin: 0;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 500;
}

.chatbot-messages {
  display: grid;
  gap: 12px;
  min-height: 190px;
  max-height: 300px;
  overflow-y: auto;
  padding: 18px;
  background: var(--soft);
}

.chatbot-message {
  max-width: 86%;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chatbot-message.user {
  justify-self: end;
  color: #fff;
  background: var(--steel);
  border-color: var(--steel);
}

.chatbot-message p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chatbot-message a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.chatbot-message .button {
  width: 100%;
  margin-top: 10px;
}

.chatbot-message .button.secondary {
  color: var(--steel);
  background: #fff;
}

/* Product pages */
.product-page {
  --product-bg: #fff;
  --product-surface: #f5f7fa;
  --product-ink: #111827;
  --product-muted: #5b6472;
  --product-accent: #1f5f8b;
  --product-action: #1f5f8b;
  color: var(--product-ink);
  background: var(--product-bg);
}

.product-page--switchboard {
  --product-bg: #101a24;
  --product-surface: #182735;
  --product-ink: #edf7ff;
  --product-muted: #abc2d1;
  --product-accent: #68d7ff;
  --product-action: #f4b942;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.product-page--harbor {
  --product-bg: #f4f8fa;
  --product-surface: #e4f2f1;
  --product-ink: #143449;
  --product-muted: #456574;
  --product-accent: #087f8c;
  --product-action: #087f8c;
}

.product-page h1,
.product-page h2,
.product-page h3 {
  color: var(--product-ink);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: 680px;
  padding: clamp(68px, 8vw, 120px) clamp(20px, 6vw, 96px);
  overflow: hidden;
}

.product-page--switchboard .product-hero {
  background:
    linear-gradient(90deg, rgba(16, 26, 36, 0.98), rgba(16, 26, 36, 0.72)),
    repeating-linear-gradient(
      90deg,
      rgba(104, 215, 255, 0.08) 0 1px,
      transparent 1px 62px
    );
}

.product-page--harbor .product-hero {
  position: relative;
  min-height: 720px;
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(8, 127, 140, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at 12% 22%,
      rgba(112, 174, 180, 0.2),
      transparent 28%
    ),
    linear-gradient(135deg, #f7fbfc 0%, #e4f2f1 100%);
}

.product-pilot-badge {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(20px, 4vw, 48px);
  z-index: 2;
  margin: 0;
  padding: 10px 16px;
  color: #f5f0ff;
  background: linear-gradient(135deg, #5b2fd6 0%, #7c4dff 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(91, 47, 214, 0.28);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.product-kicker .product-pilot-badge,
.product-section-heading .product-pilot-badge {
  position: static;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 10px;
  padding: 4px 12px;
  box-shadow: none;
  font-size: 0.66rem;
}

.product-kicker {
  margin: 0 0 12px;
  color: var(--product-accent);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-hero h1 {
  max-width: 790px;
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.product-hero h1 span {
  color: var(--product-accent);
}

.product-page--harbor .product-hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.9rem);
  line-height: 0.98;
}

.product-page--harbor .product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.product-page--harbor .product-facts li {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--product-ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid color-mix(in srgb, var(--product-accent) 18%, #fff);
  border-radius: 999px;
}

.product-page--harbor .product-facts li::before {
  content: none;
}

.product-lede,
.product-tagline {
  max-width: 660px;
  color: var(--product-muted);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

.product-tagline {
  margin: 22px 0 0;
  color: var(--product-accent);
  font-weight: 800;
}

.product-lede {
  margin: 18px 0 0;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.context-harbor-launchstag-badge {
  display: block;
  width: fit-content;
  margin-top: 18px;
  line-height: 0;
}

.context-harbor-launchstag-badge img {
  display: block;
  width: 198px;
  max-width: 100%;
  height: auto;
}

.product-page .button.primary {
  color: #101a24;
  background: var(--product-action);
  border-color: var(--product-action);
}

.product-page--harbor .button.primary {
  color: #fff;
}

.product-page .button.secondary {
  color: var(--product-ink);
  background: transparent;
  border-color: color-mix(in srgb, var(--product-ink) 32%, transparent);
}

.product-page .button:hover {
  filter: brightness(0.94);
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 30px 0 0;
  color: var(--product-muted);
  list-style: none;
}

.product-facts li::before {
  color: var(--product-accent);
  content: "●";
  margin-right: 8px;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0 0;
  color: var(--product-muted);
}

.product-pricing span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-pricing strong {
  color: var(--product-ink);
  font-size: 1.1rem;
}

.product-figure {
  margin: 0;
}

.product-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.product-figure video {
  display: block;
  width: 100%;
  height: auto;
}

.product-figure figcaption {
  margin-top: 10px;
  color: var(--product-muted);
  font-size: 0.86rem;
}

.product-setup-shot {
  margin-top: 28px;
  padding: 10px;
  background: #0c1822;
  border: 1px solid rgba(112, 174, 180, 0.32);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(12, 29, 40, 0.16);
}

.product-setup-shot img {
  border-radius: 8px;
  max-height: 760px;
  object-fit: contain;
  object-position: top;
}

.product-setup-shot figcaption {
  margin: 12px 4px 4px;
  color: #9fb9c2;
}

.product-hero-media {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--product-accent) 40%, transparent);
  border-radius: 18px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: rotate(1.5deg);
}

.product-hero-media--dashboard {
  background: #fff;
  transform: rotate(-1deg);
}

.product-hero-media--portal {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(9, 23, 34, 0.98), rgba(16, 37, 52, 0.98)),
    #08131c;
  border-color: rgba(104, 215, 255, 0.24);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(20, 52, 73, 0.28);
  transform: none;
}

.product-hero-media--banner {
  padding: 0;
  overflow: hidden;
  background: #08131c;
  border-color: rgba(104, 215, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(20, 52, 73, 0.28);
  transform: none;
}

.product-hero-media--banner .product-figure {
  margin: 0;
}

.product-hero-media--banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.portal-shell {
  display: grid;
  gap: 16px;
}

.portal-shell-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 6px 0;
  color: #d8e7ed;
}

.portal-shell-header strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.portal-shell-header span {
  color: #70aeb4;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-shell-image {
  margin: 0;
  padding: 10px;
  background: #0d1a26;
  border: 1px solid rgba(104, 215, 255, 0.16);
  border-radius: 20px;
}

.portal-shell-image img {
  border-radius: 12px;
}

.portal-shell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-shell-tile {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(13, 26, 38, 0.92);
  border: 1px solid rgba(112, 174, 180, 0.22);
  border-radius: 16px;
}

.portal-shell-tile span {
  color: #70aeb4;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-shell-tile strong {
  color: #edf7ff;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 650;
}

.product-section {
  padding: clamp(70px, 9vw, 132px) clamp(20px, 8vw, 130px);
}

.product-section:nth-child(odd) {
  background: var(--product-surface);
}

.product-section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.product-section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.04em;
}

.product-section-heading > p:last-child:not(.product-kicker) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--product-muted);
  font-size: 1.08rem;
}

.product-perfect-for {
  display: grid;
  gap: 22px;
  padding-block: clamp(42px, 6vw, 72px);
}

.product-perfect-for h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.04em;
}

.perfect-for-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perfect-for-strip li {
  padding: 10px 16px;
  color: var(--product-ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid color-mix(in srgb, var(--product-accent) 22%, #fff);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.switch-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
  margin: 0 0 48px;
  list-style: none;
}

.switch-route li {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px;
  background: color-mix(in srgb, var(--product-surface) 85%, #fff);
  border-top: 2px solid var(--product-accent);
}

.switch-route li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -11px;
  z-index: 1;
  color: var(--product-accent);
  content: "→";
}

.switch-route span {
  color: var(--product-accent);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 56px;
}

.product-feature-grid--roadmap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-feature-grid--roadmap .context-harbor-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-feature-grid--roadmap .product-pilot-badge {
  position: static;
  display: inline-flex;
  margin-bottom: 24px;
}

.product-feature-grid--roadmap .context-harbor-card p {
  margin-top: 20px;
}

.product-feature {
  min-height: 190px;
  padding: clamp(24px, 3vw, 38px);
  background: color-mix(in srgb, var(--product-bg) 86%, #fff);
  border: 1px solid color-mix(in srgb, var(--product-accent) 20%, transparent);
  border-radius: 14px;
}

.product-page--harbor .product-feature-grid {
  counter-reset: harbor-features;
  gap: 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.product-page--harbor .product-feature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  align-content: start;
  min-height: 178px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(228, 242, 241, 0.78)
    ),
    var(--product-surface);
  border: 1px solid rgba(8, 127, 140, 0.2);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(20, 52, 73, 0.08);
  counter-increment: harbor-features;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-page--harbor .product-feature:nth-child(2n) {
  background:
    linear-gradient(
      135deg,
      rgba(244, 248, 250, 0.98),
      rgba(218, 239, 239, 0.82)
    ),
    var(--product-surface);
}

.product-page--harbor .product-feature::before {
  content: "0" counter(harbor-features);
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #f4f8fa;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(145deg, #087f8c, #143449);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(8, 127, 140, 0.22);
}

.product-page--harbor .product-feature::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 4px;
  background: linear-gradient(90deg, #70aeb4, #087f8c);
  border-radius: 0 20px 0 999px;
}

.product-page--harbor .product-feature h3 {
  align-self: center;
  margin: 4px 0 12px;
  color: #143449;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  font-weight: 780;
  letter-spacing: -0.025em;
}

.product-page--harbor .product-feature p {
  margin: 0;
  color: #456574;
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (hover: hover) {
  .product-page--harbor .product-feature:hover {
    border-color: rgba(8, 127, 140, 0.42);
    box-shadow: 0 22px 52px rgba(20, 52, 73, 0.13);
    transform: translateY(-3px);
  }
}

.product-feature p,
.boundary-grid p,
.promise-grid p,
.deployment-flow span,
.engagement-steps p {
  color: var(--product-muted);
}

.product-figure--diagram,
.product-figure--signature {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 24px);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--product-accent) 25%, transparent);
  border-radius: 18px;
}

.context-harbor-layer-grid,
.context-harbor-question-grid,
.developer-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 28px 0;
}

.context-harbor-layer-grid article,
.developer-workflow-grid article {
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--product-accent) 22%, transparent);
  border-radius: 18px;
}

.context-harbor-layer-grid article > span,
.developer-workflow-grid article > span {
  color: var(--product-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.context-harbor-layer-grid h3,
.developer-workflow-grid h3 {
  margin: 10px 0 8px;
}

.context-harbor-layer-grid a,
.developer-workflow-grid a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--product-accent);
  font-weight: 800;
}

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

.context-harbor-question-grid blockquote {
  margin: 0 0 14px;
  color: var(--product-ink);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  font-weight: 750;
  line-height: 1.4;
}

.use-case-audience--primary {
  background: color-mix(in srgb, var(--product-accent) 5%, #fff);
  border: 1px solid color-mix(in srgb, var(--product-accent) 18%, transparent);
  border-radius: 24px;
}

.developer-question-grid {
  margin-bottom: 34px;
}

.product-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  margin-bottom: 48px;
}

.product-media-grid .product-figure {
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 55px rgba(12, 29, 40, 0.14);
}

.product-media-grid img {
  max-height: 680px;
  object-fit: contain;
  object-position: top;
}

.product-gallery {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(10px, 2vw, 18px);
  background: #0c1822;
  border: 1px solid rgba(112, 174, 180, 0.35);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(12, 29, 40, 0.22);
}

.product-gallery-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071018;
  border-radius: 16px;
}

.product-gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4%);
  transition:
    opacity 360ms ease,
    transform 420ms ease;
}

.product-gallery-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.product-gallery-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.product-gallery-open:focus-visible {
  outline: 3px solid #68d7ff;
  outline-offset: -5px;
}

.product-gallery-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery-expand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(7, 16, 24, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.product-gallery-slide-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-gallery-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 88px;
  padding: 15px 4px 0;
}

.product-gallery-caption {
  margin: 0;
  color: #d8e7ed;
  line-height: 1.55;
}

.product-gallery-controls,
.product-gallery-dots {
  display: flex;
  gap: 9px;
  align-items: center;
}

.product-gallery-controls > button,
.product-gallery-dots button,
.product-gallery-dialog button {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  color: #edf7ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
}

.product-gallery-controls > button:hover,
.product-gallery-dialog button:hover {
  background: rgba(112, 174, 180, 0.3);
}

.product-gallery-controls button:focus-visible,
.product-gallery-dialog button:focus-visible {
  outline: 3px solid #68d7ff;
  outline-offset: 2px;
}

.product-gallery-dots button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
}

.product-gallery-dots button::before {
  width: 10px;
  height: 10px;
  content: "";
  background: rgba(216, 231, 237, 0.4);
  border-radius: 999px;
}

.product-gallery-dots button.is-active::before {
  background: #68d7ff;
  box-shadow: 0 0 0 4px rgba(104, 215, 255, 0.15);
}

.product-gallery-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 0;
  margin: 0;
  color: #edf7ff;
  background: rgba(3, 9, 14, 0.98);
  border: 0;
}

.product-gallery-dialog::backdrop {
  background: rgba(3, 9, 14, 0.96);
}

.product-gallery-dialog-content {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(58px, 7vw, 82px) clamp(56px, 7vw, 96px) clamp(24px, 4vw, 44px);
}

.product-gallery-dialog-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.product-gallery-dialog-caption {
  max-width: 900px;
  margin: 18px auto 0;
  color: #d8e7ed;
  text-align: center;
  line-height: 1.5;
}

.product-gallery-dialog-close,
.product-gallery-dialog-previous,
.product-gallery-dialog-next {
  position: absolute;
  z-index: 2;
}

.product-gallery-dialog-close {
  top: 16px;
  right: 18px;
  font-size: 1.65rem;
}

.product-gallery-dialog-previous {
  top: 50%;
  left: 14px;
}

.product-gallery-dialog-next {
  top: 50%;
  right: 14px;
}

body.has-product-gallery-dialog {
  overflow: hidden;
}

.boundary-grid,
.deployment-flow,
.engagement-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.boundary-grid p,
.deployment-flow > div,
.engagement-steps p {
  margin: 0;
  padding: 24px;
  background: color-mix(in srgb, var(--product-bg) 86%, #fff);
  border-left: 3px solid var(--product-accent);
}

.boundary-grid strong,
.deployment-flow strong,
.engagement-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--product-ink);
}

.product-quickstart pre {
  max-width: 980px;
  padding: 28px;
  margin: 0;
  overflow-x: auto;
  color: #dff7ff;
  background: #080f16;
  border: 1px solid #34566b;
  border-radius: 12px;
}

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

.promise-grid article {
  padding: clamp(26px, 3vw, 42px);
  background: #fff;
  border-radius: 14px;
}

.promise-grid article > span {
  display: block;
  margin-bottom: 16px;
  color: var(--product-accent);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.deployment-flow > div {
  display: grid;
}

.product-pricing--large {
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--product-accent) 30%, transparent);
  border-bottom: 1px solid
    color-mix(in srgb, var(--product-accent) 30%, transparent);
}

.product-pricing--large strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.product-final-cta {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 10vw, 160px);
  text-align: center;
}

.product-page--switchboard .product-final-cta {
  background: #080f16;
}

.product-page--harbor .product-final-cta {
  color: #f4f8fa;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(8, 127, 140, 0.22),
      transparent 24%
    ),
    linear-gradient(135deg, #143449, #0f2230);
}

.product-page--harbor .product-final-cta h2 {
  color: #f4f8fa;
}

.product-page--harbor .product-final-cta .button.secondary {
  color: #f4f8fa;
  border-color: rgba(244, 248, 250, 0.58);
}

.product-page--harbor .product-final-cta .button.secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.82);
}

.product-final-cta h2,
.product-final-cta > p {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.product-final-cta > p:not(.product-kicker) {
  color: var(--product-muted);
}

.product-page--harbor .product-final-cta > p:not(.product-kicker) {
  color: #d3e7e8;
}

.product-final-cta .product-actions,
.product-final-cta > .button {
  justify-content: center;
}

.context-harbor-subnav {
  position: sticky;
  top: 12px;
  z-index: 15;
  padding: 14px clamp(20px, 6vw, 96px);
  background: rgba(244, 248, 250, 0.96);
  border-bottom: 1px solid rgba(8, 127, 140, 0.16);
}

.context-harbor-subnav-inner {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

.context-harbor-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  color: var(--product-ink);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
}

.context-harbor-brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.context-harbor-brand:hover {
  color: var(--product-accent);
}

.context-harbor-brand:focus-visible {
  outline-offset: 4px;
}

.context-harbor-subnav-track {
  display: flex;
  gap: 8px;
  row-gap: 6px;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  overflow: visible;
}

.context-harbor-subnav-toggle {
  display: none;
}

.context-harbor-subnav-backdrop {
  display: none;
}

.context-harbor-subnav-brand {
  display: none;
}

.context-harbor-subnav a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 11px 14px;
  color: var(--product-muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
}

.context-harbor-subnav-group {
  position: relative;
  flex: 0 0 auto;
}

.context-harbor-subnav-group summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  color: var(--product-muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.context-harbor-subnav-group summary::-webkit-details-marker {
  display: none;
}

.context-harbor-subnav-group summary:hover,
.context-harbor-subnav-group summary[aria-current="true"],
.context-harbor-subnav-group[open] summary {
  color: var(--product-ink);
  background: #fff;
  border-color: rgba(8, 127, 140, 0.22);
}

.context-harbor-subnav-group summary span {
  transition: transform 160ms ease;
}

.context-harbor-subnav-group[open] summary span {
  transform: rotate(180deg);
}

.context-harbor-subnav-group > div {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 250px;
  gap: 4px;
  padding: 8px;
  background: rgba(247, 251, 252, 0.99);
  border: 1px solid rgba(8, 127, 140, 0.22);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(20, 52, 73, 0.18);
}

.context-harbor-subnav-group > div a {
  width: 100%;
  border-radius: 10px;
}

.context-harbor-subnav a:not(.context-harbor-brand):hover,
.context-harbor-subnav a:not(.context-harbor-brand)[aria-current="page"] {
  color: var(--product-ink);
  background: #fff;
  border-color: rgba(8, 127, 140, 0.22);
}

.context-harbor-subnav .button {
  margin-left: auto;
}

@media (max-width: 980px) {
  .context-harbor-layer-grid,
  .developer-workflow-grid {
    grid-template-columns: 1fr;
  }

  .context-harbor-question-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-how-it-works .product-figure--signature {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .product-how-it-works .product-figure--signature img {
    min-width: 720px;
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  color: #fff;
  background: var(--product-ink, #143449);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid #087f8c;
  outline-offset: 3px;
}

.product-page--harbor > *,
.context-harbor-detail-page > *,
.product-section > *,
.context-harbor-card,
.context-harbor-detail-hero > * {
  min-width: 0;
}

.product-section pre {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.product-section pre code {
  display: block;
  width: max-content;
  min-width: 100%;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.legal-hero,
.legal-body {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

.legal-hero {
  padding: clamp(72px, 9vw, 120px) 0 28px;
}

.legal-hero .wrap,
.legal-body,
.site-footer .wrap {
  max-width: none;
  padding: 0;
}

.legal-hero h1 {
  margin: 8px 0 12px;
  color: var(--product-ink);
  font-size: clamp(2.7rem, 7vw, 5rem);
  letter-spacing: -0.05em;
}

.legal-hero .eyebrow,
.legal-hero .updated {
  color: var(--product-accent);
}

.legal-body {
  padding-bottom: clamp(72px, 9vw, 120px);
  color: var(--product-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-body h2 {
  margin-top: 2.3em;
  color: var(--product-ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.roadmap-status-board {
  position: relative;
  width: min(100% - 40px, 1320px);
  margin: clamp(40px, 7vw, 88px) auto;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 86% 10%,
      rgba(104, 215, 255, 0.2),
      transparent 28%
    ),
    linear-gradient(145deg, #0e293b, #143f4a 56%, #0b2639);
  border: 1px solid rgba(104, 215, 255, 0.2);
  border-radius: clamp(24px, 4vw, 42px);
  box-shadow: 0 32px 90px rgba(20, 52, 73, 0.2);
}

.roadmap-page > .product-hero {
  min-height: min(620px, calc(100vh - 120px));
}

.roadmap-status-board > header {
  max-width: 820px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.roadmap-status-board h2,
.roadmap-status-board header > p:last-child {
  color: #f5fbfc;
}

.roadmap-status-board h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: -0.045em;
}

.roadmap-status-board header > p:last-child {
  max-width: 680px;
  margin: 0;
  color: #c9dce2;
  font-size: 1.05rem;
}

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

.roadmap-status-grid article {
  display: flex;
  min-width: 0;
  min-height: 280px;
  flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
}

.roadmap-status-grid article > span {
  width: fit-content;
  padding: 6px 11px;
  color: #062630;
  background: #8de2dc;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-status-grid article[data-roadmap-status="next"] > span {
  background: #f3c969;
}

.roadmap-status-grid article[data-roadmap-status="later"] > span {
  background: #c9d5ff;
}

.roadmap-status-grid h3 {
  margin: 24px 0 12px;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.roadmap-status-grid p {
  margin: 0 0 24px;
  color: #c9dce2;
  line-height: 1.65;
}

.roadmap-status-grid a {
  min-height: 44px;
  margin-top: auto;
  color: #8de2dc;
  font-weight: 750;
  text-underline-offset: 4px;
}

.roadmap-details {
  width: min(100% - 40px, 1320px);
  margin: 18px auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(20, 52, 73, 0.08);
}

.roadmap-details > summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  color: var(--product-ink);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.roadmap-details > summary::-webkit-details-marker {
  display: none;
}

.roadmap-details > summary::after {
  content: "+";
  color: var(--product-accent);
  font-size: 1.7rem;
  font-weight: 500;
}

.roadmap-details[open] > summary::after {
  content: "−";
}

.roadmap-details > .product-section {
  padding-top: 26px;
}

.context-harbor-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.72fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  min-height: 620px;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 8vw, 130px);
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(8, 127, 140, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 12% 10%,
      rgba(112, 174, 180, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, #f8fbfc, #e8f3f3);
}

.context-harbor-detail-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.context-harbor-detail-hero-copy > p:not(.product-kicker) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--product-muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.context-harbor-detail-summary {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(28px, 4vw, 52px);
  text-align: center;
  background: #102f42;
  border: 1px solid rgba(8, 127, 140, 0.4);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(20, 52, 73, 0.2);
}

.context-harbor-detail-summary span {
  color: #77c4ca;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.context-harbor-detail-summary strong {
  color: #f4f8fa;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.context-harbor-flow-step {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.context-harbor-flow-icon {
  width: clamp(46px, 4vw, 60px);
  height: clamp(46px, 4vw, 60px);
  color: #77c4ca;
}

.context-harbor-detail-summary i {
  color: #77c4ca;
  font-size: 1.4rem;
  font-style: normal;
}

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

.context-harbor-card {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3.4vw, 44px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(20, 52, 73, 0.06);
}

.context-harbor-card::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 3px;
  background: linear-gradient(90deg, #087f8c, #77c4ca);
  border-radius: 0 0 8px 8px;
  content: "";
}

.context-comparison {
  margin-top: clamp(28px, 4vw, 48px);
}

.context-comparison-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 4px 12px;
  color: #527080;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.context-comparison-positions {
  display: flex;
  gap: 7px;
}

.context-comparison-positions button {
  width: 32px;
  height: 28px;
  padding: 0;
  color: #527080;
  font: inherit;
  letter-spacing: 0;
  background: #e9f2f4;
  border: 1px solid rgba(8, 127, 140, 0.2);
  border-radius: 5px;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.context-comparison-positions button:hover,
.context-comparison-positions button.is-active {
  color: #fff;
  background: #087f8c;
  transform: translateY(-2px);
}

.context-comparison-card {
  min-height: 0;
  padding-block: clamp(20px, 2vw, 28px);
}

.context-comparison-card > span {
  display: block;
  margin-bottom: 12px;
}

.context-comparison-card--harbor::after {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: rgba(8, 127, 140, 0.16);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  content: "SOURCE VERIFIED";
}

.context-comparison-panels {
  display: grid;
  perspective: 900px;
}

.context-comparison-panel {
  grid-area: 1 / 1;
  align-self: start;
  visibility: hidden;
  opacity: 0;
  transform: rotateX(-24deg) translateY(10px);
  transform-origin: top center;
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 360ms step-end;
}

.context-comparison-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: rotateX(0) translateY(0);
  transition-delay: 80ms;
}

.context-comparison-panel blockquote {
  position: relative;
}

.context-comparison-panel blockquote::after {
  position: absolute;
  right: 0;
  bottom: -14px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(8, 127, 140, 0.2), transparent);
  content: "";
}

@media (prefers-reduced-motion: reduce) {
  .context-comparison-panel,
  .context-comparison-positions button {
    transition: none;
  }
}

.context-harbor-card-icon {
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  padding: 10px;
  margin-bottom: 22px;
  color: var(--product-accent);
  background: #e9f5f5;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 15px;
}

.context-harbor-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
}

.context-harbor-card p {
  margin: 14px 0 0;
  color: var(--product-muted);
  line-height: 1.7;
}

.context-harbor-card ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--product-muted);
}

.context-harbor-steps {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: context-harbor-step;
}

.context-harbor-steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(8, 127, 140, 0.2);
}

.context-harbor-steps li:last-child {
  border-bottom: 1px solid rgba(8, 127, 140, 0.2);
}

.context-harbor-step-number {
  color: var(--product-accent);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.context-harbor-steps h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  letter-spacing: -0.025em;
}

.context-harbor-steps p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--product-muted);
  line-height: 1.7;
}

.context-harbor-example {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
}

.context-harbor-example blockquote {
  margin: 0;
  color: var(--product-ink);
  font-size: clamp(1.8rem, 3.7vw, 3.7rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.context-harbor-example h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.04em;
}

.context-harbor-example p:not(.product-kicker) {
  color: var(--product-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.context-harbor-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.context-harbor-demo-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8, 127, 140, 0.2);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(20, 52, 73, 0.08);
}

.context-harbor-demo-poster {
  display: grid;
  align-content: space-between;
  aspect-ratio: 16 / 9;
  padding: 24px;
  color: #d9f0f1;
  background:
    linear-gradient(rgba(8, 127, 140, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 140, 0.2) 1px, transparent 1px),
    linear-gradient(135deg, #102f42, #0a1822);
  background-size:
    32px 32px,
    32px 32px,
    auto;
}

.context-harbor-demo-poster span {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.context-harbor-demo-poster strong {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

.context-harbor-demo-copy {
  padding: 26px;
}

.context-harbor-demo-copy h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.context-harbor-demo-copy > p:not(.product-kicker) {
  margin: 12px 0 0;
  color: var(--product-muted);
  line-height: 1.65;
}

.context-harbor-demo-status {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 10px;
  color: var(--product-accent);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #e9f5f5;
  border-radius: 999px;
  text-transform: uppercase;
}

.context-harbor-disclaimer {
  max-width: 900px;
  margin: 28px 0 0;
  padding: 18px 22px;
  color: var(--product-muted);
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.68);
  border-left: 3px solid var(--product-accent);
}

.context-harbor-shared-cta {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 10vw, 160px);
  color: #f4f8fa;
  text-align: center;
  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(8, 127, 140, 0.28),
      transparent 24%
    ),
    linear-gradient(135deg, #143449, #0f2230);
}

.context-harbor-shared-cta h2 {
  max-width: 900px;
  margin: 0 auto;
  color: #f4f8fa;
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.05em;
}

.context-harbor-shared-cta > p:not(.product-kicker) {
  max-width: 760px;
  margin: 20px auto 0;
  color: #d3e7e8;
  line-height: 1.7;
}

.context-harbor-shared-cta .product-actions {
  justify-content: center;
}

.context-harbor-shared-cta .button.secondary {
  color: #f4f8fa;
  border-color: rgba(244, 248, 250, 0.5);
}

.context-harbor-shared-cta .context-harbor-pricing-note {
  margin-top: 28px;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-media,
  .nav-products-toggle span,
  .context-harbor-subnav a,
  .context-harbor-demo-card {
    transition: none;
    transform: none;
  }
}

.chatbot-message.rich {
  padding: 14px 14px 10px;
}

.chatbot-rich-intro {
  margin: 0 0 10px 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chatbot-rich-closing {
  margin: 10px 0 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chatbot-cards {
  display: grid;
  gap: 6px;
}

.chatbot-card {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 10px;
}

.chatbot-card-label {
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  margin-top: 2px;
}

.chatbot-card-label[data-color="0"] {
  background: #e8f0fe;
  color: #1a56db;
}

.chatbot-card-label[data-color="1"] {
  background: #e6f4ea;
  color: #1a7a34;
}

.chatbot-card-label[data-color="2"] {
  background: #fef3e2;
  color: #a05c07;
}

.chatbot-card-label[data-color="3"] {
  background: #f3e8ff;
  color: #6b21a8;
}

.chatbot-card-label[data-color="4"] {
  background: #fce7f3;
  color: #9d174d;
}

.chatbot-card-label[data-color="5"] {
  background: #e0f2fe;
  color: #075985;
}

.chatbot-card-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
}

.chatbot-calendly {
  display: grid;
  gap: 10px;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.chatbot-calendly .calendly-embed-target {
  min-height: 520px;
  border: 0;
}

.chatbot-calendly .button {
  width: 100%;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}

.chatbot-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.chatbot-form textarea {
  min-height: 46px;
  max-height: 110px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  resize: vertical;
}

.chatbot-form textarea::placeholder {
  color: #9aa4b2;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 1;
}

.chatbot-shortcut-hint {
  margin: 6px 0 0;
  color: #87909d;
  font-size: 0.72rem;
  font-weight: 450;
  line-height: 1.35;
}

.chatbot-form .button {
  min-height: 46px;
  width: 100%;
}

.chatbot-form .button:disabled,
.chatbot-identity .button:disabled,
.chatbot-topics button:disabled,
.chatbot-qualifiers button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

@media (max-width: 980px) {
  .hero,
  .product-hero,
  .split-section,
  .contact-layout,
  .medium-panel,
  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .metrics,
  .card-grid,
  .blog-grid,
  .visual-grid,
  .reading-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero {
    min-height: auto;
  }

  .product-pilot-badge {
    position: static;
    justify-self: start;
    margin-bottom: 8px;
    white-space: normal;
  }

  .product-hero-media {
    max-width: 820px;
    transform: none;
  }

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

  .product-page--harbor .product-facts,
  .portal-shell-grid {
    grid-template-columns: 1fr;
  }

  .context-harbor-detail-hero,
  .context-harbor-example {
    grid-template-columns: 1fr;
  }

  .context-harbor-detail-summary {
    max-width: 620px;
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-products-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-products-menu {
    position: static;
    width: 100%;
    padding: 6px 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p,
  li,
  a {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .metric strong {
    font-size: 1.8rem;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-arrow {
    transform: none;
  }

  .flow-item {
    display: block;
  }

  .flow-item strong {
    display: block;
    margin-bottom: 4px;
  }

  .hero-image,
  .case-image {
    max-height: 220px;
    object-position: center;
  }

  .visual-tile img {
    max-height: 200px;
  }

  img:not([class*="logo"]):not([class*="icon"]):not([class*="avatar"]) {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .product-page .product-figure img {
    max-height: none;
    object-fit: contain;
  }

  .card img,
  [class*="card"] img {
    max-height: 160px;
    object-fit: cover;
  }

  .metrics,
  .card-grid,
  .audience-grid,
  .blog-grid,
  .visual-grid,
  .credential-grid,
  .faq-grid,
  .reading-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .switch-route,
  .product-feature-grid,
  .product-media-grid,
  .boundary-grid,
  .deployment-flow,
  .engagement-steps {
    grid-template-columns: 1fr;
  }

  .switch-route li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -18px;
    transform: rotate(90deg);
  }

  .product-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .product-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .product-page--harbor .product-facts {
    grid-template-columns: 1fr;
  }

  .context-harbor-subnav {
    top: 0;
    height: 72px;
    padding: 0;
    pointer-events: none;
    background: transparent;
    border: 0;
  }

  .context-harbor-subnav-inner {
    display: block;
    max-width: none;
    margin: 0;
  }

  .context-harbor-brand {
    position: absolute;
    top: 10px;
    left: 16px;
    z-index: 18;
    width: auto;
    min-height: 52px;
    gap: 9px;
    padding: 8px 14px 8px 10px;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(8, 127, 140, 0.22);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(20, 52, 73, 0.16);
  }

  .context-harbor-brand img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .context-harbor-brand span {
    font-size: 0.95rem;
  }

  .context-harbor-subnav.is-open .context-harbor-brand {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .context-harbor-subnav-toggle {
    display: flex;
    position: absolute;
    top: 10px;
    right: 16px;
    z-index: 18;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--product-ink);
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 127, 140, 0.22);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(20, 52, 73, 0.16);
    cursor: pointer;
  }

  .context-harbor-subnav-current {
    display: none;
  }

  .context-harbor-subnav-toggle-lines {
    display: grid;
    width: 22px;
    gap: 5px;
  }

  .context-harbor-subnav-toggle-lines i {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .context-harbor-subnav.is-open .context-harbor-subnav-toggle-lines i:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .context-harbor-subnav.is-open .context-harbor-subnav-toggle-lines i:nth-child(2) {
    opacity: 0;
  }

  .context-harbor-subnav.is-open .context-harbor-subnav-toggle-lines i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .context-harbor-subnav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 16;
    display: block;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
    background: rgba(15, 34, 48, 0.46);
    border: 0;
    opacity: 0;
    transition:
      opacity 200ms ease,
      visibility 200ms step-end;
  }

  .context-harbor-subnav-track {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 17;
    display: grid;
    width: min(86vw, 340px);
    gap: 6px;
    align-content: start;
    max-height: none;
    padding: 20px 18px 24px;
    pointer-events: auto;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    background:
      radial-gradient(circle at 12% 4%, rgba(55, 187, 194, 0.2), transparent 30%),
      linear-gradient(165deg, #ffffff 0%, #f4fafb 46%, #edf6f7 100%);
    border: 1px solid rgba(8, 127, 140, 0.22);
    border-radius: 24px 0 0 24px;
    box-shadow: -20px 0 56px rgba(20, 52, 73, 0.24);
    opacity: 0;
    transform: translateX(100%);
    transition:
      opacity 200ms ease,
      transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 240ms step-end;
  }

  .context-harbor-subnav-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 52px 16px 0;
    padding: 12px;
    color: var(--product-ink);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(8, 127, 140, 0.14);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(20, 52, 73, 0.09);
  }

  .context-harbor-subnav-brand img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(8, 127, 140, 0.2);
  }

  .context-harbor-subnav-brand > span {
    display: grid;
    gap: 1px;
    min-width: 0;
  }

  .context-harbor-subnav-brand small {
    color: var(--product-accent);
    font-family: var(--mono);
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .context-harbor-subnav-brand strong {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .context-harbor-subnav-brand-page {
    overflow: hidden;
    color: var(--product-muted);
    font-size: 0.72rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .context-harbor-subnav-group,
  .context-harbor-subnav-group summary,
  .context-harbor-subnav-group > div {
    position: static;
    width: 100%;
  }

  .context-harbor-subnav-group summary {
    justify-content: space-between;
    border-radius: 12px;
  }

  .context-harbor-subnav-group > div {
    min-width: 0;
    margin-top: 4px;
    padding: 4px 8px 8px 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .context-harbor-subnav.is-open .context-harbor-subnav-track {
    display: grid;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0ms;
  }

  .context-harbor-subnav.is-open .context-harbor-subnav-backdrop {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition-delay: 0ms;
  }

  .context-harbor-subnav a:not(.context-harbor-brand) {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .context-harbor-subnav a:not(.button):hover,
  .context-harbor-subnav a:not(.button)[aria-current="page"] {
    color: var(--product-ink);
    background: rgba(8, 127, 140, 0.09);
    border-color: rgba(8, 127, 140, 0.13);
  }

  .context-harbor-subnav a:not(.button)[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--product-accent);
  }

  .context-harbor-subnav .button {
    margin-left: 0;
    margin-top: auto;
    justify-content: center;
  }

  body.has-context-harbor-navigation {
    overflow: hidden;
  }

  .roadmap-status-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-status-grid article {
    min-height: 0;
  }

  .context-harbor-detail-hero {
    min-height: auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .context-harbor-detail-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .context-harbor-card-grid,
  .context-harbor-demo-grid {
    grid-template-columns: 1fr;
  }

  .context-harbor-steps li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .product-gallery {
    padding: 8px;
    border-radius: 16px;
  }

  .product-gallery-viewport {
    border-radius: 10px;
  }

  .product-gallery-open img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .product-gallery-expand {
    right: 8px;
    bottom: 8px;
    font-size: 0.58rem;
  }

  .product-gallery-details {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 138px;
    padding: 14px 6px 72px;
  }

  .product-gallery-controls {
    justify-content: space-between;
  }

  .product-gallery-dialog-content {
    padding: 62px 48px 24px;
  }

  .product-gallery-dialog-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 190px);
    object-fit: contain;
  }

  .section-heading,
  .site-footer {
    display: block;
  }

  .footer-links {
    margin-top: 20px;
  }

  .chatbot-shell {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .chatbot-panel,
  .chatbot-launcher {
    width: 100%;
  }

  .chatbot-panel.is-expanded {
    width: 100%;
  }

  .chatbot-expand {
    display: none;
  }

  .chatbot-form {
    grid-template-columns: 1fr;
  }

  .resume-download-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .resume-sheet {
    width: 210mm;
    min-width: 210mm;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery-slide {
    transition: none;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  p,
  li {
    font-size: 0.85rem;
  }

  img:not([class*="logo"]):not([class*="icon"]) {
    max-height: 160px;
  }

  .product-gallery-open img {
    height: 100%;
    max-height: none;
  }

  .product-gallery-dialog-image {
    width: auto;
    height: auto;
    max-height: calc(100vh - 190px);
  }
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  html,
  body {
    width: 210mm;
    background: #fff;
  }

  .site-header,
  .site-footer,
  .resume-download-bar,
  .chatbot-shell {
    display: none !important;
  }

  main,
  .resume-page-shell,
  .resume-document {
    display: block;
    width: 210mm;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: #fff;
  }

  .resume-sheet {
    width: 210mm;
    height: 297mm;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    padding: 12mm 13mm;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }

  .resume-sheet-content {
    width: 113.7%;
    transform: scale(0.88);
    transform-origin: top left;
  }

  .resume-sheet:first-child .resume-sheet-content {
    width: 125%;
    transform: scale(0.8);
  }

  .resume-sheet:last-child .resume-sheet-content {
    width: 142.9%;
    transform: scale(0.7);
  }

  .resume-sheet:last-child {
    page-break-after: auto;
    break-after: auto;
  }
}

.chatbot-back {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
}
.chatbot-back:hover {
  background: var(--soft);
}

.chatbot-qualifier-divider {
  text-align: center;
  color: var(--steel);
  font-size: 0.82rem;
  margin: 12px 0 6px;
}

.comparison-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}
.comparison-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  font-size: 0.88rem;
}
.comparison-row:has(> :nth-child(3)) {
  grid-template-columns:
    minmax(140px, 0.7fr) minmax(0, 1fr)
    minmax(0, 1fr);
}
.comparison-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.comparison-row code {
  white-space: normal;
  word-break: break-word;
}
.comparison-row:last-child {
  border-bottom: none;
}
.comparison-header {
  background: var(--soft);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.comparison-highlight {
  color: var(--accent, #2563eb);
}
@media (max-width: 720px) {
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .comparison-header span:first-child {
    display: none;
  }
}

.use-cases-hero {
  grid-template-columns: minmax(0, 760px);
  min-height: 440px;
}

.use-case-source-panel > span,
.use-case-question-panel > span {
  color: #77c4ca;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.use-case-audience {
  scroll-margin-top: 88px;
}

.use-case-knowledge-map {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(30px, 5vw, 58px);
}

.use-case-source-panel,
.use-case-question-panel {
  min-width: 0;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 22px;
}

.use-case-source-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 127, 140, 0.18);
  box-shadow: 0 16px 40px rgba(20, 52, 73, 0.06);
}

.use-case-question-panel {
  color: #f4f8fa;
  background: linear-gradient(145deg, #143449, #0f2939);
  box-shadow: 0 20px 48px rgba(20, 52, 73, 0.16);
}

.use-case-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.use-case-source-list li {
  padding: 9px 13px;
  color: var(--product-ink);
  font-size: 0.88rem;
  font-weight: 700;
  background: #e9f5f5;
  border: 1px solid rgba(8, 127, 140, 0.14);
  border-radius: 999px;
}

.use-case-question-panel blockquote {
  margin: 28px 0 36px;
  color: #f4f8fa;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 780;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.use-case-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: #b9dcde;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.use-case-flow span {
  color: #77c4ca;
}

@media (max-width: 760px) {
  .use-cases-hero,
  .use-case-knowledge-map {
    grid-template-columns: 1fr;
  }

  .use-cases-hero {
    min-height: auto;
  }
}

.security-deployment-hero {
  min-height: 560px;
}

.security-boundary-summary {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: clamp(30px, 5vw, 56px);
  color: #f4f8fa;
  text-align: center;
  background: #102f42;
  border: 1px solid rgba(119, 196, 202, 0.28);
  border-radius: 26px;
  box-shadow: 0 28px 64px rgba(20, 52, 73, 0.18);
}

.security-boundary-summary span,
.security-responsibility-grid article > span {
  color: #77c4ca;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.security-boundary-summary strong {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
}

.security-boundary-summary i {
  color: #77c4ca;
  font-size: 1.15rem;
  font-style: normal;
}

.security-boundary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-boundary-grid .context-harbor-card {
  display: flex;
  flex-direction: column;
}

.security-boundary-grid .context-harbor-card h3 {
  margin-top: 18px;
}

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

.security-responsibility-grid article {
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(20, 52, 73, 0.06);
}

.security-responsibility-grid h3 {
  margin: 18px 0;
}

.security-responsibility-grid ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 0;
  color: var(--product-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .security-boundary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .security-deployment-hero,
  .security-responsibility-grid {
    grid-template-columns: 1fr;
  }

  .security-deployment-hero {
    min-height: auto;
  }
}

/* Compact responsive system for every ContextHarbor screen. */
.product-page--harbor {
  --harbor-content-max: 1180px;
  --harbor-gutter: clamp(20px, 5vw, 64px);
  --harbor-display-size: clamp(2.75rem, 4.5vw, 3.75rem);
  --harbor-section-size: clamp(2rem, 3.2vw, 2.75rem);
  --harbor-section-space: clamp(56px, 6vw, 80px);
  --harbor-card-space: clamp(22px, 2.5vw, 32px);
  font-size: 1rem;
}

.product-page--harbor :where(h1, h2, h3) {
  font-weight: 760;
}

.product-page--harbor .product-hero h1,
.product-page--harbor .context-harbor-detail-hero h1,
.legal-hero h1 {
  max-width: 760px;
  font-size: var(--harbor-display-size, clamp(2.75rem, 4.5vw, 3.75rem));
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.product-page--harbor .product-section-heading h2,
.product-page--harbor .context-harbor-shared-cta h2,
.product-page--harbor .product-final-cta h2,
.legal-body h2 {
  font-size: var(--harbor-section-size, clamp(2rem, 3.2vw, 2.75rem));
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.product-page--harbor .product-hero,
.product-page--harbor .context-harbor-detail-hero {
  min-height: 480px;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(52px, 6vw, 76px);
  padding-inline: max(
    var(--harbor-gutter),
    calc((100% - var(--harbor-content-max)) / 2)
  );
}

.product-page--harbor > .product-hero {
  min-height: 520px;
}

.product-page--harbor .product-section {
  padding-block: var(--harbor-section-space);
  padding-inline: max(
    var(--harbor-gutter),
    calc((100% - var(--harbor-content-max)) / 2)
  );
}

.product-page--harbor .product-section-heading {
  max-width: 780px;
  margin-bottom: clamp(26px, 3vw, 34px);
}

.product-page--harbor
  .product-section-heading
  > p:last-child:not(.product-kicker),
.product-page--harbor .context-harbor-detail-hero-copy > p:not(.product-kicker),
.product-page--harbor .product-lede,
.product-page--harbor .product-tagline {
  max-width: 680px;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.62;
}

.product-page--harbor .context-harbor-card,
.product-page--harbor .product-feature,
.product-page--harbor .security-responsibility-grid article,
.product-page--harbor .use-case-source-panel,
.product-page--harbor .use-case-question-panel {
  padding: var(--harbor-card-space);
  border-radius: 18px;
}

.product-page--harbor :where(.context-harbor-card, .product-feature) h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.2;
}

.product-page--harbor :where(.context-harbor-card, .product-feature) p {
  font-size: 0.96rem;
  line-height: 1.58;
}

.product-page--harbor :where(.context-harbor-shared-cta, .product-final-cta) {
  padding-block: clamp(60px, 7vw, 88px);
  padding-inline: max(
    var(--harbor-gutter),
    calc((100% - var(--harbor-content-max)) / 2)
  );
}

.product-page--harbor .button {
  min-height: 44px;
  padding: 11px 17px;
  font-size: 0.92rem;
}

.product-page--harbor .product-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
}

.product-page--harbor .context-harbor-subnav-track {
  max-width: var(--harbor-content-max);
}

@media (min-width: 761px) and (max-width: 1100px) {
  .product-page--harbor {
    --harbor-gutter: 32px;
    --harbor-display-size: clamp(2.6rem, 5.4vw, 3.4rem);
    --harbor-section-size: clamp(1.9rem, 4vw, 2.5rem);
    --harbor-section-space: 64px;
  }

  .product-page--harbor
    :where(
      .context-harbor-card-grid,
      .product-feature-grid,
      .security-boundary-grid
    ) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-page--harbor {
    --harbor-gutter: 20px;
    --harbor-display-size-mobile: clamp(2.25rem, 10vw, 2.75rem);
    --harbor-display-size: var(--harbor-display-size-mobile);
    --harbor-section-size: clamp(1.75rem, 8vw, 2.1rem);
    --harbor-section-space: 48px;
    --harbor-card-space: 22px;
  }

  .product-page--harbor :where(.product-hero, .context-harbor-detail-hero) {
    min-height: auto;
    gap: 28px;
    padding-block: 44px;
    padding-inline: var(--harbor-gutter);
  }

  .product-page--harbor > .product-hero {
    min-height: auto;
  }

  .product-page--harbor
    :where(
      .context-harbor-card-grid,
      .product-feature-grid,
      .security-boundary-grid,
      .security-responsibility-grid,
      .use-case-knowledge-map
    ) {
    grid-template-columns: 1fr;
  }

  .product-page--harbor .product-section-heading {
    margin-bottom: 24px;
  }

  .product-page--harbor :where(.context-harbor-shared-cta, .product-final-cta) {
    padding-block: 54px;
    padding-inline: var(--harbor-gutter);
  }

  .legal-hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
    line-height: 1.05;
  }

  .legal-body h2 {
    font-size: clamp(1.6rem, 7vw, 1.95rem);
  }
}

/* A bounded, illustrative project-context workflow in the overview hero. */
.harbor-compose {
  min-width: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #c8dcdf;
  border-radius: 22px;
  background: #f8fbfc;
  box-shadow: 0 24px 64px -32px rgba(20, 52, 73, 0.3);
  color: #143449;
}
.harbor-compose-heading,
.harbor-compose-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.harbor-compose-brand {
  font-weight: 750;
}
.harbor-compose-label,
.harbor-compose-project,
.harbor-compose-caption,
.harbor-compose-toolbar,
.harbor-compose-status,
.harbor-compose-disclaimer {
  font-size: 12px;
  line-height: 1.6;
}
.harbor-compose-label {
  color: #456574;
}
.harbor-compose-project {
  margin: 24px 0 12px;
  letter-spacing: 0.1em;
  color: #456574;
}
.harbor-compose-input {
  padding: 18px;
  border: 1px solid #c8dcdf;
  border-radius: 16px;
  background: white;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.harbor-compose-input:focus-within,
.harbor-compose.is-playing .harbor-compose-input {
  border-color: #087f8c;
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.12);
}
.harbor-compose-caption {
  color: #087f8c;
  font-weight: 700;
}
.harbor-compose-input > p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  margin: 10px 0 20px;
}
.harbor-compose mark {
  background: #e4f2f1;
  color: #143449;
  border-radius: 4px;
  padding: 1px 4px;
}
.harbor-compose-toolbar {
  border-top: 1px solid #e4edef;
  padding-top: 12px;
  color: #456574;
  flex-wrap: wrap;
}
.harbor-compose-toolbar button {
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  background: #087f8c;
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.harbor-compose button:focus-visible,
.harbor-compose summary:focus-visible {
  outline: 3px solid #087f8c;
  outline-offset: 4px;
}
.harbor-compose button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.harbor-compose-status {
  margin: 20px 0 12px;
  color: #456574;
}
.harbor-compose-result {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.harbor-compose.is-playing .harbor-compose-result {
  opacity: 0;
  transform: translateY(6px);
}
.harbor-compose-result > p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 12px;
}
.harbor-compose-result > .harbor-compose-caption {
  font-size: 12px;
}
.harbor-compose-constraint {
  border-left: 2px solid #087f8c;
  padding-left: 12px;
}
.harbor-compose-sources {
  display: grid;
  gap: 8px;
}
.harbor-compose-sources details {
  background: #edf5f5;
  border: 1px solid #d8e7e8;
  border-radius: 8px;
  padding: 10px 12px;
}
.harbor-compose-sources summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}
.harbor-compose-sources details p {
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0 0;
}
.harbor-compose-disclaimer {
  margin: 18px 0 0;
  color: #456574;
  font-size: 11px;
}
@media (prefers-reduced-motion: reduce) {
  .harbor-compose-input,
  .harbor-compose-result {
    transition: none;
  }
}

.harbor-domains-hero { min-height: auto; }
.harbor-domain-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.harbor-domain-nav a {
  padding: 10px 16px; border: 1px solid #b8d3d7; border-radius: 999px;
  background: white; color: #143449; text-decoration: none; font-weight: 650;
}
.harbor-domain-nav a:hover { background: #e4f2f1; border-color: #087f8c; }
.harbor-domain-nav a:focus-visible { outline: 3px solid #087f8c; outline-offset: 3px; }
.harbor-domain {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start; gap: clamp(28px, 6vw, 88px); scroll-margin-top: 110px;
  border-top: 1px solid #d8e7e8;
}
.harbor-domain-copy h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.12; }
.harbor-domain-copy > p:not(.product-kicker) { color: #456574; line-height: 1.7; }
.harbor-domain-note { font-size: 13px; color: #456574; }
@media (max-width: 760px) {
  .harbor-domain { grid-template-columns: minmax(0, 1fr); scroll-margin-top: 88px; }
}

.harbor-demo-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 900px) {
  .harbor-demo-hero { grid-template-columns: minmax(0, 1fr); }
}

/* Keep trial signup short and visible before the process details. */
.trial-request {
  align-items: start;
}
.trial-request h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}
.trial-request .contact-form h2,
.trial-request .contact-form p {
  margin: 0;
}
.trial-request textarea {
  min-height: 80px;
}
.optional-label {
  display: contents;
  font-weight: 400;
}
.trial-next-section {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.trial-next-section > h2 {
  max-width: 680px;
  margin-bottom: 36px;
}
.trial-next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.trial-step {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.trial-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #e9f3f0;
  color: #23594b;
  font-weight: 700;
  font-size: 0.95rem;
}
.trial-step h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.3;
}
.trial-step p {
  margin: 0;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .trial-next-steps {
    grid-template-columns: 1fr;
  }
}
