/* ============================================================================
   VesselTill — style.css
   One stylesheet for the website pages: index.html (home), help.html,
   privacy.html and 404.html. The app (pos.html) keeps its own styles inside
   the file so it stays a single file that works offline; it only shares the
   FONTS block below (copied in by embed-fonts.py).

   How this file is laid out
     1. Fonts                  self-hosted Syne, Inter, DM Mono
     2. Colours                light and dark theme tokens
     3+ Shared parts           base text, buttons, header, footer, pop-ups
     .. Landing page           .page-home
     .. Help guide             .page-help
     .. Privacy policy         .page-privacy
     .. Page not found         .page-404

   Rules worth knowing
   - Brand green is #2D5A3D (light) and #4FAE79 (dark). WhatsApp is #25D366.
     These three are protected: do not change them.
   - Use the colour tokens (var(--green), var(--muted) ...) instead of hex
     codes so both themes keep working.
   - The theme is set on <html data-theme="light|dark"> by a tiny script at
     the top of each page (saved under the "vt-theme" key).
   - After changing this file, bump CACHE_NAME in sw.js so installed copies
     pick it up.
   ========================================================================== */

/* ==========================================================================
   1. FONTS
   Self-hosted, so the site and the app work offline with the same type.
   ========================================================================== */
/* ==vt-fonts:start==
   Self-hosted fonts. Served from /fonts on vesseltill.com and saved by the
   service worker, so text looks the same with no internet and no request
   ever goes to Google Fonts. Licences (SIL Open Font Licence) are in /fonts.
   - Syne     headings (one variable file, weights 400 to 800)
   - Inter    body text and buttons (one variable file, weights 100 to 900)
   - DM Mono  labels, codes and numbers (400 and 500)
   Each family is split into "latin" (English, Spanish, German, Filipino) and
   "latin-ext" (more accents plus currency signs such as ₱ ₦ ₹). The browser
   only downloads a file when the page uses a character in its range.
   This block is also copied into pos.html and the three display screens
   (so pos.html stays one file). Edit it here, then run embed-fonts.py to
   update the copies; a test fails if they differ. The copies say fonts/...
   instead of ../fonts/... because those pages sit next to the fonts folder.
   All paths are relative so the pages also look right when opened from a
   folder on your computer (file://). */
@font-face{font-family:'Syne';font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/syne-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Syne';font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/syne-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dm-mono-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dm-mono-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/dm-mono-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/dm-mono-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* The three type roles. Every page uses these names, never a font name.
   Inter is in each fallback list so a ₱ or ₦ inside a Syne heading or a
   DM Mono price still shows in a VesselTill font, not a system one. */
:root{--sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;--display:'Syne','Inter',system-ui,sans-serif;--mono:'DM Mono','Inter',ui-monospace,monospace}
/* ==vt-fonts:end== */

/* ==========================================================================
   2. COLOURS (LIGHT AND DARK)
   Light: warm cream page, white paper cards, deep green. Dark: near-black
   green, soft paper, light green. --button-ink is the text colour on a
   green button. --gold is only for the Founding Member card. --warn and
   --info are for help-guide notes.
   ========================================================================== */
:root {
  --bg: #F8F6F0;          /* page background */
  --paper: #FFFEFA;       /* cards, header strip, inputs */
  --tint: #EEECE3;        /* alternate section background */
  --ink: #242B24;         /* main text */
  --muted: #5C645A;       /* secondary text (passes 4.5:1 on all backgrounds) */
  --line: #D5D9CB;        /* borders and dividers */
  --green: #2D5A3D;       /* brand green (protected) */
  --pale: #E4EDDF;        /* pale green wash */
  --button-ink: #FFFFFF;  /* text on green */
  --gold: #765C21;        /* Founding Member text and outline */
  --gold-bg: #F3EDD9;     /* Founding Member card */
  --warn-bg: #FFF4D4; --warn-ink: #734400;   /* help: "be careful" notes */
  --info-bg: #EAF2FF; --info-ink: #23477F;   /* help: "good to know" notes */
  --header-h: 78px;       /* sticky header height, used for scroll offsets */
  --shadow: 0 24px 64px -32px #283C3555;
}
[data-theme=dark] {
  --bg: #171A16;
  --paper: #20251F;
  --tint: #282E26;
  --ink: #F0F1E8;
  --muted: #B3BDAC;
  --line: #4F594B;
  --green: #4FAE79;       /* brand green, dark theme (protected) */
  --pale: #203724;
  --button-ink: #102417;
  --gold: #DCC078;
  --gold-bg: #352E1D;
  --warn-bg: #382B13; --warn-ink: #FFDC91;
  --info-bg: #1C2C40; --info-ink: #C1D9FF;
  --shadow: 0 24px 64px -32px #000B;
}

/* ==========================================================================
   3. BASE: RESET, PAGE AND TEXT
   Applies to every page. Body text is Inter, headings are Syne.
   ========================================================================== */
*,
*::before,
*::after { box-sizing:border-box; }
* { margin:0; }
html {
  scroll-behavior:smooth;
  scroll-padding-top:112px;
  color-scheme:light;
}
html[data-theme=dark] { color-scheme:dark; }
body {
  background:var(--bg);
  color:var(--ink);
  font:400 16px/1.65 var(--sans);
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-underline-offset:4px;
}
button,
input,
select,
textarea {
  font:inherit;
  color:inherit;
}
button {
  cursor:pointer;
  border:0;
}
svg { flex-shrink:0; }
img {
  display:block;
  max-width:100%;
  height:auto;
}
::selection {
  background:var(--green);
  color:var(--button-ink);
}
:focus-visible {
  outline:3px solid var(--green);
  outline-offset:5px;
  border-radius:3px;
}
[hidden] { display:none!important; }
h1,
h2,
h3 {
  font-family:var(--display);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.045em;
  text-wrap:balance;
}
h1 {
  font-size:clamp(48px,5.2vw,76px);
  line-height:1.02;
}
h2 {
  font-size:clamp(34px,4vw,52px);
  max-width:760px;
}
h3 {
  font-size:23px;
  letter-spacing:-.025em;
  line-height:1.2;
}
footer { padding-block:48px 24px; }


/* ==========================================================================
   4. LAYOUT AND SMALL TEXT HELPERS
   .wrap centres content; .eyebrow is the small green label above a
   heading.
   ========================================================================== */
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.skip {
  position:fixed;
  top:12px;
  left:12px;
  z-index:200;
  background:var(--paper);
  padding:12px 20px;
  transform:translateY(-160%);
}
.skip:focus { transform:none; }
.wrap {
  width:min(calc(100% - 48px),1160px);
  margin-inline:auto;
}
.eyebrow {
  font:500 11px/1.5 var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--green);
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:18px;
}
.eyebrow::before {
  content:'';
  width:24px;
  height:1px;
  background:currentColor;
  flex-shrink:0;
}
.lede {
  font-size:18px;
  line-height:1.65;
  color:var(--muted);
  max-width:590px;
  margin-top:20px;
}
.small {
  font-size:13px;
  color:var(--muted);
  line-height:1.65;
}
.text-link {
  font-weight:600;
  text-decoration-thickness:1px;
}
.text-link:hover { color:var(--green); }

