:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #5c5c62;
  --text-3: #86868b;
  --line: #e3e3e8;
  --green: #1e9e4a;
  --green-ink: #157a38;
  --green-soft: #e9f6ee;
  --red: #e5372c;
  --red-soft: #fdecea;
  --orange: #c45c00;
  --orange-soft: #fff3e3;
  --indigo: #5856d6;
  --indigo-soft: #eeeefc;
  --blue-ink: #0066cc;
  --orange-ink: #b25000;
  --red-ink: #d70015;
  --bubble: #e9e9eb;
  --bubble-text: #000000;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 28px -12px rgba(0, 0, 0, .14);
  --maxw: 1120px;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 16px;
  --measure: 690px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #111113;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #b0b0b6;
    --text-3: #8d8d93;
    --line: #2c2c2e;
    --green: #34c759;
    --green-ink: #4cd964;
    --green-soft: #0f2a18;
    --red: #ff5a50;
    --red-soft: #3a1513;
    --orange: #ffa340;
    --orange-soft: #3a2608;
    --indigo: #8e8cf5;
    --indigo-soft: #1f1e3d;
    --blue-ink: #409cff;
    --orange-ink: #ffa340;
    --red-ink: #ff6961;
    --bubble: #26252a;
    --bubble-text: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.top nav { display: flex; gap: 22px; margin-inline-start: auto; align-items: center; }
