/* QuietGuard Business: QuietGuard family app-site layout (same as quiettrust.io, quietgate.io, quietweb.io), in
   Business's own colours (QUIET-DESIGN-RULES.md "Colours", Robert 10 Nov 2026):
   light = graphite accent #3F454E on page #F6F7F8; dark = page #24272C, cards #2F3338, amber #F2B632 buttons with
   dark text, links #F2C766. Amber is a highlight only and never text or switches on white.
   Light for everyone by default; dark only when the visitor picks it with the sun/moon switch (theme.js).
   Right-to-left safe: inline-start/end only. No animations. */

@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 {
  /* Light: graphite. Headings = the accent darkened by a quarter. */
  --primary: #3f454e; --heading: #2f343b; --green: #4f9a5a;
  --ink: #2a2e34; --muted: #5b616a; --line: #dde0e4; --bg: #f6f7f8; --card: #ffffff; --tint: #eceef0;
  --link: #3f454e; --on-primary: #ffffff;
  --quiet: #8a9099;
  --shadow: 0 20px 50px rgba(36, 39, 44, 0.10);
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  /* header */
  --h-ink: #2a2e34; --h-ink-2: #5b616a; --h-line: #dde0e4; --h-tint: #eceef0; --h-bg: #f6f7f8; --h-surface: #ffffff;
  color-scheme: light;
}
/* Dark: graphite pages; the main button is amber with dark text; text links use the lighter amber.
   The green is the same #4F9A5A in light and dark. */
