/* Shared product moment cards: homepage and platform feature concepts. */
:root {
  --petos-moment-blue: #edf4fb;
  --petos-moment-pink: #fbeaf2;
  --petos-moment-gray: #f1f4f8;
  --petos-moment-ink: #17263d;
  --petos-moment-copy: #52647e;
  --petos-moment-blue-label: #1355b2;
  --petos-moment-pink-label: #c92e73;
}

body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card) {
  border: 0;
  border-radius: 16px;
  box-shadow: none;
  background: var(--petos-moment-blue);
  padding-top: 22px;
  padding-inline: 22px;
}

body .highlight-grid > .highlight-card > .highlight-visual,
body .petos-platform-moments > .moment-card > .moment-visual {
  margin-inline: 0;
}

body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
  :is(.moment-kicker, .moment-label, .highlight-label, .highlight-number) {
  display: block;
  margin-bottom: 8px;
  color: var(--petos-moment-blue-label);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
  :is(.moment-copy, .moment-title, .highlight-copy) > h3 {
  margin: 0 0 8px;
  color: var(--petos-moment-ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -.035em;
}

body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
  :is(.moment-copy, .moment-title, .highlight-copy) > p {
  margin: 0;
  color: var(--petos-moment-copy);
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 620px) {
  body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card) {
    padding-top: 16px;
    padding-inline: 16px;
  }

  body .highlight-grid > .highlight-card > .highlight-visual,
  body .petos-platform-moments > .moment-card > .moment-visual {
    margin-inline: 0;
  }
}

/* Conversion surfaces and the reserved booking-field state. */
:root {
  --petos-conversion-border: #dbe5f1;
  --petos-conversion-radius: 16px;
}

body :is(.info-card, .form-mock) {
  padding: 26px;
  border: 1px solid var(--petos-conversion-border);
  border-radius: var(--petos-conversion-radius);
  background: #fff;
  box-shadow: none;
}

body .info-card small {
  margin-bottom: 10px;
  color: #1355b2;
  font-size: 10px;
  line-height: 1.35;
}

body .two-col > .info-card:nth-child(even) small {
  color: #c92e73;
}

body .info-card h3,
body .form-mock h3 {
  margin-bottom: 10px;
  color: #17263d;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.28;
}

body .info-card p,
body .form-mock > p {
  color: #52647e;
  font-size: 12px;
  line-height: 1.7;
}

body .feature-points > .feature-point {
  padding: 22px;
  border: 0;
  border-radius: var(--petos-conversion-radius);
}

body .feature-points > .feature-point:nth-child(3n + 1) { background: var(--petos-moment-blue); }
body .feature-points > .feature-point:nth-child(3n + 2) { background: var(--petos-moment-pink); }
body .feature-points > .feature-point:nth-child(3n) { background: var(--petos-moment-gray); }

body .feature-point small {
  color: #1355b2;
  font-size: 10px;
  line-height: 1.35;
}

body .feature-points > .feature-point:nth-child(3n + 2) small { color: #c92e73; }

body .feature-point h3 {
  font-size: 18px;
  line-height: 1.28;
}

body .feature-point p {
  color: #52647e;
  font-size: 12px;
  line-height: 1.65;
}

body .info-card .placeholder { margin-top: 18px; }
body .placeholder {
  border-color: #cbd9ec;
  border-radius: 10px;
  background: #fff;
}

body .form-mock .eyebrow { margin-bottom: 12px; }
body .status-box {
  padding: 16px;
  border: 1px solid #d6e4f6;
  border-radius: 10px;
  background: var(--petos-moment-blue);
  color: #0d3f88;
  font-size: 12px;
  line-height: 1.6;
}

body .mock-field { margin-top: 16px; }
body .mock-field > span {
  margin-bottom: 7px;
  color: #43536a;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

body .mock-input {
  display: flex;
  align-items: center;
  min-height: 46px;
  height: auto;
  padding: 11px 14px;
  border: 1px solid var(--petos-conversion-border);
  border-radius: 9px;
  color: #61738c;
  font-size: 12px;
  line-height: 1.45;
}

body .mock-input.disabled { background: #f6f8fb; }

body .pricing-compare {
  border-color: var(--petos-conversion-border);
  border-radius: var(--petos-conversion-radius);
}

body .pricing-row > * {
  padding: 18px 20px;
  border-color: var(--petos-conversion-border);
  font-size: 12px;
  line-height: 1.5;
}

body .pricing-row > :first-child { color: #17263d; font-weight: 700; }
body .pricing-row.head > * { background: #edf4fd; color: #0d3f88; }
body .pricing-row .pending { color: #61738c; }
body .price-intro { color: #61738c; font-size: 11px; line-height: 1.6; }

/* Shared breadcrumb affordance and interactive preview tabs. */
body .crumb a {
  color: #52647e;
  text-decoration: none;
}

body .crumb a:hover { color: #1355b2; text-decoration: underline; text-underline-offset: 3px; }
body .crumb [aria-current="page"] { margin: 0; color: #61738c; }
body .crumb a:focus-visible,
body [role="tab"]:focus-visible { outline: 3px solid #f5569b; outline-offset: 3px; }

@media (max-width: 760px) {
  body :is(.info-card, .form-mock) { padding: 20px; }
  body .feature-points > .feature-point { padding: 20px; }
  body .pricing-compare { overflow-x: auto; }
  body .pricing-row {
    min-width: 720px;
    grid-template-columns: 1.15fr repeat(3, 1fr);
  }
  body .pricing-row > * { padding: 15px 16px; }
  body .pricing-row > :first-child { grid-column: auto; padding-bottom: 15px; }
  body [role="tab"]:is(.lang-tab, .source-tab, .workflow-tab, .flow-tab) {
    min-height: 44px;
    font-size: 11px;
  }
  body .language-toolbar { flex-wrap: wrap; }
}

/* Shared content actions. The site header has its own compact navigation CTA. */
:root {
  --petos-action: #1355b2;
  --petos-action-hover: #0d3f88;
  --petos-action-soft: #e5effd;
  --petos-action-border: #cbd9ec;
  --petos-action-focus: #f5569b;
}

body .button {
  box-sizing: border-box;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--petos-action);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body .button:hover {
  background: var(--petos-action-hover);
  color: #fff;
  transform: translateY(-1px);
}

body .button:is(.outline, .secondary, .light, .ghost) {
  border-color: var(--petos-action-border);
  background: #fff;
  color: var(--petos-action-hover);
  box-shadow: none;
}

body .button:is(.outline, .secondary, .light, .ghost):hover {
  border-color: var(--petos-action);
  background: var(--petos-action-soft);
  color: var(--petos-action-hover);
}

body :is(.close, .closing-card) .button:not(.outline, .secondary, .light, .ghost) {
  background: #fff;
  color: var(--petos-action-hover);
}

body :is(.close, .closing-card) .button:not(.outline, .secondary, .light, .ghost):hover {
  background: var(--petos-action-soft);
  color: var(--petos-action-hover);
}

body :is(.close, .closing-card) .button:is(.outline, .secondary, .light, .ghost) {
  border-color: rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
}

body :is(.close, .closing-card) .button:is(.outline, .secondary, .light, .ghost):hover {
  border-color: #fff;
  background: rgba(255,255,255,.14);
  color: #fff;
}

body .text-link,
body .module-head .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--petos-action);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: color .18s ease;
}

body .text-link:hover {
  color: #c92e73;
}

body :is(a.button, button.button, a.text-link):focus-visible {
  outline: 3px solid var(--petos-action-focus);
  outline-offset: 3px;
}

body .button:active {
  transform: translateY(0);
}

body :is(button.button:disabled, .button[aria-disabled="true"]) {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body :is(.button, .text-link) {
    transition: none;
  }
}

/* Shared editorial rhythm for the main section headings. */
:root {
  --petos-section-space: 88px;
  --petos-section-heading: clamp(34px, 3.8vw, 48px);
  --petos-secondary-heading: 36px;
  --petos-heading-ink: #17263d;
  --petos-intro-ink: #61738c;
}

body section:is(.section, .highlights, .module-section, .types, .connection, .directory, .language) {
  padding-block: var(--petos-section-space);
}

body .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1355b2;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #f5569b;
}

body :is(.section-head, .module-head, .types-head, .directory-head) {
  margin-bottom: 36px;
}

body :is(.section-head, .module-head, .types-head, .connection-copy, .directory-head, .language-copy, .feature-split) h2 {
  margin-block: 12px;
  color: var(--petos-heading-ink);
  font-size: var(--petos-section-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.055em;
}

body :is(.section-head, .module-head) p {
  max-width: 680px;
  margin-block: 0;
  color: var(--petos-intro-ink);
  font-size: 14px;
  line-height: 1.7;
}

body :is(.guide-head, .related-head, .guides-head, .business-head, .section-links) h2 {
  margin-block: 10px;
  color: var(--petos-heading-ink);
  font-size: var(--petos-secondary-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.05em;
}

body :is(.guide-head, .related-head, .guides-head, .business-head, .section-links) p {
  color: var(--petos-intro-ink);
  font-size: 13px;
  line-height: 1.7;
}

body .guide-head {
  margin-bottom: 28px;
}

body .related-head h2 {
  margin-block: 0;
}

@media (max-width: 760px) {
  :root {
    --petos-section-space: 64px;
    --petos-section-heading: 34px;
    --petos-secondary-heading: 30px;
  }

  body :is(.section-head, .module-head, .types-head, .directory-head) {
    margin-bottom: 26px;
  }

  body :is(.section-head, .module-head) p {
    font-size: 13px;
  }
}
