.pro-page { --text-muted: var(--muted); background: var(--cream, #f7f4ee); }
.pro-page [hidden] { display: none !important; }
body.pro-page .pro-hero { padding-block: clamp(24px, 4vw, 56px); }
body.pro-page .pro-hero-grid { align-items: start; }
.pro-page #account { scroll-margin-top: 100px; min-width: 0; }
@media (max-width: 720px) {
  body.pro-page .pro-lead { font-size: 16px; }
  body.pro-page .pro-trust-row { margin-top: 14px; font-size: 14px; }
  body.pro-page .pro-hero-grid { gap: 24px; }
  body.pro-page .pro-purchase-section { padding-block: 36px; }
}

.pro-hero {
  padding: clamp(64px, 8vw, 116px) 0 clamp(44px, 6vw, 82px);
  background:
    linear-gradient(112deg, rgba(255, 250, 242, .97), rgba(255, 250, 242, .83)),
    url('assets/lifestyle/hero-owner-dog-v2-light.webp') center 38% / cover;
}

.pro-hero-grid,
.pro-purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.pro-hero h1 { max-width: 780px; margin: 12px 0 22px; font-size: clamp(32px, 4vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
.pro-lead { max-width: 720px; margin: 0; color: var(--text-muted, #55504a); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.pro-trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; color: var(--text-muted, #55504a); font-size: 14px; font-weight: 700; }
.pro-trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.pro-trust-row span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange, #e8773d); box-shadow: 0 0 0 4px rgba(232, 119, 61, .13); }

.pro-sync-card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(69, 55, 43, .14);
  border-radius: 30px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 70px rgba(58, 39, 25, .14);
  backdrop-filter: blur(16px);
}
.pro-sync-card ol { display: grid; gap: 22px; padding: 0; margin: 23px 0 0; list-style: none; }
.pro-sync-card li { display: grid; grid-template-columns: 38px 1fr; gap: 15px; align-items: start; }
.pro-sync-card li > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #1f1e1c; color: #fff; font-weight: 800; }
.pro-sync-card p { display: grid; gap: 5px; margin: 0; }
.pro-sync-card strong { font-size: 17px; }
.pro-sync-card small { color: var(--text-muted, #625d57); font-size: 14px; line-height: 1.5; }

.pro-purchase-section { padding: clamp(70px, 9vw, 130px) 0; background: var(--white, #fff); }
.pro-purchase-grid { align-items: start; }
.pro-benefits { position: sticky; top: calc(var(--header-height, 76px) + 28px); }
.pro-benefits h2 { max-width: 700px; margin: 10px 0 30px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.045em; }
.pro-benefits ul { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-block: 1px solid var(--border, #ded8ce); }
.pro-benefits li { display: grid; gap: 6px; padding: 19px 0; border-bottom: 1px solid var(--border, #ded8ce); }
.pro-benefits li:last-child { border-bottom: 0; }
.pro-benefits li strong { font-size: 17px; }
.pro-benefits li span { color: var(--text-muted, #655f58); line-height: 1.55; }
.pro-medical-note { margin: 24px 0 0; padding-inline-start: 16px; border-inline-start: 3px solid var(--orange, #e8773d); color: var(--text-muted, #655f58); font-size: 14px; line-height: 1.55; }

.pro-checkout-card { min-height: 420px; padding: clamp(24px, 3.5vw, 38px); border: 1px solid var(--border, #ded8ce); border-radius: 30px; background: #fbfaf7; box-shadow: 0 22px 70px rgba(32, 27, 21, .11); }
.pro-config-notice { display: grid; gap: 16px; padding: 28px; border: 1px solid #e7d7c4; border-radius: 22px; background: #fff7ed; }
.pro-config-notice strong { font-size: 23px; }
.pro-config-notice p { margin: 0; color: var(--text-muted, #655f58); line-height: 1.6; }
.pro-config-notice .button { justify-self: start; }
.pro-live { display: grid; gap: 24px; }
.pro-account-heading, .pro-plans-heading { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.pro-account-heading h2, .pro-plans-heading h3 { margin: 5px 0 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; letter-spacing: -.035em; }
.pro-text-button, .pro-auth-actions button, .pro-password-row button { padding: 5px; border: 0; background: none; color: var(--orange-deep, #b84c1e); font: inherit; font-weight: 750; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.pro-status { display: grid; grid-template-columns: 12px 1fr; gap: 13px; padding: 16px 18px; border: 1px solid var(--border, #ded8ce); border-radius: 18px; background: #fff; }
.pro-status-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #8f8a83; box-shadow: 0 0 0 4px rgba(143, 138, 131, .12); }
.pro-status[data-tone="success"] .pro-status-dot { background: #188552; box-shadow: 0 0 0 4px rgba(24, 133, 82, .13); }
.pro-status[data-tone="warning"] .pro-status-dot { background: #d27921; box-shadow: 0 0 0 4px rgba(210, 121, 33, .14); }
.pro-status[data-tone="error"] .pro-status-dot { background: #ba3a36; box-shadow: 0 0 0 4px rgba(186, 58, 54, .13); }
.pro-status p { display: grid; gap: 3px; margin: 0; }
.pro-status small { color: var(--text-muted, #655f58); line-height: 1.45; }

.pro-auth, .pro-auth-form { display: grid; gap: 14px; }
.pro-google-button { display: inline-flex; justify-content: center; gap: 11px; width: 100%; border: 1px solid #cbc7c0; background: #fff; color: #242321; }
.pro-google-button:hover { border-color: #8c8780; background: #f7f6f3; }
.pro-google-button svg { width: 21px; height: 21px; flex: 0 0 21px; }
.pro-auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: #807a73; font-size: 13px; }
.pro-auth-divider::before, .pro-auth-divider::after { content: ''; height: 1px; background: var(--border, #ded8ce); }
.pro-auth-form label:not(.pro-consent) { font-weight: 750; }
.pro-auth-form input[type="email"], .pro-auth-form input[type="password"], .pro-auth-form input[type="text"] { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #c9c4bc; border-radius: 13px; background: #fff; color: inherit; font: inherit; }
.pro-auth-form input:focus { outline: 3px solid rgba(224, 103, 48, .18); border-color: var(--orange, #e8773d); }
.pro-password-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; }
.pro-password-row button { min-width: 78px; }
.pro-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--text-muted, #655f58); font-size: 13px; line-height: 1.48; }
.pro-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange-deep, #b84c1e); }
.pro-consent a { color: inherit; }
.pro-form-error { min-height: 20px; margin: -3px 0 0; color: #a92f2b; font-size: 13px; line-height: 1.45; }
.pro-auth-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pro-auth-helper { margin: 4px 0 0; color: var(--text-muted, #655f58); font-size: 13px; line-height: 1.55; }

.pro-email-verification, .pro-manage-only { padding: 22px; border: 1px solid #ead4b9; border-radius: 20px; background: #fff8ef; }
.pro-email-verification h3, .pro-manage-only h3 { margin: 0 0 8px; font-size: 21px; }
.pro-email-verification p, .pro-manage-only p { margin: 0 0 18px; color: var(--text-muted, #655f58); line-height: 1.55; }
.pro-inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pro-subscriber { display: grid; gap: 0; padding: 2px 18px; border: 1px solid var(--border, #ded8ce); border-radius: 20px; background: #fff; }
.pro-subscriber-row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--border, #ded8ce); }
.pro-subscriber-row span { color: var(--text-muted, #655f58); }
.pro-subscriber-row strong { text-align: end; overflow-wrap: anywhere; }
.pro-subscriber .pro-inline-actions { padding: 18px 0 16px; }

.pro-plans { display: grid; gap: 17px; }
.pro-plans-heading > span { max-width: 110px; color: var(--text-muted, #655f58); font-size: 12px; text-align: end; line-height: 1.4; }
.pro-plan-list { display: grid; gap: 12px; }
.pro-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 19px; border: 1px solid #d9d3ca; border-radius: 20px; background: #fff; transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.pro-plan.is-featured { border-color: #c18866; background: linear-gradient(135deg, #fffaf6 0%, #fff 72%); box-shadow: 0 12px 30px rgba(112, 61, 29, .09); }
.pro-plan:hover { transform: translateY(-1px); border-color: #c18866; box-shadow: 0 10px 26px rgba(55, 38, 25, .08); }
.pro-plan-copy { display: grid; gap: 4px; }
.pro-plan-kicker { color: var(--orange-deep, #b84c1e); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pro-plan-title { font-size: 19px; font-weight: 850; }
.pro-plan-price { color: var(--text-muted, #655f58); font-size: 14px; line-height: 1.45; }
.pro-plan .button { min-width: 112px; }
.pro-billing-disclosure { margin: 0; color: var(--text-muted, #655f58); font-size: 12px; line-height: 1.55; }

.pro-answers { padding: clamp(70px, 8vw, 112px) 0; background: #f4efe7; }
.pro-answers h2 { max-width: 680px; margin: 9px 0 30px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.045em; }
.pro-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pro-faq-grid details { padding: 22px 24px; border: 1px solid rgba(72, 58, 46, .14); border-radius: 20px; background: #fff; }
.pro-faq-grid summary { cursor: pointer; font-size: 17px; font-weight: 800; }
.pro-faq-grid p { margin: 15px 0 0; color: var(--text-muted, #655f58); line-height: 1.6; }

html[data-theme="dark"] .pro-page { background: #121315; }
html[data-theme="dark"] .pro-hero { background: linear-gradient(112deg, rgba(18, 19, 21, .97), rgba(18, 19, 21, .82)), url('assets/lifestyle/hero-owner-dog-v2-dark.webp') center 38% / cover; }
html[data-theme="dark"] .pro-sync-card, html[data-theme="dark"] .pro-checkout-card, html[data-theme="dark"] .pro-status, html[data-theme="dark"] .pro-subscriber, html[data-theme="dark"] .pro-plan, html[data-theme="dark"] .pro-faq-grid details { background: #1c1d20; border-color: #35363a; }
html[data-theme="dark"] .pro-plan.is-featured { border-color: #b97855; background: linear-gradient(135deg, #2a211c 0%, #1c1d20 72%); box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
html[data-theme="dark"] .pro-purchase-section { background: #151619; }
html[data-theme="dark"] .pro-answers { background: #101113; }
html[data-theme="dark"] .pro-config-notice, html[data-theme="dark"] .pro-email-verification, html[data-theme="dark"] .pro-manage-only { background: #241f1a; border-color: #564333; }
html[data-theme="dark"] .pro-google-button, html[data-theme="dark"] .pro-auth-form input { background: #202125; border-color: #46474c; color: #f3f3f1; }
html[data-theme="dark"] .pro-google-button:hover { background: #292a2e; }

@media (max-width: 900px) {
  .pro-hero-grid, .pro-purchase-grid { grid-template-columns: 1fr; }
  .pro-benefits { position: static; }
  .pro-hero { background-position: 60% center; }
}

@media (max-width: 620px) {
  .pro-hero { padding-top: 46px; }
  .pro-hero h1 { font-size: clamp(32px, 8vw, 40px); margin-block: 12px 16px; }
  .pro-trust-row { display: flex; }
  .pro-sync-card, .pro-checkout-card { padding: 20px; border-radius: 24px; }
  .pro-config-notice { padding: 20px; }
  .pro-account-heading, .pro-plans-heading { align-items: flex-start; }
  .pro-password-row { grid-template-columns: 1fr; }
  .pro-password-row button { justify-self: start; }
  .pro-inline-actions .button { width: 100%; }
  .pro-subscriber-row { display: grid; gap: 5px; }
  .pro-subscriber-row strong { text-align: start; }
  .pro-plan { grid-template-columns: 1fr; }
  .pro-plan .button { width: 100%; }
  .pro-faq-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pro-plan { transition: none; }
}
