/* Unified routed product pages. Runtime output is generated into public/scripts/mini/css. */
.product-landing {
  --product-accent: #a8e4c8;
  --product-accent-strong: #45bb88;
  --product-glow: rgb(69 187 136 / 22%);
  background: var(--paper);
  color: var(--ink);
}

.brand {
  position: relative;
}

.brand-context {
  color: var(--mint);
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: .52rem;
  font-weight: 850;
  line-height: 1;
  position: absolute;
  bottom: 1px;
  left: 56px;
}

.product-shortcuts a[aria-current="page"] {
  color: var(--mint);
}

.product-shortcuts a:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.product-hero {
  min-height: 695px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 43%, var(--product-glow), transparent 31%),
    linear-gradient(125deg, #0e1e18 0%, #132820 55%, #0d2119 100%);
  position: relative;
  overflow: hidden;
}

.product-hero-grid {
  opacity: .16;
  background-image:
    linear-gradient(rgb(255 255 255 / 13%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 13%) 1px, transparent 1px);
  background-size: 72px 72px;
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(#000 0%, transparent 95%);
}

.product-hero-inner {
  min-height: 695px;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  align-items: center;
  gap: 70px;
  padding-block: 64px 46px;
  display: grid;
  position: relative;
}

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

.product-hero h1 {
  letter-spacing: -.065em;
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(52px, 5.5vw, 78px);
  font-weight: 600;
  line-height: .98;
  text-wrap: balance;
}

.product-hero h1 > span {
  display: block;
}

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

.product-hero-lead {
  color: rgb(255 255 255 / 70%);
  max-width: 680px;
  margin-top: 30px;
  font-size: clamp(1.04rem, 1.45vw, 1.23rem);
  line-height: 1.62;
}

.product-hero-actions {
  align-items: center;
  gap: 24px;
  margin-top: 38px;
  display: flex;
}

.product-landing .button-primary {
  background: var(--product-accent);
}

.product-flow {
  aspect-ratio: 1;
  justify-self: end;
  width: min(100%, 530px);
  min-height: 0;
  position: relative;
}

.product-flow-orbit {
  border: 1px solid color-mix(in srgb, var(--product-accent) 28%, transparent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-flow-orbit--one {
  width: 290px;
  height: 290px;
}

.product-flow-orbit--two {
  width: 475px;
  height: 475px;
}

.product-flow-core {
  z-index: 3;
  text-align: center;
  background: rgb(19 47 36 / 91%);
  border: 1px solid var(--product-accent);
  border-radius: 50%;
  place-content: center;
  width: 162px;
  height: 162px;
  padding: 22px;
  display: grid;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 20px color-mix(in srgb, var(--product-accent) 7%, transparent), 0 28px 70px rgb(0 0 0 / 34%);
}

.product-flow-core span {
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.05;
}

.product-flow-core small {
  color: var(--product-accent);
  margin-top: 8px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.product-flow-node {
  z-index: 4;
  color: rgb(255 255 255 / 85%);
  background: rgb(12 37 28 / 88%);
  border: 1px solid rgb(255 255 255 / 19%);
  border-radius: 16px;
  align-items: center;
  gap: 10px;
  max-width: 205px;
  min-height: 54px;
  padding: 10px 15px;
  font-size: .76rem;
  font-weight: 720;
  line-height: 1.25;
  display: flex;
  position: absolute;
  box-shadow: 0 18px 40px rgb(0 0 0 / 23%);
}

.product-flow-node span {
  color: var(--product-accent);
  font-size: .65rem;
  font-weight: 900;
}

.product-flow-node--1 { top: 8%; left: 50%; transform: translateX(-50%); }
.product-flow-node--2 { top: 50%; right: -2%; transform: translateY(-50%); }
.product-flow-node--3 { bottom: 8%; left: 50%; transform: translateX(-50%); }
.product-flow-node--4 { top: 50%; left: -2%; transform: translateY(-50%); }

.product-overview {
  background: var(--white);
}

.product-overview-inner {
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
  align-items: center;
  gap: 90px;
  display: grid;
}

.product-overview-mark {
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  width: min(230px, 100%);
  aspect-ratio: 1;
  display: grid;
  position: relative;
}

.product-overview-mark::before,
.product-overview-mark::after {
  content: "";
  border: 1px solid color-mix(in srgb, var(--product-accent-strong) 28%, transparent);
  border-radius: 50%;
  position: absolute;
  inset: 18%;
}

.product-overview-mark::after {
  inset: 35%;
  background: color-mix(in srgb, var(--product-accent) 34%, transparent);
}

.product-overview-mark span {
  z-index: 2;
  color: var(--product-accent-strong);
  font-size: 2.2rem;
  font-weight: 900;
}

.product-overview-mark i {
  background: var(--product-accent-strong);
  border-radius: 50%;
  width: 9px;
  height: 9px;
  position: absolute;
  top: 10%;
  right: 23%;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--product-accent) 28%, transparent);
}

.product-overview h2,
.product-section-heading h2,
.product-closing h2 {
  max-width: 980px;
  margin-top: 22px;
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  font-weight: 600;
  line-height: .98;
  text-wrap: balance;
}

.product-overview-inner > div:last-child > p:last-child {
  color: var(--muted);
  max-width: 820px;
  margin-top: 30px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.product-section-heading {
  margin-bottom: 48px;
}

.product-feature-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}

.product-feature-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 45%);
  min-height: 300px;
  padding: 30px;
  transition: transform .2s, background .2s;
}

