/* Humanvoice site styles. Mobile-first: base rules are the phone layout, wider layouts are added with min-width queries.
   One file, no framework, no web fonts. Per-product colour comes from the --accent custom property set on each layer/page. */

/* One calm light-blue theme (no dark mode). Text/background pairs meet WCAG AA contrast. */
:root {
  --bg: #f3f8fd;        /* page background: very light blue */
  --tint: #e6f1fb;      /* alternate band / soft panels */
  --surface: #ffffff;   /* cards */
  --text: #17324d;      /* deep slate blue */
  --muted: #4f6479;
  --line: #d3e3f1;
  --brand: #1a5c99;
  --accent: #1d6db5;    /* buttons, links, highlights (white text on it is 5.3:1) */
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(23, 50, 77, 0.05), 0 8px 24px rgba(23, 50, 77, 0.07);
  --radius: 16px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 5vw + 0.5rem, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 2.2vw + 0.8rem, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---- header / footer ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--brand); text-decoration: none; letter-spacing: -0.02em; }
.nav { display: flex; gap: 0.25rem; }
.nav a { padding: 0.6rem 0.8rem; min-height: 44px; display: inline-flex; align-items: center; color: var(--text); text-decoration: none; border-radius: 10px; font-weight: 500; }
.nav a:hover { background: var(--line); }
.crumbs { font-size: 0.9rem; color: var(--muted); padding-block: 1rem 0; }
.crumbs a { color: var(--muted); }
.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--surface); padding-block: 2rem; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-footer a { color: var(--muted); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.2rem; border-radius: 12px; font-weight: 600; text-decoration: none; text-align: center; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); }
.btn:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); filter: none; }
.btn--soon { border-style: dashed; background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.btn-row { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.25rem; }
.btn-row--links { grid-template-columns: 1fr 1fr; }

/* ---- landing hero ---- */
.hero { padding-block: 3rem 2.5rem; text-align: center; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 40rem; margin-inline: auto; }
.hero .eyebrow { font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }

/* ---- the five layers ---- */
.layer { background: var(--tint); border-block: 1px solid var(--line); padding-block: 2.5rem; }
.layer:nth-of-type(even) { background: var(--surface); }
.layer .wrap { display: grid; gap: 1.75rem; align-items: center; }
.layer__id { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.layer__icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow); flex: none; background: var(--surface); }
.layer h2 { margin: 0; }
.layer h2 a { color: inherit; text-decoration: none; }
.layer h2 a:hover { text-decoration: underline; }
.layer__tag { color: var(--accent); font-weight: 600; margin: 0.15rem 0 0; }
.layer__body p { color: var(--muted); }
.points { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.points li { position: relative; padding-left: 1.6rem; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--accent); }
.badge { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); margin-left: 0.5rem; vertical-align: middle; }

.shots { display: flex; gap: 1rem; justify-content: center; }
.phone { width: min(44vw, 210px); border-radius: 26px; padding: 7px; background: #c4daee; border: 1px solid #b3cde6; box-shadow: var(--shadow); }
.phone img { border-radius: 19px; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.phone:nth-child(2) { transform: translateY(1.5rem); }
.placeholder-art { width: min(80vw, 320px); aspect-ratio: 1; margin-inline: auto; border-radius: 32px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); display: grid; place-items: center; }
.placeholder-art img { width: 55%; }

/* ---- generic page content ---- */
main { display: block; }
.page { padding-block: 1.5rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.product-hero { display: grid; gap: 1.5rem; padding-block: 1.5rem 2rem; align-items: center; }
.product-hero .layer__icon { width: 96px; height: 96px; border-radius: 24px; }
.facts { display: grid; grid-template-columns: 1fr; gap: 0.25rem 1.5rem; margin: 0; }
.facts dt { font-weight: 600; margin-top: 0.75rem; }
.facts dd { margin: 0; color: var(--muted); }
.gallery { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0 1rem; -webkit-overflow-scrolling: touch; }
.gallery .phone { flex: none; scroll-snap-align: center; width: min(62vw, 240px); }
.gallery .phone:nth-child(2) { transform: none; }
.faq h3 { margin-top: 1.25rem; }
.faq p { color: var(--muted); }
.grid-2 { display: grid; gap: 1.25rem; }
.stack > * + * { margin-top: 1.5rem; }

/* ---- policy pages (wraps the original policy text word for word) ---- */
.policy { max-width: 820px; margin: 1.25rem auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.policy h1 { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 0.5rem; font-size: clamp(1.5rem, 3vw + 0.7rem, 2.1rem); }
.policy h2 { color: var(--accent); font-size: 1.3rem; margin-top: 2rem; border-left: 4px solid var(--accent); padding-left: 0.85rem; }
.policy h3 { color: var(--accent); }
.policy ul { padding-left: 1.25rem; }
.policy li { margin-bottom: 0.6rem; }
.policy .last-updated { font-style: italic; color: var(--muted); }
.policy .highlight-box { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border-left: 4px solid var(--accent); padding: 0.9rem 1rem; margin: 1.25rem 0; border-radius: 0 8px 8px 0; }
.policy .deletion-box { background: color-mix(in srgb, #ff9800 14%, var(--surface)); border-left: 4px solid #ff9800; padding: 0.9rem 1rem; margin: 1.25rem 0; border-radius: 0 8px 8px 0; }
.policy .contact-info { background: color-mix(in srgb, var(--muted) 12%, var(--surface)); padding: 1rem 1.25rem; border-radius: 10px; margin-top: 2rem; }
.policy code { background: var(--line); padding: 0.1em 0.35em; border-radius: 4px; }
.lang-bar { display: flex; justify-content: flex-end; padding-bottom: 0.75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); min-height: 2.4rem; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* ---- 404 ---- */
.center { text-align: center; padding-block: 5rem; }

/* ---- tablet ---- */
@media (min-width: 600px) {
  .btn-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-row--links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 200px 1fr; }
  .facts dt { margin-top: 0; padding-block: 0.6rem; border-top: 1px solid var(--line); }
  .facts dd { padding-block: 0.6rem; border-top: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .policy { padding: 2rem; }
}

/* ---- desktop: five layers side by side (text | phones), alternating ---- */
@media (min-width: 900px) {
  .wrap { padding-inline: 2rem; }
  .hero { padding-block: 5rem 4rem; }
  .layer { padding-block: 4.5rem; }
  .layer .wrap { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .layer:nth-of-type(even) .layer__media { order: -1; }
  .layer__icon { width: 88px; height: 88px; border-radius: 22px; }
  .phone { width: 220px; }
  .btn-row { max-width: 30rem; }
  .product-hero { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; padding-block: 2.5rem 3rem; }
  .gallery { justify-content: center; overflow: visible; flex-wrap: wrap; }
  .gallery .phone { width: 200px; }
}

@media (min-width: 1200px) {
  .phone { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---- About pages ---- */
.btn-inline { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.about-hero { position: relative; overflow: hidden; padding-block: 2rem 3rem; background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
.about-hero::before, .about-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.about-hero::before { width: 420px; height: 420px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(29, 109, 181, 0.16), transparent 70%); }
.about-hero::after { width: 320px; height: 320px; left: -120px; bottom: -160px; background: radial-gradient(circle, rgba(29, 109, 181, 0.10), transparent 70%); }
.about-hero .wrap { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.about-hero .eyebrow { font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.about-hero .lead { color: var(--text); font-size: 1.1rem; }
.about-hero .lead + .lead { color: var(--muted); }
.about-hero .shots { padding-bottom: 1.5rem; }
.fineprint { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }
.section { padding-block: 2.75rem; }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-intro { text-align: center; color: var(--muted); max-width: 42rem; margin: 0 auto 2rem; font-size: 1.05rem; }
.statement { display: grid; gap: 1.25rem; align-items: center; justify-items: start; }
.statement h2 { margin-bottom: 0.9rem; font-size: clamp(1.25rem, 1.8vw + 0.8rem, 1.7rem); }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.chip { padding: 0.4rem 1.1rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--surface)); color: var(--brand); font-weight: 700; }
.features { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 0.9rem; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.feature h3 { margin: 0 0 0.4rem; }
.feature p { margin: 0; color: var(--muted); }
.showcase { display: grid; grid-template-columns: 1fr; gap: 2.25rem; justify-items: center; margin-top: 1.5rem; }
.showcase figure { margin: 0; text-align: center; max-width: 250px; }
.showcase .phone, .showcase .phone:nth-child(2) { width: 100%; transform: none; }
.showcase figcaption { margin-top: 1rem; color: var(--muted); }
.showcase figcaption strong { display: block; color: var(--text); margin-bottom: 0.2rem; }
.pro-card { color: #fff; border-radius: 24px; padding: 2rem 1.25rem; background: linear-gradient(135deg, #2b7fca 0%, #164f86 100%); box-shadow: var(--shadow); }
.pro-card h2 { color: #fff; margin: 1rem 0 0.4rem; }
.pro-badge { display: inline-block; background: #fff; color: var(--brand); font-weight: 700; padding: 0.3rem 0.95rem; border-radius: 999px; font-size: 0.9rem; }
.pro-intro { color: rgba(255, 255, 255, 0.92); max-width: 42rem; margin-bottom: 1.5rem; }
.pro-card .feature { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); box-shadow: none; }
.pro-card .feature h3 { color: #fff; }
.pro-card .feature p { color: rgba(255, 255, 255, 0.92); }
.pro-card .feature__icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.cta-band { background: var(--tint); border-block: 1px solid var(--line); text-align: center; padding-block: 3.5rem; }
.cta-band .lead { max-width: 38rem; margin-inline: auto; }
.cta-band .btn-row { max-width: 30rem; margin-inline: auto; }

@media (min-width: 600px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statement { grid-template-columns: auto 1fr; }
  .pro-card { padding: 2.5rem; }
}
@media (min-width: 900px) {
  .about-hero { padding-block: 3.5rem 4rem; }
  .about-hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding-block: 4.25rem; }
  .pro-card { padding: 3rem; }
}

/* ---- About pages: variants (plain list, how-it-works, privacy card) ---- */
.about-id { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.about-id .eyebrow { margin: 0; }
.about-hero .chips { margin: 1.25rem 0 0.25rem; }
.features--rows { grid-template-columns: 1fr; }
.feature--row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.feature--row .feature__icon { margin: 0; flex: none; }
.feature--row p { color: var(--text); font-weight: 500; }
.how { display: grid; gap: 1.5rem; align-items: center; padding: 1.5rem; }
.how .phone { width: min(60vw, 230px); margin-inline: auto; }
.how .phone:nth-child(2) { transform: none; }
.privacy-card { display: flex; gap: 1.25rem; align-items: flex-start; }
.privacy-card .feature__icon { margin: 0; flex: none; }
.privacy-card .lead { color: var(--text); margin: 0; }

@media (min-width: 600px) {
  .features--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: 1.3fr 0.7fr; padding: 2.25rem; }
}
@media (min-width: 900px) {
  .features--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- About pages: pillars and use-case chips ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chips--center { justify-content: center; }

/* ---- landing/product link row with three buttons: More details, Support, Privacy policy ---- */
.btn-row--three { grid-template-columns: 1fr 1fr; }
.btn-row--three .btn--more { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .btn-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btn-row--three .btn--more { grid-column: auto; }
}
@media (min-width: 900px) {
  .layer .btn-row--three { max-width: 34rem; }
}
