/* AMWT Desktop 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; }
picture { display: contents; } /* <picture> wraps WebP sources; lays out as if only the <img> were there */
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; display: block; flex: none; border-radius: 6px; }
.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; overflow-x: clip; }
.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; }
.closing-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 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 var(--gutter) 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: the app icon, larger, sits above the name. */
.site-footer .brand { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 17px; }
.site-footer .brand-mark { width: 64px; height: 64px; border-radius: 14px; }
.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%; }
  .closing-actions { width: 100%; }
}

/* ---------- Header account link ---------- */

.site-header .actions { display: flex; align-items: center; gap: 20px; }
.account-link { color: var(--text); font-size: 15px; font-weight: 500; }
.account-link:hover { color: var(--ink); text-decoration: none; }

/* ==========================================================================
   Homepage depth, scenarios, techniques, safety, expertise; compatibility page.
   ========================================================================== */

.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 14px; letter-spacing: 0; }
.dark .eyebrow { color: #8db8ff; }
.fine-print { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 14px; max-width: 46em; }
code { font: 0.88em/1 var(--mono); background: #eef1f5; color: var(--ink); padding: 2px 5px; border-radius: 4px; white-space: nowrap; }

/* ---------- Layered screenshots ---------- */

.stage { position: relative; }
.stage .float {
  position: absolute;
  margin: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.07), 0 2px 4px rgba(15, 17, 21, 0.05), 0 22px 44px -14px rgba(15, 17, 21, 0.34);
}
.hero-shot.stage { margin-bottom: 100px; }
.float-map { width: 40%; left: -3.5%; bottom: -9%; }
.float-verdict { width: 25%; right: -3%; bottom: 1%; }
.chip {
  top: -18px; left: 30%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 12px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  border-radius: 999px !important;
  white-space: nowrap;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.18); }
.hero-fine { margin-top: 0; padding-bottom: 8px; }