.product-feature-card:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.product-feature-card > span {
  color: var(--product-accent-strong);
  font-size: .72rem;
  font-weight: 900;
}

.product-feature-card h3 {
  max-width: 470px;
  margin-top: 70px;
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  font-weight: 620;
  line-height: 1.02;
}

.product-feature-card p {
  color: var(--muted);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.7;
}

.product-closing {
  color: #fff;
  background: #10251d;
  position: relative;
  overflow: hidden;
}

.product-closing-lines {
  border: 1px solid color-mix(in srgb, var(--product-accent) 22%, transparent);
  border-radius: 50%;
  width: 660px;
  height: 660px;
  position: absolute;
  top: -390px;
  right: -160px;
  box-shadow:
    0 0 0 100px color-mix(in srgb, var(--product-accent) 5%, transparent),
    0 0 0 200px color-mix(in srgb, var(--product-accent) 3%, transparent);
}

.product-closing-inner {
  min-height: 440px;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: 90px;
  padding-block: 82px;
  display: grid;
  position: relative;
}

.product-closing .eyebrow {
  color: var(--product-accent);
}

.product-closing-inner > div:last-child > p {
  color: rgb(255 255 255 / 69%);
  font-size: 1.08rem;
  line-height: 1.72;
}

.product-closing .button {
  margin-top: 30px;
}

html[data-theme="dark"] .product-landing {
  background: #081711;
  color: #f4f7f4;
}

html[data-theme="dark"] .product-overview,
html[data-theme="dark"] .product-feature-card {
  background: #10241c;
}

html[data-theme="dark"] .product-features,
html[data-theme="dark"] .product-overview {
  border-color: #345045;
}

html[data-theme="dark"] .product-feature-grid,
html[data-theme="dark"] .product-feature-card,
html[data-theme="dark"] .product-overview-mark {
  border-color: #345045;
}

html[data-theme="dark"] .product-overview-inner > div:last-child > p:last-child,
html[data-theme="dark"] .product-feature-card p {
  color: #b7c7bf;
}

html[data-theme="dark"] .product-feature-card:hover {
  background: #153126;
}

html[data-theme="light"] .product-hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 43%, var(--product-glow), transparent 32%),
    linear-gradient(125deg, #fff 0%, #f4f7f4 58%, #e5f5ed 100%);
}

html[data-theme="light"] .brand-context {
  color: var(--green);
}

html[data-theme="light"] .product-shortcuts a[aria-current="page"] {
  color: var(--forest);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--green-bright);
  text-decoration-thickness: 2px;
  text-underline-offset: .38em;
}

