/* Pyrbit website design system — shared by every page. Colours and type follow the Pyrbit apps (iOS system orange, grouped greys, system font). */
:root {
    --bg: #ffffff;
    --surface: #f2f2f7;          /* iOS grouped background, as in the apps */
    --surface-2: #e5e5ea;
    --card: #ffffff;
    --line: rgba(60, 60, 67, .14);
    --ink: #000000;
    --body: #3a3a3c;
    --muted: #6e6e73;
    --accent: #ff9500;           /* the apps' accent (iOS system orange, Android ios_accent) */
    --accent-hover: #f08800;
    --accent-ink: #c46a00;       /* orange dark enough for small text on white */
    --accent-soft: #fff4e5;
    --on-accent: #ffffff;
    --ok: #34c759;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
    --device: #141417;
    --max: 1180px;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #000000;
      --surface: #0f0f11;
      --surface-2: #2c2c2e;
      --card: #1c1c1e;           /* iOS dark secondary background, as in the apps */
      --line: rgba(84, 84, 88, .55);
      --ink: #ffffff;
      --body: #d1d1d6;
      --muted: #98989f;
      --accent: #ff9f0a;         /* iOS dark-mode orange */
      --accent-hover: #ffb340;
      --accent-ink: #ffb340;
      --accent-soft: #2b1d08;
      --on-accent: #1a1000;
      --ok: #30d158;
      --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .5);
      --device: #050506;
    }
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; font-weight: 700; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
  p { margin: 0; }
  h1, h2, h3 { text-wrap: balance; }   /* no single words left alone on the last line */
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
  .lead { font-size: 19px; line-height: 1.6; color: var(--body); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
  .skip { position: absolute; left: -9999px; }
  .skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }

  /* buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 10px;
    font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .btn-primary { background: var(--accent); color: var(--on-accent); }
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
  .btn-secondary:hover { border-color: var(--ink); }
  .btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

  /* header */
  header.site { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
  .bar { height: 64px; display: flex; align-items: center; gap: 28px; position: relative; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
  .brand > a { display: flex; align-items: center; gap: 10px; }
  .brand img { width: 30px; height: 30px; border-radius: 7px; }
  .brand small { font-weight: 500; color: var(--muted); font-size: 13px; }
  .brand small a:hover { color: var(--ink); }
  nav.links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
  nav.links a { color: var(--body); }
  nav.links a:hover { color: var(--ink); }
  .menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 9px; width: 40px; height: 40px; color: var(--ink); }
  @media (max-width: 900px) {
    nav.links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: var(--bg);
      border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
    nav.links.open { display: flex; }
    nav.links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .bar .btn-sm { display: none; }
  }

  /* hero */
  .hero { padding: 52px 0 40px; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(38px, 5.2vw, 60px); letter-spacing: -.035em; margin: 14px 0 20px; }
  .hero .lead { max-width: 520px; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
  .hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
  .hero-note .other { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
  .hero-note .other:hover { border-bottom-color: var(--ink); }
  .hero-visual { position: relative; padding: 0 0 36px; perspective: 1600px; }
  .hero-visual .tilt { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .hero-visual .laptop { width: 86%; }
  .hero-visual .phone { position: absolute; right: 0; bottom: 0; width: 22%; }
  .hero-visual .tablet, .hero-visual .phone.p2 { display: none; }
  /* iPad / Android tablet view: tablet with a phone beside it */
  [data-device="ipad"] .hero-visual .laptop, [data-device="tablet"] .hero-visual .laptop { display: none; }
  [data-device="ipad"] .hero-visual .tablet, [data-device="tablet"] .hero-visual .tablet { display: block; width: 84%; }
  /* iPhone / Android phone view: two phones side by side */
  [data-device="iphone"] .hero-visual .laptop, [data-device="android"] .hero-visual .laptop { display: none; }
  [data-device="iphone"] .hero-visual .tilt, [data-device="android"] .hero-visual .tilt { display: flex; justify-content: center; align-items: flex-start; gap: 7%; }
  [data-device="iphone"] .hero-visual .phone, [data-device="android"] .hero-visual .phone { position: relative; right: auto; bottom: auto; width: 36%; }
  [data-device="iphone"] .hero-visual .phone.p2, [data-device="android"] .hero-visual .phone.p2 { display: block; margin-top: 11%; }
  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding-top: 32px; }
  }

  /* device frames */
  /* MacBook (default) — thin black bezel inside an aluminium lid, wedge base with a thumb notch */
  .laptop { position: relative; }
  .laptop .screen { position: relative; background: #0b0b0d; border-radius: 16px 16px 5px 5px; padding: 2.1% 1.6% 1.9%;
    box-shadow: 0 0 0 1px #b8bac0, var(--shadow); }
  .laptop .screen::before { content: ""; position: absolute; left: 50%; top: .75%; width: .9%; aspect-ratio: 1; margin-left: -.45%; border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #3a4152, #0d0f14 70%); }                    /* camera */
  .laptop .screen img { border-radius: 4px; width: 100%; aspect-ratio: 1600 / 1167; object-fit: cover; }
  .laptop .base { height: 0; padding-bottom: 2.6%; margin: 0 -7%; border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
    background: linear-gradient(#e6e7eb 0%, #c6c8ce 55%, #9ea1a8 100%); position: relative; box-shadow: 0 10px 18px -10px rgba(0,0,0,.35); }
  .laptop .base::after { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; margin-left: -7.5%; border-radius: 0 0 10px 10px;
    background: linear-gradient(#b4b6bd, #c9cbd1); }                                               /* thumb notch */

  /* Chromebook — darker lid and keyboard deck, no thumb notch, camera in a slightly thicker top bezel */
  [data-platform="android"] .laptop .screen { background: #101113; border-radius: 12px 12px 4px 4px; padding: 2.5% 2% 2.2%;
    box-shadow: 0 0 0 1px #3a3c41, var(--shadow); }
  [data-platform="android"] .laptop .screen::before { top: .8%; }
  [data-platform="android"] .laptop .base { background: linear-gradient(#55585f 0%, #3a3c42 60%, #26272b 100%); border-radius: 3px 3px 14px 14px; }
  [data-platform="android"] .laptop .base::after { display: none; }

  /* iPhone (default) — thin even bezel, titanium band, Action button + volume on the left, side button on the right.
     Recorded iPhone screenshots already show the Dynamic Island; it's drawn only on screens that lack one. */
  .phone { position: relative; container-type: inline-size; border-radius: 16.5% / 7.6%; background: #050506;
    box-shadow: inset 0 0 0 1px #2a2b2f, 0 0 0 1px #9a9ba1, 0 0 0 2px #45464b, var(--shadow); }
  .phone .scr { position: relative; margin: 2.4cqw; border-radius: 14.8% / 6.85%; overflow: hidden; background: #000; }
  .phone img { width: 100%; aspect-ratio: 760 / 1652; object-fit: cover; }
  .phone::before, .phone::after { content: ""; position: absolute; width: 1%; border-radius: 2px; background: #7d7e84; }
  .phone::before { left: -1.6%; top: 16%; height: 21%; background: linear-gradient(#7d7e84 0 17%, transparent 17% 33%, #7d7e84 33% 62%, transparent 62% 71%, #7d7e84 71% 100%); }   /* action, volume up, volume down */
  .phone::after { right: -1.6%; top: 27%; height: 9%; }                                                 /* side button */
  .phone.needs-island .scr::after { content: ""; position: absolute; left: 34.5%; top: 1.65%; width: 31%; height: 4.1%; border-radius: 999px; background: #000; }

  /* Android (Pixel style) — flatter corners, slim uniform bezel, punch-hole camera, power + volume on the right */
  [data-platform="android"] .phone { border-radius: 11.5% / 5.3%; background: #0c0d0f;
    box-shadow: inset 0 0 0 1px #24262a, 0 0 0 1px #5d6066, 0 0 0 2px #2a2c30, var(--shadow); }
  [data-platform="android"] .phone .scr { margin: 2.6cqw; border-radius: 9.8% / 4.5%; }
  [data-platform="android"] .phone::before { left: auto; right: -1.6%; top: 22%; height: 5.5%; background: #5d6066; }   /* power */
  [data-platform="android"] .phone::after { right: -1.6%; top: 31%; height: 11%; background: #5d6066; }               /* volume */
  [data-platform="android"] .phone .scr::after { content: ""; position: absolute; left: 50%; top: 1.55%; width: 3.6%; aspect-ratio: 1; margin-left: -1.8%;
    border-radius: 50%; background: radial-gradient(circle at 40% 40%, #2b3140, #000 65%); box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
  [data-platform="android"] .phone.needs-island .scr::after { left: 50%; width: 3.6%; height: auto; margin-left: -1.8%; border-radius: 50%; }

  /* iPad (default) — even thin bezel, camera centred on the long top edge */
  .tablet { position: relative; container-type: inline-size; border-radius: 4.4% / 5.9%; background: #050506;
    box-shadow: inset 0 0 0 1px #2a2b2f, 0 0 0 1px #a4a5ab, 0 0 0 2px #45464b, var(--shadow); }
  .tablet .scr { position: relative; margin: 2.5cqw; border-radius: 2.3% / 3.1%; overflow: hidden; background: #000; }
  .tablet img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
  .tablet::before { content: ""; position: absolute; left: 50%; top: 1.05%; width: .9%; aspect-ratio: 1; margin-left: -.45%; border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #3a4152, #0d0f14 70%); }
  .tablet::after { content: ""; position: absolute; right: 7%; top: -.9%; width: 6%; height: .9%; border-radius: 2px 2px 0 0; background: #7d7e84; }   /* top button */
  /* Android tablet — darker band, slightly wider bezel */
  [data-platform="android"] .tablet { border-radius: 3.6% / 4.8%; background: #0c0d0f;
    box-shadow: inset 0 0 0 1px #24262a, 0 0 0 1px #5d6066, 0 0 0 2px #2a2c30, var(--shadow); }
  [data-platform="android"] .tablet .scr { margin: 2.9cqw; border-radius: 1.8% / 2.4%; }
  [data-platform="android"] .tablet::after { background: #5d6066; }

  /* wording that depends on the device the page is showing */
  [data-for="android"] { display: none; }
  [data-platform="android"] [data-for="android"] { display: inline; }
  [data-platform="android"] [data-for="apple"] { display: none; }

  /* the device the page is currently showing, in the "Available on" strip */
  a.plat[aria-current="true"] { border-bottom: 2px solid var(--accent); }
  a.plat[aria-current="true"] svg { color: var(--accent-ink); }

  /* motion: sections ease in once as they reach the screen; devices drift with the scroll (see script) */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .drift { will-change: transform; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* platforms strip */
  .platforms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
  .platforms .wrap { display: flex; align-items: center; gap: 12px 30px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
  .platforms .label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
  .plat { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); font-size: 15px; }
  .plat svg { width: 18px; height: 18px; color: var(--muted); }
  a.plat { border-bottom: 1px solid transparent; padding: 2px 0; }
  a.plat:hover { border-bottom-color: var(--ink); }
  a.plat:hover svg { color: var(--ink); }
  .plat .soon { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }

  /* sections */
  section.block { padding: 64px 0; scroll-margin-top: 64px; }
  @media (max-width: 700px) { section.block { padding: 44px 0; } }
  section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .head { max-width: 680px; margin-bottom: 36px; }
  .head h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; margin: 12px 0 14px; }
  .center { text-align: center; margin-left: auto; margin-right: auto; }

  /* feature rows */
  .feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .feature + .feature { margin-top: 64px; }
  .feature.flip .copy { order: 2; }
  .feature h3 { font-size: 30px; letter-spacing: -.025em; margin: 10px 0 14px; }
  .feature ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
  .feature li { display: flex; gap: 10px; align-items: flex-start; }
  .feature li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
  .feature .media { display: flex; justify-content: center; }
  .feature .media .phone { width: min(290px, 68%); }
  .feature .media .laptop { width: 100%; }
  @media (max-width: 900px) {
    .feature { grid-template-columns: 1fr; gap: 36px; }
    .feature.flip .copy { order: 0; }
    .feature + .feature { margin-top: 48px; }
  }

  /* small feature cards */
  .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
  .card h4 { font-size: 17px; margin: 14px 0 8px; }
  .card p { font-size: 15px; color: var(--muted); }
  .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
  .icon svg { width: 20px; height: 20px; }
  @media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

  /* tools */
  .tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
  .tool-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 16px; }
  .tool-cat > summary { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; list-style: none; cursor: default; }
  .tool-cat > summary::-webkit-details-marker { display: none; }
  @media (max-width: 700px) {
    .tool-cat { padding: 16px 18px; }
    .tool-cat > summary { cursor: pointer; margin-bottom: 0; align-items: center; }
    .tool-cat[open] > summary { margin-bottom: 8px; }
    .tool-cat > summary .count::after { content: "+"; display: inline-block; width: 18px; margin-left: 10px; text-align: center; font-size: 18px; color: var(--muted); }
    .tool-cat[open] > summary .count::after { content: "–"; }
  }
  .tool-cat h3 { font-size: 16px; }
  .tool-cat .count { font-size: 13px; color: var(--muted); font-weight: 500; }
  .tool-cat ul { list-style: none; margin: 0; padding: 0; }
  .tool-cat li { font-size: 14.5px; border-top: 1px solid var(--line); color: var(--body); scroll-margin-top: 90px; }
  details.tool summary { list-style: none; cursor: pointer; padding: 8px 22px 8px 0; position: relative; color: var(--ink); font-weight: 500; }
  details.tool summary::-webkit-details-marker { display: none; }
  details.tool summary::after { content: "+"; position: absolute; right: 0; top: 6px; color: var(--muted); font-size: 16px; }
  details.tool[open] summary::after { content: "–"; }
  details.tool summary:hover { color: var(--accent-ink); }
  details.tool p { font-size: 14px; color: var(--muted); margin: 0 0 8px; line-height: 1.55; }
  details.tool p.ts { color: var(--ink); font-weight: 500; }
  details.tool .more { display: inline-block; margin-top: 6px; color: var(--accent-ink); font-weight: 600; }
  .plat-tag { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
  .tool-search { max-width: 560px; margin: -12px 0 24px; }
  .tool-search input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 0 16px; font: inherit; font-size: 16px; }
  .tool-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
  .tool-count { font-size: 13.5px; color: var(--muted); margin-top: 8px; min-height: 1em; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  /* Aadhaar page */
  .steps-list { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 820px; }
  .steps-list li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
  .steps-list li::before { content: counter(st); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; display: grid; place-items: center; }
  .steps-list h3 { font-size: 16.5px; margin-bottom: 4px; }
  .steps-list p { font-size: 15px; color: var(--muted); }
  .results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .result { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--card); border-top: 4px solid var(--c); }
  .result h3 { font-size: 16.5px; display: flex; align-items: center; gap: 8px; }
  .result h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
  .result p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
  .notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 820px; }
  .notes li { padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
  .notes li strong { color: var(--ink); }
  .crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
  .crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--ink); }
  @media (max-width: 860px) { .results { grid-template-columns: 1fr; } }
  .tool-cat li:first-child { border-top: 0; }
  .tools-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
  @media (max-width: 1000px) { .tools { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .tools { grid-template-columns: 1fr; } }

  /* privacy */
  .privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .privacy h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; margin: 12px 0 16px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .fact { border-top: 2px solid var(--ink); padding-top: 16px; }
  .fact h4 { font-size: 17px; margin-bottom: 6px; }
  .fact p { font-size: 15px; color: var(--muted); }
  .disclosure { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); background: var(--surface); }
  @media (max-width: 900px) { .privacy { grid-template-columns: 1fr; gap: 40px; } }
  @media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

  /* pricing */
  .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
  .plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
  .plan.pro { border: 2px solid var(--ink); }
  .plan .tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 14px; }
  .plan h3 { font-size: 24px; }
  .plan .price { font-size: 15px; color: var(--muted); margin: 8px 0 22px; }
  .plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
  .plan li { display: flex; gap: 10px; font-size: 15px; }
  .plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
  .plan .btn { margin-top: auto; }
  .options { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
  .options span { font-size: 13px; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; color: var(--ink); }
  .plans-note { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
  @media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

  /* download */
  .downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .dl { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; min-height: 236px; }
  .dl.mine { border: 2px solid var(--accent); }
  .dl .mine-tag { display: none; position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
  .dl.mine .mine-tag { display: inline-block; }
  .dl .os { width: 32px; height: 32px; color: var(--ink); }
  .dl h3 { font-size: 19px; margin: 16px 0 6px; }
  .dl p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
  /* download options: store-style badges, the website download first and in the brand colour */
  .dl > p { margin-bottom: 22px; }
  .opts { margin-top: auto; display: grid; gap: 10px; }
  .opts .badge { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; border-radius: 12px;
    background: #000; color: #fff; border: 1px solid #000; text-align: left; }
  .opts .badge:hover { background: #1c1c1e; }
  .opts .badge svg { width: 24px; height: 24px; flex: none; }
  .opts .badge span { display: grid; line-height: 1.15; }
  .opts .badge small { font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .82; }
  .opts .badge strong { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
  .opts .badge.direct { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .opts .badge.direct:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .opts .badge.is-off { pointer-events: none; background: var(--surface-2); border-color: var(--line); color: var(--muted); }
  @media (prefers-color-scheme: dark) { .opts .badge:not(.direct):not(.is-off) { border-color: rgba(255,255,255,.28); } }
  .dl p.dl-meta { font-size: 13px; margin: 12px 0 0; color: var(--muted); }
  .dl p.dl-meta a { color: var(--accent-ink); font-weight: 600; }
  .dl.mine:hover { border-color: var(--accent); }
  .qr { display: none; position: absolute; top: 22px; right: 22px; width: 84px; flex-direction: column; align-items: center; gap: 6px;
    font-size: 11.5px; line-height: 1.3; font-weight: 500; color: var(--muted); text-align: center; }
  .qr img { width: 76px; height: 76px; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 3px; }
  [data-desktop] .qr { display: flex; }
  [data-desktop] .dl.has-qr h3, [data-desktop] .dl.has-qr > p:not(.dl-meta) { padding-right: 96px; }

  /* product pages: company logo first, then the product — "Pyrbit / PDF" */
  .brand .co { color: var(--ink); }
  .brand img.mark { object-fit: contain; border-radius: 0; }
  @media (prefers-color-scheme: dark) { .brand img.mark { background: #fff; border-radius: 7px; padding: 3px; } }
  .brand .sep { color: var(--line); font-weight: 400; font-size: 22px; margin: 0 2px; }
  .brand .prod { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
  .brand .prod img { width: 24px; height: 24px; border-radius: 6px; }
  @media (max-width: 1000px) { .downloads { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .downloads { grid-template-columns: 1fr; } }

  /* faq */
  .faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; color: var(--ink); font-size: 17px; position: relative; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; color: var(--muted); }
  .faq details[open] summary::after { content: "–"; }
  .faq details p { padding: 0 40px 22px 0; color: var(--body); }
  .faq a { color: var(--accent-ink); font-weight: 600; }

  /* closing cta */
  .closing { text-align: center; padding: 64px 0; }
  .closing img { width: 84px; height: 84px; border-radius: 19px; margin: 0 auto 24px; box-shadow: var(--shadow); }
  .closing h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; }
  .closing p { margin: 14px auto 30px; max-width: 520px; }
  .closing .hero-cta { justify-content: center; }

  /* footer */
  footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 44px 0 28px; font-size: 14.5px; }
  .foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
  .foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
  .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
  .foot a:hover { color: var(--ink); }
  .foot .about p { color: var(--muted); max-width: 300px; margin-top: 12px; }
  .social { display: flex; gap: 10px; margin-top: 18px; }
  .social a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); background: var(--card); }
  .social a:hover { color: var(--ink); border-color: var(--ink); }
  .social svg { width: 16px; height: 16px; }
  .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; }
  @media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }

  /* highlight link to a feature page */
  .callout { margin-top: 20px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--body); }
  .callout:hover { border-color: var(--accent); }
  .callout > span:nth-child(2) { display: grid; gap: 2px; font-size: 15px; color: var(--muted); }
  .callout strong { color: var(--ink); font-size: 16.5px; }
  .callout .go { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--accent-ink); }
