/* Vault Phone Cleaner website. One stylesheet, no scripts, nothing loaded from anywhere else.
   Dark by default (the Vault family look); light follows the system setting. */

:root {
  color-scheme: dark light;
  --bg: #0B0C0E;
  --surface: #141619;
  --surface-2: #1B1E22;
  --line: #2B2F35;
  --fg: #EDEAE3;
  --muted: #A19C93;
  --brass: #C8A15A;
  --brass-strong: #E2C07D;
  --on-brass: #17130A;
  --shadow: 0 30px 60px -32px rgb(0 0 0 / 0.85);
  --icon-edge: rgb(255 255 255 / 0.08);

  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  --r-card: 12px;
  --r-panel: 18px;
  --gutter: 16px;
  --max: 1080px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F7F5F1;
    --surface: #FFFFFF;
    --surface-2: #F0EDE7;
    --line: #E2DDD3;
    --fg: #17161A;
    --muted: #5F5B54;
    --brass: #8F6A28;
    --brass-strong: #7A5920;
    --on-brass: #FFFFFF;
    --shadow: 0 30px 60px -36px rgb(60 45 20 / 0.35);
    --icon-edge: rgb(0 0 0 / 0.06);
  }
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* Base */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--brass-strong); }

:focus-visible {
  outline: 2px solid var(--brass-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

strong { font-weight: 600; }

address { font-style: normal; }

.skip {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brass);
  color: var(--on-brass);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-brass); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap.narrow { max-width: calc(46rem + 2 * var(--gutter)); }

/* App icon: square PNG, rounded like it is on the Home Screen */
.app-icon {
  border-radius: 22.37%;
  box-shadow: 0 0 0 1px var(--icon-edge), var(--shadow);
}

/* Header */

.site-header { border-bottom: 1px solid var(--line); }

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 4px;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.brand:hover { color: var(--fg); }
.brand img { width: 32px; height: 32px; border-radius: 22.37%; }

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding-block: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* Shared pieces */

.eyebrow {
  margin-bottom: 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

.fine {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 600;
}
.badge::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
}

.panel {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
}

/* Home: hero */

.hero {
  padding-block: clamp(56px, 10vw, 120px) clamp(48px, 8vw, 96px);
  text-align: center;
}
.hero .app-icon {
  width: clamp(96px, 20vw, 128px);
  margin: 0 auto 32px;
}
.hero h1 {
  max-width: 13ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 7.4vw, 4.6rem);
  line-height: 1.05;
}
.hero .lede {
  max-width: 38rem;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.3vw, 1.3rem);
}
.hero .badge { margin-top: 32px; }
.hero .fine { margin-top: 14px; }

/* Home: sections */

.section {
  padding-block: clamp(56px, 9vw, 104px);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(28px, 4.5vw, 48px);
}
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.section-head p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* What it finds */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.card h3 { margin-bottom: 6px; font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

.ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--brass);
}
.ico svg { width: 22px; height: 22px; }

.note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 20px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  color: var(--muted);
}
.note .ico { flex: none; margin-bottom: 0; }
.note strong { color: var(--fg); }

/* Narrow screens: icon beside the text, so the nine cards don't stack too tall */
@media (max-width: 599px) {
  .card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 16px;
    padding: 18px;
  }
  .card .ico { grid-row: span 2; margin-bottom: 0; }
  .card h3 { margin-top: 6px; }
  .note { flex-direction: column; gap: 12px; padding: 18px; }
}

/* Privacy */

.privacy {
  display: grid;
  gap: 32px;
}
.privacy h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.privacy .intro p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}
.privacy .intro p.more { font-size: 1rem; }

@media (min-width: 860px) {
  .privacy {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: start;
  }
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.checks li:first-child { border-top: 0; padding-top: 4px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 23px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}
.checks li:first-child::before { top: 11px; }
.checks strong { display: block; color: var(--fg); }

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding-top: 20px;
  border-top: 2px solid var(--line);
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.steps h3 { margin-bottom: 8px; font-size: 1.3rem; }
.steps p { color: var(--muted); }

/* Screenshots */

.shots {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 4px 4px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  list-style: none;
}
.shots li { flex: 0 0 min(250px, 72%); scroll-snap-align: start; }
.shots figure { margin: 0; }
.shots img,
.shots video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 13.5% / 6.2%;
  background: var(--surface);
  box-shadow: var(--shadow);
}
/* The welcome plays as a short loop; with reduced motion, its still shows instead. */
.shots .still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .shots .motion { display: none; }
  .shots .still { display: block; }
}
.shots figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

@media (min-width: 760px) {
  .shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 4vw, 56px);
    padding: 0;
    overflow: visible;
  }
  .shots li { justify-self: center; width: 100%; max-width: 290px; }
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
}
.plan-pro { border-color: var(--brass); }
.plan h3 { font-size: 1.5rem; }
.plan .sub { margin-top: 6px; color: var(--muted); }
.plan .big {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
}

.prices {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.prices li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.prices .amt {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
}
.prices .per { color: var(--muted); }
.prices .tag {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  color: var(--brass);
  font-size: 0.8rem;
  font-weight: 600;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

.plans-fine { max-width: 46rem; margin-top: 24px; }

/* Coming soon */

.soon {
  text-align: center;
}
.soon .app-icon { width: 76px; margin: 0 auto 24px; }
.soon h2 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.soon p {
  max-width: 34rem;
  margin: 14px auto 0;
  color: var(--muted);
}

/* Footer */

.site-footer {
  padding-block: 40px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.foot {
  display: grid;
  gap: 16px 32px;
}
.foot .family { margin-top: 2px; }
.foot .nav a { font-size: 0.95rem; }
.foot .copy { font-size: 0.9rem; }

@media (min-width: 720px) {
  .foot {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .foot .copy { grid-column: 1 / -1; }
}

/* Policy, terms and support pages */

.doc { padding-block: clamp(40px, 7vw, 88px); }
.doc h1 { font-size: clamp(2.3rem, 6.4vw, 3.6rem); line-height: 1.08; }
.doc .updated { margin-top: 14px; color: var(--muted); }
.doc .lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.15rem;
}
.doc h2 {
  margin: 56px 0 14px;
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  scroll-margin-top: 24px;
}
.doc h3 { margin: 28px 0 8px; font-size: 1.2rem; }
.doc p,
.doc ul,
.doc ol,
.doc address { margin: 0 0 16px; }
.doc ul,
.doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--brass); }
.doc section { line-height: 1.7; }

.summary {
  margin-top: 36px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
}
.summary h2 { margin-top: 0; font-size: 1.35rem; }
.summary ul { margin-bottom: 0; }
.summary li:last-child { margin-bottom: 0; }

.toc {
  margin-top: 36px;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
}
.toc h2 { margin-top: 0; font-size: 1.2rem; }
.toc ol { margin-bottom: 0; }
.toc li:last-child { margin-bottom: 0; }

.contact-card {
  margin-top: 56px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
}
.contact-card h2 { margin-top: 0; }
.contact-card p:last-child { margin-bottom: 0; }

/* Not found */

.lost {
  padding-block: clamp(72px, 14vw, 160px);
  text-align: center;
}
.lost .app-icon { width: 88px; margin: 0 auto 32px; }
.lost h1 { font-size: clamp(2.3rem, 6.4vw, 3.6rem); }
.lost p {
  max-width: 30rem;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}
.lost .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .shots { scroll-behavior: smooth; }
}