html[data-theme="light"] .product-shortcuts a:hover,
html[data-theme="light"] .product-shortcuts a:focus-visible {
  color: var(--forest);
}

html[data-theme="light"] .product-hero .eyebrow,
html[data-theme="light"] .product-flow-node span {
  color: var(--product-accent-strong);
}

html[data-theme="light"] .product-hero h1 > .product-title-accent {
  color: var(--green);
}

html[data-theme="light"] .product-hero-lead {
  color: #405249;
}

html[data-theme="light"] .product-hero .text-link {
  color: var(--forest);
}

html[data-theme="light"] .product-hero .button-primary {
  color: #fff;
  background: var(--forest);
}

html[data-theme="light"] .product-flow-core,
html[data-theme="light"] .product-flow-node {
  color: var(--ink);
  background: rgb(255 255 255 / 91%);
  border-color: rgb(19 36 30 / 20%);
  box-shadow: 0 18px 40px rgb(13 42 31 / 12%);
}

html[data-theme="light"] .product-flow-core small {
  color: var(--product-accent-strong);
}

html[data-theme="contrast"] .product-landing,
html[data-theme="contrast"] .product-hero,
html[data-theme="contrast"] .product-overview,
html[data-theme="contrast"] .product-features,
html[data-theme="contrast"] .product-feature-card,
html[data-theme="contrast"] .product-closing,
html[data-theme="contrast"] .product-flow-core,
html[data-theme="contrast"] .product-flow-node {
  color: #fff !important;
  background: #000 !important;
}

html[data-theme="contrast"] .product-hero-grid,
html[data-theme="contrast"] .product-closing-lines {
  display: none;
}

html[data-theme="contrast"] .product-flow-orbit,
html[data-theme="contrast"] .product-flow-core,
html[data-theme="contrast"] .product-flow-node,
html[data-theme="contrast"] .product-overview-mark,
html[data-theme="contrast"] .product-feature-grid,
html[data-theme="contrast"] .product-feature-card {
  border-color: #fff !important;
}

html[data-theme="contrast"] .product-hero .eyebrow,
html[data-theme="contrast"] .product-hero h1 > .product-title-accent,
html[data-theme="contrast"] .product-overview .eyebrow,
html[data-theme="contrast"] .product-features .eyebrow,
html[data-theme="contrast"] .product-closing .eyebrow,
html[data-theme="contrast"] .product-flow-core small,
html[data-theme="contrast"] .product-flow-node span,
html[data-theme="contrast"] .product-feature-card > span,
html[data-theme="contrast"] .product-overview-mark span {
  color: #ffe600 !important;
}

html[data-theme="contrast"] .brand-context,
html[data-theme="contrast"] .product-shortcuts a[aria-current="page"] {
  color: #ffe600 !important;
}

html[data-theme="contrast"] .product-hero-lead,
html[data-theme="contrast"] .product-overview-inner > div:last-child > p:last-child,
html[data-theme="contrast"] .product-feature-card p,
html[data-theme="contrast"] .product-closing-inner > div:last-child > p,
html[data-theme="contrast"] .product-hero .text-link {
  color: #fff !important;
}

html[data-theme="contrast"] .product-landing .button-primary {
  color: #000 !important;
  background: #ffe600 !important;
  border: 2px solid #ffe600;
}

@media (max-width: 980px) {
  .product-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 64px 48px;
  }

  .product-flow {
    width: min(520px, 100%);
    min-height: 0;
    margin: 20px auto;
  }

  .product-overview-inner,
  .product-closing-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-overview-mark {
    width: 180px;
  }
}