/* ==========================================================================
   5. BUTTONS AND PILLS
   .btn is the green button; add .secondary for the outlined one.
   ========================================================================== */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:50px;
  padding:12px 22px;
  border-radius:8px;
  background:var(--green);
  color:var(--button-ink);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:transform .18s,box-shadow .18s;
}
.btn:hover {
  transform:translateY(-2px);
  box-shadow:0 6px 18px #243D3025;
}
.btn.secondary {
  background:transparent;
  border:1px solid var(--line);
  color:var(--ink);
}
.btn.secondary:hover { background:var(--tint); }
.cta-row {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.pill {
  font:500 11px/1.5 var(--mono);
  border:1px solid var(--line);
  padding:5px 10px;
  border-radius:99px;
  white-space:nowrap;
}
.arrow {
  font-size:18px;
  line-height:1;
}

/* ==========================================================================
   6. SITE HEADER
   Sticky top bar: logo, version badge, links, theme switch, Open button.
   On phones the links move into the "Explore VesselTill" drop-down
   (.mobile-nav).
   ========================================================================== */
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--line);
  background:var(--bg);
}
@supports(backdrop-filter:blur(16px)) {
  .site-header {
    background:color-mix(in srgb,var(--bg) 92%,transparent);
    backdrop-filter:blur(16px);
  }
}
.nav-row {
  min-height:78px;
  display:flex;
  align-items:center;
  gap:20px;
}
.brand {
  font:700 23px/1 var(--display);
  text-decoration:none;
  display:flex;
  gap:9px;
  align-items:center;
  letter-spacing:-1px;
  white-space:nowrap;
}
.brand img {
  width:34px;
  height:34px;
  border-radius:8px;
}
.version {
  font:500 10px/1.4 var(--mono);
  color:var(--muted);
  padding:6px 8px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:5px;
  white-space:nowrap;
  min-height:32px;
}
.desktop-links {
  display:flex;
  gap:24px;
  margin-left:auto;
  align-items:center;
}
.desktop-links a {
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
}
.desktop-links a:hover { color:var(--green); }
.theme-toggle {
  display:grid;
  place-items:center;
  background:transparent;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:50%;
  font-size:21px;
  flex-shrink:0;
}
.nav-cta {
  min-height:44px;
  padding:10px 16px;
  font-size:13px;
  white-space:nowrap;
}
.mobile-nav { display:none; }
.mobile-nav summary {
  font-size:13px;
  padding:14px 4px;
  cursor:pointer;
}
.mobile-links {
  padding-bottom:18px;
  display:flex;
  gap:12px 22px;
  flex-wrap:wrap;
}
.mobile-links a { font-size:14px; }

/* ==========================================================================
   7. SITE FOOTER
   Shared footer. The coloured dots are each platform's own colour
   (WhatsApp stays #25D366).
   ========================================================================== */
