/* ---------------------------------------------------------------------------
   justpercent.bilargo.com — Bilargo brand design system.

   Sections 1-13 are bilargo.com's public/style.css copied verbatim (fonts,
   tokens, nav, aurora band, layout, buttons, badges, reveal, content pages,
   footer, language switcher + hint bar). Section 14 at the bottom adds the
   product-page components this site needs on top of it, following the shape
   prep.bilargo.com already uses: centred hero, bento grid, split sections,
   framed screenshots, FAQ, guides.

   Nothing here is invented — new colours would break the brand, so every rule
   below is written in the same tokens.
   --------------------------------------------------------------------------- */

/* ---------- Self-hosted webfonts ----------
   Fraunces + Inter, served from this origin. No fonts.googleapis.com /
   fonts.gstatic.com requests, so no visitor IP ever reaches a third party.
   unicode-range keeps the download to the subsets a page actually uses.
   Regenerate: scripts/fetch-fonts.sh  */

/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-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;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-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;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-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;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-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;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-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;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-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;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-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;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}
/* ===================================================================
   Bilargo — brand design system v2
   Shared visual language for bilargo.com and product subdomains.
   Dark aurora hero + warm paper body. Fraunces (display) + Inter (text).
   =================================================================== */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #1b1a17;
  --muted: #6e6a63;
  --line: #e7e3dc;
  --accent: #3b5bff;
  --accent-ink: #2743cc;
  --accent-soft: rgba(59, 91, 255, 0.08);
  --on-accent: #ffffff;
  --band: #101018;
  --band-ink: #f2f1ec;
  --band-muted: #a7a6b4;
  --band-line: rgba(255, 255, 255, 0.1);
  --glow-a: rgba(79, 108, 255, 0.55);
  --glow-b: rgba(122, 82, 255, 0.35);
  --radius: 16px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131211;
    --surface: #1c1b19;
    --ink: #eceae6;
    --muted: #a29d94;
    --line: #2e2c28;
    --accent: #93a8ff;
    --accent-ink: #b3c2ff;
    --accent-soft: rgba(147, 168, 255, 0.1);
    /* White on the dark-mode accent is only 2.3:1; this ink gives 8.4:1. */
    --on-accent: #0b1030;
    --band: #0c0c13;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Navigation (sits on the dark band) ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--band) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--band-line);
}

nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav .logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--band-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-right: auto;
}

nav a:not(.logo) {
  color: var(--band-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:not(.logo):hover { color: var(--band-ink); }

/* ---------- Dark aurora hero band ---------- */

.band {
  position: relative;
  background: var(--band);
  color: var(--band-ink);
  overflow: hidden;
}

.band::before,
.band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.band::before {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--glow-a), transparent 65%);
  top: -220px; right: -120px;
  animation: drift 16s ease-in-out infinite alternate;
}

.band::after {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--glow-b), transparent 65%);
  bottom: -260px; left: -140px;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-60px, 40px, 0) scale(1.15); }
}

.band .band-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 1.5rem 6rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(100deg, #9db1ff, #c9b8ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--band-muted);
  margin-bottom: 2.25rem;
  max-width: 38rem;
}

/* floating glyphs — decorative, hidden from AT */
.glyphs span {
  position: absolute;
  z-index: 1;
  font-family: var(--font-display);
  color: var(--band-ink);
  opacity: 0.08;
  user-select: none;
  animation: bob 9s ease-in-out infinite;
}

.glyphs span:nth-child(2n) { animation-duration: 12s; animation-delay: -3s; }
.glyphs span:nth-child(3n) { animation-duration: 15s; animation-delay: -6s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-22px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .band::before, .band::after, .glyphs span { animation: none; }
}

/* ---------- Layout ---------- */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 5rem 0 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
p  { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.35rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; }

code {
  background: var(--accent-soft);
  padding: 0.12em 0.4em;
  border-radius: 5px;
  font-size: 0.88em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(59, 91, 255, 0);
  transition: background 0.15s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--accent-ink);
  color: var(--on-accent);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(59, 91, 255, 0.35);
}

.btn-ghost {
  display: inline-block;
  color: inherit;
  border: 1px solid currentColor;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.btn-ghost:hover { opacity: 1; text-decoration: none; color: inherit; }

.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Product cards (bento-ish) ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 18px 44px rgba(20, 20, 60, 0.1);
}

.product-card .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.product-card h3 { font-size: 1.45rem; margin: 0.25rem 0 0; }

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

.product-card .link { font-weight: 600; font-size: 0.9rem; }

