/* Data Recovery Pro website.
   Quiet and specific: one accent colour for actions, hairlines instead of boxes,
   real screenshots of the app, and text set for reading. */

:root {
  --ink: #0f1115;
  --text: #3a404c;
  --muted: #6b7280;
  --line: #e6e8ec;
  --soft: #f6f7f9;
  --accent: #0a64e0;
  --accent-ink: #084fb3;
  --good: #17663a;
  --warn: #8f4a00;
  --max: 1120px;
  --gutter: 24px;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Editorial headlines: Apple's New York on Macs, a book serif elsewhere. */
  --serif: ui-serif, "New York", "Iowan Old Style", "Charter", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); margin: 0; }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Notice and header ---------- */

.notice { background: var(--ink); color: #c9ced8; font-size: 14px; text-align: center; padding: 9px var(--gutter); }
.notice strong { color: #fff; }
.notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.site-nav { display: flex; gap: 28px; font-size: 15px; }
.site-nav a { color: var(--text); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.site-header .actions { margin-left: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: #cfd3da; color: var(--ink); }
.btn-small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.text-link { font-weight: 500; }
.text-link::after { content: " →"; }

/* ---------- Type ---------- */

.display { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 500; max-width: 13em; }
.title { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.015em; font-weight: 500; }
h2.section { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); line-height: 1.14; letter-spacing: -0.012em; font-weight: 500; max-width: 18em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; }
.lead { font-size: 20px; line-height: 1.55; color: var(--text); max-width: 34em; }
.intro { font-size: 18px; line-height: 1.6; max-width: 38em; margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.label { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- Sections ---------- */

.section-block { padding: 112px 0; }
.section-block.tight { padding: 80px 0; }
.section-block.soft { background: var(--soft); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */

.hero { padding: 88px 0 0; }
.hero .lead { margin-top: 24px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { margin-top: 20px; font-size: 14px; color: var(--muted); }
.hero-advice { margin-top: 8px; font-size: 14px; color: var(--muted); }
.hero-advice strong { color: var(--text); font-weight: 600; }
.hero-shot { margin-top: 72px; position: relative; }
.hero-shot::before {
  /* A soft floor under the window so it sits on the page rather than floating. */
  content: "";
  position: absolute;
  inset: 40% -6vw -1px;
  background: linear-gradient(180deg, rgba(246, 247, 249, 0) 0%, var(--soft) 55%);
  z-index: -1;
}

.shot { border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08), 0 2px 6px rgba(15, 17, 21, 0.05), 0 28px 60px -18px rgba(15, 17, 21, 0.32); background: #dde6f4; }
.shot-caption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Promises ---------- */

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.promises > div { border-top: 1px solid var(--ink); padding-top: 20px; }
.promises p { margin-top: 10px; font-size: 16px; }

/* ---------- Feature rows ---------- */

.features { display: flex; flex-direction: column; gap: 120px; margin-top: 72px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature.flip > .feature-text { order: 2; }
.feature-text .step { font-size: 14px; font-weight: 600; color: var(--accent); }
.feature-text h3 { font-size: 26px; letter-spacing: -0.02em; margin-top: 10px; }
.feature-text p { margin-top: 14px; }
.plain-list { list-style: none; margin: 20px 0 0; padding: 0; }
.plain-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Work (what it does on its own) ---------- */

.work { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.work .intro { margin-top: 20px; }
.passes { list-style: none; margin: 32px 0 0; padding: 0; }
.passes li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.passes li:last-child { border-bottom: 1px solid var(--line); }
.passes li strong { display: block; margin-bottom: 2px; }

/* ---------- Quality (dark, photo-led) ---------- */

.dark { background: #0d0e10; color: #b9bec8; }
.dark h2.section { color: #fff; }
.dark strong { color: #fff; }
.quality { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.photo figcaption { margin-top: 14px; font: 13px/1.5 var(--mono); color: #8a909b; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.photo figcaption .ok { color: #7fd3a0; }
.quality .intro { color: #b9bec8; }
.quality ul { list-style: none; margin: 28px 0 0; padding: 0; }
.quality li { padding: 14px 0; border-top: 1px solid #24262b; font-size: 16px; }
.quality li:last-child { border-bottom: 1px solid #24262b; }

/* ---------- Spec table ---------- */

.spec { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: 16px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 20px 0; border-top: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { width: 30%; padding-right: 32px; color: var(--ink); font-weight: 600; }
.spec td p + p { margin-top: 6px; }
.spec .no { color: var(--muted); }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 6px; margin-right: 6px; }
.tag.good { background: #e9f6ee; color: var(--good); }
.tag.warn { background: #fff4e0; color: var(--warn); }
.tag.grey { background: #eef0f3; color: var(--muted); }

/* ---------- Checklist ---------- */

.checklist { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.checklist ol { list-style: none; counter-reset: c; margin: 0; padding: 0; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid #dfe2e7; }
.checklist li:last-child { border-bottom: 1px solid #dfe2e7; }
.checklist li::before { content: counter(c); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.checklist li strong { display: block; }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.facts { margin: 32px 0 0; }
.facts div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink); font-weight: 600; }
.facts dd { margin: 0; }
.price-card { border: 1px solid var(--line); border-radius: 16px; padding: 36px; background: #fff; box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 12px 32px -16px rgba(15, 17, 21, 0.16); }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font: 700 56px/1 var(--display); color: var(--ink); letter-spacing: -0.04em; }
.price span { color: var(--muted); }
.price-card .alt { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.price-card .btn { width: 100%; margin-top: 28px; }
.price-card .small { margin-top: 14px; text-align: center; }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 48px; }
.faq div { padding: 24px 0; border-top: 1px solid var(--line); }
.faq dt { color: var(--ink); font-weight: 600; font-size: 17px; }
.faq dd { margin: 8px 0 0; font-size: 16px; }

/* ---------- Closing call ---------- */

.closing { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing p { margin-top: 10px; }

/* ---------- Page heads (inner pages) ---------- */

.page-head { padding: 72px 0 48px; }
.page-head .lead { margin-top: 18px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }

/* ---------- Article layout (landing, download) ---------- */

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; padding-bottom: 112px; }
.side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.side-box { border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.side-box h3 { font-size: 17px; }
.side-box p { margin-top: 8px; font-size: 15px; }
.side-box .btn { width: 100%; margin-top: 18px; }

.prose { font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose .answer { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose figure { margin: 40px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 1px solid var(--line); }
.prose th { font-size: 14px; color: var(--muted); font-weight: 600; }

.steps { list-style: none; counter-reset: s; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li + li { margin-top: 22px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.steps strong { display: block; }

.note { border-left: 3px solid #e3b25f; background: #fffaf0; padding: 14px 18px; font-size: 15px; color: #5e3a00; border-radius: 0 8px 8px 0; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; padding: 0 !important; list-style: none; }

/* ---------- Legal ---------- */

.legal-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 72px; padding: 56px 0 112px; }
.legal-nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; position: sticky; top: 24px; align-self: start; }
.legal-nav a { color: var(--text); }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.legal-layout .prose h1 { font-size: 40px; letter-spacing: -0.028em; line-height: 1.1; }
.legal-layout .fine { color: var(--muted); font-size: 15px; }

/* ---------- Pay page ---------- */

.pay-page { background: var(--soft); min-height: calc(100vh - 65px); padding: 72px var(--gutter) 96px; }
.pay-card { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 20px 48px -24px rgba(15, 17, 21, 0.22); }
.pay-card h1 { font-size: 30px; letter-spacing: -0.025em; line-height: 1.15; }
.pay-card .price { margin-top: 24px; }
.pay-card > p { margin-top: 16px; }
.pay-card .btn { width: 100%; margin-top: 28px; height: 48px; font-size: 16px; }
.paystate { margin-top: 24px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.paystate.info { background: var(--soft); color: var(--text); }
.paystate.err { background: #fdeeee; color: #7a1d1d; }
.paystate.ok { background: #e9f6ee; color: #124f2d; }
.pay-card .fine { margin-top: 24px; font-size: 14px; color: var(--muted); }
.pay-card .kv { margin-top: 12px; font: 13px var(--mono); color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer-grid p { margin-top: 12px; color: var(--muted); max-width: 22em; }
.footer-grid h2 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text); }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-base a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .feature, .feature.flip, .checklist, .pricing, .article-layout, .legal-layout, .work, .quality { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip > .feature-text { order: 0; }
  .features { gap: 80px; }
  .promises { grid-template-columns: 1fr; gap: 32px; }
  .faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .spec th { width: 38%; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-nav { display: none; }
  .hero { padding-top: 56px; }
  .hero-shot { margin-top: 48px; }
  .lead { font-size: 18px; }
  .section-block { padding: 72px 0; }
  .section-block.tight { padding: 56px 0; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec th { padding: 20px 0 6px; }
  .spec td { border-top: 0; padding: 0 0 20px; }
  .spec tr:last-child th { border-bottom: 0; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .price-card, .pay-card { padding: 28px 22px; }
  .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .closing .btn { width: 100%; }
}