:root[data-theme="dark"] {
  --primary: #f2b632; --heading: #ffffff; --green: #4f9a5a;
  --ink: #eef0f2; --muted: #b9bec5; --line: #42474f; --bg: #24272c; --card: #2f3338; --tint: #383c42;
  --link: #f2c766; --on-primary: #24272c;
  --quiet: #9aa0a8;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --h-ink: #ffffff; --h-ink-2: #b9bec5; --h-line: #42474f; --h-tint: #2f3338; --h-bg: #24272c; --h-surface: #2f3338;
  color-scheme: dark;
}
/* Outfit only covers Latin: other scripts use the device's own fonts. */
:lang(ar), :lang(ur) { --font: "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }
:lang(ur) { --font: "Noto Nastaliq Urdu", "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; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* App circle icons (family kit): the same file in light and dark (graphite circle, white Q). */
.app-ic, .fam-ic { display: block; flex-shrink: 0; border-radius: 50%; }

/* ---------- Header (family header) ---------- */
.site-header { border-bottom: 1px solid var(--h-line); background: color-mix(in srgb, var(--h-bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30; }
.site-header .hwrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--h-ink); }
.site-header .brand .app-ic { width: 30px; height: 30px; }
.site-header .brand .name { font-family: "Outfit", "Segoe UI", system-ui, sans-serif; font-weight: 640; font-size: 1.08rem; letter-spacing: -0.01em; white-space: nowrap; }
.site-header .nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.site-header .nav a { color: var(--h-ink-2); text-decoration: none; font-size: 0.94rem; padding: 8px 10px; border-radius: 3px; }
.site-header .nav a:hover { color: var(--h-ink); background: var(--h-tint); }
.site-header .nav a[aria-current="page"] { color: var(--h-ink); box-shadow: inset 0 -2px 0 var(--h-ink); border-radius: 0; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 36px; height: 36px; border: 1px solid var(--h-line); background: transparent; color: var(--h-ink-2); border-radius: 50%; cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.theme-toggle:hover { color: var(--h-ink); border-color: var(--h-ink-2); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
details.lang-pop, details.menu { position: relative; }
details.lang-pop > summary, details.menu > summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; border: 1px solid var(--h-line); border-radius: 3px; padding: 0 12px; font-size: 15px; color: var(--h-ink-2); }
details.lang-pop > summary::-webkit-details-marker, details.menu > summary::-webkit-details-marker { display: none; }
details.lang-pop > summary:hover, details.menu > summary:hover { color: var(--h-ink); border-color: var(--h-ink-2); }
details.lang-pop > summary svg { width: 16px; height: 16px; }
details.menu[open] > summary { background: var(--h-ink); color: var(--h-bg); border-color: var(--h-ink); }
.lang-panel, .menu .panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; width: min(240px, calc(100vw - 32px)); max-height: 75vh; overflow-y: auto; background: var(--h-surface); border: 1px solid var(--h-line); box-shadow: 0 18px 40px rgba(10, 20, 30, .14); padding: 8px; }
.lang-panel a, .menu .panel a { display: block; padding: 12px; color: var(--h-ink); text-decoration: none; border-bottom: 1px solid var(--h-line); }
.lang-panel a:last-of-type, .menu .panel a:last-of-type { border-bottom: 0; }
.lang-panel a:hover, .menu .panel a:hover { background: var(--h-tint); }
.lang-panel a[aria-current]::after { content: " ✓"; color: var(--green); }
.menu { display: none; }
@media (max-width: 900px) {
  .site-header .nav { display: none; }
  .menu { display: block; }
  .site-header .hwrap { gap: 10px; }
  .site-header .brand { gap: 8px; }
}
@media (max-width: 340px) { .site-header .brand .name-2 { display: none; } }

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 48px 0 56px; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.14; margin: 0 0 16px; color: var(--heading); font-weight: 650; }
h2 { font-size: 1.75rem; color: var(--heading); margin: 0 0 12px; font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.15rem; color: var(--heading); margin: 0 0 6px; font-weight: 600; }
.lead { font-size: 1.18rem; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.small { color: var(--muted); font-size: 0.95rem; margin: 12px 0 0; }
section { padding: 48px 0; }

/* Phone picture drawn in HTML: an example, not a screenshot. */
.phone { justify-self: center; width: min(360px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 34px; padding: 22px 18px 20px; box-shadow: var(--shadow); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; }
.phone-top strong { color: var(--heading); font-size: 1.02rem; font-weight: 640; font-family: "Outfit", "Segoe UI", system-ui, sans-serif; }
/* "Who it's for": said plainly, near the top. */
.notmsg { background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--primary); border-radius: 16px; padding: 20px 24px; }
.notmsg h2 { margin: 0 0 6px; }
.notmsg p { margin: 0; font-size: 1.12rem; }
.who-list { columns: 2; column-gap: 32px; }
.who-list li { break-inside: avoid; }

.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card p { margin: 0; }
/* Icons on tiles sit in a circle: 40 px, thin outline, soft fill, 20 px icon (Quiet design rules, 8 Nov 2026). */
.feature-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.feature-icon svg { width: 20px; height: 20px; }
.honest { border-inline-start: 4px solid var(--green); }
.makers { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.makers-text { flex: 1; min-width: 220px; }
.makers-btn { margin-top: 16px !important; }
.makers .small { margin-top: 10px; }
.eisa-meet { margin-top: 10px; }
.eisa-meet a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.eisa { width: 150px; height: auto; border-radius: 16px; flex-shrink: 0; }
.more-ic { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
#eisa { padding-bottom: 0; }
.button-alt { display: inline-block; border: 1px solid var(--line); background: var(--card); color: var(--heading); text-decoration: none; padding: 12px 20px; border-radius: 16px; font-weight: 600; }
.button-alt:hover { border-color: var(--primary); }
.faq { max-width: 780px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); padding: 16px 0; }
.faq details p { margin: 0 0 16px; }

/* ---------- Text pages (privacy, support, 404) ---------- */
.doc { padding-bottom: 20px; }
.doc > * { max-width: 780px; }
.doc h1 { font-size: 2.2rem; margin: 32px 0 8px; }
.doc h2 { font-size: 1.25rem; margin: 30px 0 6px; }
.doc .lead { margin-bottom: 18px; }
.promise { background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--green); border-radius: 16px; padding: 18px 22px; font-size: 1.1rem; }
.muted { color: var(--muted); }
.full-link { margin-top: 28px; }

/* ---------- Footer ---------- */
footer { padding: 30px 0 50px; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--line); margin-top: 24px; }
footer a { color: var(--muted); }
footer p { margin: 0 0 8px; }
.family { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.family-title { font-size: 0.85rem; font-weight: 600; margin: 0 0 12px; color: var(--muted); }
.family-links { display: flex; gap: 14px 34px; flex-wrap: wrap; }
.family-links a, .family-links .fam-soon { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); }
.family-links a:hover strong { text-decoration: underline; }
.family-links .fam-soon { color: var(--heading); }
.family-links strong { display: block; font-weight: 600; font-size: 0.95rem; }
.family-links small { display: block; color: var(--muted); font-size: 0.82rem; }
.fam-ic { width: 26px; height: 26px; }
/* "Part of EISA Group" line under the family row (Robert, 2026-10-27; a brand name, not the legal owner). */
.family .family-part { margin: 14px 0 0; font-size: 0.88rem; }
.family-links a[aria-current="page"] { cursor: default; }
.family-links a[aria-current] strong::after { content: " ✓"; color: var(--green); }
.family-links a[aria-current="page"]:hover strong { text-decoration: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .family-links { flex-direction: column; }
  .who-list { columns: 1; }
}
bdi[dir="ltr"] { white-space: nowrap; }

/* ---------- Steps with example phones, prices. No animations. ---------- */
.button { display: inline-block; background: var(--primary); color: var(--on-primary); text-decoration: none; padding: 12px 22px; border-radius: 16px; font-weight: 600; }
.hero-phone { padding: 18px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step-text h3 { margin-top: 10px; }
.step-text p { margin: 0; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--primary); font-weight: 600; }
:root[data-theme="dark"] .num { color: var(--heading); }
.mini-phone { background: var(--bg); border: 1px solid var(--line); border-radius: 26px; padding: 16px 16px 14px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mini-phone.flat { border: 0; background: transparent; padding: 0; }
.mini-phone .phone-top { padding: 0 0 8px; }
.mini-phone .phone-top .app-ic { width: 24px; height: 24px; }
.ph-label { margin: 0 0 4px; color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.ph-title { margin: 0; font-weight: 600; color: var(--heading); font-size: 1.05rem; line-height: 1.35; }
.ph-text { margin: 0; color: var(--ink); font-size: 0.98rem; }
.ph-small { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }
.ph-ask { display: flex; gap: 8px; margin-top: 8px; }
.ph-btn { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 9px 6px; font-weight: 600; color: var(--heading); background: var(--card); font-size: 0.95rem; }
.ph-btn.ph-yes { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.ph-ok, .ph-quiet, .ph-ring { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.ph-ok svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.ph-quiet svg { width: 20px; height: 20px; color: var(--quiet); flex-shrink: 0; }
.ph-ring { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.ph-ring svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.cards.two { grid-template-columns: 1fr 1fr; margin-top: 0; }
ul.plain { margin: 8px 0 0; padding-inline-start: 20px; }
ul.plain li { margin: 6px 0; }
.price .amount { font-size: 1.3rem; font-weight: 600; color: var(--heading); margin: 4px 0 10px; }
.price-main { border: 2px solid var(--primary); }
.prices-btn { margin: 20px 0 0; }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; }
  .cards.two { grid-template-columns: 1fr; }
}