.footer-top {
  display:flex;
  justify-content:space-between;
  gap:32px;
}
.footer-top p {
  font-size:12px;
  color:var(--muted);
  margin-top:12px;
}
.footer-nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px 26px;
  align-items:center;
  max-width:500px;
  font-size:13px;
}
.footer-social {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:32px;
  font-size:12px;
  color:var(--muted);
}
.footer-social a {
  display:inline-flex;
  gap:6px;
  align-items:center;
  text-decoration:none;
  min-height:32px;
}
.social-dot {
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%;
}
.whatsapp-dot { background:#25D366; }
.instagram-dot { background:#E4405F; }
.facebook-dot { background:#1877F2; }
.tiktok-dot { background:#25F4EE; }
.reddit-dot { background:#FF4500; }
.footer-bottom {
  margin-top:26px;
  border-top:1px solid var(--line);
  padding-top:20px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:16px;
  font-size:11px;
  color:var(--muted);
}
.footer-bottom button {
  background:transparent;
  text-decoration:underline;
  text-underline-offset:4px;
  font-size:11px;
  min-height:32px;
}
.footer-share {
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.footer-share svg {
  width:16px;
  height:16px;
}

/* ==========================================================================
   8. ANALYTICS CHOICE AND WHAT'S NEW WINDOW
   The cookie question (.consent) and the changelog pop-up opened from the
   version badge.
   ========================================================================== */
.consent {
  position:fixed;
  bottom:16px;
  left:16px;
  z-index:100;
  background:var(--paper);
  border:1px solid var(--line);
  padding:20px;
  border-radius:12px;
  box-shadow:var(--shadow);
  max-width:410px;
  width:calc(100% - 32px);
  font-size:12px;
  color:var(--muted);
}
.consent strong {
  display:block;
  font-size:14px;
  color:var(--ink);
  margin-bottom:6px;
}
.consent .cta-row { margin-top:14px; }
.consent .btn {
  min-height:42px;
  padding:9px 16px;
  font-size:12px;
}
.consent a {
  display:inline-block;
  margin-top:8px;
}
.changelog {
  width:min(640px,calc(100% - 32px));
  max-height:80vh;
  max-height:80dvh;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper);
  color:var(--ink);
  padding:0;
  margin:auto;
  box-shadow:var(--shadow);
}
.changelog::backdrop { background:#111B; }
.dialog-header {
  position:sticky;
  top:0;
  background:var(--paper);
  padding:22px 26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px solid var(--line);
}
.dialog-header h2 { font-size:25px; }
.dialog-header button {
  background:var(--tint);
  padding:10px 14px;
  border-radius:6px;
  font-size:13px;
  min-height:44px;
}
.changelog-body { padding:0 26px 24px; }
.change-entry {
  padding-block:22px;
  border-bottom:1px solid var(--line);
}
.change-entry h3 { font:500 13px var(--mono); }
.change-entry time {
  float:right;
  font:400 11px var(--mono);
  color:var(--muted);
}
.change-entry ul {
  padding-left:18px;
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
  margin-top:12px;
}
.change-entry li+li { margin-top:7px; }
.changelog-fallback { margin-top:20px; }
.changelog-fallback summary {
  cursor:pointer;
  font-size:13px;
}
.changelog-fallback p {
  font-size:12px;
  color:var(--muted);
  margin-top:12px;
}

/* ==========================================================================
   9. SHARED PARTS ON SMALLER SCREENS
   Breakpoints: 1100px (small laptop), 900px (tablet: links move into the
   drop-down), 600px (phone), 370px (small phone).
   ========================================================================== */
@media(max-width:1100px) {
  .desktop-links { gap:16px; }
  .desktop-links a { font-size:12px; }
  .nav-row { gap:14px; }
  .brand { font-size:21px; }
}
@media(max-width:900px) {
  .desktop-links { display:none; }
  .nav-row { min-height:72px; }
  .theme-toggle { margin-left:auto; }
  .mobile-nav {
    display:block;
    border-top:1px solid var(--line);
  }
  .footer-top { flex-wrap:wrap; }
}
@media(max-width:600px) {
  .wrap { width:calc(100% - 36px); }
  .nav-row { gap:10px; }
  .brand {
    font-size:20px;
    letter-spacing:-.7px;
    gap:7px;
  }
  .brand img {
    width:29px;
    height:29px;
  }
  .version {
    padding:6px;
    font-size:9px;
  }
  .theme-toggle {
    width:40px;
    height:40px;
  }
  .nav-cta {
    font-size:11px;
    padding:10px 12px;
    min-height:40px;
  }
  .nav-cta .arrow { display:none; }
  .mobile-nav summary {
    font-size:12px;
    padding-block:10px;
  }
  .mobile-links { gap:4px 20px; }
  .mobile-links a {
    min-height:42px;
    display:flex;
    align-items:center;
  }
  h2 { font-size:36px; }
  .eyebrow {
    font-size:10px;
    margin-bottom:14px;
  }
  .lede { font-size:16px; }
  .footer-top { gap:24px; }
  .footer-nav {
    font-size:12px;
    gap:12px 22px;
  }
  .footer-social {
    gap:12px;
    font-size:11px;
  }
  .consent {
    padding:16px;
    bottom:12px;
    left:12px;
    width:calc(100% - 24px);
    font-size:11px;
  }
  .dialog-header { padding:18px; }
  .changelog-body { padding-inline:18px; }
}
@media(max-width:370px) {
  .brand { font-size:17px; }
  .brand img {
    width:24px;
    height:24px;
  }
  .nav-row { gap:6px; }
  .version {
    font-size:9px;
    padding-inline:5px;
  }
  .nav-cta {
    padding:9px 8px;
    font-size:10px;
  }
  .theme-toggle {
    width:32px;
    height:38px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,
  *::before,
  *::after {
    animation:none!important;
    transition:none!important;
  }
}

/* ==========================================================================
   10. LANDING PAGE (INDEX.HTML)
   Rules for the home page only. Generic names such as .section are written
   as .page-home .section so they cannot clash with the help page.
   ========================================================================== */

/* -- Hero: big headline, app screenshot and the $0 note -------------------- */
.hero {
  position:relative;
  padding-block:72px 56px;
  background:radial-gradient(ellipse at 85% 35%,var(--pale),transparent 60%);
}
.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
  gap:40px;
  align-items:center;
}
.hero-copy .eyebrow { margin-bottom:24px; }
.hero h1 span { color:var(--green); }
.hero .lede {
  font-size:17px;
  margin-block:24px 28px;
  max-width:470px;
}
.hero-note {
  margin-top:14px;
  font-size:12px;
}
.hero-note::before {
  content:'✓';
  color:var(--green);
  margin-right:7px;
}
.windows-note {
  margin-top:24px;
  font-size:12px;
  color:var(--muted);
}
.hero-visual {
  min-width:0;
  padding-block:20px;
}
.visual-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
  font:500 10px/1.5 var(--mono);
  color:var(--muted);
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  margin-right:6px;
}
.app-frame {
  border:5px solid #30382D;
  border-radius:14px;
  overflow:hidden;
  background:#15120D;
  box-shadow:var(--shadow);
}
.app-frame img {
  width:100%;
  aspect-ratio:16/9;
  object-fit:contain;
}
.hero-caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 2px;
  font-size:11px;
  color:var(--muted);
}
.hero-caption a { white-space:nowrap; }
.counter-note {
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  padding:16px 18px;
  margin-top:12px;
  max-width:350px;
  margin-left:auto;
}
.counter-note .zero {
  font:700 35px/1 var(--display);
  letter-spacing:-2px;
  color:var(--green);
}
.counter-note p {
  font-size:12px;
  line-height:1.5;
  color:var(--muted);
}
.counter-note strong {
  display:block;
  color:var(--ink);
  font-size:13px;
}
.hero-bottom {
  margin-top:54px;
  display:flex;
  align-items:center;
  gap:20px;
  color:var(--muted);
  font:400 11px/1.5 var(--mono);
}
.hero-bottom::after {
  content:'';
  height:1px;
  background:var(--line);
  flex:1;
}

/* -- Trust strip and "how it works" steps ---------------------------------- */
.trust-strip {
  border-block:1px solid var(--line);
  background:var(--paper);
}
.trust-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding-block:26px;
  gap:24px;
}
.trust-item {
  display:flex;
  gap:12px;
  align-items:center;
}
.trust-icon {
  color:var(--green);
  font-size:24px;
  font-family:var(--mono);
}
.trust-item b {
  display:block;
  font-size:13px;
}
.trust-item span:not(.trust-icon) {
  display:block;
  color:var(--muted);
  font-size:11px;
}
.steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--line);
  gap:32px;
}
.step { padding-top:28px; }
.step-number {
  font:500 12px var(--mono);
  color:var(--green);
  margin-bottom:22px;
}
.step h3 {
  font-size:24px;
  margin-bottom:12px;
}
.step p {
  font-size:14px;
  color:var(--muted);
}
.how-note {
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

/* -- Features grid (the receipt card is .feature-main) --------------------- */
.feature-section {
  background:var(--tint);
  border-block:1px solid var(--line);
}
.bento {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.feature {
  border:1px solid var(--line);
  padding:28px;
  background:var(--paper);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:start;
}
.feature .icon {
  font:500 20px var(--mono);
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:10px;
  display:grid;
  place-items:center;
  color:var(--green);
  margin-bottom:24px;
}
.feature h3 {
  font-size:22px;
  margin-bottom:12px;
}
.feature p {
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}
.feature .tag {
  font:400 10px var(--mono);
  text-transform:uppercase;
  letter-spacing:.07em;
  color:var(--muted);
  border-top:1px solid var(--line);
  width:100%;
  padding-top:18px;
  margin-top:24px;
}
.feature.feature-main {
  grid-column:span 2;
  background:var(--green);
  color:var(--button-ink);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:24px;
  align-items:center;
}
.feature-main .icon {
  border-color:currentColor;
  color:inherit;
}
.feature-main h3 { font-size:32px; }
.feature-main p { color:inherit; }
.feature-main .tag {
  color:inherit;
  border-color:currentColor;
}
.receipt-link {
  display:block;
  border-radius:8px;
  overflow:hidden;
  border:1px solid #FFFFFF40;
  background:#15120D;
}
.receipt-link img {
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center;
}
.feature-main .small {
  color:inherit;
  margin-top:10px;
  font-size:10px;
}
.display-note {
  margin-top:24px;
  font-size:12px;
  color:var(--muted);
}

/* -- Screenshot chooser ---------------------------------------------------- */
.screen-section { padding-top:90px; }
.screen-shell {
  background:#151914;
  border:1px solid #3A4236;
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.screen-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 22px;
  color:#C1CAB8;
  font:400 11px var(--mono);
  border-bottom:1px solid #3A4236;
}
.screen-toolbar .screen-badge { color:#8DD2A9; }
.screen-controls {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-block:24px;
}
.screen-controls button {
  padding:10px 17px;
  border:1px solid var(--line);
  border-radius:99px;
  background:var(--paper);
  font-size:13px;
  font-weight:500;
  min-height:44px;
}
.screen-controls button[aria-pressed=true] {
  background:var(--green);
  color:var(--button-ink);
  border-color:var(--green);
}
.screen-shell img {
  width:100%;
  aspect-ratio:16/9;
  object-fit:contain;
}
.screen-description {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:18px;
}
.screen-description p {
  font-size:13px;
  color:var(--muted);
}
.screen-description a {
  font-size:13px;
  white-space:nowrap;
}

/* -- Offline and "your data" panel ----------------------------------------- */
.ownership {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-radius:14px;
  border:1px solid var(--line);
  overflow:hidden;
}
.ownership-copy {
  padding:42px;
  background:var(--paper);
}
.ownership-copy h2 { font-size:40px; }
.ownership-copy p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
  margin-top:18px;
}
.ownership-copy .text-link {
  display:inline-block;
  margin-top:24px;
  font-size:14px;
}
.data-map {
  padding:42px;
  background:var(--pale);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.data-node {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px;
  display:flex;
  align-items:center;
  gap:16px;
}
.node-symbol {
  color:var(--green);
  font:500 22px var(--mono);
}
.data-node strong { font-size:14px; }
.data-node small {
  display:block;
  font-size:12px;
  color:var(--muted);
}
.data-path {
  border-left:1px dashed var(--green);
  padding:12px 0 12px 20px;
  margin-left:20px;
  color:var(--green);
  font:400 10px/1.6 var(--mono);
}
.backup-warning {
  margin-top:18px;
  font-size:12px;
  color:var(--muted);
}

/* -- Who it is for --------------------------------------------------------- */
.for-section { border-bottom:1px solid var(--line); }
.for-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
  gap:56px;
}
.seller-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 28px;
}
.seller {
  padding:20px 0;
  border-top:1px solid var(--line);
}
.seller h3 { font-size:20px; }
.seller p {
  color:var(--muted);
  font-size:13px;
  margin-top:8px;
}
.local-note {
  margin-top:24px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.local-note .pill { font-size:10px; }

/* -- Pricing cards. Free has the strongest outline; Founding Member uses the gold tokens. ---- */
.pricing-intro { max-width:640px; }
.plans {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:42px;
  align-items:stretch;
}
.plan {
  position:relative;
  padding:30px 26px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:start;
}
.plan-free {
  border:2px solid var(--green);
  padding:29px 25px;
}
.plan-label {
  font:500 10px var(--mono);
  text-transform:uppercase;
  letter-spacing:.09em;
  color:var(--muted);
  margin-bottom:18px;
}
.plan h3 {
  font-size:27px;
  letter-spacing:-.035em;
}
.price {
  font:700 52px/1 var(--display);
  letter-spacing:-3px;
  margin-block:24px 12px;
}
.price span {
  font:400 13px var(--sans);
  letter-spacing:0;
  color:var(--muted);
}
.plan-description {
  min-height:65px;
  font-size:13px;
  color:var(--muted);
}
.plan ul {
  list-style:none;
  padding:24px 0;
  margin-top:22px;
  display:grid;
  gap:14px;
  border-top:1px solid var(--line);
  width:100%;
  font-size:13px;
  line-height:1.55;
}
.plan li {
  display:flex;
  gap:8px;
  align-items:start;
}
.plan li::before {
  content:'✓';
  color:var(--green);
  font-weight:700;
  flex-shrink:0;
}
.plan .btn {
  width:100%;
  margin-top:auto;
}
.plan .plan-foot {
  font-size:11px;
  color:var(--muted);
  margin-top:15px;
}
.plan .plan-foot a { font-weight:600; }
.plan-founder {
  background:var(--gold-bg);
  border-color:var(--gold);
}
.plan-founder .plan-label { color:var(--gold); }
.plan-founder .founder-status {
  font:400 10px/1.7 var(--mono);
  color:var(--gold);
  margin-block:6px 16px;
}
.pricing-clarity {
  border:1px solid var(--line);
  background:var(--paper);
  padding:20px 24px;
  border-radius:10px;
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.pricing-clarity p {
  color:var(--muted);
  font-size:12px;
}
.pricing-clarity strong { color:var(--ink); }

/* -- Founder story (full-width green band) --------------------------------- */
.founder-story {
  background:var(--green);
  color:var(--button-ink);
  padding-block:70px;
}
.story-grid {
  display:grid;
  grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  gap:64px;
}
.founder-story .eyebrow { color:inherit; }
.story-label {
  font-size:13px;
  line-height:1.7;
}
.story-label strong {
  display:block;
  font-size:17px;
}
.founder-story blockquote {
  font:700 clamp(26px,3vw,38px)/1.2 var(--display);
  letter-spacing:-.03em;
  text-wrap:balance;
}
.story-text {
  font-size:14px;
  line-height:1.8;
  margin-top:24px;
  max-width:620px;
}

/* -- Share VesselTill ------------------------------------------------------ */
.share-section {
  padding-block:60px;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}
.share-grid {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:48px;
  align-items:center;
}
.share-copy h2 { font-size:clamp(30px,3.2vw,42px); }
.share-copy p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
  margin-top:18px;
  max-width:360px;
}
.share-actions { min-width:0; }
.share-options-label { margin-block:20px 10px; }
.share-options {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.share-option {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  padding:10px 13px;
  border:1px solid var(--muted);
  border-radius:7px;
  background:var(--paper);
  color:var(--ink);
  font-size:12px;
  font-weight:600;
  line-height:1.5;
  text-decoration:none;
}
.share-option:hover { box-shadow:0 3px 10px #243D3025; }
.share-whatsapp,
.share-whatsapp:hover {
  background:#25D366;
  color:#123321;
  border-color:#25D366;
}
.share-facebook svg { color:#1877F2; }
.share-x svg { color:#000000; }
[data-theme=dark] .share-x svg { color:#FFFFFF; }
.share-status {
  min-height:22px;
  margin-top:14px;
}
.share-copy-fallback {
  max-width:440px;
  margin-top:12px;
}
.share-actions button:disabled { cursor:wait; }

/* -- Questions (FAQ) ------------------------------------------------------- */
.faq-grid {
  display:grid;
  grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  gap:64px;
}
.faq-heading {
  position:sticky;
  top:120px;
  align-self:start;
}
.faq-heading p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
  margin-block:20px 24px;
}
.faq-heading .btn { min-height:46px; }
.faq-list details { border-top:1px solid var(--line); }
.faq-list details:last-child { border-bottom:1px solid var(--line); }
.faq-list summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  list-style:none;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  padding:22px 0;
  line-height:1.5;
}
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after {
  content:'+';
  font:400 24px var(--mono);
  color:var(--green);
  flex-shrink:0;
}
.faq-list details[open] summary::after { content:'−'; }
.answer {
  padding:0 30px 22px 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

/* -- Contact form and the closing call to action --------------------------- */
.contact-section {
  border-top:1px solid var(--line);
  background:var(--paper);
}
.contact-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:80px;
}
.contact-copy p:not(.eyebrow) {
  margin-top:20px;
  color:var(--muted);
  font-size:15px;
}
.whatsapp-link {
  background:#25D366!important;
  color:#123321!important;
  margin-top:24px;
}
.contact-form {
  display:grid;
  gap:18px;
}
.form-row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.field {
  display:grid;
  gap:7px;
}
.field label {
  font-size:12px;
  font-weight:600;
}
.field input,
.field select,
.field textarea {
  width:100%;
  min-width:0;
  border:1px solid var(--muted);
  background:var(--bg);
  border-radius:7px;
  padding:11px 13px;
  font-size:14px;
  min-height:46px;
}
.field textarea {
  min-height:110px;
  resize:vertical;
}
.contact-form .btn { justify-self:start; }
.contact-form button:disabled {
  cursor:wait;
  opacity:.7;
}
.form-status {
  font-size:12px;
  color:var(--muted);
  min-height:20px;
}
.preview-notice {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  border-left:2px solid var(--green);
  padding-left:12px;
}
.final-cta {
  padding-block:80px;
  text-align:center;
  background:var(--pale);
  border-block:1px solid var(--line);
}
.final-cta .eyebrow { justify-content:center; }
.final-cta h2 {
  max-width:800px;
  margin-inline:auto;
  font-size:clamp(40px,5vw,66px);
}
.final-cta p:not(.eyebrow) {
  color:var(--muted);
  margin-block:20px 28px;
}
.final-cta .small {
  display:block;
  margin-top:18px;
  font-size:12px;
}
.final-cta .btn {
  font-size:16px;
  min-height:56px;
  padding-inline:28px;
}

/* -- Section spacing used by the landing page ------------------------------ */
.page-home .section { padding-block:96px; }
.page-home .section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:40px;
}
.page-home .section-head .lede {
  max-width:360px;
  margin:0;
}

/* -- Founding Member spots counter ------------------------------------ */
/* Filled in from /api/founder (the server owns the count; the page never
   guesses). Until the answer arrives the card says "Only 50 numbered spots". */
.founder-meter { width: 100%; margin-block: 2px 14px; }
.founder-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font: 400 12px/1.4 var(--mono);
  color: var(--gold);
}
.founder-count strong {
  font: 700 34px/1 var(--display);
  letter-spacing: -1.5px;
  color: var(--ink);
}
.founder-bar {
  height: 8px;
  margin-top: 10px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  overflow: hidden;
}
.founder-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
  transition: width .6s ease;
}
/* Sold out: the card stays for a week, struck through, with no buy button. */
.plan-founder.is-soldout .price,
.plan-founder.is-soldout ul { text-decoration: line-through; opacity: .6; }
.plan-founder.is-soldout #founder-cta,
.plan-founder.is-soldout .founder-meter { display: none; }
/* Offer switched off or long sold out: hide the card, two plans side by side. */
.plans.plans-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* -- Without JavaScript ---------------------------------------------- */
/* The first script in <head> adds class "js" to <html>. Controls that only
   work with JavaScript are hidden when it is off. */
html:not(.js) .site-header { position: static; }
html:not(.js) .contact-form,
html:not(.js) .version,
html:not(.js) .theme-toggle,
html:not(.js) .screen-controls,
html:not(.js) #privacy-settings,
html:not(.js) #native-share,
html:not(.js) #copy-link { display: none; }
.noscript-note { padding-block: 20px; }
@media (max-width: 900px) {
  .plans.plans-two .plan:not(.plan-free) { grid-column: span 2; }
}
@media (max-width: 600px) {
  .plans.plans-two { grid-template-columns: 1fr; }
  .plans.plans-two .plan:not(.plan-free) { grid-column: auto; }
}

/* -- Landing page on smaller screens and with reduced motion --------------- */
@media(max-width:900px) {
  .share-grid {
    grid-template-columns:1fr;
    gap:28px;
  }
  .share-copy p:not(.eyebrow) { max-width:600px; }
}
@media(max-width:600px) {
  .share-section { padding-block:44px; }
  .share-grid { gap:24px; }
  .share-copy h2 { font-size:32px; }
  .share-option { padding-inline:12px; }
}
@media(min-width:1000px) and (prefers-reduced-motion:no-preference) {
  .hero-copy { animation:arrive .6s both; }
  .hero-visual { animation:arrive .8s .1s both; }
  @keyframes arrive { from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none} }
}
@media(max-width:1100px) {
  .hero-grid { gap:28px; }
  .hero h1 { font-size:60px; }
  .feature { padding:24px; }
  .plans { gap:12px; }
  .plan { padding:26px 22px; }
  .plan-free { padding:25px 21px; }
  .contact-grid { gap:40px; }
}
@media(max-width:900px) {
  .hero-grid {
    grid-template-columns:minmax(0,1fr);
    gap:36px;
  }
  .hero { padding-block:48px 32px; }
  .hero h1 {
    font-size:clamp(52px,9vw,78px);
    max-width:750px;
  }
  .hero .lede {
    max-width:580px;
    font-size:18px;
  }
  .hero-visual {
    max-width:740px;
    width:100%;
    margin-inline:auto;
    padding:0;
  }
  .counter-note {
    margin-top:0;
    max-width:none;
  }
  .counter-note .zero { font-size:30px; }
  .hero-caption { padding-block:12px; }
  .hero-bottom { margin-top:30px; }
  .trust-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
  }
  .page-home .section { padding-block:72px; }
  .page-home .section-head { display:block; }
  .page-home .section-head .lede {
    max-width:600px;
    margin-top:20px;
  }
  .bento { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feature-main .receipt-link {
    max-width:310px;
    margin-left:auto;
  }
  .plans { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .plan-free {
    grid-column:span 2;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 28px;
  }
  .plan-free .plan-label,
  .plan-free h3,
  .plan-free .price,
  .plan-free .plan-description {
    grid-column:1;
  }
  .plan-free ul {
    grid-column:2;
    grid-row:1/6;
    margin:0;
    border:0;
    padding:0 0 20px;
  }
  .plan-free .btn { grid-column:1; }
  .plan-free .plan-foot {
    grid-column:2;
    grid-row:6;
  }
  .plan-description { min-height:0; }
  .plan ul { min-height:220px; }
  .pricing-clarity { grid-template-columns:1fr; }
  .for-grid {
    grid-template-columns:1fr;
    gap:32px;
  }
  .ownership-copy,
  .data-map { padding:30px; }
  .ownership-copy h2 { font-size:34px; }
  .story-grid,
  .faq-grid {
    gap:32px;
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  }
  .contact-grid { gap:40px; }
}
@media(max-width:600px) {
  .hero { padding-top:36px; }
  .hero-copy .eyebrow {
    font-size:10px;
    margin-bottom:20px;
  }
  .hero h1 { font-size:clamp(44px,10.5vw,64px); }
  .hero .lede {
    font-size:16px;
    margin-block:20px 24px;
  }
  .hero .cta-row { gap:10px; }
  .hero .cta-row .btn {
    font-size:13px;
    padding:12px 16px;
  }
  .hero-note { font-size:11px; }
  .windows-note {
    font-size:11px;
    margin-top:20px;
  }
  .hero-grid { gap:28px; }
  .visual-heading {
    font-size:9px;
    gap:8px;
    flex-wrap:wrap;
  }
  .visual-heading .pill {
    font-size:9px;
    padding:4px 7px;
  }
  .app-frame {
    border-width:3px;
    border-radius:9px;
  }
  .hero-caption {
    font-size:10px;
    gap:10px;
  }
  .counter-note { padding:12px; }
  .counter-note p { font-size:11px; }
  .counter-note strong { font-size:12px; }
  .hero-bottom {
    font-size:10px;
    gap:12px;
  }
  .trust-grid {
    gap:20px 14px;
    padding-block:24px;
  }
  .trust-item { gap:9px; }
  .trust-icon { font-size:18px; }
  .trust-item b { font-size:11px; }
  .trust-item span:not(.trust-icon) { font-size:10px; }
  .page-home .section { padding-block:56px; }
  .page-home .section-head { margin-bottom:30px; }
  .steps {
    grid-template-columns:1fr;
    gap:0;
  }
  .step {
    display:grid;
    grid-template-columns:32px minmax(0,1fr);
    gap:0 14px;
    padding-block:24px;
    border-bottom:1px solid var(--line);
  }
  .step-number {
    grid-row:1/3;
    margin:3px 0 0;
  }
  .step h3 {
    font-size:23px;
    margin-bottom:10px;
  }
  .step p { grid-column:2; }
  .how-note {
    margin-top:0;
    border:0;
    padding-top:18px;
    font-size:12px;
  }
  .bento {
    grid-template-columns:1fr;
    gap:12px;
  }
  .feature.feature-main {
    grid-column:auto;
    grid-template-columns:1fr;
    padding:26px;
    gap:20px;
  }
  .feature-main .receipt-link {
    margin:0;
    max-width:100%;
  }
  .receipt-link img {
    aspect-ratio:16/9;
    object-fit:contain;
  }
  .feature .icon { margin-bottom:18px; }
  .feature h3 { font-size:24px; }
  .feature-main h3 { font-size:30px; }
  .feature .tag {
    margin-top:20px;
    font-size:10px;
  }
  .feature-main .small { font-size:11px; }
  .screen-section { padding-top:56px; }
  .screen-controls {
    gap:7px;
    margin-block:20px;
  }
  .screen-controls button {
    font-size:12px;
    padding:9px 13px;
  }
  .screen-toolbar {
    padding:12px;
    font-size:9px;
    flex-wrap:wrap;
    gap:8px;
  }
  .screen-description { display:block; }
  .screen-description p { font-size:12px; }
  .screen-description a {
    display:inline-block;
    margin-top:10px;
  }
  .ownership { grid-template-columns:1fr; }
  .ownership-copy,
  .data-map { padding:26px; }
  .ownership-copy h2 { font-size:33px; }
  .data-node {
    padding:16px;
    gap:12px;
  }
  .data-node strong { font-size:13px; }
  .data-node small { font-size:11px; }
  .data-path { font-size:9px; }
  .seller-list { gap:0 18px; }
  .seller h3 { font-size:19px; }
  .seller p { font-size:12px; }
  .plans {
    grid-template-columns:1fr;
    gap:18px;
    margin-top:30px;
  }
  .plan,
  .plan-free {
    padding:28px;
    display:flex;
    grid-column:auto;
  }
  .plan ul { min-height:0; }
  .plan-free ul {
    padding:24px 0;
    margin-top:22px;
    border-top:1px solid var(--line);
  }
  .plan-description { font-size:13px; }
  .plan .btn { margin-top:8px; }
  .plan .plan-foot { font-size:12px; }
  .pricing-clarity { padding:20px; }
  .story-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns:1fr;
    gap:32px;
  }
  .founder-story { padding-block:50px; }
  .founder-story blockquote { font-size:29px; }
  .story-text { font-size:14px; }
  .faq-heading { position:static; }
  .faq-heading p:not(.eyebrow) { margin-block:16px 20px; }
  .faq-list summary {
    font-size:14px;
    padding-block:20px;
  }
  .answer {
    font-size:13px;
    padding-right:12px;
  }
  .contact-copy h2 { font-size:34px; }
  .form-row { grid-template-columns:1fr; }
  .final-cta { padding-block:56px; }
  .final-cta h2 { font-size:42px; }
  .final-cta p { font-size:14px; }
}
@media(max-width:370px) {
  .hero .cta-row {
    display:grid;
    grid-template-columns:1fr;
  }
  .hero .cta-row .btn { width:100%; }
  .hero-caption { flex-wrap:wrap; }
  .trust-item b { font-size:10px; }
  .hero h1 { font-size:43px; }
  .seller-list { grid-template-columns:1fr; }
  .plan { padding:24px; }
}

/* ==========================================================================
   11. HELP GUIDE (HELP.HTML)
   Scoped with .page-help. Same colours and fonts as the home page.
   ========================================================================== */
/* The help guide uses the shared header and footer. Everything below is
   only for help.html, so every rule starts with .page-help. */
.page-help { --help-max: 1040px; }
html:has(.page-help) { scroll-padding-top: 136px; }
.page-help [id] { scroll-margin-top: 136px; }
.page-help main:focus { outline: none; }

/* -- "Skip to help content" link (shown only when tabbed to) ----------- */
.page-help .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--green);
  border-radius: 8px;
  transform: translateY(-180%);
}
.page-help .skip-link:focus { transform: none; }

