/* RightClickOCR — shared site styles */
:root {
  --navy: #16386E;
  --navy-deep: #0D2247;
  --red: #C8102E;
  --ink: #1c2430;
  --muted: #5a6675;
  --bg: #f7f9fc;
  --card: #ffffff;
  --line: #e3e9f1;
  --link: #174f9c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8edf4;
    --muted: #9aa7b8;
    --bg: #0b1220;
    --card: #141d30;
    --line: #24304a;
    --link: #8ab9ff;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ===== Header / nav (shared) ===== */
.site-header {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #1f4d94 100%);
  color: #fff;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}
.site-nav .brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav .nav-links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-nav .nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav .nav-links a:hover { color: #fff; }

/* Page-title header block (subpages) */
.page-head { padding: 30px 0 54px; }
.page-head h1 {
  font-size: clamp(30px, 5.5vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-head p { max-width: 640px; color: rgba(255,255,255,.82); font-size: 18px; }

/* ===== Hero (homepage) ===== */
.hero { text-align: center; padding: 44px 0 84px; }
.hero img.icon {
  width: 112px; height: 112px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero p.tagline {
  font-size: clamp(17px, 2.2vw, 21px);
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 auto 34px;
}
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn-appstore {
  display: inline-block;
  background: #fff;
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.btn-appstore:hover { transform: translateY(-2px); }
.coming-soon {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.hero .fineprint { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.55); }

/* ===== Trust bar ===== */
.trust {
  display: flex; gap: 10px 34px; justify-content: center; flex-wrap: wrap;
  padding: 22px 24px;
  font-size: 14px; font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.trust span::before { content: "\2713\00a0\00a0"; color: var(--red); font-weight: 700; }

/* ===== Screenshot ===== */
.shot { text-align: center; padding: 56px 24px 8px; }
.shot img {
  width: 100%; max-width: 920px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(13,34,71,.18);
}

/* ===== Sections / cards ===== */
section.features { padding: 64px 0 20px; }
h2.section {
  text-align: center;
  font-size: clamp(26px, 3.6vw, 34px);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
p.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.grid-tight { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.card .glyph { font-size: 26px; margin-bottom: 12px; display: block; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }
.card p a { color: var(--link); }

/* ===== Steps (how it works) ===== */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 24px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(200,16,46,.35);
}

/* ===== Privacy strip ===== */
.privacy-strip {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 58px 24px;
  margin-top: 40px;
}
.privacy-strip h2 { font-size: clamp(24px, 3.2vw, 30px); margin-bottom: 14px; }
.privacy-strip p { max-width: 640px; margin: 0 auto 22px; color: rgba(255,255,255,.8); }
.privacy-strip a {
  color: #fff; font-weight: 600;
  border-bottom: 2px solid var(--red);
  text-decoration: none; padding-bottom: 1px;
}

/* ===== Comparison table ===== */
.compare-scroll { overflow-x: auto; margin-bottom: 40px; }
table.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 15px;
}
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare thead th {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.yes::before { content: "\2713\00a0"; color: var(--red); font-weight: 700; }
table.compare td strong { color: var(--ink); }
table.compare td { color: var(--muted); }
table.compare td:first-child { color: var(--ink); font-weight: 600; }

/* ===== Pricing ===== */
.pricing-card {
  max-width: 480px;
  margin: 0 auto 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(13,34,71,.10);
}
.pricing-card .price {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card .price-note { color: var(--muted); margin-bottom: 22px; }
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 0 auto 26px;
  max-width: 320px;
}
.pricing-card ul li { padding: 7px 0; font-size: 15px; }
.pricing-card ul li::before { content: "\2713\00a0\00a0"; color: var(--red); font-weight: 700; }
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 12px;
  text-decoration: none;
}
.btn-navy:hover { background: var(--navy-deep); }
.pricing-card .coming-soon-dark {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* ===== FAQ (details) ===== */
.faq-list { margin-bottom: 40px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 17px;
  list-style-position: outside;
}
.faq-list details > *:not(summary) { margin-top: 12px; }
.faq-list details p { margin-bottom: 12px; }
.faq-list details p:last-child { margin-bottom: 0; }
.faq-list details ol, .faq-list details ul { padding-left: 24px; }
.faq-list details li { margin: 7px 0; }
.center-link { text-align: center; margin-bottom: 56px; }

/* ===== Article typography ===== */
main.article-main { padding: 44px 0 24px; }
.article .byline {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.article h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  line-height: 1.25;
}
.article h3 { font-size: 20px; margin: 28px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 26px; }
.article li { margin: 7px 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}
kbd {
  font-family: inherit;
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}
.article .note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--muted);
}
.article .note strong { color: var(--ink); }
.article table { border-collapse: collapse; width: 100%; font-size: 15px; }
.article .table-scroll { overflow-x: auto; margin: 0 0 16px; }
.article .table-scroll table { min-width: 560px; }
.article th, .article td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.article th { background: var(--card); }

/* ===== CTA block (guides) ===== */
.cta-block {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #1f4d94 100%);
  color: #fff;
  border-radius: 18px;
  padding: 36px 30px;
  margin: 48px 0 24px;
  text-align: center;
}
.cta-block h2 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.01em; }
.cta-block p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 20px; }
.cta-block .btn-appstore { font-size: 16px; padding: 12px 24px; }
.cta-block .fineprint { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.6); }
.cta-block .fineprint a { color: rgba(255,255,255,.85); }

/* ===== Guide index cards ===== */
.guide-list { display: grid; gap: 16px; margin: 36px 0 56px; }
.guide-list a.guide-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.guide-list a.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13,34,71,.12);
}
.guide-list a.guide-card h3 { font-size: 18px; margin-bottom: 6px; color: var(--link); }
.guide-list a.guide-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ===== Prose pages (privacy) ===== */
main.prose { padding: 44px 0 40px; }
.prose h2 { font-size: 22px; margin: 30px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; padding-left: 26px; }
.prose li { margin: 6px 0; }
.prose .effective-date { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ===== Footer (shared) ===== */
.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 36px 24px 44px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .links { margin-bottom: 12px; display: flex; gap: 8px 24px; justify-content: center; flex-wrap: wrap; }
.site-footer .links a { color: var(--muted); }
.site-footer p { max-width: 640px; margin: 0 auto; }

/* ===== 404 ===== */
.notfound { text-align: center; padding: 90px 24px 110px; }
.notfound h1 { font-size: clamp(40px, 8vw, 72px); letter-spacing: -0.02em; margin-bottom: 10px; }
.notfound p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }
