/* RecoveryTools product page styles: https://www.recovery-tools.org/assets/css/product.css
   Loads after common.css on product pages (first page: /sql-server/). Uses the palette in common.css :root.
   Classes start with pv- so they never clash with other page files. */
:root { --hh: 67px; --ok: #15803D; --ok-bg: #F0FDF4; --ok-line: #BBF7D0; --bad: #B91C1C; --bad-bg: #FEF2F2; }

.crumbs { font-size: 14px; color: var(--ink-4); padding: 16px 0 clamp(16px, 3vw, 24px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; list-style: none; padding: 0; margin: 0; }
.crumbs li { display: flex; align-items: center; line-height: 22px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); font-weight: 400; }
.crumbs a { display: inline-block; padding: 4px 0; line-height: 22px; font-size: 14px; }
.crumbs a { color: var(--ink-3); font-weight: 400; }
.crumbs a:hover { color: var(--accent-text); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; padding: 4px 0; }

.pv-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.pv-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "text buy" "shot buy"; gap: 28px clamp(24px, 3.5vw, 48px); align-items: start; padding-bottom: 40px; }
.pv-text { grid-area: text; }
.pv-buy { grid-area: buy; }
.pv-shot { grid-area: shot; margin: 0; }
.pv-top h1, .pv-head h2 { text-wrap: balance; }
.pv-top h1 { font-size: clamp(30px, 3.7vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.pv-lead { margin-top: 14px; font-size: 18px; color: var(--ink-3); max-width: 62ch; }
.pv-ticks { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.pv-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.pv-ticks .pv-ic { color: var(--accent); margin-top: 3px; width: 18px; height: 18px; }
.pv-hero-cta { display: none; margin-top: 22px; }
.pv-shot { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 14px; }
.pv-shot img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.pv-shot figcaption { font-size: 13px; color: var(--ink-3); margin-top: 10px; }

.pv-buy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 50px -30px rgba(17, 24, 39, .4); }
.pv-rate { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.pv-stars { display: flex; gap: 2px; }
.pv-stars .ic { width: 16px; height: 16px; fill: var(--accent); stroke: var(--accent); }
.pv-price { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--ink-3); font-weight: 600; }
.pv-price b { font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.pv-lic { display: flex; flex-direction: column; gap: 8px; }
.pv-lic li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: 11px 14px; font-weight: 700; font-size: 15px; }
.pv-lic li small { display: block; font-weight: 500; font-size: 13px; color: var(--ink-3); }
.pv-lic li b { font-weight: 800; white-space: nowrap; }
.pv-buy .btn { width: 100%; }
.pv-buy .btn .pv-ic { width: 20px; height: 20px; }
.pv-mini { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pv-mini li { display: flex; gap: 8px; align-items: center; }
.pv-mini .pv-ic { width: 16px; height: 16px; color: var(--ok); }
.pv-pay { border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--ink-3); }

/* Trust strip and tabs */
.pv-strip { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pv-strip ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.pv-strip li { display: flex; gap: 12px; align-items: center; }
.pv-strip .ic { width: 26px; height: 26px; }
.pv-strip b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
.pv-strip span { font-size: 13px; color: var(--ink-3); }
.pv-tabs { position: sticky; top: var(--hh); z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); }
.pv-tabs .wrap { display: flex; gap: 12px; align-items: center; }
.pv-tl { display: flex; gap: 4px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
.pv-tl::-webkit-scrollbar { display: none; }
.pv-tl a { padding: 16px 14px; font-weight: 700; font-size: 15px; color: var(--ink-3); border-bottom: 3px solid transparent; white-space: nowrap; }
.pv-tl a:hover { color: var(--accent); }
.pv-tl a.on { color: var(--accent-dark); border-color: var(--accent); }
.pv-tabs .btn { flex: none; }

/* Sections */
.pv-sec { scroll-margin-top: calc(var(--hh) + 60px); }
.pv-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.pv-head h2, .pv-head .sub { margin: 0; }
.section .pv-head h2 { font-size: clamp(24px, 2.9vw, 34px); }
.pv-q { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); display: flex; gap: 10px; align-items: center; }
.pv-q i { font-style: normal; background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 11px; }
.pv-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.alt .pv-card { background: var(--card-soft); }
.pv-card h3 { font-size: 17px; line-height: 1.3; font-weight: 800; margin: 0; }
.pv-card p { color: var(--ink-3); font-size: 15px; margin: 0; }
.pv-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); display: grid; place-items: center; flex: none; }
.pv-ico .ic { width: 22px; height: 22px; }
.pv-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pv-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pv-sym { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pv-sym li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 16px; }
.pv-sym .pv-ic { color: var(--bad); margin-top: 2px; }
.pv-sym b { display: block; font-size: 15px; font-weight: 800; }
.pv-sym span { font-size: 14px; color: var(--ink-3); }
.pv-wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.pv-callout { margin-top: 24px; background: var(--accent-tint); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 22px; color: var(--accent-ink); }
.pv-callout b { display: block; font-size: 17px; margin-bottom: 6px; }
.pv-callout p + p { margin-top: 8px; }
.pv-callout a { font-weight: 700; text-decoration: underline; }