/* -- Section shortcuts bar, sticks under the site header --------------- */
.page-help .quick-nav {
  position: sticky;
  top: 79px;
  z-index: 40;
  display: flex;
  gap: 2px;
  padding-inline: max(24px, calc((100% - var(--help-max)) / 2));
  overflow-x: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.page-help .qn-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.page-help .qn-link:hover,
.page-help .qn-link[aria-current="location"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* -- Top of the guide --------------------------------------------------- */
.page-help .help-hero {
  padding: 64px 24px 56px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--pale), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.page-help .help-hero .eyebrow { justify-content: center; }
.page-help .help-hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  max-width: 820px;
  margin-inline: auto;
}
.page-help .help-hero h1 em { font-style: normal; color: var(--green); }
.page-help .help-hero p {
  max-width: 640px;
  margin: 20px auto 28px;
  font-size: 17px;
  color: var(--muted);
}
/* The big green button in the hero and the search "Clear" button look like .btn */
.page-help .hero-cta,
.page-help .search-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: var(--button-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.page-help .hero-cta:hover,
.page-help .search-row button:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #243D3025; }

/* -- Main column -------------------------------------------------------- */
.page-help .page-body {
  max-width: var(--help-max);
  margin: 0 auto;
  padding: 48px 24px 88px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.page-help .section,
.page-help .task,
.page-help .finder,
.page-help .step-card,
.page-help .step-body { min-width: 0; max-width: 100%; }
/* Links inside the guide are green; buttons keep their own colours. */
.page-help main :where(a:not(.btn)) { color: var(--green); text-underline-offset: .2em; }
.page-help main :where(a:not(.btn)):hover { text-decoration-thickness: 2px; }
.page-help .review-note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.page-help .system-theme {
  margin-left: 8px;
  padding: 4px 10px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 13px;
}

/* Two big "where do I start?" links */
.page-help .route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.page-help .route-grid a {
  display: block;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.page-help .route-grid a:hover { border-color: var(--green); }
.page-help .route-grid strong { display: block; font: 700 19px/1.3 var(--display); letter-spacing: -.02em; }
.page-help .route-grid span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* -- Search box and contents -------------------------------------------- */
.page-help .finder {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.page-help .finder h2 { font-size: 28px; margin-bottom: 14px; }
.page-help .finder label { display: block; font-weight: 700; margin-bottom: 8px; }
.page-help .search-row { display: flex; gap: 10px; }
.page-help .search-row input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: 8px;
}
.page-help #searchHint,
.page-help #searchStatus { margin-top: 8px; font-size: 14px; color: var(--muted); }
.page-help #searchResults { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 14px; }
.page-help #searchResults a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.page-help #searchResults small { display: block; font-weight: 400; color: var(--muted); }
.page-help .contents { margin-top: 18px; }
.page-help .contents summary { padding: 12px 0; font-weight: 700; cursor: pointer; }
.page-help .contents ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.page-help .contents a { display: flex; align-items: center; min-height: 44px; }

/* -- Section headings --------------------------------------------------- */
.page-help .section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.page-help .section-head h2 { font-size: clamp(26px, 3.2vw, 34px); max-width: none; }
.page-help .section-icon { font-size: 24px; margin-right: 4px; }
.page-help .section-lead { margin: -8px 0 24px; font-size: 16px; color: var(--muted); }

/* -- Numbered first-sale steps ----------------------------------------- */
.page-help .quick-steps { padding-left: 26px; }
.page-help .quick-steps li { padding: 0 0 22px 10px; }
.page-help .quick-steps li::marker { color: var(--green); font: 700 15px var(--mono); }
.page-help .quick-steps h3 { font-size: 21px; margin-bottom: 6px; }
.page-help .quick-steps p { color: var(--muted); line-height: 1.75; }
.page-help .quick-steps p + p { margin-top: 6px; }

/* -- Cards: tasks, steps, features, payment methods --------------------- */
.page-help .task,
.page-help .step-card,
.page-help .feature-card,
.page-help .pay-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.page-help .task { padding: 26px; margin-top: 18px; }
/* Long headings such as "Receipt/PDF/print/share did not work" may break at a slash on small phones. */
.page-help h2,
.page-help h3 { overflow-wrap: anywhere; }
.page-help .task h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.page-help .task p,
.page-help .task li { font-size: 15px; line-height: 1.75; color: var(--muted); overflow-wrap: anywhere; }
.page-help .task strong { color: var(--ink); }
.page-help .task p + p,
.page-help .task ul + p,
.page-help .task ol + p { margin-top: 12px; }
.page-help .task ol,
.page-help .task ul { padding-left: 24px; margin: 10px 0; }
.page-help .task li + li { margin-top: 8px; }

.page-help .step-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.page-help .step-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.page-help .step-card:hover { border-color: var(--green); }
.page-help .step-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--green);
  font: 500 12px var(--mono);
}
.page-help .step-body h3 { font-size: 18px; margin-bottom: 6px; line-height: 1.3; }
.page-help .step-body p,
.page-help .step-body li { font-size: 15px; line-height: 1.75; color: var(--muted); overflow-wrap: anywhere; }
.page-help .step-body p + p { margin-top: 6px; }
.page-help .step-body ul { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.page-help .step-body .code,
.page-help kbd {
  display: inline-block;
  padding: 2px 7px;
  margin: 0 2px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 400 13px var(--mono);
  color: var(--ink);
}

.page-help .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.page-help .feature-card { padding: 20px; }
.page-help .fc-icon,
.page-help .pi { font-size: 22px; margin-bottom: 10px; }
.page-help .feature-card h3,
.page-help .pay-chip h3 { font-size: 18px; margin-bottom: 7px; }
.page-help .feature-card p,
.page-help .pay-chip p { font-size: 15px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.page-help .pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 4px; }
.page-help .pay-chip { padding: 16px; text-align: center; }

/* -- Notes: tip (green), warn (amber), info (blue) ---------------------- */
.page-help .callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
}
.page-help .callout.tip { background: var(--pale); color: var(--ink); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.page-help .callout.warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-ink); }
.page-help .callout.info { background: var(--info-bg); color: var(--info-ink); border-color: var(--info-ink); }
.page-help .callout-icon { font-size: 18px; line-height: 1.5; flex-shrink: 0; }
.page-help .callout strong { font-weight: 700; }
.page-help .callout p + p { margin-top: 8px; }
.page-help .callout a { color: inherit; font-weight: 700; }

/* Spacing helpers (they replaced inline style="margin..." in the guide) */
.page-help .space-above { margin-top: 16px; }
.page-help .space-below { margin-bottom: 16px; }
.page-help .section-note { margin-bottom: 16px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* -- Tables (Excel template columns, reference tables, shortcuts) ------- */
/* A wide table scrolls sideways inside its box; the page itself never does. */
.page-help .table-scroll,
.page-help .excel-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.page-help .excel-table,
.page-help .reference-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 14px;
}
.page-help .excel-table { font-family: var(--mono); }
.page-help .excel-table th {
  padding: 10px 14px;
  text-align: left;
  background: var(--green);
  color: var(--button-ink);
  font: 500 12px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.page-help .excel-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
.page-help .excel-table tr:last-child td { border-bottom: 0; }
.page-help .excel-table tr:nth-child(even) td { background: var(--tint); }
.page-help .excel-table td.opt { color: var(--muted); font-style: italic; }
.page-help .excel-table td.req { color: var(--green); font-weight: 500; }
.page-help .reference-table th,
.page-help .reference-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.page-help .reference-table thead { background: var(--tint); }
.page-help caption { padding: 12px; text-align: left; font-weight: 700; color: var(--ink); }
.page-help .shortcut-table { min-width: 480px; }
.page-help .shortcut-table th[scope="row"] { width: 72%; font-weight: 500; }
.page-help .shortcut-table td { min-width: 130px; }
.page-help .shortcut-table kbd { white-space: normal; }
.page-help .table-hint { margin: 12px 0 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* -- Help on smaller screens ------------------------------------------- */
@media (max-width: 900px) {
  html:has(.page-help) { scroll-padding-top: 128px; }
  .page-help [id] { scroll-margin-top: 128px; }
  .page-help .quick-nav { top: 73px; }
}
@media (max-width: 600px) {
  .page-help .quick-nav { padding-inline: 8px; }
  .page-help .qn-link { padding: 0 10px; }
  .page-help .help-hero { padding: 44px 18px 40px; }
  .page-help .help-hero p { font-size: 16px; }
  .page-help .page-body { padding: 36px 16px 64px; gap: 40px; }
  .page-help .route-grid,
  .page-help .contents ul,
  .page-help .feature-grid,
  .page-help .pay-grid { grid-template-columns: 1fr; }
  .page-help .finder,
  .page-help .task { padding: 18px; }
  .page-help .task h3 { font-size: 20px; }
  .page-help .step-card { flex-direction: column; gap: 10px; }
  .page-help .section-head { gap: 0; }
  .page-help .quick-steps { padding-left: 22px; }
}

/* -- Printing the guide ------------------------------------------------- */
@media print {
  .page-help .site-header,
  .page-help .quick-nav,
  .page-help .skip-link,
  .page-help .hero-cta,
  .page-help #helpSearchForm,
  .page-help .route-grid,
  .page-help .system-theme,
  .page-help footer { display: none !important; }
  .page-help { --bg: #fff; --paper: #fff; --tint: #eee; --ink: #000; --muted: #222; --line: #aaa; --green: #174b2b; --pale: #fff; --warn-bg: #fff; --warn-ink: #000; --info-bg: #fff; --info-ink: #000; --button-ink: #fff; }
  .page-help { background: #fff; color: #000; }
  .page-help .help-hero { padding: 20px; background: none; }
  .page-help .page-body { max-width: none; padding: 0; gap: 24px; }
  .page-help .task h3,
  .page-help .section-head { break-after: avoid; }
  .page-help p,
  .page-help li { orphans: 3; widows: 3; }
  .page-help .table-scroll,
  .page-help .excel-table-wrap { overflow: visible; }
  .page-help .reference-table,
  .page-help .excel-table,
  .page-help .shortcut-table { min-width: 0; }
  .page-help .table-hint { display: none; }
  .page-help main :where(a:not(.btn)) { color: #000; }
}

/* ==========================================================================
   12. PRIVACY POLICY (PRIVACY.HTML)
   Scoped with .page-privacy: a single readable column.
   ========================================================================== */
.page-privacy .policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}
.page-privacy .policy-head {
  padding-bottom: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.page-privacy .policy-head h1 { font-size: clamp(38px, 5vw, 54px); }
.page-privacy .updated { margin-top: 10px; font: 400 12px var(--mono); color: var(--muted); }
.page-privacy .policy h2 { font-size: 26px; margin: 40px 0 12px; }
.page-privacy .policy h3 { font-size: 19px; margin: 24px 0 8px; }
.page-privacy .policy p,
.page-privacy .policy li { font-size: 16px; line-height: 1.75; color: var(--muted); }
.page-privacy .policy p + p { margin-top: 12px; }
.page-privacy .policy strong { color: var(--ink); }
.page-privacy .policy a { color: var(--green); font-weight: 600; }
.page-privacy .policy ul { padding-left: 22px; margin: 10px 0; }
.page-privacy .policy li { margin: 6px 0; }
/* The green-edged "short version" box */
.page-privacy .note {
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--pale);
  border-left: 3px solid var(--green);
  border-radius: 10px;
}
.page-privacy .note p { color: var(--ink); }
@media (max-width: 600px) {
  .page-privacy .policy { padding: 40px 18px 64px; }
  .page-privacy .policy h2 { font-size: 23px; }
}

/* ==========================================================================
   13. PAGE NOT FOUND (404.HTML)
   Scoped with .page-404.
   ========================================================================== */
.page-404 .lost {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 72px 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, var(--pale), transparent 65%);
}
.page-404 .lost .eyebrow { justify-content: center; }
.page-404 .lost h1 { font-size: clamp(44px, 7vw, 76px); }
.page-404 .lost p:not(.eyebrow) { max-width: 520px; margin: 20px auto 28px; color: var(--muted); font-size: 17px; }
.page-404 .lost .cta-row { justify-content: center; }

/* ==========================================================================
   14. BLOG (BLOG/)
   Scoped with .page-blog: the blog index and the articles. One readable
   column, real app screenshots, an answer box under each title, and the
   questions at the end. Same colours and fonts as the rest of the site.
   ========================================================================== */
/* Layout: one readable column for articles, a wider one for the blog index. */
.page-blog .blog-main {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding: 36px 0 88px;
}
.page-blog .blog-main.blog-list-page { width: min(calc(100% - 48px), 1000px); }

.page-blog .desktop-links a[aria-current] { color: var(--green); font-weight: 700; }

/* -- Breadcrumb (Home › Blog › Article) ---------------------------------- */
.page-blog .crumbs ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font: 500 12px/1.6 var(--mono);
  color: var(--muted);
}
.page-blog .crumbs li + li::before { content: '›'; margin-right: 8px; color: var(--line); }
.page-blog .crumbs a { color: var(--muted); }
.page-blog .crumbs a:hover { color: var(--green); }
.page-blog .crumbs [aria-current] { color: var(--ink); }

/* -- Article heading: eyebrow, title, the answer box and the byline ------- */
.page-blog .post-head { margin: 28px 0 8px; }
.page-blog .post-head h1,
.page-blog .blog-head h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
/* The first one or two sentences answer the question in the title. */
.page-blog .post .answer,
.page-blog .answer {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--pale);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.page-blog .post .post-meta,
.page-blog .post-meta {
  margin-top: 16px;
  font: 400 12px/1.7 var(--mono);
  color: var(--muted);
}
.page-blog .post .post-meta a,
.page-blog .post-meta a { color: var(--muted); font-weight: 500; }

/* -- Article body text ---------------------------------------------------- */
.page-blog .post h2 {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 48px 0 14px;
}
.page-blog .post h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 28px 0 8px;
}
.page-blog .post p,
.page-blog .post li { font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.page-blog .post p + p,
.page-blog .post p + ul,
.page-blog .post p + ol { margin-top: 12px; }
.page-blog .post ul,
.page-blog .post ol { padding-left: 24px; margin: 12px 0; }
.page-blog .post li { margin: 6px 0; }
.page-blog .post strong { color: var(--ink); }
.page-blog .post a { color: var(--green); font-weight: 600; }
.page-blog .post code {
  font: 500 .9em var(--mono);
  background: var(--tint);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.page-blog .post h1,
.page-blog .post h2,
.page-blog .post h3 { overflow-wrap: break-word; }

/* -- Screenshots: real app screens, sized and lazy-loaded ----------------- */
.page-blog .shot { margin: 26px 0; }
.page-blog .shot img {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.page-blog .shot.narrow img { max-width: min(100%, 420px); margin-inline: auto; }
.page-blog .shot figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

/* -- Boxes: a note, and a box for example numbers ------------------------- */
.page-blog .note,
.page-blog .example {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.page-blog .note { background: var(--info-bg); border-color: transparent; }
.page-blog .note p,
.page-blog .note li { color: var(--info-ink); }
.page-blog .note strong { color: var(--info-ink); }
.page-blog .example-label {
  display: inline-block;
  margin-bottom: 8px;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 3px 8px;
  border-radius: 6px;
}

/* -- Tables (comparison, example sums). They scroll sideways on a phone. -- */
.page-blog .table-wrap { overflow-x: auto; margin: 18px 0; }
.page-blog .post table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}
.page-blog .post th,
.page-blog .post td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}
.page-blog .post th { color: var(--ink); font-weight: 700; background: var(--tint); }
.page-blog .post th.num,
.page-blog .post td.rate { text-align: right; }
.page-blog .post td.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.page-blog .post tr.total td { color: var(--ink); font-weight: 700; }

/* -- Checklist ------------------------------------------------------------ */
.page-blog .checklist { list-style: none; padding-left: 0; }
.page-blog .checklist li { padding-left: 32px; position: relative; }
.page-blog .checklist li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--green);
  border-radius: 4px;
}

/* -- Questions (the FAQ structured data repeats these words exactly) ------ */
.page-blog .faq { margin-top: 52px; }
.page-blog .faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.page-blog .faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 32px 14px 0;
  position: relative;
  font: 700 17px/1.4 var(--sans);
  color: var(--ink);
}
.page-blog .faq summary::-webkit-details-marker { display: none; }
.page-blog .faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 12px;
  font: 400 22px/1 var(--sans);
  color: var(--green);
}
.page-blog .faq details[open] summary::after { content: '−'; }
.page-blog .faq details p { padding: 0 0 16px; }