.top nav a { color: var(--text-2); font-size: 15px; }
.top nav a:hover { color: var(--text); text-decoration: none; }
.top nav a.get {
  color: #fff; background: var(--green); padding: 7px 14px; border-radius: 999px; font-weight: 600;
}
.top nav a.get:hover { background: var(--green-ink); }
@media (prefers-color-scheme: dark) { .top nav a.get { color: #000; } }
@media (max-width: 640px) { .top nav a.hide-s { display: none; } .top .wrap { gap: 12px; } }

/* type */
h1, h2, h3 { font-family: var(--display); color: var(--text); margin: 0; }
h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.018em; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(ar) body { line-height: 1.75; }
.kicker { font-size: 16px; font-weight: 600; color: var(--green-ink); margin: 0 0 10px; }
#traveler .kicker { color: var(--blue-ink); }
#how .kicker { color: var(--orange-ink); }
#guides .kicker { color: var(--indigo); }
#scams .kicker { color: var(--red-ink); }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--text-2); }

/* home hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lede { margin: 22px 0 30px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.band-lede { margin: 12px 0 18px; font-size: 18px; color: var(--text-2); }
.hero h1 { text-wrap: balance; }
@media (max-width: 880px) { .hero { padding: 44px 0 36px; } .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero-card { max-width: 484px; } }
@media (min-width: 600px) and (max-width: 880px) {
  .hero { padding: 64px 0 56px; }
  .hero .wrap { justify-items: center; text-align: center; gap: 44px; }
  .hero h1 { max-width: 13em; margin-inline: auto; }
  .hero .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-card { width: 100%; max-width: 520px; text-align: start; }
}

.badge { display: inline-block; line-height: 0; }
.badge img { height: 56px; width: auto; }
.badge .on-dark { display: none; }
@media (prefers-color-scheme: dark) { .badge .on-light { display: none; } .badge .on-dark { display: block; } }

/* a text as Messages shows it */
.msg { margin: 0; max-width: 430px; }
.msg-from { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--text-3); font-size: 13px; }
.msg-from b { color: var(--text); font-weight: 600; font-size: 14px; }
.msg-from .av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: linear-gradient(#a5a9b3, #868a94); display: grid; place-items: center; }
.msg-from .av svg { width: 18px; height: 18px; fill: #fff; }
.bubble {
  position: relative; display: inline-block; max-width: 100%;
  background: var(--bubble); color: var(--bubble-text);
  padding: 9px 14px; border-radius: 20px; font-size: 16px; line-height: 1.38;
  overflow-wrap: anywhere; margin: 0;
}
.bubble + .bubble { margin-top: 4px; }
.bubble::before, .bubble::after { content: ""; position: absolute; bottom: 0; height: 20px; }
.bubble::before { inset-inline-start: -7px; width: 20px; background: var(--bubble); border-end-end-radius: 16px 14px; }
.bubble::after { inset-inline-start: -10px; width: 10px; background: var(--card-under, var(--bg)); border-end-end-radius: 10px; }
.bubble.mid::before, .bubble.mid::after { display: none; }
.bubble a, .bubble u { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.verdict {
  display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0;
  font-size: 14px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: 999px;
}
.verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.verdict.spam { color: var(--red); background: var(--red-soft); }
.verdict.ok { color: var(--green-ink); background: var(--green-soft); }
.verdict.tx { color: var(--indigo); background: var(--indigo-soft); }
.verdict small { font-weight: 500; opacity: .85; font-size: 13px; }

.hero-card {
  --card-under: var(--card);
  background: var(--card); border-radius: var(--r-lg); padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}
.hero-card .msg + .msg { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }

/* sections */
section.band { padding: 56px 0; }
section.band.alt { background: var(--surface); }
section.band.alt .card { --card-under: var(--card); }
section.band:not(.alt) .card { background: var(--surface); --bubble: var(--card); --card-under: var(--surface); }
.band-head { max-width: 720px; margin: 0 0 32px; }
.band-head p:not(.kicker) { color: var(--text-2); margin: 12px 0 0; font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card {
  --card-under: var(--card);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border-radius: var(--r-lg); padding: 26px;
  color: var(--text); transition: transform .2s;
}
.card:hover { text-decoration: none; transform: translateY(-2px); }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.card .bubble { font-size: 14.5px; margin: 4px 0 6px 8px; align-self: flex-start; }
.card .bubble span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:dir(rtl) .card .bubble { margin: 4px 8px 6px 0; }
.card .go { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--green-ink); }

/* guide card (guide_cards.py): a tone's gradient, a white line icon, the title and summary at the top, the button at the bottom */
.tone-blue { --t1: #3b9bff; --t2: #0a5fd6; } .tone-purple { --t1: #c776ec; --t2: #8530bf; } .tone-green { --t1: #4fd47a; --t2: #15813a; }
.tone-teal { --t1: #4fc4da; --t2: #0d7890; } .tone-orange { --t1: #ffab38; --t2: #c75000; } .tone-red { --t1: #ff6f62; --t2: #c61d14; }
.gcard {
  display: flex; flex-direction: column; min-height: 360px; padding: 30px; border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--t1) 0%, var(--t2) 65%); color: #fff; transition: transform .2s;
}
.gcard:hover { text-decoration: none; transform: translateY(-2px); }
.gcard .gicon { display: block; flex: none; width: 56px; height: 56px; margin-bottom: 24px; }
.gcard h3 { color: #fff; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -.022em; font-weight: 700; }
:lang(ar) .gcard h3 { letter-spacing: 0; line-height: 1.35; }
.gcard p { margin: 12px 0 24px; color: rgba(255, 255, 255, .92); font-size: 16.5px; line-height: 1.45; }
.gcard .go { margin-top: auto; align-self: flex-start; background: #fff; color: var(--t2); border-radius: 999px; padding: 7px 15px; font-size: 15px; font-weight: 650; }
@media (max-width: 600px) { .gcard { min-height: 0; padding: 26px; } }

/* the download badge with the free week and privacy beside it, and an optional sentence above */
.get-app { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.get-app .pitch { flex-basis: 100%; margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.01em; color: var(--text); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
.facts li { display: flex; align-items: center; gap: 6px; }
.facts li:first-child { font-size: 15.5px; font-weight: 600; color: var(--text); }
.facts svg, .compare .yes svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* an app screen: the top of an iPhone, cut off by its panel */
.screen { margin: 0; }
.screen .panel { display: flex; justify-content: center; padding: 44px 24px 0; border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
section.band.alt .screen .panel { background: var(--card); }
.screen .phone { width: min(340px, 100%); padding: 9px 9px 0; border-radius: 50px 50px 0 0; background: #1d1d1f; }
@media (prefers-color-scheme: dark) { .screen .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); } }
.screen img { display: block; width: 100%; height: auto; border-radius: 42px 42px 0 0; }
.screen figcaption { margin-top: 12px; text-align: center; font-size: 14.5px; color: var(--text-2); }
.screen.detail img { border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); }

/* text beside an app screen */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px 56px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* iPhone alone vs with SMS Shield, the download under the table */
.why { grid-template-areas: "copy screen" "cta screen"; }
.why > :first-child { grid-area: copy; align-self: end; }
.why > .screen { grid-area: screen; }
.why > .get-app { grid-area: cta; align-self: start; }
@media (max-width: 880px) { .why { grid-template-areas: "copy" "screen" "cta"; } }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16.5px; }
.compare th, .compare td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody th { padding-inline-start: 0; text-align: start; font-weight: 500; }
.compare thead th { width: 7.2em; padding-top: 12px; font-size: 13px; font-weight: 650; line-height: 1.25; color: var(--text-2); }
.compare :is(thead th, td):last-child { background: var(--green-soft); }
.compare thead th:last-child { border-radius: 14px 14px 0 0; color: var(--green-ink); }
.compare tbody:last-child tr:last-child > * { border-bottom: 0; }
.compare tbody:last-child tr:last-child td:last-child { border-radius: 0 0 14px 14px; }
.compare .shared th { font-weight: 400; color: var(--text-2); }
.compare .shared .yes svg { stroke: var(--text-3); }
.compare .yes svg { width: 22px; height: 22px; margin-inline: auto; }
.compare .no { color: var(--text-3); font-size: 19px; }
@media (max-width: 600px) { .compare { font-size: 16px; } .compare thead th { width: 5.4em; } .compare th, .compare td { padding-inline: 4px; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* how filtering works */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: flow; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }
.flow li { list-style: none; background: var(--card); border-radius: var(--r-lg); padding: 26px; }
.flow li::before { counter-increment: flow; content: counter(flow); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .flow li::before { color: #000; } }
.flow h3 { margin-bottom: 6px; }
.flow p { margin: 0; color: var(--text-2); font-size: 16px; }
ol.flow { padding: 0; margin: 0; }
.flow + .note { margin-top: 20px; }
section.band:not(.alt) .flow li { background: var(--surface); }
section.band.alt .note:not(.warn, .tip) { background: var(--card); }
.app .lede { margin-top: 16px; }

/* the app */
.app { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .app { grid-template-columns: 1fr; } }
.app-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.app-points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--text-2); font-size: 16.5px; }
.app-points li b { color: var(--text); font-weight: 600; }
.app-points svg { width: 22px; height: 22px; margin-top: 2px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* article */
.crumbs { font-size: 14px; color: var(--text-3); margin: 34px 0 18px; }
.crumbs a { color: var(--text-3); }
.crumbs span { margin: 0 6px; }
.article-head { max-width: var(--measure); }
.article-head h1 { font-size: clamp(34px, 5vw, 50px); }
.article-head .lede { margin: 18px 0 0; }
.byline { font-size: 14px; color: var(--text-3); margin: 18px 0 0; }
.prose { max-width: var(--measure); padding: 8px 0 24px; }
.prose > * + * { margin-top: 1.05em; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--text); }
:lang(ar) .prose p, :lang(ar) .prose li { line-height: 1.85; }
.prose h2 { margin-top: 1.9em; scroll-margin-top: 80px; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 650; }
.prose .msg { margin-top: 1.6em; margin-bottom: 1.6em; }
.prose .examples { display: grid; gap: 26px; margin: 1.8em 0; }
.prose code { font: 600 .92em ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

ol.steps { list-style: none; padding: 0; counter-reset: step; }
ol.steps > li { position: relative; padding-inline-start: 46px; min-height: 32px; }
ol.steps > li + li { margin-top: .9em; }
ol.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; inset-inline-start: 0; top: .1em;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-ink); font-weight: 700; font-size: 15px;
}
.path { font-weight: 600; }
.path i { font-style: normal; color: var(--text-3); margin: 0 .3em; }

.note { border-radius: var(--r-md); padding: 16px 18px; background: var(--surface); }
.note p { font-size: 16.5px; margin: 0; }
.note p + p { margin-top: .6em; }
.note.warn { background: var(--orange-soft); border-color: color-mix(in srgb, var(--orange) 25%, transparent); }
.note.warn strong { color: var(--orange); }
.note.tip { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 22%, transparent); }

.app-cta {
  display: grid; grid-template-columns: 1fr 240px; gap: 0 28px; align-items: end; overflow: hidden;
  background: var(--surface); border-radius: var(--r-lg); padding: 28px 28px 0; margin: 2em 0 !important;
}
.app-cta .copy { align-self: center; padding-bottom: 28px; }
.app-cta img.icon { display: block; width: 56px; height: 56px; border-radius: 13px; margin-bottom: 14px; }
.app-cta h3 { font-size: 20px; margin: 0 0 6px; }
.app-cta p { margin: 0; font-size: 16px; color: var(--text-2); line-height: 1.5; }
.app-cta .badge { margin-top: 16px; }
.app-cta .badge img { height: 48px; }
.app-cta .screen .panel { background: none; padding: 0; border-radius: 0; }
@media (max-width: 600px) { .app-cta { grid-template-columns: 1fr; } .app-cta .screen { width: 240px; margin-inline: auto; } }

/* On this page */
.toc { background: var(--surface); border-radius: var(--r-md); padding: 18px 22px; }
.toc p { font-size: 13px !important; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3) !important; margin: 0 0 8px; }
:lang(ar) .toc p { letter-spacing: 0; }
.toc ol { margin: 0; padding-inline-start: 1.3em; }
.toc li { font-size: 16.5px !important; line-height: 1.45 !important; }
.toc li + li { margin-top: .35em; }

.table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; color: var(--text-2); font-size: 14px; }
.prose td code { white-space: nowrap; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { margin-top: 10px; }
.faq details > div p { font-size: 17px; color: var(--text-2); margin: 0; }
.faq details > div p + p { margin-top: .6em; }

.sources { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.sources h2 { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
:lang(ar) .sources h2 { letter-spacing: 0; }
.sources ol { padding-inline-start: 1.2em; margin: 0; }
.sources li { font-size: 14.5px !important; line-height: 1.5 !important; color: var(--text-2) !important; overflow-wrap: anywhere; }
.sources li + li { margin-top: .35em; }

.related { padding: 48px 0 72px; }
.related h2 { margin-bottom: 20px; font-size: 24px; }

/* legal and support pages */
.page { padding: 8px 0 72px; }
.page .prose h2 { font-size: 24px; }

/* footer */
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 40px; font-size: 14.5px; color: var(--text-2); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot h2 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; font-weight: 650; }
:lang(ar) .foot h2 { letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); }
.foot .about p { margin: 12px 0 0; max-width: 30em; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.langs a { color: var(--text-2); }
.langs a[aria-current] { color: var(--text); font-weight: 600; }
.legal { margin-top: 16px; color: var(--text-3); font-size: 13px; }
.legal a { color: var(--text-3); }