.product-card.upcoming {
  border-style: dashed;
  background: transparent;
  justify-content: center;
}

.product-card.upcoming:hover { transform: none; box-shadow: none; }

/* ---------- Badges ---------- */

.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.badge.soon {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.badge.coming-soon {
  background: color-mix(in srgb, #e0921f 16%, transparent);
  border: 1px solid color-mix(in srgb, #e0921f 45%, transparent);
  color: #9a6410;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (prefers-color-scheme: dark) {
  .badge.coming-soon { color: #f0c078; }
}

/* Not-live products: keep visible (preview) but visually softer than the shipped card */
.product-card.coming .app-icon {
  opacity: 0.72;
  filter: saturate(0.85);
}

/* ---------- Principles ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem 2rem;
  margin-top: 2rem;
}

.principle h3 { font-size: 1.1rem; }
.principle p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Scroll reveal ---------- */

/* reveal-on-scroll: hidden only when JS is active (progressive enhancement) */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Content pages (privacy, terms, contact) ---------- */

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-top: 3rem;
  max-width: 760px;
}

.surface h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.surface h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.5rem; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

footer .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
footer .footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Language switcher & hint bar ---------- */

/* Sits first in .footer-links; a shade darker than its neighbours so it reads
   as a control rather than one more legal link. */
footer .footer-links .lang { color: var(--ink); font-weight: 600; }
footer .footer-links .lang:hover { color: var(--accent); }

/* Fixed to the bottom edge so revealing it never shifts the layout. */
.lang-hint {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.85rem;
  color: var(--ink);
}

.lang-hint[hidden] { display: none; }
.lang-hint a { color: var(--accent); font-weight: 600; }

.lang-hint-close {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.lang-hint-close:hover { background: var(--accent-soft); color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .lang-hint { animation: lang-hint-in 180ms ease-out; }
}

@keyframes lang-hint-in {
  from { opacity: 0; transform: translate(-50%, 0.5rem); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.governing { margin-top: 2rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .band .band-inner { padding: 4rem 1.25rem 3.5rem; }
  .surface { padding: 1.5rem; }
  nav { gap: 1rem; }
}

/* ---------------------------------------------------------------------------
   14. Product-page components
   Same parts prep.bilargo.com uses, written in the tokens above: a centred
   hero with an overlapping phone shot, trust chips, a bento feature grid,
   split sections, framed screenshots, an FAQ, and the guides pages.
   --------------------------------------------------------------------------- */

/* ---------- Hero: centred, with room for the phone to overlap ---------- */

.band .band-inner { padding: 5.5rem 1.5rem 10rem; text-align: center; }

.hero h1 { max-width: 17ch; margin-left: auto; margin-right: auto; }
.hero .lede { max-width: 40rem; margin-left: auto; margin-right: auto; }
.hero .cta-row { justify-content: center; margin-bottom: 1.5rem; }
.band .btn-ghost { color: var(--band-ink); }

/* The floating glyphs are set in Fraunces here (%, ‰, ×), not emoji, so they
   carry more weight than bilargo.com's 0.08 wash without shouting. */
.band .glyphs span { opacity: 0.13; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--band-line);
  color: var(--band-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* The phone climbs out of the band and into the page below it. */
.hero-shot { position: relative; z-index: 5; max-width: 330px; margin: -8.5rem auto 0; padding: 0 1.5rem; }

/* ---------- Bento feature grid ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; margin-top: 2rem; }

.bento .cell {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.bento .cell.wide { grid-column: span 3; }
/* One closing cell across the full row — six cells otherwise leave a stray
   third hanging on a line of its own. */
.bento .cell.full { grid-column: span 6; }

.bento .cell:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 18px 44px rgba(20, 20, 60, 0.1);
}

.bento .icon { font-size: 1.5rem; margin-bottom: 0.6rem; display: block; }
.bento h3 { font-size: 1.1rem; }
.bento p { color: var(--muted); font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .cell, .bento .cell.wide, .bento .cell.full { grid-column: span 2; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento .cell, .bento .cell.wide, .bento .cell.full { grid-column: span 1; }
}

/* ---------- Split sections (screenshot beside prose) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 3.5rem 0; }
.split.reverse .shot, .split.reverse .browser { order: 2; }
.split h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.split p, .split li { color: var(--muted); }
.split ul { margin-left: 1.2rem; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split.reverse .shot, .split.reverse .browser { order: 0; }
}

/* ---------- Framed screenshots ---------- */

/* Phone frame: portrait, rounded, with the pill cut-out. */
.shot {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  background: #14131a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(10, 10, 40, 0.22);
}

/* No notch cut-out here, unlike the iOS product sites: these screenshots are a
   browser tab, so they start at the page content and a pill would sit on top of
   the app's own header. */

.shot img, .shot .placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
  background: var(--surface);
}

/* Browser frame: a minimal window chrome for the desktop shot — three dots and
   nothing else, so it reads as "a browser" without imitating any one OS. */
.browser {
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(10, 10, 40, 0.18);
}

.browser .browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 5%, var(--surface));
}

.browser .browser-bar i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
}

.browser img, .browser .placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--surface);
}

.shot .placeholder, .browser .placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse at 30% 20%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse at 80% 90%, var(--accent-soft), transparent 55%),
    var(--surface);
}