/* Before and after */
.pv-ba { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.pv-pane { border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.pv-pane h3 { padding: 13px 18px; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); margin: 0; }
.pv-pane.bad h3 { background: var(--bad-bg); color: #991B1B; }
.pv-pane.good h3 { background: var(--ok-bg); color: #166534; }
.pv-pane ul { padding: 16px 18px; display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: var(--ink-2); }
.pv-pane li { display: flex; gap: 10px; align-items: flex-start; }
.pv-pane li .pv-ic { width: 17px; height: 17px; margin-top: 3px; }
.pv-pane.bad .pv-ic { color: var(--bad); }
.pv-pane.good .pv-ic { color: var(--ok); }
.pv-arrow { display: grid; place-items: center; color: var(--accent); }
.pv-arrow .pv-ic { width: 32px; height: 32px; }

/* Steps */
.pv-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.pv-step { padding-right: 22px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.pv-step::before { content: ""; position: absolute; left: 44px; right: 0; top: 21px; height: 2px; background: #FED7AA; }
.pv-step:last-child::before { display: none; }
.pv-step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; position: relative; z-index: 1; }
.pv-step:last-child .n { background: var(--ink); }
.pv-step h3 { font-size: 18px; font-weight: 800; margin: 0; }
.pv-step p { color: var(--ink-3); font-size: 15px; margin: 0; }
.pv-tag { font-family: var(--mono); font-size: 12px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; }
.pv-note { margin-top: 28px; font-size: 16px; color: var(--ink-2); }
.pv-note a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }

/* Screenshots */
.pv-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pv-shots figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pv-shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--card-soft); border-bottom: 1px solid var(--line); }
.pv-shots figcaption { padding: 16px 18px; }
.pv-shots h3 { font-size: 17px; font-weight: 800; margin: 0; }
.pv-shots p { color: var(--ink-3); font-size: 14px; margin: 4px 0 0; }

/* Tables */
.pv-tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.pv-tbl th, .pv-tbl td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.pv-tbl tr:last-child th, .pv-tbl tr:last-child td { border-bottom: 0; }
.pv-tbl thead th { background: var(--card-soft); font-weight: 800; }
.pv-tbl tbody th { font-weight: 700; }
.pv-tbl .c { text-align: center; }
.pv-tbl .yes { color: var(--ok); font-weight: 800; }
.pv-tbl .pro { color: var(--accent-dark); font-weight: 800; }
.pv-kv tbody th { width: 30%; background: var(--card-soft); }
.pv-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.pv-tw .pv-tbl { min-width: 460px; }

/* Pricing */
.pv-price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pv-pc { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius-l); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.pv-pc.hot { border-color: var(--accent); box-shadow: 0 20px 50px -30px rgba(194, 65, 12, .5); }
.pv-pc h3 { font-size: 20px; font-weight: 800; margin: 0; }
.pv-pc .tg { position: absolute; top: -14px; left: 26px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.pv-pc .p { font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.pv-pc ul { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--ink-2); flex: 1; }
.pv-pc li { display: flex; gap: 8px; align-items: flex-start; }
.pv-pc li .pv-ic { width: 17px; height: 17px; color: var(--ok); margin-top: 3px; }
.pv-pc .btn { width: 100%; }
.pv-guar { display: flex; gap: 16px; align-items: center; background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: 16px; padding: 16px 20px; margin-top: 20px; color: #14532D; font-weight: 600; font-size: 15px; }
.pv-guar .ic { width: 28px; height: 28px; stroke: var(--ok); }
.pv-guar a, .pv-bundle a { text-decoration: underline; font-weight: 700; }
.pv-bundle { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; font-size: 15px; color: var(--ink-2); }

/* Trust */
.pv-rating { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 18px; }
.pv-rating b { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.pv-rating span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.pv-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pv-card a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }

/* More tools and guides */
.pv-rel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pv-rel a.pv-tool { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.pv-rel a.pv-tool:hover { border-color: var(--accent); color: inherit; }
.pv-rel h3 { font-size: 17px; font-weight: 800; margin: 0 0 2px; }
.pv-rel p { color: var(--ink-3); font-size: 14px; margin: 0; }
.pv-guides { margin-top: 26px; }
.pv-guides h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.pv-guides ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.pv-guides a { display: inline-block; padding: 6px 0; font-weight: 700; color: var(--accent-dark); text-decoration: underline; }

/* Final call to action */
.pv-cta { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 52px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pv-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.pv-cta p { color: #D1D5DB; margin-top: 10px; max-width: 56ch; }
.pv-cta .btn-line { border-color: #fff; color: #fff; }
.pv-cta .btn-line:hover { background: #fff; color: var(--ink); }
.pv-last { padding: clamp(32px, 5vw, 56px) 0; }

@media (max-width: 1100px) {
  .pv-g3, .pv-wide, .pv-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pv-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "buy" "shot"; }
  .pv-hero-cta { display: flex; }
  .pv-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-g3, .pv-price-cards, .pv-sym, .pv-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .pv-step::before { display: none; }
  .pv-ba { grid-template-columns: minmax(0, 1fr); }
  .pv-arrow { transform: rotate(90deg); padding: 4px 0; }
}
@media (max-width: 620px) {
  .pv-top h1 { font-size: 27px; }
  .section .pv-head h2 { font-size: 24px; }
  .pv-cta h2 { font-size: 24px; }
  .pv-tw .pv-tbl { min-width: 0; }
  .pv-tbl th, .pv-tbl td { padding: 11px 12px; }
  .pv-kv, .pv-kv tbody, .pv-kv tr, .pv-kv th, .pv-kv td { display: block; width: 100%; }
  .pv-kv tr { border-bottom: 1px solid var(--line); }
  .pv-kv tr:last-child { border-bottom: 0; }
  .pv-kv th, .pv-kv td { border-bottom: 0; }
  .pv-kv th { padding-bottom: 2px; }
  .pv-kv td { padding-top: 0; color: var(--ink-2); }
  .pv-ticks, .pv-g3, .pv-g2, .pv-g4, .pv-price-cards, .pv-sym, .pv-wide, .pv-steps, .pv-shots, .pv-rel, .pv-guides ul, .pv-strip ul { grid-template-columns: minmax(0, 1fr); }
  .pv-tabs .btn { display: none; }
  .pv-buy { padding: 20px; }
  .pv-cta .btn-row { width: 100%; }
  .pv-cta .btn { width: 100%; }
  .pv-hero-cta .btn { flex: 1 1 100%; }
}