.stage-scan { margin-bottom: 40px; }
.float-found { width: 34%; right: -4%; bottom: -12%; }
.stage-done { margin: 0 40px 88px 0; }
.stage-done .shot { background: #f3f6fb; }
.float-details { width: 29%; right: -44px; bottom: -88px; }

@media (prefers-reduced-motion: no-preference) {
  .hero .float { animation: rise 0.7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .float-map { animation-delay: 0.15s; }
  .hero .float-verdict { animation-delay: 0.3s; }
  .hero .chip { animation-delay: 0.45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------- Scenarios ---------- */

.pull {
  margin: 40px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--accent);
  font: italic 400 clamp(22px, 2.4vw, 28px)/1.4 var(--serif); color: var(--ink); max-width: 30em;
}
.scenarios { margin-top: 56px; border-top: 1px solid var(--ink); }
.scenario { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.scenario h3 { font: 500 24px/1.25 var(--serif); letter-spacing: -0.01em; }
.scenario dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.scenario dt { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.scenario dd { margin: 0; font-size: 15px; line-height: 1.55; }
.scenario .tag { margin: 0 4px 4px 0; }

/* ---------- Getting it working ---------- */

.getgoing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.getgoing .stage { margin-top: 64px; position: sticky; top: 40px; }
.bigsteps { list-style: none; counter-reset: b; margin: 36px 0 0; padding: 0; }
.bigsteps li { counter-increment: b; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid #dfe2e7; font-size: 16px; }
.bigsteps li:last-child { border-bottom: 1px solid #dfe2e7; }
.bigsteps li::before { content: counter(b); position: absolute; left: 0; top: 10px; font: 400 40px/1 var(--serif); color: var(--accent); font-variant-numeric: lining-nums; }
.bigsteps strong { display: block; margin-bottom: 2px; }
.timing { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; margin-top: 96px; align-items: start; }
.timing h3 { font: 500 26px/1.2 var(--serif); }
.timing p { margin-top: 12px; font-size: 16px; }
.timing-table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.timing-table th, .timing-table td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid #dfe2e7; vertical-align: bottom; }
.timing-table tbody tr:last-child > * { border-bottom: 1px solid #dfe2e7; }
.timing-table thead th { font-size: 14px; color: var(--ink); font-weight: 600; border-top: 0; }
.timing-table thead span { font-weight: 400; color: var(--muted); }
.timing-table tbody th { color: var(--ink); font-weight: 600; }

/* ---------- Searching techniques ---------- */

.technique-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; margin-top: 56px; align-items: start; }
.techniques { list-style: none; margin: 0; padding: 0; }
.techniques li { padding: 22px 0; border-top: 1px solid var(--line); font-size: 16px; }
.techniques li:last-child { border-bottom: 1px solid var(--line); }
.techniques strong { display: block; font-size: 18px; margin-bottom: 4px; }
.tech-label { display: block; font: 12px/1.4 var(--mono); color: var(--muted); margin-bottom: 8px; }
.anatomy { margin: 0; position: sticky; top: 24px; }
.anatomy figcaption { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.bytes { display: flex; flex-wrap: wrap; gap: 4px; font: 12px/1.3 var(--mono); }
.seg { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 10px; border-radius: 6px; background: #eef1f5; color: var(--ink); min-height: 64px; }
.seg em { font: 11px/1.3 var(--font); font-style: normal; color: var(--muted); }
.seg-soi, .seg-eoi { background: #dce8fb; color: var(--accent-ink); }
.seg-app { flex: 1 1 100%; flex-direction: row; align-items: stretch; flex-wrap: wrap; gap: 6px 12px; }
.seg-app > em { align-self: flex-start; }
.seg-thumb { margin-left: auto; background: #fff; border: 1px dashed #b7c0cc; min-height: 0; padding: 8px 10px; }
.seg-data { flex: 1 1 40%; background: #e2e6ec; }
.anatomy .small { margin-top: 14px; }
.anatomy .drive-map { margin-top: 28px; border-radius: 14px; background: #fff; }

/* ---------- File restoration ---------- */

.restore { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
.restore .plain-list strong { color: var(--ink); }
.restore-note { margin-top: 24px; }

/* ---------- Safe and secure ---------- */

.safe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.9fr); gap: 48px; margin-top: 48px; align-items: start; }
.safe h3 { font-size: 17px; }
.safe .plain-list li { border-color: #dfe2e7; }
.receipt { background: #fff; border-radius: 4px; padding: 24px 22px 20px; font: 13px/1.5 var(--mono); color: var(--text); box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.06), 0 18px 36px -20px rgba(15, 17, 21, 0.3); transform: rotate(0.6deg); }
.receipt-head { font-weight: 600; color: var(--ink); padding-bottom: 12px; border-bottom: 1px dashed #c9ced6; }
.receipt dl { margin: 12px 0 0; }
.receipt dl div { padding: 6px 0; }
.receipt dt { color: var(--ink); }
.receipt dd { margin: 0; color: var(--muted); font-family: var(--font); font-size: 13px; }
.receipt-foot { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #c9ced6; color: var(--good); }
.safe-links { margin-top: 32px; }

/* ---------- Expertise essays ---------- */

.essays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin-top: 56px; }
.essays article { padding: 28px 0 40px; border-top: 1px solid var(--ink); }
.essays .num { font: 13px var(--mono); color: var(--muted); }
.essays h3 { font: 500 22px/1.25 var(--serif); letter-spacing: -0.01em; margin-top: 10px; }
.essays p { margin-top: 12px; font-size: 16px; }

/* ---------- Checker (homepage teaser and compatibility page) ---------- */

.compat-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.spec-compact { margin-top: 0; }
.spec-compact th, .spec-compact td { border-color: #dfe2e7 !important; }
.checker { margin-top: 32px; max-width: 640px; }
.checker label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.checker-row { display: flex; gap: 8px; }
.checker input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  border: 1px solid #cfd3da; border-radius: 10px; background: #fff;
  font: 17px var(--font); color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
}
.checker input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 100, 224, 0.18); }
.checker .btn { height: 52px; padding: 0 24px; }
.checker-hint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.try { font: inherit; font-size: 14px; color: var(--accent); background: none; border: 0; padding: 2px 4px; margin: 0 2px; cursor: pointer; border-radius: 4px; }
.try:hover { text-decoration: underline; text-underline-offset: 3px; }
.teaser-link { margin-top: 16px; }

.compat-head { padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.compat-head .fine-print { margin-top: 20px; }
.checker-result { margin-top: 28px; max-width: 760px; }
.verdict { border: 1px solid var(--line); border-left: 4px solid var(--good); border-radius: 12px; padding: 24px 28px; background: #fff; box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 16px 36px -22px rgba(15, 17, 21, 0.24); }
.verdict.v-partial { border-left-color: #d08a1a; }
.verdict.v-no, .verdict:not([class*="v-"]) { border-left-color: #9aa1ad; }
.verdict.v-lab { border-left-color: #b42318; }
.verdict h3 { font: 500 24px/1.25 var(--serif); margin-top: 10px; }
.verdict > p { margin-top: 10px; font-size: 16px; }
.verdict-tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 6px; margin: 0 !important; }
.verdict-tag.good { background: #e9f6ee; color: var(--good); }
.verdict-tag.warn { background: #fff4e0; color: var(--warn); }
.verdict-tag.grey { background: #eef0f3; color: var(--text); }
.verdict-tag.bad, .tag.bad { background: #fdeceb; color: #9b1c13; }
.verdict-note { color: var(--ink); }
.verdict-next { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 16px !important; }
.verdict-also { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.verdict-also p { margin-top: 8px; font-size: 14px; }
.verdict-also .label { font-size: 13px; }

.compat-key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 14px; color: var(--muted); padding-bottom: 40px; }
.compat-key .tag { display: table; margin-bottom: 8px; }
.compat-h { margin-top: 88px; }
.compat-key + .compat-h { margin-top: 32px; }
.compat { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 15px; }
.compat th, .compat td { text-align: left; vertical-align: top; padding: 14px 20px 14px 0; border-top: 1px solid var(--line); }
.compat tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.compat thead th { font-size: 13px; color: var(--muted); font-weight: 600; border-top: 0; padding-bottom: 10px; }
.compat tbody th { color: var(--ink); font-weight: 600; width: 30%; }
.compat td:nth-child(2) { white-space: nowrap; }
.compat td:nth-child(2):last-child { white-space: normal; }
.compat .tag { margin: 0; }
.compat-foot { margin-top: 56px; max-width: 46em; }

/* ---------- New sections on small screens ---------- */

@media (max-width: 900px) {
  .scenario { grid-template-columns: 1fr; gap: 16px; }
  .getgoing, .timing, .technique-grid, .restore, .compat-teaser { grid-template-columns: 1fr; gap: 40px; }
  .getgoing .stage { margin-top: 0; position: relative; top: 0; }
  .timing { margin-top: 72px; }
  .anatomy { position: static; }
  .safe { grid-template-columns: 1fr 1fr; }
  .receipt { grid-column: 1 / -1; max-width: 360px; }
  .essays { grid-template-columns: 1fr 1fr; }
  .compat-key { grid-template-columns: 1fr 1fr; }
  .stage-done { margin-right: 20px; }
  .float-details { right: -20px; }
}

@media (max-width: 640px) {
  .float-map { width: 54%; left: -2%; bottom: -14%; }
  .float-verdict { width: 40%; right: -2%; bottom: 10%; }
  .chip { top: -14px; left: 12px; font-size: 12px; padding: 7px 12px 7px 10px; }
  .hero-shot.stage { margin-bottom: 56px; }
  .float-found { width: 40%; right: -2%; bottom: -14%; }
  .float-details { width: 40%; right: -8px; bottom: -64px; }
  .stage-done { margin-right: 8px; }
  .scenario dl { grid-template-columns: 1fr; gap: 14px; }
  .scenario h3 { font-size: 22px; }
  .pull { padding-left: 18px; }
  .bigsteps li { padding-left: 48px; }
  .bigsteps li::before { font-size: 32px; }
  .timing-table { font-size: 14px; }
  .timing-table th, .timing-table td { padding-right: 10px; }
  .safe { grid-template-columns: 1fr; gap: 32px; }
  .essays { grid-template-columns: 1fr; }
  .checker-row { flex-direction: column; }
  .checker .btn { width: 100%; }
  .checker input { flex: none; width: 100%; }
  .verdict { padding: 20px; }
  .compat-key { grid-template-columns: 1fr; gap: 16px; }
  .compat, .compat tbody, .compat tr, .compat th, .compat td { display: block; width: 100% !important; }
  .compat thead { display: none; }
  .compat tbody th { padding: 16px 0 6px; }
  .compat td { border-top: 0; padding: 0 0 8px; white-space: normal !important; }
  .compat tbody tr:last-child > * { border-bottom: 0; }
  .compat tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .compat-h { margin-top: 64px; }
}
.section-block.compat-body { padding-top: 64px; }

/* Download buttons with operating-system icons (header, hero, download page). */
.os-icon { width: 1em; height: 1em; flex: none; }
.btn-os { gap: 8px; }
.os-pair { display: inline-flex; gap: 5px; align-items: center; opacity: 0.92; }
.os-pair .os-icon { width: 13px; height: 13px; }
.os-icon-lg { width: 30px; height: 30px; color: var(--ink); }

/* Download page: one card per platform; the visitor's own platform is marked by site.js. */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; }
.platform-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 90px; }
.platform-card.is-yours { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 100, 224, 0.12); }
.platform-head { display: flex; align-items: center; gap: 14px; }
.platform-head h2 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.platform-head p { margin: 2px 0 0; }
.badge-rec { margin-left: auto; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(10, 100, 224, 0.08); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill { font-size: 12px; font-weight: 600; color: #8a5a00; background: #fff4dc; border-radius: 999px; padding: 3px 9px; }
.platform-btn { align-self: flex-start; }
.platform-facts { margin: 0; padding-left: 18px; font-size: 15px; color: var(--muted); display: grid; gap: 6px; }
.platform-card > p { margin: auto 0 0; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } .platform-btn { align-self: stretch; } }

.hero-actions .btn-os .os-icon { width: 17px; height: 17px; }
.hero-actions[data-os-pair] { gap: 12px 16px; }

/* ---------- Accessibility ----------
   Links inside running text are underlined, so they don't rely on colour alone (WCAG 1.4.1),
   and small grey text on tinted backgrounds is a shade darker to reach 4.5:1. */
.prose p a, .prose li a, .faq dd a, dd a, td a, p.small a, .compat a, .side-box p a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
}
.related a, .site-nav a, .site-footer a, .crumbs a, .btn { text-decoration: none; }
.tag.grey { color: #4b5563; }
.anatomy .seg em { color: #4b5563; }
.quality li a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.prose .related a { text-decoration: none; }
.prose .related li + li { margin-top: 0; }
.guide-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 20px; }
.guide-list li + li { margin-top: 0; }
.prose .guide-list a { font-weight: 600; text-decoration: none; }
.guide-list p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.prose .guide-list + h2 { margin-top: 64px; }
@media (max-width: 720px) { .guide-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Phones and tablets (mobile pass, 13 Oct 2026). Kept last so it wins over
   the earlier small-screen rules. The menu button, folding lists and phone
   note are added by site.js.
   ========================================================================== */

.menu-btn, .mobile-menu { display: none; }

@media (max-width: 900px) {
  /* Grids sized to the screen, not to their widest table or word. */
  .article-layout, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .article-layout > *, .legal-layout > *, .prose { min-width: 0; }
}

@media (max-width: 640px) {
  /* Header: one line, name, download, menu. */
  .site-header { position: sticky; top: 0; z-index: 50; }
  .site-header .wrap { height: 56px; gap: 10px; }
  .brand { font-size: 15px; white-space: nowrap; gap: 8px; }
  .brand-mark { width: 24px; height: 24px; }
  .site-header .actions { gap: 8px; }
  .site-header .account-link { display: none; }
  .site-header .btn-small { height: 36px; padding: 0 12px; }
  .menu-btn {
    display: inline-grid; place-content: center; gap: 4px;
    width: 40px; height: 40px; margin-right: -8px;
    border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  }
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu:not([hidden]) {
    display: block;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(15, 17, 21, 0.3);
    padding: 6px var(--gutter) 14px;
    animation: menu-in 0.18s ease-out;
  }
  .mobile-menu a { display: flex; align-items: center; min-height: 50px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a[aria-current="page"] { color: var(--accent); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

  /* Type and rhythm */
  .display { font-size: clamp(34px, 9.6vw, 40px); line-height: 1.08; }
  .title { font-size: clamp(30px, 8.4vw, 36px); }
  h2.section { font-size: clamp(27px, 7.6vw, 32px); line-height: 1.15; }
  .lead { font-size: 17px; line-height: 1.55; }
  .intro { font-size: 16.5px; }
  .eyebrow { margin-bottom: 10px; }
  .section-block { padding: 60px 0; }
  .section-block.tight { padding: 48px 0; }
  .hero { padding-top: 32px; }

  /* Hero buttons: full width, one per line, easy to hit. */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 28px; }
  .hero-actions .btn { width: 100%; height: 52px; justify-content: center; font-size: 16px; }
  .hero-actions .text-link { align-self: center; padding: 10px 12px; }
  .hero-meta { font-size: 13px; line-height: 1.55; margin-top: 18px; }
  .hero-advice { font-size: 15px; }

  /* Phone visitors: where to install it. */
  .phone-note { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
  .phone-note p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text); }
  .phone-note .btn { margin-top: 10px; width: 100%; height: 44px; }

  /* Screenshots: as wide as the screen allows. The small floating crops of the app are
     unreadable at phone size, so they step aside; one floating card sits on the bottom edge. */
  .hero-shot, .stage { margin-left: -8px; margin-right: -8px; }
  .hero-shot.stage { margin-top: 36px; margin-bottom: 24px; }
  .stage .shot, .hero-shot .shot { border-radius: 10px; }
  .stage img.float { display: none; }
  .stage { display: flex; flex-wrap: wrap; justify-content: center; }
  .stage > picture, .stage > img, .stage > figcaption, .stage > p:not(.fcard) { flex: 0 0 100%; }
  .stage .chip { top: -14px; left: 10px; }
  .stage .fcard { position: relative; inset: auto; margin-top: -24px; transform: none !important; }
  .stage .fcard ~ .fcard { display: none; }
  .stage-scan, .stage-done { margin-bottom: 8px; margin-right: -8px; }

  /* "How long it takes": one card size per row. */
  .timing-table thead { display: none; }
  .timing-table, .timing-table tbody, .timing-table tr { display: block; width: 100%; }
  .timing-table tr { display: grid; grid-template-columns: 80px 1fr; gap: 2px 12px; padding: 14px 0; border-top: 1px solid #dfe2e7; }
  .timing-table tbody tr:last-child { border-bottom: 1px solid #dfe2e7; }
  .timing-table th, .timing-table td { display: block; border: 0 !important; padding: 0; vertical-align: baseline; }
  .timing-table th { grid-row: span 2; font-weight: 600; }
  .timing-table td:nth-child(2)::before { content: "Fast reader: "; color: var(--muted); }
  .timing-table td:nth-child(3)::before { content: "USB 2 reader: "; color: var(--muted); }

  /* Situations and background notes fold on phones (site.js adds .fold). */
  .fold > h3 { position: relative; padding-right: 40px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .fold > h3::after {
    content: ""; position: absolute; right: 4px; top: 50%;
    width: 10px; height: 10px; margin-top: -7px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); transition: transform 0.2s ease;
  }
  .fold.open > h3::after { transform: rotate(-135deg); margin-top: -2px; }
  .fold:not(.open) > dl, .fold:not(.open) > p { display: none; }
  .scenario.fold { padding: 20px 0; gap: 14px; }
  .scenario.fold h3 { font-size: 20px; }
  .essays { grid-template-columns: 1fr; margin-top: 32px; }
  .essays article.fold { padding-top: 18px; padding-bottom: 18px; }
  .essays article.fold h3 { font-size: 20px; }

  /* Long codes and paths wrap instead of widening the page. */
  .prose code, .prose kbd { overflow-wrap: anywhere; white-space: normal; }

  /* Tables in articles with three or more columns: each row becomes a small card,
     every value labelled with its column (site.js adds .stack and data-label). */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  table.stack th, table.stack td { border: 0 !important; padding: 2px 0 !important; text-align: left; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  table.stack tr > :first-child { font-weight: 600; color: var(--ink); }
  table.stack tr > td:first-child::before { margin-top: 0; }
  .prose div[style*="overflow-x"] { overflow: visible !important; }
  .site-header .brand { padding: 8px 0; }

  /* Bigger tap targets for small links */
  .crumbs a { display: inline-block; padding: 10px 0; }
  .crumbs { margin-bottom: 8px; }
  .footer-grid ul { gap: 2px; }
  .footer-grid a { display: inline-block; padding: 7px 0; }
  .legal-nav a { padding: 6px 0; }

  /* Pages with a sidebar: the sidebar follows the article with clear space. */
  .side { margin-top: 8px; }
}

/* Phones, easier to read (13 Oct 2026): a short opening paragraph, larger and darker body
   text, more room between lines, and detail behind buttons. Desktop is unchanged. */
.lead-phone, .phone-more-btn { display: none; }

@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.65; }
  :root { --text: #2b2f37; --muted: #555c68; }
  p, li, dd { line-height: 1.65; }
  .hero .lead:not(.lead-phone) { display: none; }
  .hero .lead-phone { display: block; font-size: 18.5px; line-height: 1.55; color: var(--ink); }
  .intro { font-size: 17px; line-height: 1.65; }
  .prose p, .prose li { font-size: 17px; }
  .prose p + p { margin-top: 14px; }
  .prose li + li { margin-top: 8px; }
  .scenario dd, .bigsteps li, .plain-list li, .essays p { font-size: 16.5px; }

  /* Detail behind a button */
  [data-phone-more]:not(.phone-open) { display: none !important; }
  .phone-more-btn {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 52px; margin-top: 24px; padding: 0 18px;
    font: 600 16px/1.3 var(--font); color: var(--ink); text-align: left;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .phone-more-btn::after {
    content: ""; width: 9px; height: 9px; margin-left: 12px; flex: none;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease;
  }
  .phone-more-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
  .wrap.timing.phone-open, .technique-grid.phone-open { margin-top: 24px; }
  section .wrap.timing { margin-top: 0; }
  .soft .phone-more-btn { background: #fff; }
  section > .phone-more-btn { width: calc(100% - 2 * var(--gutter)); margin: 8px var(--gutter) 0; }

  /* Questions open one at a time */
  .faq { gap: 0; }
  .faq > .q-fold { border-top: 1px solid var(--line); padding: 0; }
  .faq > .q-fold:last-child { border-bottom: 1px solid var(--line); }
  .q-fold > dt { position: relative; padding: 18px 40px 18px 0; cursor: pointer; font-size: 17px; line-height: 1.4; }
  .q-fold > dt::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); transition: transform 0.2s ease;
  }
  .q-fold.q-open > dt::after { transform: rotate(-135deg); margin-top: -2px; }
  .q-fold:not(.q-open) > dd { display: none; }
  .q-fold > dd { padding: 0 0 18px; margin: 0; }
}

/* ==========================================================================
   Restore with AI: /credits/, the pricing section and /pay/credits/
   ========================================================================== */

.restore-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; padding-bottom: 96px; }
.restore-text .intro { margin-top: 16px; }
.compare { margin: 0; }
.compare-stage { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: #e9ebef; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08), 0 20px 48px -20px rgba(15, 17, 21, 0.3); }
.compare-stage img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare-before img { filter: sepia(0.55) saturate(0.55) contrast(0.72) brightness(1.12) blur(0.6px); }
/* Hand-made "damage" for the illustration: a yellowed wash, a few scratches and dust. */
.compare-before::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(97deg, transparent 31.6%, rgba(255, 255, 255, 0.75) 31.8%, transparent 32.1%),
    linear-gradient(84deg, transparent 58.2%, rgba(255, 255, 255, 0.55) 58.35%, transparent 58.6%),
    linear-gradient(176deg, transparent 71%, rgba(255, 255, 255, 0.5) 71.15%, transparent 71.4%),
    radial-gradient(circle at 18% 64%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 22%, rgba(255, 255, 255, 0.7) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 37% 82%, rgba(60, 40, 20, 0.5) 0 2px, transparent 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(120, 90, 40, 0.35) 100%),
    rgba(214, 190, 140, 0.18);
}
.compare-label { position: absolute; z-index: 2; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(15, 17, 21, 0.62); pointer-events: none; }
.compare-label-before { left: 12px; }
.compare-label-after { right: 12px; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.15); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(15, 17, 21, 0.3); }
.compare-handle::before { content: ""; position: absolute; top: 50%; left: 50%; z-index: 1; width: 14px; height: 8px; margin: -4px 0 0 -7px; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.compare.is-live .compare-stage { cursor: ew-resize; }
.compare-range { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare-stage:has(.compare-range:focus-visible) .compare-handle::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.packs { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pack { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04); }
.pack h3 { font-size: 17px; }
.pack-credits { margin-top: 4px; color: var(--muted); font-size: 15px; }
.pack-price { margin-top: 18px; }
.pack-price b { font: 700 34px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.pack-alt { margin-top: 6px; font-size: 14px; color: var(--muted); }
.pack-unit { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); font-weight: 500; }
.credits-buy { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 28px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.credits-buy h3 { font-size: 19px; }
.credits-buy p { margin-top: 8px; max-width: 44em; font-size: 16px; }
.credits-buy .btn { flex: none; }
.enhance-costs-h { font-size: 17px; }
.enhance-costs { margin-top: 16px; font-size: 15px; }
.enhance-costs th { width: 58%; font-weight: 500; }
.soft .enhance-costs th, .soft .enhance-costs td { border-color: #dfe2e7; }
.credits-more { margin-top: 32px; }

/* /pricing/: the optional section under the recovery price */
.addon { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.addon .intro { margin-top: 16px; }
.addon .text-link { display: inline-block; margin-top: 20px; }
.addon-from { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; }
.addon-from b { display: block; font: 700 34px/1.1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.addon-from p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* /pay/credits/ */
.pay-card .pack-line { margin-top: 6px; color: var(--muted); }

@media (max-width: 900px) {
  .restore-grid, .addon { grid-template-columns: 1fr; gap: 40px; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credits-buy { flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .restore-grid { padding-bottom: 64px; gap: 32px; }
  .compare-stage { margin: 0 -8px; border-radius: 10px; }
  .packs { gap: 10px; margin-top: 28px; }
  .pack { padding: 18px 16px; border-radius: 14px; }
  .pack-price b { font-size: 28px; }
  .pack-alt { font-size: 13px; }
  .credits-buy { padding: 22px 18px; }
  .credits-buy .btn { width: 100%; }
  .enhance-costs th { width: auto; }
}
.name-note { margin-top: 12px; }
