/*
  QuietGuard family design kit
  ----------------------------
  The look of quietweb.io, written once so every QuietGuard family site reads as one product family:
  Outfit (served locally), navy #40518a, heading #2f3d6b, green #4f9a5a, calm light layout, the Q tower
  mark with the product name beside it.
  Theme (Robert, 2026-10-07): light for everyone by default, NOT following the device's dark setting.
  A soft, warm dark theme only when the visitor picks it with the sun/moon switch, which sets
  <html data-theme="dark"> (see theme.js; remembered per visitor).
  Source of truth for the look: Desktop\QuietWeb\website\public\index.html (not changed by this kit).
  Copy this file as-is into another family site; put site-specific styles in that site's own CSS.
  Works left-to-right and right-to-left (uses inline-start/end, never left/right).
*/

@font-face { font-family: "Outfit"; font-weight: 100 900; font-display: swap; src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-weight: 100 900; font-display: swap; src: url("/fonts/outfit-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #40518a; --heading: #2f3d6b; --green: #4f9a5a;
  --ink: #23283a; --muted: #5f6982; --line: #dde1ec; --bg: #f5f6fa; --card: #ffffff; --tint: #eceef6;
  --link: #40518a; --on-navy: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(35, 40, 58, 0.14);
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}
/* Soft dark (Robert, 2026-10-07): the brand's blue, just lighter and softer; same soft-navy values as
   quietguardinsights.com so every family site matches. Photos left as they are. */
:root[data-theme="dark"] {
  --navy: #5a6cb0; --heading: #eef1f8; --green: #7cc387;
  --ink: #cdd3e4; --muted: #a0a9c3; --line: #3a4566; --bg: #222b45; --card: #29334f; --tint: #27304c;
  --link: #bccaf3;
  --shadow: 0 18px 40px rgba(10, 14, 30, 0.28);
  color-scheme: dark;
}
/* The mark is navy on transparent: give it a small white tile so it stays visible on dark. */
:root[data-theme="dark"] .brand img, :root[data-theme="dark"] .family-mark { background: #fff; border-radius: 22%; padding: 3px; }

/* Sun/moon switch: shows the moon in light mode (switch to dark) and the sun in dark mode. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--card); color: var(--heading); border-radius: 12px; cursor: pointer; padding: 0; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--navy); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Other scripts: Outfit only covers Latin, so these use the phone's or computer's own fonts. */
:lang(ar), :lang(ur) { --font: "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }
:lang(hi) { --font: "Nirmala UI", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif; }
:lang(ja) { --font: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", "Meiryo", system-ui, sans-serif; }
:lang(ko) { --font: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
:lang(ru) { --font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; overflow-wrap: break-word; }
img, svg, video, iframe { max-width: 100%; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.tm { font-size: 0.55em; vertical-align: super; margin-inline-start: 1px; font-weight: 500; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 10; background: var(--card); padding: 8px 14px; border-radius: 10px; }

/* Header: the Q mark with the product name beside it */
header.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.3rem; color: var(--heading); text-decoration: none; min-width: 0; }
.brand img { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-tagline { font-size: 0.78rem; font-weight: 400; color: var(--muted); max-width: 30em; }

/* Type */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12; margin: 0 0 16px; color: var(--heading); font-weight: 650; }
h2 { font-size: clamp(1.45rem, 3vw, 1.8rem); line-height: 1.25; color: var(--heading); margin: 0 0 12px; font-weight: 600; }
h3 { font-size: 1.15rem; line-height: 1.3; color: var(--heading); margin: 0 0 6px; font-weight: 600; }
h4 { font-size: 1rem; color: var(--heading); margin: 0 0 6px; font-weight: 600; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.small { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }

/* Buttons */
.download, .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--navy); color: #fff; text-decoration: none; padding: 13px 20px; border-radius: 14px; font-size: 1rem; font-weight: 600; border: 1px solid var(--navy); }
.download:hover, .btn-primary:hover { filter: brightness(0.93); }
.button-alt, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); background: var(--card); color: var(--heading); text-decoration: none; padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 1rem; }
.button-alt:hover, .btn-ghost:hover { border-color: var(--navy); }
:root[data-theme="dark"] .btn-primary, :root[data-theme="dark"] .download { color: #fff; }

/* Pills, cards, ticks */
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 0.9rem; color: var(--muted); background: var(--card); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.step { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 650; margin-bottom: 10px; }
.check li, .tick { padding-inline-start: 30px; position: relative; }
.check li::before, .tick::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E"); }
.honest { border-inline-start: 4px solid var(--green); }

/* "From the makers of QuietGuard" / "Part of the QuietGuard family" block */
.makers { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.makers img { width: 64px; height: 64px; }

/* Footer */
footer.site-foot { padding: 30px 0 50px; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--line); margin-top: 24px; }
footer.site-foot a { color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--heading); }
.social a:hover { border-color: var(--navy); }
.social svg { width: 20px; height: 20px; }

/*
  quietguard.io styles. Builds on family-kit/family.css (the shared QuietGuard family look).
  The class names below are the ones the old site used, so all page content could be kept as it was.
*/

/* ---------- Header: menu and language ---------- */
.header-right { display: flex; align-items: center; gap: 6px; }
nav.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
nav.main-nav a { padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); white-space: nowrap; }
nav.main-nav a:hover { color: var(--heading); }
nav.main-nav a[aria-current="page"] { color: var(--heading); font-weight: 600; }

details.pop { position: relative; }
details.pop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--heading); border-radius: 12px; padding: 8px 12px; font-weight: 600; font-size: 0.95rem; user-select: none; }
details.pop > summary::-webkit-details-marker { display: none; }
details.pop > summary:hover { border-color: var(--navy); }
details.pop > summary svg { width: 18px; height: 18px; }
.pop-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; min-width: 190px; max-height: 70vh; overflow-y: auto; }
.pop-panel a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.pop-panel a:hover { background: var(--bg); }
.pop-panel a[aria-current="true"], .pop-panel a[aria-current="page"] { color: var(--heading); font-weight: 600; }
.pop-panel a[aria-current]::after { content: " ✓"; color: var(--green); }
.menu-pop { display: none; }