/* -- The gentle "Open the free till" box ---------------------------------- */
.page-blog .post-cta {
  margin: 52px 0 0;
  padding: 26px 24px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--green);
}
.page-blog .post-cta h2 { margin: 0 0 8px; font-size: 26px; }
.page-blog .post-cta p { margin-bottom: 16px; }
.page-blog .post-cta .btn { color: var(--button-ink); }

/* -- Related guides and sources ------------------------------------------- */
.page-blog .related,
.page-blog .sources { margin-top: 44px; }
.page-blog .related h2,
.page-blog .sources h2 { font-size: 22px; margin: 0 0 10px; }
.page-blog .related ul { list-style: none; padding: 0; }
.page-blog .related li { margin: 0; border-bottom: 1px solid var(--line); }
.page-blog .related a { display: block; padding: 12px 0; text-decoration: none; }
.page-blog .related a:hover { text-decoration: underline; }
.page-blog .sources li,
.page-blog .sources p { font-size: 14px; }
.page-blog .sources a { overflow-wrap: anywhere; }

/* -- Blog index: one card per article -------------------------------------- */
.page-blog .blog-head { margin: 28px 0 34px; max-width: 720px; }
.page-blog .blog-head p { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.page-blog .post-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.page-blog .post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.page-blog .post-card h2 { font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.page-blog .post-card h2 a { text-decoration: none; }
.page-blog .post-card h2 a:hover { color: var(--green); text-decoration: underline; }
.page-blog .post-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.page-blog .post-card time { font: 400 12px var(--mono); color: var(--muted); margin-top: auto; }
.page-blog .blog-foot { margin-top: 40px; color: var(--muted); }
.page-blog .blog-foot a { color: var(--green); font-weight: 600; }

@media (max-width: 760px) {
  .page-blog .post-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-blog .blog-main,
  .page-blog .blog-main.blog-list-page { width: calc(100% - 36px); padding: 24px 0 64px; }
  .page-blog .post .answer,
.page-blog .answer { font-size: 16px; padding: 16px; }
  .page-blog .post h2 { margin-top: 40px; }
  .page-blog .post-card { padding: 20px; }
}
@media print {
  .page-blog .site-header,
  .page-blog footer,
  .page-blog .consent,
  .page-blog .post-cta { display: none !important; }
  .page-blog .faq details > p { display: block; }
}