@media (max-width: 680px) {
  .product-hero,
  .product-hero-inner {
    min-height: auto;
  }

  .product-hero-inner {
    gap: 24px;
    padding-block: 56px 32px;
  }

  .product-hero h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

  .product-hero-lead {
    margin-top: 26px;
    font-size: 16px;
  }

  .product-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-hero-actions .text-link {
    justify-content: center;
  }

  .product-flow {
    width: 100%;
    min-height: 0;
    margin-block: 38px 20px;
  }

  .product-flow-orbit--one {
    width: 210px;
    height: 210px;
  }

  .product-flow-orbit--two {
    width: min(360px, calc(100vw - 42px));
    height: min(360px, calc(100vw - 42px));
  }

  .product-flow-core {
    width: 132px;
    height: 132px;
  }

  .product-flow-node {
    max-width: 155px;
    min-height: 48px;
    padding: 8px 10px;
    font-size: .66rem;
  }

  .product-flow-node--2 { right: 0; }
  .product-flow-node--4 { left: 0; }

  .product-overview-inner {
    gap: 38px;
  }

  .product-overview h2,
  .product-section-heading h2,
  .product-closing h2 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .product-landing .section {
    padding-block: 80px;
  }

  .product-overview-mark {
    width: 126px;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-card {
    min-height: 250px;
    padding: 24px;
  }

  .product-feature-card h3 {
    margin-top: 48px;
  }

  .product-closing-inner {
    min-height: auto;
    padding-block: 70px;
  }

  .brand-context {
    left: 48px;
    bottom: 0;
    max-width: 155px;
    overflow: hidden;
    font-size: .47rem;
    text-overflow: ellipsis;
  }
}

@media (max-width: 420px) {
  .product-flow-orbit--one {
    width: 190px;
    height: 190px;
  }

  .product-flow-core {
    width: 116px;
    height: 116px;
    padding: 16px;
  }

  .product-flow-node {
    max-width: 128px;
    min-height: 44px;
    font-size: .61rem;
  }
}

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

/* Content-rich Booking and EDS pages. The other product pages keep their layout. */
.product-detail {
  --detail-bg: #f4f7f4;
  --detail-surface: #fff;
  --detail-ink: #14281f;
  --detail-muted: #4c6155;
  --detail-line: #d3dfd7;
  --detail-accent: #187449;
  color: var(--detail-ink);
  background: var(--detail-bg);
}

.product-detail .product-hero-inner {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: 650px;
  gap: 48px;
}

.product-detail .product-hero h1 { font-size: clamp(3rem, 5vw, 4.65rem); line-height: 1.03; }
.product-detail .product-hero-actions { flex-wrap: wrap; gap: 20px; }
.product-detail figure { margin: 0; min-width: 0; }
.product-detail img { display: block; max-width: 100%; }
.product-detail .section { padding-block: 100px; }
.product-detail section[id] { scroll-margin-top: 165px; }
.product-detail .eyebrow { line-height: 1.6; }
.product-detail .button { white-space: normal; text-align: center; }
.product-detail .button-primary { color: #11271d; }
.detail-section-heading { max-width: 930px; margin-bottom: 42px; }
.detail-section-heading h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.detail-section-heading h3 { font-size: clamp(1.65rem, 2.7vw, 2.7rem); line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
.detail-section-heading > .eyebrow { color: var(--detail-accent); margin-bottom: 20px; }
.detail-section-heading > p:not(.eyebrow),
.detail-card p, .detail-showcase p, .detail-completion p, .detail-process p { color: var(--detail-muted); line-height: 1.75; margin-top: 18px; }
.detail-section-heading--split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; max-width: none; margin-bottom: 82px; }
.detail-section-heading--split > p { font-size: 1.125rem; margin: 0; }
.detail-overview, .detail-record, .detail-audience, .detail-included { background: var(--detail-surface); }

.detail-hero-preview { transform: rotate(-2deg); }
.detail-screen-link { display: block; position: relative; border: 8px solid #193729; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 22px 58px rgb(0 0 0 / 16%); }
.detail-screen-link img { width: 100%; height: auto; }
.detail-screen-link:focus-visible { outline: 3px solid var(--product-accent-strong); outline-offset: 6px; }
.detail-image-action { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #143428; color: #fff; font-size: 1.2rem; }
.product-detail figcaption { color: var(--detail-muted); margin-top: 18px; font-size: .875rem; line-height: 1.6; }
.product-hero .detail-hero-preview figcaption { color: #c4d7cc; text-align: center; }
.detail-jump-links { display: flex; flex-wrap: wrap; gap: 32px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / 20%); position: relative; }
.detail-jump-links a { color: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: 5px; }
.detail-jump-links a:hover { color: var(--product-accent); }

.detail-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.detail-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-card { padding: 28px; border: 1px solid var(--detail-line); border-radius: 12px; background: var(--detail-surface); min-width: 0; }
.detail-card h3, .detail-card h4, .detail-process h4 { font-size: 1.3rem; font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.detail-number { display: block; color: var(--detail-accent); font-size: .875rem; font-weight: 800; margin-bottom: 24px; }
.detail-showcase { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 64px; align-items: center; padding-block: 58px; border-top: 1px solid var(--detail-line); }
.detail-showcase:nth-child(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.detail-showcase:nth-child(even) > div { order: 2; }
.detail-showcase h3 { font-size: clamp(1.7rem, 2.7vw, 2.7rem); font-weight: 600; line-height: 1.13; letter-spacing: -.04em; text-wrap: balance; }
.detail-check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.detail-check-list li { padding-left: 24px; position: relative; line-height: 1.65; margin-top: 10px; }
.detail-check-list li::before { content: "✓"; color: var(--detail-accent); font-weight: 800; position: absolute; left: 0; }
.detail-showcase .detail-check-list { font-size: .9375rem; }
.detail-completion { display: flex; align-items: center; gap: 30px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--detail-line); }
.detail-completion > img { flex: 0 0 72px; }
.detail-completion h3 { font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.2; }
.detail-completion p { max-width: 900px; }
.detail-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 38px 0 0; border-top: 2px solid var(--detail-accent); }
.detail-process li { padding: 28px 24px 0 0; }
.detail-process p { margin-top: 8px; }
.detail-security { background: var(--detail-bg); border-block: 1px solid var(--detail-line); }
.detail-security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }

.detail-dashboard { background: var(--detail-surface); color: var(--detail-ink); border: 1px solid var(--detail-line); border-radius: 20px; padding: 28px; box-shadow: 0 26px 65px rgb(0 0 0 / 20%); transform: rotate(-2deg); }
.detail-dashboard-heading { display: flex; align-items: center; gap: 16px; font-size: 1.125rem; font-weight: 650; }
.detail-dashboard-heading img { width: 44px; height: 44px; }
.detail-dashboard-heading strong { margin-left: auto; color: var(--detail-accent); font-size: .875rem; }
.detail-dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
.detail-dashboard-stats > div { background: var(--detail-bg); border: 1px solid var(--detail-line); border-radius: 10px; padding: 16px 12px; }
.detail-dashboard-stats dt { color: var(--detail-muted); font-size: .875rem; min-height: 3em; line-height: 1.4; }
.detail-dashboard-stats dd { font-size: 2rem; font-weight: 700; margin: 10px 0 0; }
.detail-dashboard-steps { padding: 0; margin: 0; list-style: none; }
.detail-dashboard-steps li { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--detail-line); padding-block: 16px; font-size: .9375rem; }
.detail-dashboard-steps span { color: var(--detail-accent); font-weight: 800; font-size: .875rem; }
.detail-dashboard-steps b { margin-left: auto; color: var(--detail-accent); }
.detail-dashboard figcaption { border-top: 1px solid var(--detail-line); padding-top: 15px; margin-top: 0; }

.detail-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.detail-pricing-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-plan { display: flex; flex-direction: column; min-width: 0; padding: 28px 24px; background: var(--detail-surface); border: 1px solid var(--detail-line); border-radius: 14px; }
.detail-plan--featured { border: 2px solid var(--detail-accent); padding: 27px 23px; }
.detail-plan h3 { font-size: 1.6rem; line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
.detail-plan-description { color: var(--detail-muted); font-size: .9375rem; line-height: 1.65; margin-top: 16px; min-height: 5em; }
.detail-price { padding-block: 26px; border-bottom: 1px solid var(--detail-line); }
.detail-price strong { font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.15; font-weight: 650; letter-spacing: -.055em; }
.detail-price > span { display: block; font-size: .875rem; color: var(--detail-muted); margin-top: 10px; }
.detail-plan .detail-check-list { font-size: .9375rem; }
.detail-plan-note { margin-block: 24px; color: var(--detail-muted); font-size: .875rem; line-height: 1.65; }
.detail-plan .button { margin-top: auto; font-size: .9375rem; padding-inline: 16px; min-height: 52px; }
.detail-plan .detail-check-list:last-of-type { margin-bottom: 24px; }
.detail-pricing-note { max-width: 1000px; color: var(--detail-muted); line-height: 1.75; margin: 30px auto 0; text-align: center; }
.detail-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; }
.detail-faq-list { border-top: 1px solid var(--detail-line); }
.detail-faq-list details { border-bottom: 1px solid var(--detail-line); }
.detail-faq-list summary { cursor: pointer; padding-block: 25px; font-size: 1.125rem; font-weight: 650; line-height: 1.45; }
.detail-faq-list summary::marker { color: var(--detail-accent); }
.detail-faq-list p { margin: 0 0 26px; line-height: 1.8; color: var(--detail-muted); }
.product-detail a:focus-visible, .detail-faq-list summary:focus-visible { outline: 3px solid var(--detail-accent); outline-offset: 5px; }

html[data-theme="dark"] .product-detail {
  --detail-bg: #081711;
  --detail-surface: #10241c;
  --detail-ink: #f2f7f4;
  --detail-muted: #b7cbbf;
  --detail-line: #345045;
  --detail-accent: #a8e4c8;
}
html[data-theme="light"] .product-detail .detail-hero-preview figcaption { color: var(--detail-muted); }
html[data-theme="light"] .product-detail .product-hero .eyebrow { color: var(--detail-accent); }
html[data-theme="light"] .product-detail .detail-jump-links { border-color: var(--detail-line); }
html[data-theme="light"] .product-detail .detail-jump-links a:hover { color: var(--detail-accent); }
html[data-theme="contrast"] .product-detail {
  --detail-bg: #000;
  --detail-surface: #000;
  --detail-ink: #fff;
  --detail-muted: #fff;
  --detail-line: #fff;
  --detail-accent: #ffe600;
}
html[data-theme="contrast"] .product-detail .eyebrow,
html[data-theme="contrast"] .product-detail .detail-jump-links a { color: #ffe600 !important; }
html[data-theme="contrast"] .product-detail .detail-hero-preview figcaption { color: #fff; }
html[data-theme="contrast"] .product-detail .detail-screen-link { border-color: #fff; }
html[data-theme="contrast"] .product-detail .detail-image-action { color: #000; background: #ffe600; }
html[data-theme="contrast"] .product-detail .detail-jump-links { border-color: #fff; }

@media (max-width: 1100px) {
  .detail-card-grid, .detail-pricing-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-showcase { gap: 38px; }
  .detail-card { padding: 24px; }
}
@media (max-width: 980px) {
  .product-detail .product-hero-inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 46px; }
  .detail-hero-preview, .detail-dashboard { width: min(100%, 700px); justify-self: center; transform: none; }
  .detail-section-heading--split { gap: 36px; }
  .detail-showcase, .detail-showcase:nth-child(even) { grid-template-columns: 1fr; }
  .detail-showcase:nth-child(even) > div { order: 0; }
  .detail-card-grid--three, .detail-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-faq-layout { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 680px) {
  .product-detail .section { padding-block: 64px; }
  .product-detail section[id] { scroll-margin-top: 120px; }
  .product-detail .product-hero h1 { font-size: clamp(2.8rem, 12vw, 3.7rem); overflow-wrap: anywhere; hyphens: auto; }
  .detail-section-heading { margin-bottom: 30px; }
  .detail-section-heading h2, .detail-section-heading h3, .detail-card h3, .detail-plan h3 { overflow-wrap: anywhere; hyphens: auto; }
  .detail-section-heading--split { grid-template-columns: 1fr; margin-bottom: 52px; }
  .detail-card-grid, .detail-card-grid--three, .detail-pricing-grid, .detail-security-list { grid-template-columns: 1fr; }
  .detail-card { padding: 26px; }
  .detail-jump-links { gap: 16px 24px; }
  .detail-screen-link { border-width: 5px; border-radius: 12px; }
  .detail-showcase { gap: 28px; padding-block: 38px; }
  .detail-dashboard { padding: 20px; }
  .detail-dashboard-stats { gap: 7px; }
  .detail-dashboard-stats > div { padding: 12px 8px; }
  .detail-dashboard-stats dt { font-size: .875rem; overflow-wrap: anywhere; hyphens: auto; }
  .detail-dashboard-heading { font-size: 1rem; gap: 12px; }
  .detail-dashboard-heading strong { display: none; }
  .detail-completion { align-items: flex-start; flex-direction: column; gap: 24px; }
  .detail-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .detail-plan-description { min-height: 0; }
  .detail-price strong { font-size: 2.5rem; }
}

/* Native reference pages share the site shell. Reset the home grid decoration
   where the Booking page uses that class for real content. */
.reference-product--services .hero > .hero-grid,
.reference-product--social .hero > .hero-grid {
  display: grid;
  position: relative;
  inset: auto;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
  background: none;
}
.reference-product--services.booking-dark-page .pricing-card:not(.is-featured) .pricing-number {
  color: #a8e4c8;
}
html[data-theme="light"] .reference-product--eds .eds-price-card--featured .eds-price > span,
html[data-theme="dark"] .reference-product--eds .eds-price-card--featured .eds-price > span {
  color: #e4f5eb;
}
.reference-product--invoices .map-center strong,
.reference-product--invoices .map-center span,
html[data-theme="light"] .reference-product--invoices .map-center > span {
  color: #e2f4ea;
}
.reference-product .product-app-note {
  max-width: 65ch;
  margin-top: 22px;
  font-size: .9375rem;
  line-height: 1.65;
}
html[data-theme="contrast"] .reference-product .product-app-note {
  color: #fff;
}
/* These source pages deliberately keep pale content panels in the dark theme.
   Their labels need the matching dark ink rather than the shell's mint label. */
html[data-theme="dark"] .reference-product--crm .statement-label > .eyebrow,
html[data-theme="dark"] .reference-product--crm .capture-intro .eyebrow,
html[data-theme="dark"] .reference-product--crm #prehlad .section-heading .eyebrow,
html[data-theme="dark"] .reference-product--crm .control-heading > .eyebrow,
html[data-theme="dark"] .reference-product--web .intro > .eyebrow,
html[data-theme="dark"] .reference-product--web #sluzby .section-heading .eyebrow,
html[data-theme="dark"] .reference-product--web #jak-pracujeme .section-heading .eyebrow,
html[data-theme="dark"] .reference-product--web .pricing-heading .eyebrow,
html[data-theme="dark"] .reference-product--web .faq-heading > .eyebrow {
  color: #176c4d;
}
html[data-theme="dark"] .reference-product--web #sluzby .section-heading > p,
html[data-theme="dark"] .reference-product--web #jak-pracujeme .section-heading > p {
  color: #52665c;
}
html[data-theme="dark"] .reference-product--social .work-value-grid > article {
  background: #14261f;
  border-color: #345247;
}
.reference-product--services #menu-system-tabpanel {
  display: block !important;
}
.reference-product--services #menu-system-panel {
  display: block;
}
.reference-product--services figure.hero-live-preview::before {
  content: attr(data-product-preview-label);
}

/* Lazy screenshots need a definite width before their intrinsic size arrives.
   Their width/height attributes then reserve the correct image ratio. */
.reference-product--services.booking-dark-page .showcase-visual picture > img.real-system-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

/* Keep one tablet viewport while tabs load screenshots of different heights. */
.reference-product--services .menu-device .menu-product-screen > img[width] {
  aspect-ratio: 8 / 5;
  object-fit: contain;
}

/* These two reference heroes remain dark when the shared shell is light.
   Specify every background layer together with its size: a 48px size left
   behind by the export otherwise repeats the home hero's radial glow as dots. */
html:not([data-theme="contrast"]) .reference-product--services.booking-dark-page > .hero {
  color: #fff;
  background:
    linear-gradient(#a8e4c80d 1px, transparent 1px),
    linear-gradient(90deg, #a8e4c80d 1px, transparent 1px),
    radial-gradient(circle at 78% 40%, #176c4d3d, transparent 30%),
    #0b1d17;
  background-size: 48px 48px, 48px 48px, auto, auto;
}
html:not([data-theme="contrast"]) .reference-product--services.booking-dark-page > .hero h1 {
  color: #fff;
}
html:not([data-theme="contrast"]) .reference-product--services.booking-dark-page > .hero :is(h1 span, .kicker) {
  color: #a8e4c8;
}
html:not([data-theme="contrast"]) .reference-product--services.booking-dark-page > .hero .hero-lead {
  color: rgb(255 255 255 / 64%);
}
html:not([data-theme="contrast"]) .reference-product--services.booking-dark-page > .hero .text-link {
  color: #e5f5ed;
}
html:not([data-theme="contrast"]) .reference-product--guide-services > .blog-hero {
  color: #fff;
  background:
    linear-gradient(#a8e4c80d 1px, transparent 1px),
    linear-gradient(90deg, #a8e4c80d 1px, transparent 1px),
    radial-gradient(circle at 78% 38%, #45bb8833, transparent 28%),
    #0b1d17;
  background-size: 48px 48px, 48px 48px, auto, auto;
}
html:not([data-theme="contrast"]) .reference-product--guide-services > .blog-hero h1 {
  color: #fff;
}
html:not([data-theme="contrast"]) .reference-product--guide-services > .blog-hero h1 span {
  color: #a8e4c8;
}
html:not([data-theme="contrast"]) .reference-product--social:not(.reference-product--guide-social) > .hero {
  color: #fff;
  background:
    radial-gradient(circle at 87% 8%, rgb(69 187 136 / 22%), transparent 28%),
    radial-gradient(circle at 8% 88%, rgb(168 228 200 / 12%), transparent 30%),
    linear-gradient(rgb(168 228 200 / 5.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(168 228 200 / 5.5%) 1px, transparent 1px),
    #13241e;
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
}
html:not([data-theme="contrast"]) .reference-product--social:not(.reference-product--guide-social) > .hero h1 {
  color: #fff;
}
html:not([data-theme="contrast"]) .reference-product--social:not(.reference-product--guide-social) > .hero h1 span {
  color: #a8e4c8;
}
html:not([data-theme="contrast"]) .reference-product--social:not(.reference-product--guide-social) > .hero :is(.hero-lead, .trust-list) {
  color: rgb(229 245 237 / 78%);
}
html[data-theme="light"] .reference-product--social > .hero .hero-product,
html:not([data-theme="contrast"]) .reference-product--social > .hero .floating-card {
  color: #13241e;
}
html:not([data-theme="contrast"]) .reference-product--social > .hero .floating-card small {
  color: #52665c;
}

/* The invoice mockup is a dark surface, independent from the surrounding hero.
   Give it its own text palette, including graphics ignored by automated axe. */
html:not([data-theme="contrast"]) .reference-product--invoices .invoice-visual :is(.dashboard, .floating-chip) {
  --mint: #a8e4c8;
  color: #f4f7f4;
}
html:not([data-theme="contrast"]) .reference-product--invoices .dashboard :is(.dashboard-topline strong, .metric-card strong, .invoice-row strong) {
  color: #f4f7f4;
}
html:not([data-theme="contrast"]) .reference-product--invoices .invoice-visual :is(.mini-label, .metric-card > span, .chart-heading > span, .chart-axis, .invoice-row span, .floating-chip > span) {
  color: #c4d5cc;
}

@media (max-width: 680px) {
  html:not([data-theme="contrast"]) .reference-product--services.booking-dark-page > .hero {
    background: #0b1d17;
  }
}
@media (max-width: 580px) {
  html:not([data-theme="contrast"]) .reference-product--social:not(.reference-product--guide-social) > .hero {
    background-size: auto, auto, 34px 34px, 34px 34px, auto;
  }
}