@media (max-width: 999px) {
  nav.main-nav.desktop { display: none; }
  .menu-pop { display: block; }
}

/* ---------- Page layout ---------- */
main { display: block; }
.band { margin: 0; }
.band-tint { background: var(--tint); border-block: 1px solid var(--line); margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.band-inner { max-width: 1080px; margin: 0 auto; }
.section { padding: 48px 0; }
.section-alt { padding-top: 36px; }
.section-intro { max-width: 46em; margin-bottom: 24px; }
.hero-subtitle { color: var(--muted); font-size: 1.1rem; margin: 0; }
.mb-0 { margin-bottom: 0 !important; }
.inline-link { color: var(--navy); font-weight: 600; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
:root[data-theme="dark"] .inline-link { color: var(--link); }
.brand-font { font-weight: 650; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; padding: 36px 0 56px; }
.hero > * { min-width: 0; }
.hero-eyebrow { display: inline-block; color: var(--green); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; margin-bottom: 12px; }
.hero-sub { font-size: 1.18rem; color: var(--muted); margin: 0 0 22px; max-width: 36em; }
.hero-bullets { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.hero-bullets li { padding-inline-start: 30px; position: relative; }
.hero-bullets li::before, .tick-list li::before, .policy-list li::before, .feature-update-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { text-align: center; }
.store-icon { width: 20px; height: 20px; flex-shrink: 0; }
.helper { color: var(--muted); font-size: 0.95rem; margin: 12px 0 18px; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.pill { max-width: 100%; }
.hero-visual { position: relative; }
.mascot-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0; box-shadow: var(--shadow); overflow: hidden; }
.mascot-card:not(:has(img)) { padding: 28px; }
.mascot-photo { display: block; width: 100%; height: auto; aspect-ratio: 852 / 750; object-fit: cover; }
.mascot-bubble { position: absolute; inset-inline-start: 16px; bottom: 16px; max-width: calc(100% - 32px); background: var(--card); color: var(--heading); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 600; font-size: 0.98rem; box-shadow: 0 8px 24px rgba(35, 40, 58, 0.15); }
.quietline-hero-mark-wrap { display: flex; justify-content: center; }
.quietline-hero-mark { display: flex; align-items: center; justify-content: center; width: 220px; height: 220px; border-radius: 48px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quietline-hero-mark img { width: 120px; height: 120px; border-radius: 28px; }
.policy-hero { grid-template-columns: 1fr; padding-bottom: 28px; }
.policy-hero > div { max-width: 52em; }

/* ---------- Grids and cards ---------- */
.mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mode-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color 0.15s; min-width: 0; }
.mode-card:hover { border-color: var(--navy); }
.mode-illustration { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
.mode-card-body { padding: 18px 20px 20px; }
.mode-card-body p { margin: 0; color: var(--muted); }
.step-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.step-card p { margin: 0; color: var(--muted); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 650; margin-bottom: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2, .two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 > *, .grid-2 > *, .two-col > * { min-width: 0; }
.card p:last-child { margin-bottom: 0; }
.card h2 + p { margin-top: 0; }
.section + .section .card, .hero + .section .card { margin-bottom: 0; }
.card + h2, .card p + h2 { margin-top: 24px; }
.tick-list, .policy-list, .feature-update-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.tick-list li, .policy-list li, .feature-update-list li { padding-inline-start: 30px; position: relative; }

/* ---------- Accordion (details/summary: works without JavaScript) ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-head { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; font-weight: 600; color: var(--heading); font-size: 1.08rem; }
.acc-head::-webkit-details-marker { display: none; }
.acc-head:hover { background: var(--bg); }
.acc-chev { transition: transform 0.2s; color: var(--muted); flex-shrink: 0; }
.acc-item[open] .acc-chev { transform: rotate(180deg); }
.acc-tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--green); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-inline-end: 10px; vertical-align: 2px; background: var(--card); }
.step-card .acc-tag { margin-bottom: 10px; }
.acc-body { padding: 0 22px 20px; }
.acc-body ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.acc-body p { margin: 0 0 12px; }
.acc-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.acc-columns > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }

/* ---------- Feedback quotes ---------- */
.feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feedback-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; }
.feedback-card p { margin: 0 0 12px; font-size: 1.05rem; color: var(--ink); }
.feedback-card footer { color: var(--muted); font-size: 0.92rem; }
.feedback-card strong { font-weight: 600; color: var(--heading); }

/* ---------- Video ---------- */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- The QuietGuard platform / family apps ---------- */
.apps-footer-section { padding: 56px 0 24px; }
.apps-footer-intro { max-width: 46em; margin-bottom: 22px; }
.apps-footer-intro p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.apps-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.apps-footer-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.apps-footer-card p { color: var(--muted); margin: 0 0 8px; flex: 1; }
.apps-footer-badge { font-size: 0.8rem; font-weight: 600; color: var(--green); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.apps-footer-logo-wrap { margin: 8px 0 4px; }
.apps-footer-logo { width: 56px; height: 56px; object-fit: contain; display: block; }
.apps-footer-logo-quietline { border-radius: 14px; }
.apps-footer-card-quietweb { border-color: var(--line); }
:root[data-theme="dark"] .apps-footer-logo, :root[data-theme="dark"] .policy-summary-logo { background: #fff; border-radius: 22%; padding: 4px; }
/* Soft dark: the bright mode pictures are toned down a little so they don't glare. */
:root[data-theme="dark"] .mode-illustration { filter: brightness(0.9); }

/* ---------- Privacy policy and terms ---------- */
.policy-important-card { margin-top: 22px; border-inline-start: 4px solid var(--green); }
.policy-card-kicker, .policy-detail-label { font-size: 0.82rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.policy-anchor-wrap { padding-top: 8px; padding-bottom: 8px; }
.policy-anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.policy-anchor-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--heading); font-size: 0.92rem; }
.policy-anchor-nav a:hover { border-color: var(--navy); }
.policy-section-head { max-width: 46em; margin-bottom: 18px; }
.policy-summary-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.policy-summary-card { display: flex; gap: 14px; align-items: flex-start; }
.policy-summary-icon { flex-shrink: 0; }
.policy-summary-logo { width: 34px; height: 34px; display: block; }
.policy-summary-copy { min-width: 0; }
.policy-summary-copy p { margin: 0; color: var(--muted); }
.policy-detail-stack { display: grid; gap: 14px; }
.policy-detail-card { scroll-margin-top: 16px; }
.policy-detail-card p { margin: 0 0 10px; }

/* ---------- Features page ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.feature-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.feature-card-head h3 { margin: 0; }
.feature-badge { font-size: 0.78rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.feature-badge-free { color: var(--green); }
.feature-short { font-weight: 600; color: var(--heading); margin: 0 0 8px; }
.feature-body p { margin: 0 0 8px; color: var(--muted); }

/* ---------- Article (QuietGuard vs Truecaller) ---------- */
main.article-shell { padding-bottom: 24px; }
.article-hero { max-width: 52em; padding: 36px 0 28px; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.article-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.article-content { display: grid; gap: 18px; min-width: 0; }
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.article-card ul { padding-inline-start: 1.2em; }
.article-callout { border-inline-start: 4px solid var(--green); background: var(--tint); border-radius: 12px; padding: 14px 18px; margin: 14px 0; }
.article-callout p { margin: 6px 0 0; }
.article-aside { position: sticky; top: 16px; display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.toc-title { font-weight: 600; color: var(--heading); margin: 0; }
.toc-list { display: grid; gap: 6px; }
.toc-list a { text-decoration: none; color: var(--muted); }
.toc-list a:hover { color: var(--heading); }
.article-footer-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.article-button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--heading); }
.article-button.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.cta-link { font-weight: 600; text-decoration: none; }
/* Wide tables scroll inside their own box on phones instead of pushing the page sideways. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.comparison-table th, .comparison-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison-table th { background: var(--tint); color: var(--heading); }
.comparison-table tr:last-child td { border-bottom: 0; }

/* ---------- Footer extras ---------- */
.foot-tagline { color: var(--heading); font-weight: 500; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 600; text-decoration: none; margin-bottom: 10px; }
footer.site-foot p { margin: 0 0 8px; }
footer.site-foot .foot-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot > div:first-child { flex: 1 1 260px; min-width: 0; }
.footer-investor-link { font-weight: 600; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 960px) {
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .article-main { grid-template-columns: 1fr; }
  .article-aside { position: static; order: -1; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; padding-bottom: 40px; }
  .grid-3, .grid-2, .two-col, .acc-columns { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .mode-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .acc-head { padding: 16px; }
  .acc-body { padding: 0 16px 16px; }
  .card, .step-card, .article-card { padding: 18px; }
  .mascot-bubble { position: static; margin: 0; max-width: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .brand { font-size: 1.15rem; }
  details.pop > summary { padding: 8px 10px; }
}
/* Phones: mode cards as a compact row (picture beside the words) so the list isn't four screens long. */
@media (max-width: 560px) {
  .mode-card { flex-direction: row; align-items: stretch; }
  .mode-illustration { width: 112px; flex-shrink: 0; aspect-ratio: auto; height: auto; object-fit: cover; }
  .mode-card-body { padding: 14px 16px; }
  .mode-card-body h3 { font-size: 1.05rem; }
}
/* Very small phones: the Menu button shows just its icon so the header always fits. */
@media (max-width: 400px) {
  .menu-pop > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-right { gap: 4px; }
  header.bar { gap: 8px; }
}

/* ---------- Real stories ---------- */
.story-meta { color: var(--muted); font-size: 0.88rem; margin: 0 0 6px; }
.story-meta span { color: var(--green); font-weight: 600; }
.arrow { display: inline-block; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
/* Home page box, right after the hero */
.stories-box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: -16px 0 40px; }
.stories-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.stories-box-head h2 { font-size: 1.25rem; margin: 0; }
.stories-box-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.story-mini { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--bg); min-width: 0; display: flex; flex-direction: column; }
.story-mini h3 { font-size: 1.02rem; margin: 0 0 6px; }
.story-mini h3 a, .story-card h2 a, .story-card h1 a { color: var(--heading); text-decoration: none; }
.story-mini h3 a:hover, .story-card h2 a:hover { text-decoration: underline; }
.story-mini p { margin: 0 0 8px; color: var(--ink); font-size: 0.95rem; }
.story-mini .story-src { margin: auto 0 0; color: var(--muted); font-size: 0.88rem; }
/* Real stories page */
.stories-hero { padding-bottom: 8px; }
.story-list { display: grid; gap: 16px; padding-top: 16px; }
.story-card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.story-card h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
.story-card > p { max-width: 48em; }
.story-links { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 0.95rem; margin-top: 12px; }
.story-links a { color: var(--link); }
.story-archive { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.story-archive time { color: var(--muted); font-size: 0.9rem; margin-inline-end: 10px; }
.story-back { margin: 16px 0 0; }
.story-single { padding-top: 16px; }
.story-empty p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .stories-box { margin-top: -8px; } }
@media (max-width: 560px) { .stories-box { padding: 16px; } }
.not-found-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.not-found-langs .pill { text-decoration: none; color: var(--heading); }

/* ---------- The QuietGuard family (footer row on every family site) ---------- */
.family-row { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.family-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.family-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.family-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); min-width: 0; }
.family-link strong { display: block; color: var(--heading); font-weight: 600; }
.family-link small { display: block; font-size: 0.85rem; color: var(--muted); }
.family-link:hover strong { text-decoration: underline; }
.family-link[aria-current] strong::after { content: " ✓"; color: var(--green); }
.family-link .family-mark { flex-shrink: 0; }
@media (max-width: 560px) { .family-links { flex-direction: column; } }
