/* PetOS editorial component refresh. Loaded after page, shared, and typography styles. */
:root {
  --petos-surface: #ffffff;
  --petos-surface-soft: #f7f9fc;
  --petos-surface-blue: #edf4fb;
  --petos-line-soft: #dce5ef;
  --petos-ink: #17263d;
  --petos-copy: #4a5d76;
  --petos-accent: #1355b2;
  --petos-accent-dark: #0d3f88;
}

/* Type and actions */
body .eyebrow { font-size: 11px; letter-spacing: .065em; }
body .eyebrow::before { width: 6px; height: 6px; }
body :is(.section-head, .module-head, .types-head, .directory-head, .guide-head, .related-head, .guides-head) p {
  color: var(--petos-copy);
  font-size: 15px;
  line-height: 1.7;
}
body .hero-copy > p { color: var(--petos-copy); font-size: 16px; line-height: 1.7; }
body .button {
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
body .button:hover { transform: none; }
body .text-link { font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
body .text-link:hover { text-decoration: underline; }
body .crumb { color: #61738c; font-size: 12px; line-height: 1.5; }
body .crumb a { color: #4a5d76; }
body .crumb a:hover { color: var(--petos-accent); }

/* Product stories: one pale blue surface across every product moment card. */
body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card) {
  border: 0;
  border-radius: 18px;
  background: var(--petos-moment-blue) !important;
}
body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
  :is(.moment-kicker, .moment-label, .highlight-label, .highlight-number) {
  color: var(--petos-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .045em;
}
body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
  :is(.moment-copy, .moment-title, .highlight-copy) > h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.23;
}
body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
  :is(.moment-copy, .moment-title, .highlight-copy) > p {
  color: var(--petos-copy);
  font-size: 13px;
  line-height: 1.58;
}
body :is(.moment-visual, .highlight-visual, .module-preview) {
  border-color: var(--petos-line-soft);
}

/* Repeated marketing cards */
body :is(.info-card, .form-mock, .module-card, .guide-card, .plan-card) {
  border-color: var(--petos-line-soft);
  border-radius: 16px;
}
body :is(.info-card, .form-mock, .module-card) { box-shadow: none; }
body .feature-points > .feature-point {
  border: 1px solid var(--petos-line-soft);
  background: var(--petos-surface-soft) !important;
}
body .feature-points > .feature-point:first-child { background: var(--petos-surface-blue) !important; }
body :is(.feature-point, .info-card) h3 { font-size: 20px; line-height: 1.25; }
body :is(.feature-point, .info-card) p { color: var(--petos-copy); font-size: 14px; line-height: 1.62; }
body .type-card { border-radius: 18px; }
body .type-card p { color: #eef3fa; font-size: 13px; line-height: 1.58; }
body .type-card-label { font-size: 12px; }
body .guide-card { border-radius: 15px; }
body .guide-card :is(small, .guide-card-copy small) { font-size: 11px; letter-spacing: .04em; }
body .guide-card :is(strong, .guide-card-copy strong) { line-height: 1.22; }
body .guide-card :is(span, .guide-card-copy span) { font-size: 12px; }
body .closing-card { border-radius: 20px; }
body .closing-card p { font-size: 15px; line-height: 1.6; }

/* Product interface details */
body :is(.ui-window, .product-window, .preview-shell, .booking-preview, .connection-window) {
  border-color: var(--petos-line-soft);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(23, 38, 61, .065);
}
body :is(.ui-window, .product-window, .preview-shell, .booking-preview, .connection-window)
  :is(.ui-row, .detail-row, .record-row, .mini-row, .summary-row, .window-head, .ui-panel-head) {
  line-height: 1.45;
}
body :is(.ui-window, .product-window, .preview-shell, .booking-preview, .connection-window, .flow-window)
  :is(.ui-row, .detail-row, .record-row, .mini-row, .summary-row, .invoice-record-row) {
  border-color: #e8edf4;
}
body :is(.product-frame, .context-frame, .booking-preview, .preview-shell) {
  border-radius: 16px;
}
body :is(.feature-photo, .hero-photo, .guide-photo) { border-radius: 14px; }
body .guide-card .guide-photo { border-radius: 0; }
body :is(.status-box, .booking-note) {
  border-color: #d6e4f6;
  border-radius: 10px;
}

/* Inputs, steps, and data */
body [role="tab"]:is(.lang-tab, .source-tab, .workflow-tab, .flow-tab) {
  min-height: 42px;
  border-radius: 8px;
  font-size: 12px;
}
body [role="tab"]:is(.lang-tab, .source-tab, .workflow-tab, .flow-tab)[aria-selected="true"] {
  border-color: #a9c5e9;
  background: #e5effd;
  color: #0d3f88;
}
body .calendar-day { border-color: #dce5ef; border-radius: 8px; }
body .calendar-day.selected { border-color: #88afe3; background: #eaf3fe; }
body .calendar-day.blocked { border-color: #ebc6d9; background: #fff5f9; }
body .calendar-grid .active { background: var(--petos-accent); color: #fff; }
body :is(.step, .journey-step, .setup-step) p { color: var(--petos-copy); font-size: 14px; line-height: 1.65; }
body .mock-field > span { font-size: 13px; }
body .mock-input { min-height: 48px; font-size: 14px; }
body .mock-input.disabled { background: #f5f7fa; color: #61738c; }
body .status-box { font-size: 14px; }
body .pricing-row > * { font-size: 13px; line-height: 1.55; }
body .pricing-row.head > * { background: var(--petos-surface-blue); }
body .faq-list summary { font-size: 17px; }
body .faq-list details p { color: var(--petos-copy); font-size: 14px; }

@media (min-width: 900px) {
  body :is(.ui-window, .product-window, .preview-shell, .booking-preview, .connection-window, .flow-window)
    :is(.ui-row, .detail-row, .record-row, .mini-row, .summary-row, .invoice-record-row),
  body :is(.ui-window, .product-window, .preview-shell, .booking-preview, .connection-window, .flow-window)
    :is(.ui-row, .detail-row, .record-row, .mini-row, .summary-row, .invoice-record-row) strong {
    font-size: 10px;
  }
  body .calendar-day b { font-size: 11px; }
  body .calendar-day span { font-size: 9px; }
}

@media (max-width: 760px) {
  body [role="tab"]:is(.lang-tab, .source-tab, .workflow-tab, .flow-tab) { min-height: 44px; }
  body .hero-copy > p { font-size: 15px; }
  body :is(.section-head, .module-head, .types-head, .directory-head, .guide-head, .related-head, .guides-head) p { font-size: 14px; }
  body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
    :is(.moment-copy, .moment-title, .highlight-copy) > h3 { font-size: 18px; }
  body :is(.moment-grid > .moment-card, .highlight-grid > .highlight-card)
    :is(.moment-copy, .moment-title, .highlight-copy) > p { font-size: 12px; }
  body .type-card p { font-size: 12px; }
}

/* Readable marketing copy and navigation cards; product UI specimens keep their scale. */
body .close p,
body .action-inner p { font-size: 15px; line-height: 1.65; }
body .hero-note,
body .guide-promo p { font-size: 14px; line-height: 1.6; }

body :is(.flow-step, .workflow-step, .process-step) p,
body .journey-step span { font-size: 14px; line-height: 1.6; }
body :is(.flow-step, .workflow-step, .process-step) > span,
body .step > span { font-size: 12px; }
body .step strong,
body .workflow-step strong,
body .journey-step strong { font-size: 14px; }
body .step-no { font-size: 12px; }

body .type-card p,
body .category-card p,
body .plan-card-top p,
body .plan-card li { font-size: 14px; line-height: 1.6; }

body .type-card-top,
body .category-card small,
body .guide-link .guide-category,
body .guide-card :is(small, .guide-card-copy small),
body :is(.related-link, .related-card) small,
body :is(.feature-point, .info-card) small,
body .plan-index,
body .scope-label { font-size: 12px; }

body :is(.guide-promo, .guide-row) small { font-size: 12px; }
body .guide-toolbar > a,
body .guide-arrow { font-size: 13px; }

body .category-card .arrow { font-size: 13px; }
body .plan-price .period { font-size: 14px; }

/* One business-type card pattern for the homepage and business directory. */
body .business-type-card {
  position: relative;
  isolation: isolate;
  min-height: 385px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 27px;
  border: 0;
  border-radius: 18px;
  background: #213956;
  color: #fff;
  box-shadow: 0 7px 20px rgba(23, 38, 61, .07);
  text-decoration: none;
}
body .business-type-card::before,
body .business-type-card::after { position: absolute; z-index: -1; inset: 0; content: ""; }
body .business-type-card::before { background: var(--card-image) center / cover; transition: transform .45s ease; }
body .business-type-card::after { background: linear-gradient(180deg, rgba(10,30,54,.04) 12%, rgba(10,30,54,.2) 38%, rgba(9,27,51,.94) 100%); }
body .business-type-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(23,38,61,.19); }
body .business-type-card:hover::before { transform: scale(1.045); }
body .business-type-card .type-card-content { display: block; width: 100%; }
body .business-type-card .type-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; color: #e9f1ff; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
body .business-type-card .type-card-top em { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 18px; font-style: normal; letter-spacing: 0; }
body .business-type-card:hover .type-card-top em { background: #fff; color: #0d3f88; }
body .business-type-card :is(h3, .business-type-title) { display: block; max-width: 300px; margin: 0 0 10px; color: #fff; font-size: clamp(25px, 2.4vw, 31px); font-weight: 600; line-height: 1.1; letter-spacing: -.045em; }
body .business-type-card :is(p, .business-type-description) { display: block; max-width: 320px; min-height: 65px; margin: 0; color: #eef3fa; font-size: 14px; line-height: 1.58; }
body .business-type-card .type-card-label { display: block; margin-top: 19px; color: #fff; font-size: 12px; font-weight: 600; }
body .business-type-card:focus-visible { outline: 3px solid #f5569b; outline-offset: 4px; }

@media (max-width: 1000px) {
  body .business-type-card { min-height: 350px; padding: 23px; }
}
@media (max-width: 680px) {
  body .shop-links { grid-template-columns: 1fr; }
  body .business-type-card { min-height: 335px; }
}
@media (prefers-reduced-motion: reduce) {
  body .business-type-card, body .business-type-card::before { transition: none; }
}
