/* ===========================================================================
   Excise PDF — excisepdf.com

   Light theme, on purpose: this is a documents product, so the page is paper
   and the one high-contrast surface on it is the receipt (positioning brief,
   locked decision 3). Every colour below is sampled from
   assets-src/icons/excisepdf-icon.png — the slate mat (#3c4d69 / #162133), the
   excised bar (#1d2636), the icon's paper (#fbfcfd) and its two greys.

   Structure follows rangefinderinvest/styles.css (its class vocabulary,
   its reveal/skip-link/focus rules); the palette and the sections are this
   site's own. No blackout-bar motif anywhere — the product's argument is that
   a black box is a drawing, and leading with one sells the thing it refuses
   to be (docs/NAMING-USAGE.md, "Never").
   =========================================================================== */

:root {
  /* --- Ink & slate, straight off the icon ------------------------------- */
  --ink: #16212f;
  --excised: #1d2636;
  --slate-800: #273245;
  --slate-700: #3c4d69;
  --slate-600: #55668a;
  --slate-500: #6f7e9a;
  --slate-400: #9da9bb;
  --slate-300: #c5cddb;

  /* --- Accent. The icon carries no saturated hue, so the accent is its mat
         pushed just far enough to read as a link. ------------------------- */
  --accent: #34527d;
  --accent-strong: #243a5c;
  --accent-soft: #eef2f8;

  /* --- Surfaces --------------------------------------------------------- */
  --page: #ffffff;
  --band: #f5f7fa;
  --card: #ffffff;
  --card-border: #e2e7f0;
  --line: #eaeef4;
  --line-soft: #f1f4f8;

  /* --- Status. Matched to the app's own receipt banner. ------------------ */
  --good-text: #15803d;
  --good-bg: #ecfdf3;
  --good-border: #bbf7d0;
  --warn-text: #b45309;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;

  --shadow-card: 0 10px 28px rgba(22, 33, 47, 0.06);
  --shadow-pop: 0 24px 60px rgba(22, 33, 47, 0.16);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;

  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo,
    Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.022em; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }

/* Keyboard focus only — mouse clicks stay unringed. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
  box-shadow: 0 0 0 4px rgba(52, 82, 125, 0.22);
}

/* Skip link — first tab stop, visible only once focused. */
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 10px; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* Respect the OS "reduce motion" setting. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow.on-dark { color: #9fb0cc; }

.section { padding: 88px 0; }
.section.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(27px, 3.8vw, 38px); margin: 13px 0 14px; }
.section-head p { font-size: 17.5px; color: var(--slate-600); }
.lead { font-size: 18px; color: var(--slate-700); }
.lead + .lead { margin-top: 16px; }

/* ---------- Buttons + the App Store badge ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 12px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px rgba(22, 33, 47, .22); }
.btn-primary:hover { background: var(--excised); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--card-border); box-shadow: var(--shadow-card); }
.btn-light:hover { transform: translateY(-2px); border-color: #cfd8e6; }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* Apple's badge is artwork under Apple's identity guidelines: it is served
   as-is from assets/app-store-badge.svg, never recoloured, never redrawn, and
   never re-lettered. Only its rendered height changes, and the aspect ratio
   (119.664 x 40) rides along with it. */