/* ---------- Privacy points ---------- */

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }

.points .point {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.points h3 { font-size: 1.2rem; }
.points p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Price ---------- */

.price-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2.5rem;
  text-align: center;
  max-width: 640px;
  margin: 2rem auto 0;
}

.price-card h2 { margin-bottom: 0.75rem; }
.price-card p { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- FAQ ---------- */

details { border-bottom: 1px solid var(--line); padding: 1rem 0; }

details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  align-items: center;
}

details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-weight: 400; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); margin: 0.75rem 0 0; font-size: 0.95rem; }

.faq-list { max-width: 760px; }

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; padding: 4.5rem 0 1rem; }
.final-cta h2 { margin-bottom: 0.5rem; }
.final-cta p { color: var(--muted); margin-bottom: 1.75rem; }

/* ---------- Document + guide pages ---------- */

.doc-page { max-width: 760px; margin: 2.5rem auto 0; }
.doc-page h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.doc-page h2 { font-size: 1.3rem; margin-top: 2.25rem; }
.doc-page h3 { margin-top: 1.5rem; }

.guide-lede { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.guide-back { font-size: 0.9rem; margin-bottom: 0.75rem; }
.guide-back a { color: var(--muted); }
.guide-back a:hover { color: var(--accent); }
.guide-next { margin-top: 3.5rem; }
.guide-list { display: grid; gap: 1rem; margin: 1.75rem 0; }

.guide-card {
  display: block;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

a.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.guide-card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; color: var(--ink); }
.guide-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.guide-card.upcoming { opacity: 0.72; }
.guide-more { display: inline-block; margin-top: 0.8rem; font-size: 0.9rem; font-weight: 600; color: var(--accent); }

.guide-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.guide-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; }

.guide-step {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.guide-step:nth-child(even) .shot { order: -1; }
.guide-step h2 { margin-top: 0; display: flex; align-items: baseline; gap: 0.6rem; }
.guide-step-n { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.guide-step p { color: var(--muted); }

/* Steps with no screenshot (the install ritual differs per device and cannot
   be screenshotted honestly) carry a small inline glyph instead. */
.guide-step.no-shot { grid-template-columns: 1fr; gap: 0; }

.guide-step .step-glyph {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.guide-step .step-glyph svg { width: 1.3rem; height: 1.3rem; }

.guide-outro { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.guide-outro p { color: var(--muted); margin-bottom: 1.25rem; }

@media (max-width: 820px) {
  .guide-step { grid-template-columns: 1fr; gap: 1.5rem; }
  .guide-step:nth-child(even) .shot { order: 0; }
}

/* The shared 404 carries the other locales' sentence under the English one. */
.not-found-alt { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer note ---------- */

footer .footer-note { display: block; margin-top: 0.6rem; max-width: 46rem; opacity: 0.9; }

/* Six nav links plus the app button do not fit one phone row. Let them wrap,
   tighten the gaps, and keep the wordmark on a single line. */
@media (max-width: 760px) {
  nav { flex-wrap: wrap; gap: 0.55rem 0.9rem; padding: 0.6rem 1.25rem; }
  nav .logo { font-size: 1.05rem; white-space: nowrap; }
  nav a:not(.logo):not(.btn) { font-size: 0.85rem; }
  nav .btn { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
}

@media (max-width: 700px) {
  /* Only the four corner glyphs survive a narrow band; the inner ones would sit
     straight behind the headline and the lede. */
  .band .glyphs span.inner { display: none; }
  .band .glyphs span.edge { opacity: 0.1; }
}

@media (max-width: 640px) {
  .band .band-inner { padding: 3.5rem 1.25rem 8.5rem; }
  .hero-shot { margin-top: -7rem; }
}
