/* PhoneVault public pages — plain HTML, no app, no JavaScript needed to read
   them. Built by scripts/build-site.mjs from site/content.mjs.
   The home page is the shop window: short lines, pictures, big buttons. The
   detail is one tap away on each service's own page. */
:root {
  --bg: #f5f7fc;
  --card: #ffffff;
  --ink: #0b1630;
  --ink-2: #44506b;
  --ink-3: #6f7c98;
  --line: #e4e9f3;
  --accent: #075cdd;
  --accent-2: #2f8bff;
  --accent-soft: #e9f1ff;
  --navy: #061a44;
  --ok: #12a05c;
  --ok-soft: #e6f7ee;
  --shadow: 0 18px 40px -18px rgba(8, 23, 66, .28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 16.5px/1.6 Inter, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.ic { width: 22px; height: 22px; flex: none; }

/* ── Top bar ── */
header.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
header.top .wrap { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
a.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: 15px;
}
a.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.main { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; }
nav.main a { color: rgba(255,255,255,.72); text-decoration: none; }
nav.main a:hover, nav.main a[aria-current="page"] { color: #fff; }
.actions { display: flex; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: 10px 20px; font-weight: 700; font-size: 14.5px; text-decoration: none;
  border: 1.5px solid transparent; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 10px 22px -10px rgba(7,92,221,.7); }
.btn.light { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.btn.ghost { border-color: rgba(255,255,255,.38); color: #fff; }
.btn.big { padding: 15px 28px; font-size: 16.5px; }
.link { font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 72px;
  background:
    radial-gradient(520px 320px at 85% 20%, rgba(47,139,255,.45), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(7,92,221,.35), transparent 60%),
    linear-gradient(160deg, #0a2358 0%, #061a44 55%, #030c24 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; margin: 0 0 18px; letter-spacing: -.03em; font-weight: 800; }
.hero h1 .line { display: block; }
.glow { background: linear-gradient(90deg, #7db8ff, #b9dcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 19px; max-width: 30em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { margin: 20px 0 0; color: rgba(255,255,255,.6); font-size: 14.5px; }
.hero .note a { color: #fff; font-weight: 700; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700;
  color: #b9dcff; background: rgba(255,255,255,.1); border-radius: 999px; padding: 6px 14px; margin: 0 0 18px;
}
.hero-art { display: flex; justify-content: center; }
.hero.small { padding: 44px 0 52px; }
.hero.small h1 { font-size: clamp(30px, 4.8vw, 44px); line-height: 1.1; }
.hero.small p.lead { font-size: 18px; margin-bottom: 24px; }
.hero-ic {
  display: inline-flex; width: 56px; height: 56px; border-radius: 16px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #b9dcff; margin-bottom: 16px;
}
.hero-ic .ic { width: 28px; height: 28px; }
.crumbs { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0 0 18px; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }

/* ── Drawn screens ── */
.phone {
  width: 260px; border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #1b2c57, #0a1634);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.75), inset 0 0 0 1.5px rgba(255,255,255,.14);
  transform: rotate(3deg);
}
.screen { background: #f5f7fc; border-radius: 29px; padding: 18px 16px 20px; color: var(--ink); }
.s-bar { font-weight: 800; font-size: 15px; text-align: center; margin-bottom: 14px; }
.s-field { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 13.5px; letter-spacing: .06em; font-weight: 600; color: var(--ink-2); }
.s-result { display: flex; gap: 10px; align-items: center; border-radius: 14px; padding: 13px 12px; margin: 12px 0 14px; }
.s-result.ok { background: var(--ok-soft); color: var(--ok); }
.s-result.bad { background: #fdecec; color: #d43030; }
.s-result.bad .ic { background: #d43030; padding: 6px; }
.s-result.bad span { color: #a04444; }
.s-btn.off { background: #e2e7f1; color: var(--ink-3); }
.s-result .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.6; }
.s-result b { display: block; font-size: 16px; }
.s-result span { display: block; font-size: 11.5px; color: #3d7a5b; }
.s-row { display: flex; justify-content: space-between; margin: 9px 0; }
.s-row i { display: block; height: 8px; width: 46%; border-radius: 4px; background: #e2e7f1; }
.s-row i.w60 { width: 32%; } .s-row i.w40 { width: 38%; } .s-row i.w30 { width: 24%; }
.s-btn { margin-top: 16px; background: var(--navy); color: #fff; text-align: center; border-radius: 12px; padding: 11px; font-weight: 700; font-size: 13.5px; }
.show-art .phone { transform: rotate(-3deg); }

.paper { width: 290px; background: #fff; border-radius: 18px; padding: 20px 20px 16px; box-shadow: var(--shadow); color: var(--ink); transform: rotate(-2deg); border: 1px solid var(--line); }
.p-head { border-bottom: 2px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.p-head b { display: block; font-size: 17px; }
.p-head span { font-size: 12px; color: var(--ink-3); }
.p-line { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin: 7px 0; }
.p-line.dim { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.paid { background: var(--ok-soft); color: var(--ok); font-weight: 800; border-radius: 6px; padding: 1px 8px; font-size: 11px; letter-spacing: .06em; }
.p-wa { display: flex; align-items: center; gap: 8px; margin-top: 14px; background: #e7f8ee; color: #128c4b; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 13px; }
.p-wa .ic { width: 18px; height: 18px; stroke-width: 2.6; }

.results { width: 300px; background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); transform: rotate(2deg); }
.r-box { display: flex; align-items: center; gap: 10px; border: 2px solid var(--accent); border-radius: 12px; padding: 10px 12px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.r-box .ic { color: var(--accent); width: 18px; height: 18px; }
.r-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px; border-top: 1px solid var(--line); }
.r-row b { display: block; color: var(--ink); font-size: 14px; }
.r-row span { font-size: 12px; color: var(--ok); font-weight: 600; }
.r-row em { font-style: normal; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 5px 13px; }

/* ── Strip ── */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-top: 18px; padding-bottom: 18px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 14.5px; }
.strip .ic { color: var(--accent); width: 20px; height: 20px; }

/* ── Sections ── */
section.band { padding: 64px 0; }
section.band.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { color: var(--ink); font-size: clamp(25px, 3.6vw, 34px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; font-weight: 800; }
h2.center { margin-bottom: 34px; }
h3 { color: var(--ink); font-size: 17px; margin: 0 0 4px; line-height: 1.3; }
p { margin: 0 0 14px; }
strong { color: var(--ink); }
.fine { color: var(--ink-3); font-size: 14.5px; margin-top: 26px; }
.pill {
  display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 800;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; margin-bottom: 12px;
}

/* Tiles */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(5, 1fr); }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 16px; text-align: center;
  text-decoration: none; color: inherit; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tile-ic {
  display: inline-flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; margin-bottom: 12px;
  box-shadow: 0 10px 20px -10px rgba(7,92,221,.8);
}
.tile-ic .ic { width: 26px; height: 26px; }
.tile h3 { font-size: 16px; }
.tile p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }

/* Picture rows */
.show { display: grid; gap: 64px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.show-row.flip .show-art { order: 2; }
.show-art {
  display: flex; justify-content: center; align-items: center; min-height: 300px; border-radius: 28px; padding: 30px 16px;
  background: radial-gradient(260px 200px at 50% 40%, #dfeaff, transparent 70%), var(--bg);
}
.show-row p { font-size: 18px; color: var(--ink-2); }
.show-row .btn { margin-right: 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; color: var(--ink); font-weight: 600; }
.ticks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; margin-top: 2px; }
.ticks.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.ticks.grid2 li { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font-weight: 500; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.steps li {
  counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 58px 20px 20px;
  position: relative; text-align: center;
}
.steps li::before {
  content: counter(step); position: absolute; left: 50%; top: 16px; transform: translateX(-50%); width: 34px; height: 34px;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.steps p { margin: 0; font-size: 15px; }

/* Questions */
details.qa { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; overflow: hidden; }
section.band.alt details.qa { background: var(--bg); }
details.qa summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--ink); position: relative;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; color: var(--accent);
}
details.qa[open] summary::after { content: "–"; }
details.qa p { margin: 0; padding: 0 18px 16px; font-size: 15.5px; }

/* Final call */
.final {
  text-align: center; color: #fff; padding: 64px 0;
  background: radial-gradient(500px 260px at 50% 0%, rgba(47,139,255,.45), transparent 70%), linear-gradient(160deg, #0a2358, #061a44 60%, #030c24);
}
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.78); font-size: 17.5px; margin-bottom: 24px; }
.final .cta { justify-content: center; }
.final.inset { border-radius: 26px; padding: 40px 24px; margin: 36px 0 22px; }
.final.inset h2 { font-size: 26px; }

/* Inner pages */
.page { padding-top: 34px; padding-bottom: 40px; }
.page section { margin-bottom: 34px; }
.page h2 { font-size: 24px; margin-bottom: 14px; }
.answer-card { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 18px; padding: 22px 22px 10px; box-shadow: var(--shadow); }
.answer-card h2 { font-size: 20px; }
.answer-card p { font-size: 17px; color: var(--ink); }
.related { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; justify-content: center; }
.related a {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  text-decoration: none; font-size: 14.5px; font-weight: 700; background: var(--card); color: var(--ink);
}
.related a:hover { border-color: var(--accent); }
.related .ic { width: 18px; height: 18px; color: var(--accent); }

/* ── Footer ── */
footer.foot { background: #030c24; color: rgba(255,255,255,.66); padding: 44px 0 40px; font-size: 14.5px; }
footer.foot .cols { display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr); }
footer.foot h2 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; font-weight: 700; }
footer.foot ul { list-style: none; padding: 0; margin: 0; }
footer.foot li { margin: 6px 0; }
footer.foot a { color: rgba(255,255,255,.72); text-decoration: none; }
footer.foot a:hover { color: #fff; }
footer.foot .legal { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 13.5px; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: 12px; }
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 22px; }
  .show-row.flip .show-art { order: 0; }
  .show-art { min-height: 0; }
}
@media (max-width: 640px) {
  nav.main { display: none; }
  header.top .wrap { gap: 10px; }
  .btn { padding: 9px 16px; }
  .hero { padding: 44px 0 52px; text-align: center; }
  .hero .cta { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; font-size: 17.5px; }
  .hero.small { text-align: left; }
  .hero.small .cta { justify-content: flex-start; }
  .btn.big { padding: 14px 24px; font-size: 16px; }
  .strip .wrap { gap: 8px 18px; }
  .strip span { font-size: 13px; }
  section.band { padding: 46px 0; }
  h2.center { margin-bottom: 24px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .ticks.grid2 { grid-template-columns: 1fr; }
  .show { gap: 46px; }
  .show-row { text-align: center; }
  .show-row .ticks { display: inline-block; text-align: left; }
  .show-row .btn { margin: 0 0 12px; }
  .show-row .link { display: block; }
  footer.foot .cols { grid-template-columns: repeat(2, 1fr); }
  .final { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
