/* Question pages (/stop-scam-calls-iphone/ and friends), built by scripts/answer-pages.ts.
   Same palette, type and pieces as the home page; a reading column instead of a landing page. */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #e8eef7;
  --ink: #0f1b2d;
  --muted: #5b6b80;
  --line: #d7e0ec;
  --accent: #1c64c8;
  --accent-strong: #123f80;
  --accent-soft: rgba(28,100,200,0.07);
  --villain: #cf442f;
  --shadow-lg: rgba(15,27,45,0.14);
  --poster: "Anton", "Impact", "Barlow Condensed", sans-serif;
  --display: "Barlow", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --r: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* No flash when something is tapped on a phone (Max, 12 Nov). */
* { -webkit-tap-highlight-color: transparent; }
body { background: var(--bg); color: var(--ink); font-family: var(--display); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.col { max-width: 760px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { text-transform: uppercase; text-wrap: balance; }
h1, h2 { font-family: var(--poster); font-weight: 400; letter-spacing: 0.01em; line-height: 1.04; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
h3 { font-weight: 800; font-size: 1.2rem; line-height: 1.1; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; font-family: var(--cond); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent); color: #fff; border-radius: var(--r); transition: background .17s; }
.btn:hover { background: var(--accent-strong); }
.btn.sm { padding: 10px 18px; font-size: 0.82rem; }
.btn.big { padding: 18px 34px; font-size: 1.08rem; border-radius: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--cond); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; }
.logo { width: 40px; height: auto; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a.lnk { font-family: var(--cond); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); padding: 8px 14px; }
.nav-links a.lnk:hover { color: var(--ink); }

/* the question and its answer */
.q { padding: 64px 0 48px; }
.crumb { font-family: var(--cond); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumb a:hover { color: var(--accent-strong); }
.answer { margin-top: 26px; font-size: 1.28rem; line-height: 1.55; font-weight: 500; }
.updated { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.q .cta-row { margin-top: 28px; }

/* body copy */
.part { padding: 52px 0; border-top: 1px solid var(--line); }
.part.alt { background: var(--surface-2); }
.part h2 { margin-bottom: 20px; }
.part p { color: var(--muted); margin-top: 14px; }
.part p:first-of-type { margin-top: 0; }
.part ul.list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.part ul.list li { position: relative; padding-left: 26px; color: var(--muted); }
.part ul.list li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.part ul.list b { color: var(--ink); }
.part a.in { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.art { display: block; width: 100%; max-width: 520px; height: auto; margin: 30px auto 0; filter: drop-shadow(0 22px 34px var(--shadow-lg)); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.cell { background: var(--surface); padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 28px -20px var(--shadow-lg); min-width: 0; }
.cell .n { font-family: var(--cond); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.78rem; color: var(--accent-strong); }
.cell p { font-size: 1rem; line-height: 1.55; margin-top: 0; }

/* side by side */
.vs-wrap { overflow-x: auto; margin-top: 22px; }
.part .vs-wrap + p { margin-top: 18px; }
.vs { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 1rem; }
.vs th, .vs td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font-family: var(--cond); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: var(--muted); }
.vs thead th.us { color: var(--accent-strong); }
.vs tbody th { font-weight: 600; }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: none; }
.ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: 0.85rem; }
.ic.yes { background: var(--accent-soft); color: var(--accent); }
.ic.no { background: rgba(207,68,47,0.08); color: var(--villain); }

/* questions */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 4px; font-weight: 800; font-size: 1.08rem; text-transform: uppercase; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary .pl { color: var(--accent); font-weight: 400; font-size: 1.5rem; line-height: 1; flex: none; transition: transform .2s; }
details[open] summary .pl { transform: rotate(45deg); }
details p { padding: 0 4px 22px; font-size: 1rem; }

/* more questions */
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 8px; }
.more a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-weight: 700; line-height: 1.35; transition: border-color .15s; }
.more a:hover { border-color: var(--accent); }
.more a small { display: block; margin-top: 6px; font-family: var(--cond); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; color: var(--accent-strong); }

/* get started */
.final { padding: 72px 0; border-top: 1px solid var(--line); text-align: center; }
.final .sub { color: var(--muted); font-size: 1.12rem; margin: 14px auto 22px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.final .cta-row { justify-content: center; }
.cta-note { color: var(--muted); font-size: 0.95rem; }
.store img { display: block; height: 52px; width: auto; }
.consent { max-width: 52ch; margin: 18px auto 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.consent a { text-decoration: underline; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.foot .co { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }
.foot nav { display: flex; gap: 14px 26px; flex-wrap: wrap; justify-content: flex-end; }
.foot nav a { font-family: var(--cond); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: var(--muted); }
.foot nav a:hover { color: var(--accent-strong); }

@media (max-width: 880px) {
  .nav-links a.lnk { display: none; }
  .steps { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .foot .brand { justify-content: center; }
  .foot nav { justify-content: center; }
}
@media (max-width: 480px) {
  .brand { font-size: 1rem; gap: 9px; }
  .nav-in .btn { padding: 10px 15px; font-size: 0.78rem; }
  .q { padding: 44px 0 36px; }
  .answer { font-size: 1.15rem; }
  .q .cta-row { justify-content: flex-start; }
}

/* ===== The home page's premium look (ported 12 Nov 2026): navy nav, the question on a navy
   band like the hero with the same slanted bottom edge, one light background, navy close. ===== */
.nav { background: rgba(11,37,80,.82); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: saturate(160%) blur(14px); }
.nav .brand { color: #fff; }
.nav-links a.lnk { color: rgba(255,255,255,.72); }
.nav-links a.lnk:hover { color: #fff; }
.nav .btn { background: #fff; color: #0b2550; }
.nav .btn:hover { background: #dce9fb; }

.q { --tilt: min(6vw, 80px); color: #fff; padding-bottom: calc(56px + var(--tilt));
  background: radial-gradient(900px 620px at 78% 30%, #1b56a8 0%, rgba(27,86,168,0) 70%), linear-gradient(180deg, #123f80 0%, #0e3168 70%, #0b2550 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tilt)), 0 100%); }
.q h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.q .crumb, .q .crumb a { color: #8fbcf5; }
.q .crumb a:hover { color: #fff; }
.q .answer { color: rgba(255,255,255,.9); }
.q .cta-note, .q .updated { color: rgba(255,255,255,.66); }
.q .btn { background: #fff; color: #0b2550; box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.q .btn:hover { background: #dce9fb; }
.q + .part { border-top: none; }

.part.alt { background: var(--bg); }
.cell { border-radius: 22px; border-color: #e2e8f1; box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 28px 56px -32px rgba(15,27,45,.28); }
.more a { border-radius: 16px; }

.final { color: #fff; border-top: none; padding: 104px 0;
  background: radial-gradient(800px 420px at 50% 0%, #1b56a8 0%, rgba(27,86,168,0) 70%), linear-gradient(180deg, #0e3168, #0b2550); }
.final h2 { color: #fff; }
.final .sub, .final .consent, .final .consent a { color: rgba(255,255,255,.72); }
.final .btn { background: #fff; color: #0b2550; }
.final .btn:hover { background: #e3eefc; }

footer { background: #081c3e; border-top: 1px solid rgba(255,255,255,.06); color: #fff; }
footer .brand { color: #fff; }
footer .co, footer nav a { color: rgba(255,255,255,.6); }
footer nav a:hover { color: #fff; }
@media (max-width: 880px) { .q { --tilt: 40px; } }
