/* =================================================================
   CONTENT / GUIDE PAGES  -  Vlix content-page style, adapted to
   Camera to Clipboard brand tokens.
   Structure: white header (H1 only) -> lead-in -> TL;DR -> easiest
   way -> built-in methods -> why it wins + comparison table ->
   which method -> keep going. Whitespace is a feature.
   ================================================================= */

/* Brand tokens (Camera to Clipboard).
   Primary  #013B73  headings, table header, dark text
   Accent   #0366B8  ticks, links, highlighted table column
   Muted    #8d8d8d  captions
   Tint     #eaf3fa / #d4e9f6  table box / highlighted column
   Panel    #f6f8fa  TL;DR + callout backgrounds */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  background: #ffffff;
  color: #333333;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Brand bar (site chrome, not the header) ---------- */
.topbar { border-bottom: 1px solid #eef1f5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.topbar a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #013B73; }
.topbar img { width: 32px; height: 32px; border-radius: 8px; }
.topbar span { font-weight: 700; font-size: 16px; }

/* ---------- Article header: white, large H1 only ---------- */
.article-head { background: #ffffff; padding: 72px 0 8px; }
.article-head h1 {
  color: #013B73;
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
}

/* ---------- Body typography ---------- */
.article-body { padding-bottom: 40px; }
.article-body h2 {
  color: #013B73;
  font-weight: 700;
  margin-top: 12rem;
  margin-bottom: 1rem;
  font-size: 1.55rem;
  line-height: 1.25;
}
.article-body h3 { color: #013B73; font-weight: 600; margin-top: 1.8rem; margin-bottom: .4rem; font-size: 1.18rem; }
.article-body p, .article-body li { color: #333333; font-size: 1.08rem; line-height: 1.72; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ol, .article-body ul { margin: 0 0 1.2rem 0; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body a { color: #0366B8; text-decoration: underline; }
.article-body strong { color: #013B73; }
.article-body hr { border: none; border-top: 1px solid #e6ebf1; margin: 3rem 0; }
.lead-in { font-size: 1.18rem; color: #444444; line-height: 1.7; margin-top: .6rem; }
.article-updated { color: #8d8d8d; font-size: .95rem; margin: .7rem 0 0; }

/* ---------- TL;DR quick answer ---------- */
.tldr {
  background: #f6f8fa;
  border-left: 4px solid #0366B8;
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0 2rem;
}
.tldr p { margin: 0; }

/* ---------- App store badge (text + glyph, self-contained) ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2rem 0 0; }
.appbtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #013B73;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  padding: 11px 18px;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.appbtn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1, 59, 115, .22); }
.appbtn svg { width: 17px; height: 17px; }
.store-inline { display: inline-block; margin-top: .9rem; }
.store-inline .appbtn { padding: 9px 15px; font-size: 14px; }

/* ---------- Figures: screenshots / video posters ---------- */
.article-shot { margin: 1.4rem 0; }
.article-shot video, .article-shot img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .14);
  background: #d9d9d9;
}
.article-shot figcaption { color: #8d8d8d; font-size: .92rem; margin-top: .6rem; text-align: center; }
/* Real in-app phone mockups: narrower, centred (tall portrait shots) */
.article-shot img.phone-mockup { max-width: 300px; margin-left: auto; margin-right: auto; }

/* Row of transparent phone mockups, floating on the page (no card frame) */
.mockup-row-fig { margin: 2rem 0; }
.mockup-row { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.mockup-row img { width: 31%; max-width: 232px; height: auto; filter: drop-shadow(0 16px 24px rgba(11, 37, 69, 0.22)); }
.mockup-row-fig figcaption { color: #8d8d8d; font-size: .92rem; margin-top: 1.1rem; text-align: center; }
@media (max-width: 520px) { .mockup-row { gap: 9px; } }

/* image placeholder (author drops the real asset in) */
.img-placeholder {
  border: 2px dashed #c3d3e6;
  border-radius: 12px;
  background: #f6f8fa;
  color: #8d8d8d;
  padding: 40px 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}
.img-placeholder strong { display: block; color: #0366B8; margin-bottom: 6px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Why-list (value bullets) ---------- */
.why-list { list-style: none; padding-left: 0; }
.why-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.why-list li::before { content: "\002714"; color: #0366B8; position: absolute; left: 0; font-weight: 700; }

/* ---------- Comparison table ---------- */
.compare-box {
  border: 1px solid #cfe0ec;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(1, 59, 115, .10);
  margin: 1.6rem 0 .6rem;
  background: #eaf3fa;
}
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 500px; }
.compare thead th { background: #013B73; color: #fff; font-weight: 700; padding: 1rem 1.1rem; text-align: left; }
.compare thead th.h-app { background: #0366B8; text-align: center; }
.compare thead th.h-app a { color: #ffffff; text-decoration: underline; }
.compare thead th.h-rival { text-align: center; }
.compare tbody th { font-weight: 600; color: #013B73; text-align: left; padding: .85rem 1.1rem; }
.compare tbody td { padding: .85rem 1.1rem; text-align: center; color: #51606b; }
.compare td.col-app { background: #d4e9f6; }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid #d3e2ee; }
.compare .yes { color: #0366B8; font-weight: 800; font-size: 1.3rem; line-height: 1; }
.compare caption { caption-side: bottom; color: #8d8d8d; font-size: .88rem; padding: .8rem 0 0; text-align: left; }

/* ---------- Keep going ---------- */
.related a { color: #0366B8; text-decoration: none; }
.related a:hover { text-decoration: underline; }
.related ul { list-style: none; padding-left: 0; }
.related li { margin-bottom: .6rem; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.article-footer {
  border-top: 1px solid #e6ebf1;
  margin-top: 3rem;
  padding: 28px 24px 48px;
  text-align: center;
  color: #8d8d8d;
  font-size: 14px;
}
.article-footer a { color: #8d8d8d; margin: 0 10px; }

@media (max-width: 640px) {
  .article-head { padding-top: 48px; }
  .article-body h2 { margin-top: 8rem; }
}

/* Language switcher: a static pill in the top-right of the header (scrolls away). */
.lang-switcher {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  background: #ffffff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 999px;
  padding: 5px 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); font-size: 14px;
}
.lang-switcher svg { opacity: .55; flex: none; color: #024c96; }
.lang-switcher select {
  border: none; background: transparent; font: inherit; color: #024c96;
  font-weight: 600; cursor: pointer; outline: none; padding-right: 2px;
}
@media (max-width: 600px) {
  .lang-switcher { padding: 4px 8px; font-size: 13px; }
  .topbar span { font-size: 15px; }
}
