.product-page {
  --product-tint: #f6e8dc;
  --product-soft: #faf2e8;
  --product-line: #e5ded4;
  background: var(--moon-dust-lighter, #fcf8f2);
}

.product-domains-email {
  --product-tint: #fae5df;
  --product-soft: #fbefeb;
}

.product-wordpress-care {
  --product-tint: #e9e5f4;
  --product-soft: #f4f0f9;
}

.product-security-backups {
  --product-tint: #f5e9dc;
  --product-soft: #fbf6ef;
}

.product-dashboard {
  --product-tint: #e2ebf6;
  --product-soft: #eff4fa;
}

.product-page figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: clamp(18px, 2.2vw, 30px);
}

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

.product-section {
  padding-block: clamp(52px, 6vw, 88px);
}

.product-hero {
  padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 82px);
}

.product-hero .sol-crumb {
  color: #585b62;
  flex-wrap: wrap;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4vw, 68px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 62px);
}

.product-hero-copy h1 {
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.06;
}

.product-hero-copy p {
  margin-top: 20px;
  font-size: clamp(18px, 1.55vw, 21px);
  max-width: 53ch;
}

.product-hero .sol-actions {
  justify-content: flex-start;
}

.product-page .sol-primary {
  color: white;
  text-decoration: none;
}

.product-features {
  padding-top: clamp(32px, 4vw, 56px);
  scroll-margin-top: calc(64px + var(--sitecove-announcement-offset, 28px));
}

.product-features h2,
.product-intro h2,
.product-close h2 {
  max-width: 26ch;
  margin-inline: auto;
  text-align: center;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 3vw, 38px);
  gap: 14px;
}

.product-feature-grid article {
  border: 1px solid var(--product-line);
  background: white;
  border-radius: 22px;
  padding: clamp(24px, 2.5vw, 34px);
}

.product-feature-grid article:first-child {
  background: var(--product-soft);
}

.product-feature-grid h3,
.product-workflow li h3 {
  font-size: clamp(21px, 1.75vw, 25px);
  line-height: 1.24;
  text-wrap: pretty;
}

.product-feature-grid p,
.product-workflow li p {
  font-size: 17px;
  margin-top: 10px;
}

.product-workflow {
  background: white;
}

.product-intro p {
  max-width: 67ch;
  text-align: center;
  margin: 16px auto 0;
}

.product-workflow-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(36px, 5vw, 82px);
  align-items: center;
  margin-top: clamp(30px, 4vw, 52px);
}

.product-workflow ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: workflow-step;
}

.product-workflow li {
  position: relative;
  padding: 17px 0 17px 47px;
  counter-increment: workflow-step;
}

.product-workflow li + li {
  border-top: 1px solid var(--product-line);
}

.product-workflow li::before {
  content: counter(workflow-step) / "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--product-tint);
  font-weight: 600;
}

.product-compare {
  background: var(--product-soft);
}

.product-matrix {
  margin-top: clamp(24px, 3vw, 38px);
  padding: 0 clamp(16px, 2.2vw, 32px);
  background: white;
  border: 1px solid var(--product-line);
  border-radius: 24px;
}

.product-matrix table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: inherit;
  text-align: left;
}

.product-matrix th,
.product-matrix td {
  text-align: left;
  padding: 18px 20px;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.product-matrix tr > :first-child {
  width: 22%;
  padding-left: 0;
}

.product-matrix tr > :last-child {
  padding-right: 0;
}

.product-matrix tr > :nth-child(2) {
  background: var(--product-soft);
}

.product-matrix th {
  font-weight: 600;
}

.product-matrix thead th {
  font-weight: 700;
  padding-top: 22px;
  padding-bottom: 22px;
}

.product-matrix tbody tr {
  border-top: 1px solid var(--product-line);
}

.product-compare-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.product-compare-links {
  margin-top: 22px;
  font-size: 15px;
}

.product-compare-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-close {
  text-align: center;
}

.product-page a:focus-visible, .product-page summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .product-hero-grid, .product-workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-hero-grid {
    gap: 28px;
  }

  .product-hero-copy {
    text-align: center;
  }

  .product-hero-copy p {
    margin-inline: auto;
  }

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

  .product-page figure {
    width: min(100%, 620px);
    justify-self: center;
  }

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

@media (max-width: 639px) {
  .product-hero-copy h1 {
    font-size: clamp(36px, 8vw, 44px);
  }

  .product-matrix {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .product-matrix thead {
    position: absolute;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
  }

  .product-matrix table, .product-matrix tbody {
    display: block;
  }

  .product-matrix tbody tr {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    background: white;
    border: 1px solid var(--product-line);
    padding: 20px;
    border-radius: 18px;
  }

  .product-matrix tr > *, .product-matrix tr > :first-child {
    display: block;
    width: auto;
    padding: 0;
  }

  .product-matrix tr > :nth-child(2) {
    background: none;
  }

  .product-matrix td::before {
    content: attr(data-provider);
    display: block;
    margin-bottom: 3px;
    color: #5b5e66;
    font-size: 14px;
    font-weight: 600;
  }
}

/* Product detail navigation */
.product-page :is(#tour, #plans, #compare, #questions, .tour-panel) {
  scroll-margin-top: calc(76px + var(--sitecove-announcement-offset, 28px));
}

.product-page .product-jumps {
  border-block: 1px solid var(--product-line);
}

.product-jumps .sol-wrap {
  display: flex;
  justify-content: center;
  gap: 4px clamp(8px, 3vw, 38px);
  flex-wrap: wrap;
  padding-block: 6px;
}

.product-jumps a {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
}

.product-jumps a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.product-page .domain-hero-content {
  max-width: 900px;
  margin: clamp(30px, 4.5vw, 66px) auto 0;
  text-align: center;
}

.product-page .domain-hero-content h1 {
  max-width: 19ch;
  margin-inline: auto;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.05;
}

.product-page .domain-hero-content > p {
  max-width: 54ch;
  margin: 18px auto 0;
  font-size: clamp(17px, 1.55vw, 21px);
}

.product-domains-email .domain-hero-content .sol-actions { justify-content: center; }
.product-domains-email .domain-hero-content .product-trial-note {
  margin-top: .75rem;
  font-size: .9rem;
}

/* Screenshots retain their original aspect ratio inside a consistent frame. */
.product-page .technology-figure {
  align-self: center;
  border: 1px solid var(--product-line);
  border-radius: 22px;
  background: #fff;
}

.technology-figure .tech-expand {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.55;
  padding: clamp(16px, 2.2vw, 32px);
  background: var(--product-tint);
  color: #34363c;
  cursor: zoom-in;
}

.product-page .tech-expand img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.tech-expand > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 11px;
  background: #fff;
  border: 1px solid var(--product-line);
  border-radius: 100px;
  color: #34363c;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.25;
}

.tech-expand:hover > span {
  border-color: currentColor;
}

.product-page .tech-expand:focus-visible {
  outline-offset: -4px;
}

.product-page .technology-figure figcaption {
  padding: 12px clamp(15px, 1.8vw, 24px) 15px;
  border-top: 1px solid var(--product-line);
  color: #585b62;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.product-page :is(.technology-figure figcaption, .tour-copy, .product-decision, .product-evidence) a,
.product-page .product-plan-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.product-page :is(.technology-figure figcaption, .tour-copy, .product-decision, .product-evidence) a:hover,
.product-page .product-plan-link:hover {
  text-decoration-thickness: 2px;
}

.technology-lightbox {
  box-sizing: border-box;
  width: max-content;
  max-width: min(1440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 12px;
  border: 1px solid #d9d5cf;
  border-radius: 16px;
  background: #fff;
  color: #34363c;
  box-shadow: 0 12px 70px #17181940;
  overflow: auto;
}

.technology-lightbox::backdrop {
  background: rgb(26 27 30 / 76%);
}

.technology-lightbox button {
  display: block;
  min-height: 40px;
  margin: 0 0 8px auto;
  border: 1px solid #43464b;
  border-radius: 100px;
  padding-inline: 18px;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.technology-lightbox button:hover {
  background: #f8f2ea;
}

.technology-lightbox button:focus-visible {
  outline: 2px solid #34363c;
  outline-offset: 2px;
}

.technology-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 108px);
  margin: auto;
  object-fit: contain;
}

/* The tabs enhance anchor links. Without JavaScript, all panels remain readable. */
.product-tour {
  background: white;
}

.product-page .tour-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  margin: clamp(24px, 3vw, 38px) auto 20px;
  padding: 5px;
  border: 1px solid var(--product-line);
  border-radius: 24px;
  background: #fcf8f2;
}

.tour-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-inline: clamp(13px, 2vw, 25px);
  border-radius: 100px;
  color: inherit;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.tour-tabs a:hover {
  background: var(--product-tint);
}

.tour-tabs a[aria-selected="true"] {
  background: #323438;
  color: #fff;
}

.product-page .tour-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 66px);
  margin-top: 12px;
  border: 1px solid var(--product-line);
  border-radius: 24px;
  padding: clamp(24px, 3.7vw, 54px);
  background: var(--product-soft);
}

.product-page .tour-panel[hidden] {
  display: none;
}

.product-page .tour-copy h3, .product-page .product-decision h2 {
  max-width: 23ch;
  font-size: clamp(28px, 2.9vw, 42px);
  line-height: 1.12;
  text-align: left;
}

.product-page .tour-copy p,
.product-page .product-decision p {
  max-width: 58ch;
  margin-top: 14px;
  font-size: 17px;
}

.tour-copy ul {
  margin: 18px 0;
  padding-left: 20px;
  list-style: disc;
}

.tour-copy li {
  padding-inline-start: 2px;
  font-size: 16px;
  line-height: 1.5;
}

.tour-copy li + li {
  margin-top: 8px;
}

.tour-copy > a, .product-decision a, .product-plan-link {
  font-size: 16px;
  font-weight: 550;
}

.product-page .product-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.product-page .product-fit article {
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid var(--product-line);
  border-radius: 20px;
  background: #fff;
}

.product-page .product-fit h3 {
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.25;
}

.product-page .product-fit p {
  margin-top: 10px;
  font-size: 16px;
}

.product-page .product-evidence {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 24px;
  color: #505359;
  font-size: 15px;
}

.product-evidence summary {
  cursor: pointer;
  width: fit-content;
}

.product-evidence ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  max-width: 680px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.product-page .product-plans .product-feature-grid article {
  background: white;
}

.product-page .product-plans .product-feature-grid article:nth-child(2) {
  border-color: #bcb1a6;
  background: var(--product-soft);
}

.product-page .product-plan-link {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
}

.product-page .product-decision {
  padding-block: clamp(42px, 5vw, 72px);
  background: var(--product-tint);
}

.product-decision .sol-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}

.product-decision span {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  color: #50535a;
}

.product-page .product-decision p {
  margin: 0 0 14px;
}

@media (max-width: 800px) {
  .product-page .tour-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-page .tour-panel > figure {
    width: min(100%, 600px);
  }

  .product-page .tour-copy p,
  .product-page .tour-copy h3 {
    max-width: none;
  }
}

@media (max-width: 639px) {
  .product-jumps .sol-wrap {
    justify-content: flex-start;
    gap: 0 14px;
  }

  .product-jumps a {
    font-size: 14px;
  }

  .product-page .domain-hero-content h1 {
    font-size: clamp(35px, 8vw, 46px);
  }

  .product-page .tour-tabs {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    justify-content: flex-start;
    width: 100%;
  }

  .tour-tabs a {
    padding-inline: 13px;
    border: 1px solid var(--product-line);
    font-size: 14px;
  }

  .product-page .tour-panel {
    padding: 21px;
    border-radius: 18px;
  }

  .product-page .technology-figure,
  .product-page .tour-panel figure {
    border-radius: 14px;
  }

  .product-page .product-fit,
  .product-decision .sol-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-decision .sol-wrap {
    gap: 18px;
  }

  .product-page .product-evidence {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-page .product-matrix tbody th {
    font-size: 18px;
  }

  .product-page .product-matrix td {
    line-height: 1.5;
  }
}

@media (max-width: 767px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 500px) {
  .product-page .product-compare,
  .product-page .product-overview-compare,
  .product-page .product-jumps a[href="#compare"] {
    display: none;
  }
}

.product-hosting .product-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 3vw, 2.7rem);
  margin-top: clamp(1.5rem, 3vw, 3.3rem);
}
.product-hosting .product-hero-copy { text-align: center; }
.product-hosting .product-hero-copy h1 {
  max-width: 19ch;
  margin-inline: auto;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
  line-height: 1.035;
  letter-spacing: -.04em;
}
.product-hosting .product-hero-copy p { max-width: 64ch; margin: 1rem auto 0; }
.product-hosting .product-hero-copy .sol-actions { justify-content: center; margin-top: 1.35rem; }
.product-wordpress-care .product-hero-copy .product-trial-note,
.product-hosting .product-hero-copy .product-trial-note {
  margin-top: .8rem;
  font-size: .9rem;
  line-height: 1.5;
}
.product-page #migration { scroll-margin-top: calc(96px + var(--sitecove-announcement-offset, 28px)); }
.product-plans .product-monthly-price { margin: .6rem 0; }
.product-plans .product-monthly-price strong {
  color: var(--product-ink, #2d2f34);
  font-size: 1.5rem;
  letter-spacing: -.03em;
}
.product-hosting [data-speed-comparison] {
  scroll-margin-top: calc(72px + var(--sitecove-announcement-offset, 28px));
  width: min(100%, 960px);
  justify-self: center;
}
@media (max-width: 639px) {
  .product-hosting .product-hero-copy h1 { font-size: clamp(2.25rem, 9.7vw, 3.2rem); }
  .product-hosting .product-hero-copy p { font-size: 1.05rem; }
}

.product-case-photo figure { background: white; }
.product-case-photo h2 { margin-bottom: 1rem; }
.product-wordpress-care .product-case-photo figure img { width: 100%; height: auto; }