.appstore { display: inline-block; line-height: 0; transition: transform .15s ease; }
.appstore img { height: 54px; width: auto; }
.appstore:hover { transform: translateY(-2px); }
.appstore.sm img { height: 44px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-note { font-size: 14.5px; color: var(--slate-600); font-weight: 600; }

/* ===========================================================================
   Navbar
   =========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17.5px; }
/* The master icon is full-bleed and square (assets-src/icons/excisepdf-icon.png,
   matching app-icon.png's treatment). The rounding is done here, at ~22% of the
   rendered size, which approximates Apple's squircle: a hard-cornered square
   sitting beside an App Store badge reads as the wrong artwork when the Store
   itself draws the app rounded. */
.brand .logo { width: 34px; height: 34px; border-radius: 22%; box-shadow: 0 5px 14px rgba(22, 33, 47, .22); }
.brand a { color: inherit; text-decoration: none; }
.brand > a { display: flex; align-items: center; flex: 0 0 auto; }
.brand-stack { display: flex; flex-direction: column; line-height: 1.12; }
.brand-stack small { font-size: 11px; font-weight: 600; color: var(--slate-500); letter-spacing: 0; }
.brand-stack small a:hover { color: var(--ink); text-decoration: underline; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--slate-700);
  padding: 8px 11px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .appstore img { height: 40px; }
.nav-toggle { display: none; }

/* ===========================================================================
   Hero
   =========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(52, 82, 125, 0.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--band) 100%);
  padding: 64px 0 78px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(33px, 4.8vw, 54px); line-height: 1.04; margin: 16px 0 18px; }
.hero-sub { font-size: 18.5px; color: var(--slate-700); max-width: 560px; }
/* The completeness line: which surfaces get cleared, said in the hero rather
   than only in the hidden-data section four screens down. */
.hero-cover { margin-top: 14px; font-size: 14.5px; color: var(--slate-600); max-width: 560px; border-left: 3px solid var(--accent); padding-left: 13px; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin: 28px 0 20px; flex-wrap: wrap; }
.hero-platforms { font-size: 14.5px; font-weight: 700; color: var(--slate-700); }
/* The drop zone's own sentence, verbatim. Quoted UI keeps the site and the
   product the same argument — see the [UI] marks in the brief. */
.hero-trust {
  margin-top: 20px; display: flex; gap: 11px; align-items: flex-start;
  border: 1px solid var(--card-border); background: #fff; border-radius: var(--radius-sm);
  padding: 13px 16px; max-width: 560px; box-shadow: var(--shadow-card);
}
.hero-trust svg { flex: none; width: 17px; height: 17px; color: var(--good-text); margin-top: 2px; }
.hero-trust p { font-size: 14px; color: var(--slate-700); }

/* ===========================================================================
   Screenshot frames — real captures, in a window that reads as the app
   =========================================================================== */
.shot { display: block; width: 100%; height: auto; }
.window {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--card-border); box-shadow: var(--shadow-pop);
}
.frame-bar {
  display: flex; align-items: center; gap: 7px; padding: 9px 13px;
  background: #eef1f6; border-bottom: 1px solid var(--card-border);
}
.win-dot { width: 10px; height: 10px; border-radius: 50%; }
.win-dot.r { background: #ff5f57; } .win-dot.y { background: #febc2e; } .win-dot.g { background: #28c840; }
.win-title { margin-left: 9px; color: var(--slate-500); font-size: 11.5px; font-weight: 600; }
.shot-cap { font-size: 12.5px; color: var(--slate-500); margin: 11px auto 0; max-width: 660px; }
.shot-cap.center { text-align: center; }
/* Phone and tablet captures keep their own device proportions rather than
   being stretched into a desktop window. */
/* `width: 100%` is load-bearing, not decoration. .device is a flex item inside
   .pcard .shot-hold, so without an explicit width it is sized shrink-to-fit by
   its content — and its content is `.shot { width: 100% }`, which resolves
   against the parent. That circle collapsed the frame to its 2px border and the
   iPad and iPhone captures never loaded at all. max-width still caps it. */
.device { width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid var(--card-border); box-shadow: var(--shadow-pop); background: #fff; }
.device.phone { max-width: 280px; }
.device.tablet { max-width: 440px; }

/* ===========================================================================
   Feature rows
   =========================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.feature > * { min-width: 0; }
.feature.reverse { grid-template-columns: 1.1fr 1fr; }
.feature.reverse .feature-copy { order: 2; }
.feature + .feature { margin-top: 88px; }
.feature-copy h3 { font-size: clamp(23px, 3vw, 30px); margin: 13px 0 15px; }
.feature-copy > p { font-size: 16.5px; color: var(--slate-700); }
.feature-copy > p + p { margin-top: 14px; }
.flist { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 0; padding: 0; }
.flist li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--slate-700); }
.flist .tick { flex: none; width: 21px; height: 21px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.flist .tick svg { width: 12px; height: 12px; }
.flist b { color: var(--ink); }

/* A limit, stated where the claim is. These are not footnotes: cut them and
   the copy has started claiming more (SHOWCASE.md, "Known limits"). */
.limit {
  margin-top: 20px; display: flex; gap: 11px; align-items: flex-start;
  border-left: 3px solid var(--slate-300); padding: 2px 0 2px 14px;
  font-size: 14.5px; color: var(--slate-600);
}
.limit b { color: var(--slate-800); }

/* ===========================================================================
   The receipt — the one high-contrast surface on the site
   =========================================================================== */
.receipt-section {
  background: linear-gradient(170deg, var(--slate-800) 0%, #131c2b 100%);
  color: #e7ecf4;
  padding: 90px 0;
}
.receipt-section h2, .receipt-section h3 { color: #fff; }
.receipt-section .section-head p, .receipt-section p { color: #b9c4d6; }
.receipt-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.receipt-grid > * { min-width: 0; }
.receipt-copy p + p { margin-top: 15px; }
.receipt-copy b, .receipt-copy strong { color: #fff; }
/* The app's own receipt text, quoted as the app prints it. */
.receipt-quote {
  margin-top: 24px; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm); padding: 18px 20px;
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #d6dfec;
  white-space: pre-wrap; overflow-x: auto;
}
.pullquote {
  margin-top: 26px; padding: 20px 24px; border-left: 3px solid #9fb0cc;
  background: rgba(255, 255, 255, 0.05); border-radius: 0 12px 12px 0;
  font-size: 16px; line-height: 1.65; color: #dbe3ef;
}
.pullquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: #93a3bd; }
.receipt-section .shot-cap { color: #93a3bd; }
.receipt-section .window { border-color: rgba(255, 255, 255, 0.16); }

/* ===========================================================================
   Card grids
   =========================================================================== */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gcard {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-card);
}
.gcard h4 { font-size: 16.5px; margin-bottom: 8px; }
.gcard p { color: var(--slate-600); font-size: 14.5px; }
.gcard .gi {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 14px;
}
.gcard .gi svg { width: 20px; height: 20px; }
.gcard .val { font-family: var(--mono); font-size: 12px; color: var(--slate-500); margin-top: 10px; }

/* Detector table */
.dt-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.dt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dt th { text-align: left; color: var(--slate-600); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #f8fafc; white-space: nowrap; }
.dt td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--slate-700); }
.dt tr:last-child td { border-bottom: 0; }
.dt td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.dt code { font-family: var(--mono); font-size: 12.5px; color: var(--accent-strong); }

/* The twelve hidden-data categories, as a visible list */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 26px 0 0; }
.cats li {
  list-style: none; display: flex; gap: 10px; align-items: baseline;
  border: 1px solid var(--card-border); border-radius: 11px; background: #fff;
  padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.cats .n { font-family: var(--mono); font-size: 11.5px; color: var(--slate-400); }
.cats small { display: block; font-weight: 500; color: var(--slate-500); font-size: 12.5px; margin-top: 2px; }

/* The "how it works" walkthrough: three real captures in sequence, because the
   thing the reader wants to know — how much work is this? — is answered by
   looking at the app, not by reading four sentences about it. Every frame is a
   real run from the app repo's capture script; none is a mock-up. */
/* One frame per row, caption alongside. Three-up was tried and abandoned: a
   1200px app window scaled into a 360px column is an illegible thumbnail — it
   proves an app exists without showing what using it looks like, which is the
   whole job of this section. The frame keeps ~60% of the container. */
.walk { display: grid; gap: 44px; padding: 0; margin: 34px 0 0; }
/* Direct-child selectors throughout: `.walk li` also matches the .blist bullets
   nested inside each caption, which turned every bullet into a two-column grid. */
.walk > li { list-style: none; display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: center; }
.walk > li > * { min-width: 0; }
.walk .cap > p { margin: 0; font-size: 15px; color: var(--slate-600); line-height: 1.6; }
/* Beats the rule above, which would otherwise flatten the deep-dive link
   against the last bullet. */
.walk .cap > p.more { margin-top: 16px; }
.walk .cap > b { display: block; color: var(--ink); font-size: 21px; letter-spacing: -.015em; margin-bottom: 6px; }
.walk .cap .n { font-family: var(--mono); font-size: 12px; color: var(--accent); display: block; margin-bottom: 5px; }

/* Plain bullets. The page is a $4.99 utility, so a claim gets a line, not a
   paragraph — three prose feature sections collapsed into these. */
.blist { list-style: none; padding: 0; margin: 13px 0 0; display: grid; gap: 8px; }
.blist li { position: relative; padding-left: 17px; font-size: 14.5px; line-height: 1.55; color: var(--slate-600); }
.blist li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.blist b { color: var(--ink); font-weight: 700; }
.blist a { color: var(--accent); font-weight: 600; }

/* The "→ in depth" line under a block. */
.more { margin: 16px 0 0; font-size: 14.5px; }
.more a { color: var(--accent); font-weight: 600; }
.more.center { text-align: center; margin-top: 24px; }

/* "What it doesn't do" — candor as the testimonial substitute at zero installs */
.notlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; }
.notlist li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--card-border); border-radius: 13px; background: #fff;
  padding: 16px 18px; font-size: 15px; color: var(--slate-700);
}
.notlist .x { flex: none; width: 22px; height: 22px; border-radius: 7px; background: #f1f4f8; color: var(--slate-500); display: grid; place-items: center; margin-top: 1px; }
.notlist .x svg { width: 12px; height: 12px; }
.notlist b { color: var(--ink); }

/* Platform blocks */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.pcard { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px; }
.pcard h4 { font-size: 17px; }
.pcard p { font-size: 14.5px; color: var(--slate-600); }
.pcard .shot-hold { display: flex; justify-content: center; }
.uiquote {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 10px 10px 0; padding: 13px 16px;
  font-size: 14px; color: var(--slate-800); line-height: 1.6;
}
.uiquote small { display: block; margin-top: 8px; font-size: 11.5px; color: var(--slate-500); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Pricing — the only dollar figure on the site */
.price-card {
  max-width: 620px; margin: 0 auto; text-align: center; background: #fff;
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 42px 34px; box-shadow: var(--shadow-pop);
}
.price-card .fig { font-size: 54px; font-weight: 850; letter-spacing: -0.04em; }
.price-card .oneline { font-size: 17px; color: var(--slate-700); margin-top: 6px; }
.price-card .cta-row { justify-content: center; margin-top: 26px; }
.price-card .fine { font-size: 13px; color: var(--slate-500); margin-top: 18px; }

/* About */
.about-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 38px 42px; box-shadow: var(--shadow-card); }
.about-card p { font-size: 16.5px; color: var(--slate-700); }
.about-card p + p { margin-top: 14px; }
.about-card a { color: var(--accent); font-weight: 600; }
.about-card a:hover { text-decoration: underline; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 2px 22px; box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; transition: transform .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq p { color: var(--slate-600); font-size: 15px; padding: 0 0 18px; }
.faq p + p { padding-top: 0; margin-top: -6px; padding-bottom: 18px; }
.faq a { color: var(--accent); font-weight: 600; }

/* Closing CTA */
.closing { text-align: center; }
.closing h2 { font-size: clamp(26px, 3.6vw, 36px); }
.closing .cta-row { justify-content: center; margin-top: 26px; }
.closing .sig { margin-top: 30px; font-size: 16px; color: var(--slate-600); font-style: italic; }

/* ===========================================================================
   Footer
   =========================================================================== */
.footer { padding: 52px 0 40px; color: var(--slate-600); border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { color: var(--ink); margin-bottom: 12px; }
.footer .tag { max-width: 330px; font-size: 14px; }
.footer .tag a { color: var(--accent); font-weight: 600; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.fcol h5 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); margin-bottom: 12px; }
.fcol a { display: block; font-size: 14px; color: var(--slate-700); padding: 5px 0; }
.fcol a:hover { color: var(--accent); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===========================================================================
   Reveal on scroll
   ---------------------------------------------------------------------------
   An ENHANCEMENT: the hidden state only applies once the inline head script
   has set .js on <html>. Without that guard a blocked or failed main.js
   leaves every .reveal block permanently invisible, and the JS safety net
   cannot help — it is the thing that did not run.
   =========================================================================== */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===========================================================================
   Guide pages (the deep dives, the FAQ, the query pages)
   ---------------------------------------------------------------------------
   Same tokens, prose measure. Every one of these carries a crumb back to the
   section it came from and the footer Guides column, because a page reachable
   only from the sitemap is a page nobody reads.
   =========================================================================== */
/* Block-level flex, not inline-flex: the eyebrow that follows it is itself
   inline-flex and shared the crumb's line otherwise. */
.crumb { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--slate-500); margin-bottom: 16px; }
.crumb a { color: var(--accent); }
.crumb a:hover { text-decoration: underline; }
.crumb svg { width: 13px; height: 13px; }

.guide { max-width: 820px; margin: 0 auto; }
.guide h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 8px 0 18px; }
.guide .standfirst { font-size: 19px; color: var(--slate-700); line-height: 1.6; }
.guide h2 { font-size: 24px; margin: 46px 0 14px; }
.guide h3 { font-size: 18.5px; margin: 30px 0 10px; }
.guide p, .guide li { color: var(--slate-700); font-size: 16.5px; line-height: 1.68; }
.guide p + p { margin-top: 14px; }
.guide ul, .guide ol { padding-left: 22px; margin: 12px 0 18px; }
.guide li { margin: 8px 0; }
.guide a { color: var(--accent); font-weight: 600; }
.guide a:hover { text-decoration: underline; }
.guide code { font-family: var(--mono); font-size: 14px; color: var(--accent-strong); }
.guide .dt-wrap, .guide .window, .guide .cats { margin: 26px 0; }
.guide .dt td, .guide .dt th { font-size: 15px; }
.guide .shot-cap { margin-left: 0; text-align: left; }

/* A statement the app makes about its own limits, pulled out of the prose so
   an editor cannot lose it in a paragraph. */
.callout {
  margin: 26px 0; padding: 20px 24px; border-radius: 14px;
  background: var(--band); border: 1px solid var(--card-border);
}
.callout p { font-size: 16px; }
.callout p + p { margin-top: 12px; }
.callout .lab {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 8px;
}
.callout.dark { background: var(--slate-800); border-color: var(--slate-800); }
.callout.dark p { color: #c3cddc; }
.callout.dark strong, .callout.dark b { color: #fff; }
.callout.dark .lab { color: #93a3bd; }

/* Where a guide ends: back to the section it deepens, plus the badge. */
.guide-end {
  margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.guide-end p { font-size: 15.5px; color: var(--slate-600); max-width: 460px; }

/* Sibling guides, so no page is a dead end. */
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.also a {
  display: block; background: #fff; border: 1px solid var(--card-border); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow-card); color: inherit; font-weight: 400;
}
.also a:hover { border-color: #cfd8e6; text-decoration: none; }
.also b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 5px; }
.also span { font-size: 13.5px; color: var(--slate-600); }
@media (max-width: 860px) { .also { grid-template-columns: 1fr; } }

/* ===========================================================================
   Policy pages (privacy, terms) — prose on the site's tokens
   =========================================================================== */
.policy { max-width: 760px; margin: 0 auto; }
.policy h1 { font-size: clamp(29px, 4.4vw, 42px); margin: 10px 0 6px; }
.policy .effective { color: var(--slate-500); font-size: 14.5px; margin-bottom: 32px; }
.policy h2 { font-size: 21px; margin: 38px 0 12px; }
.policy p, .policy li { color: var(--slate-700); font-size: 16px; line-height: 1.68; }
.policy p + p { margin-top: 14px; }
.policy ul { padding-left: 22px; margin: 10px 0 18px; }
.policy li { margin: 6px 0; }
.policy a { color: var(--accent); font-weight: 600; }
.policy a:hover { text-decoration: underline; }
.policy code { font-family: var(--mono); font-size: 13.5px; color: var(--accent-strong); }
.policy .tldr {
  background: var(--slate-800); color: #e7ecf4; border-radius: 14px;
  padding: 22px 26px; margin: 24px 0 8px;
}
.policy .tldr p { color: #c3cddc; margin: 0; font-size: 16.5px; }
.policy .tldr strong { color: #fff; }
.policy .tldr a { color: #cfe0ff; }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 30px; }
  .feature.reverse .feature-copy { order: 0; }
  .receipt-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: 1fr; }
  .pcard { flex-direction: row; align-items: flex-start; gap: 22px; flex-wrap: wrap; }
  .pcard > div:first-child { flex: 1 1 260px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Caption under the frame rather than beside it, so the frame keeps the
     full column width. */
  .walk > li { grid-template-columns: 1fr; gap: 15px; }
}
/* The nav collapses before the phone breakpoint: seven links plus the lockup
   and the badge need ~940px, and below that they overflowed the bar. */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 14px;
    border-bottom: 1px solid var(--card-border); box-shadow: var(--shadow-card);
  }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border-radius: 11px; border: 1px solid var(--card-border); background: #fff; cursor: pointer;
  }
}
@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .receipt-section { padding: 62px 0; }
  /* The detector table stacks rather than scrolling sideways: three columns in
     a 390px viewport left the third one off-screen while it still set the row
     height, so every row grew a hundred points of empty space. */
  .dt-wrap { overflow-x: visible; }
  .dt, .dt tbody, .dt tr, .dt td { display: block; width: 100%; }
  .dt thead { display: none; }
  .dt tr { border-bottom: 1px solid var(--line); padding: 8px 0 14px; }
  .dt tr:last-child { border-bottom: 0; }
  .dt td { border: 0; padding: 3px 18px; }
  .dt td:first-child { font-size: 16.5px; padding-top: 12px; white-space: normal; }
  .dt td:nth-child(2) { color: var(--accent-strong); font-weight: 600; }
  .grid-cards, .grid-cards.two, .notlist, .cats { grid-template-columns: 1fr; }
  .nav-inner { gap: 10px; }
  /* The badge stays on phones — it is the only call to action on the site, and
     hiding it leaves the page with none. It is NOT shrunk below 40px: Apple's
     identity guidelines set that as the badge's minimum height. The brand
     lockup gives up its "by Kalman Software" line to make the room. */
  .nav-cta .appstore img { height: 40px; }
  .brand { font-size: 16px; gap: 9px; min-width: 0; }
  .brand .logo { width: 30px; height: 30px; }
  .brand-stack small { display: none; }
  .hero { padding: 44px 0 60px; }
  .hero-cta { gap: 12px; }
  .appstore img { height: 48px; }
  .about-card { padding: 28px 22px; }
  .price-card { padding: 32px 22px; }
  .price-card .fig { font-size: 44px; }
  .device.phone, .device.tablet { max-width: 100%; }
  .pcard { flex-direction: column; }
}

/* 2026 ecosystem refresh */
[hidden] { display:none !important; }
.footer-cols { display:grid; grid-template-columns:repeat(4,minmax(130px,1fr)); gap:38px; }
@media (max-width:980px) {
  .footer-cols { grid-template-columns:repeat(2,minmax(150px,1fr)); }
}
@media (max-width:620px) {
  .footer-cols { grid-template-columns:1fr; width:100%; gap:24px; }
}
