/* ============================================================
   Stop Tracking Me — stoptracking.me
   Palette derived from the app icon (shield + eye + block slash)
   ============================================================ */

:root {
  --bg:        #0A1020;
  --bg-2:      #0D1426;
  --surface:   #111A30;
  --surface-2: #16223D;
  --line:      rgba(130, 235, 212, .14);
  --line-soft: rgba(147, 164, 196, .16);

  --ink:       #EAF2FF;
  --ink-dim:   #B6C6E0;
  --muted:     #8B9DBE;

  --mint:      #65DFC4;
  --mint-2:    #82EBD4;
  --mint-dim:  rgba(101, 223, 196, .12);
  --coral:     #FF4F6D;
  --coral-2:   #FF806B;
  --coral-dim: rgba(255, 79, 109, .12);

  --r:   14px;
  --r-l: 20px;
  --wrap: 1120px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", "Cascadia Mono",
          Consolas, "Noto Sans Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
html.i18n-pending body { visibility: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p  { margin: 0; }
em { font-style: normal; color: var(--mint); }
s  { text-decoration-color: var(--coral); text-decoration-thickness: 2px; }

a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--mint-2); }

::selection { background: var(--mint); color: #06101E; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 780px; }
.tac { text-align: center; }
.mono { font-family: var(--mono); font-size: .84em; color: var(--muted); }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--mint); color: #06101E; padding: 10px 18px;
  border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 24px; }

/* ── nav ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-stuck { border-bottom-color: var(--line-soft); background: rgba(10, 16, 32, .9); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 8px; }
.brand__name { font-weight: 700; letter-spacing: -.02em; font-size: 16px; }

.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav__links a { color: var(--ink-dim); }
.nav__links a:hover { color: var(--mint); }

.nav__act { display: flex; align-items: center; gap: 12px; flex: none; }

.lang {
  background: transparent; border: 1px solid var(--line-soft); color: var(--ink-dim);
  border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: .18s; font-family: var(--sans);
}
.lang:hover { border-color: var(--mint); color: var(--mint); }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, var(--mint-2), var(--mint));
  color: #06101E; font-weight: 650; font-size: 15px; font-family: var(--sans);
  border: 0; border-radius: 11px; padding: 11px 20px; cursor: pointer;
  transition: transform .16s, box-shadow .16s, filter .16s;
  box-shadow: 0 6px 22px -10px rgba(101, 223, 196, .85);
  white-space: nowrap;
}
.btn:hover { color: #06101E; transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(101,223,196,.95); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 8px 15px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { color: var(--mint); border-color: var(--mint); box-shadow: none; }

.link { background: none; border: 0; padding: 0; font: inherit; color: var(--mint); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(101,223,196,.4); }
.link:hover { text-decoration-color: var(--mint); }
.link--arrow::after { content: " →"; }

/* ── hero ──────────────────────────────────────────────── */
.hero { position: relative; padding: 76px 0 92px; overflow: hidden; }
.glow {
  position: absolute; inset: -30% -10% auto -10%; height: 700px; pointer-events: none;
  background:
    radial-gradient(46% 44% at 22% 34%, rgba(101,223,196,.16), transparent 70%),
    radial-gradient(40% 40% at 78% 22%, rgba(255,79,109,.11), transparent 70%);
  filter: blur(6px);
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--mint); background: var(--mint-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
  margin-bottom: 22px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(101,223,196,.18); }

.hero h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -.035em; }
.lede { margin-top: 22px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-dim); max-width: 56ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cta--center { justify-content: center; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  list-style: none; margin: 30px 0 0; padding: 0;
  font-size: 14.5px; color: var(--muted);
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before {
  content: ""; width: 15px; height: 15px; flex: none; border-radius: 50%;
  background: var(--mint-dim);
  box-shadow: inset 0 0 0 1px rgba(101,223,196,.5);
}

/* phone mock */
.hero__art { display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 17.5;
  border-radius: 38px; padding: 11px;
  background: linear-gradient(160deg, #24314f, #0C1322);
  box-shadow: 0 40px 80px -34px rgba(0,0,0,.95), inset 0 0 0 1px rgba(130,235,212,.12);
}
.phone__screen {
  height: 100%; border-radius: 28px; background: linear-gradient(170deg, #0E1729, #080D1A);
  padding: 18px 15px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  overflow: hidden;
}
.mock { border-radius: var(--r); padding: 14px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); }
.mock__title { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 11px; }
.mock__row { display: flex; gap: 10px; margin-bottom: 13px; }
.mock__ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); font-size: 17px;
}
.mock__act {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; padding: 9px 12px; border-radius: 10px; margin-top: 7px;
  background: rgba(255,255,255,.04); color: var(--ink-dim);
}
.mock__act--hit { color: var(--mint); background: var(--mint-dim); box-shadow: inset 0 0 0 1px rgba(101,223,196,.4); position: relative; }
.mock__act--no { opacity: .42; text-decoration: line-through; text-decoration-color: var(--coral); }
.tap {
  width: 13px; height: 13px; border-radius: 50%; background: var(--mint);
  animation: tap 2.6s ease-out infinite;
}
@keyframes tap {
  0%, 62%  { box-shadow: 0 0 0 0 rgba(101,223,196,.6); transform: scale(1); }
  74%      { box-shadow: 0 0 0 11px rgba(101,223,196,0); transform: scale(.82); }
  100%     { box-shadow: 0 0 0 0 rgba(101,223,196,0); transform: scale(1); }
}
.mock--res { background: rgba(101,223,196,.06); border-color: var(--line); }
.mock__url { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; word-break: break-all; }
.mock__url--old { color: var(--muted); }
.mock__url--old b { color: var(--coral); font-weight: 400; }
.mock__url--new { color: var(--mint-2); margin-top: 7px; }
.mock__chips { display: flex; gap: 6px; margin-top: 10px; }

.chip {
  font-size: 11px; font-family: var(--mono); padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--ink-dim); white-space: nowrap;
}
.chip--cut  { background: var(--coral-dim); color: var(--coral-2); }
.chip--keep { background: var(--mint-dim);  color: var(--mint); }

/* ── sections ──────────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec--alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.sec__h { font-size: clamp(26px, 3.4vw, 38px); }
.sec__sub { margin-top: 16px; color: var(--muted); max-width: 66ch; font-size: 16.5px; }
.tac .sec__sub { margin-inline: auto; }
.sec__more { margin-top: 30px; }

/* ── demo ──────────────────────────────────────────────── */
.sec--demo { padding-top: 20px; }
.demo {
  margin-top: 30px; padding: 26px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.9);
}
.demo__label { font-size: 13.5px; font-weight: 600; color: var(--ink-dim); display: block; margin-bottom: 10px; }
.demo__field { display: flex; gap: 10px; flex-wrap: wrap; }
.demo__field input {
  flex: 1 1 300px; min-width: 0;
  background: #0A1120; color: var(--ink); font-family: var(--mono); font-size: 14px;
  border: 1px solid var(--line-soft); border-radius: 11px; padding: 13px 15px;
}
.demo__field input::placeholder { color: #55688C; }
.demo__field input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(101,223,196,.14); }

.demo__samples { margin-top: 13px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }

.demo__out { margin-top: 26px; display: grid; gap: 18px; border-top: 1px solid var(--line-soft); padding-top: 24px; }
.io { position: relative; }
.io__k { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.io__v { font-family: var(--mono); font-size: 13.5px; line-height: 1.65; word-break: break-all; padding: 13px 15px; border-radius: 11px; }
.io__v--old { background: rgba(255,79,109,.06); color: var(--ink-dim); border: 1px solid var(--coral-dim); }
.io__v--old mark { background: transparent; color: var(--coral); text-decoration: line-through; }
.io__v--new { background: rgba(101,223,196,.07); color: var(--mint-2); border: 1px solid var(--line); padding-right: 78px; }
.io--chips { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips:empty::after { content: "—"; color: var(--muted); font-family: var(--mono); font-size: 13px; }
.io__note { font-size: 13.5px; color: var(--muted); }
.io__note:empty { display: none; }

.copy {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(101,223,196,.14); color: var(--mint); border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 11px; font: inherit; font-size: 12.5px; font-weight: 600;
  cursor: pointer; font-family: var(--sans);
}
.copy:hover { background: rgba(101,223,196,.24); }

/* ── vs ────────────────────────────────────────────────── */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.vs__col { border-radius: var(--r-l); padding: 26px; border: 1px solid var(--line-soft); background: var(--surface); }
.vs__col--good { border-color: var(--line); background: linear-gradient(165deg, rgba(101,223,196,.07), var(--surface)); }
.vs__tag { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; color: var(--coral-2); }
.vs__col--good .vs__tag { color: var(--mint); }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 15px; color: var(--ink-dim); }
.steps--bad li { color: var(--muted); }
.steps--good li { color: var(--ink); font-weight: 600; font-size: 17px; }
.vs__foot { margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* ── flow ──────────────────────────────────────────────── */
.flow {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px;
  counter-reset: f;
}
.flow__i {
  position: relative; padding: 26px 22px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line-soft);
}
.flow__n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--mint-dim); color: var(--mint); font-weight: 700; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(101,223,196,.32); margin-bottom: 15px;
}
.flow__i h3 { font-size: 17.5px; margin-bottom: 9px; }
.flow__i p { font-size: 14.5px; color: var(--muted); }

/* ── cards ─────────────────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 40px;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  padding: 24px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card h3 { font-size: 17.5px; margin-bottom: 10px; }
.card p { font-size: 14.8px; color: var(--muted); }
.card--app h3 { margin-bottom: 4px; }
.card--app .mono { display: block; margin-bottom: 12px; }
.card--soon { opacity: .78; }

.badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 13px;
  background: rgba(255,255,255,.06); color: var(--muted);
}
.badge--on { background: var(--mint-dim); color: var(--mint); }

/* ── nots ──────────────────────────────────────────────── */
.nots {
  list-style: none; margin: 38px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 12px;
}
.nots li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 18px; border-radius: var(--r);
  background: rgba(255,79,109,.045); border: 1px solid var(--coral-dim);
  font-size: 15px; color: var(--ink-dim);
}
.nots li::before {
  content: "✕"; flex: none; color: var(--coral); font-weight: 700; font-size: 13px;
  line-height: 1.7;
}

/* ── faq ───────────────────────────────────────────────── */
.faq { margin-top: 34px; display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: var(--surface); overflow: hidden;
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--mint); font-weight: 400; font-size: 21px; flex: none;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 19px; color: var(--muted); font-size: 15px; }

/* ── get ───────────────────────────────────────────────── */
.sec--get { padding: 96px 0 100px; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ── footer ────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line-soft); padding: 46px 0 34px; background: var(--bg-2); }
.foot__in { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand img { border-radius: 7px; }
.foot__name { font-weight: 700; font-size: 15px; }
.foot__tag { font-size: 13.5px; color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14.5px; }
.foot__links a { color: var(--ink-dim); }
.foot__links a:hover { color: var(--mint); }
.foot__legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }

/* ── prose (privacy / accessibility) ───────────────────── */
.prose { padding: 56px 0 90px; }
.prose h1 { font-size: clamp(30px, 4.4vw, 42px); }
.prose__meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.prose h2 { font-size: 22px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.prose h3 { font-size: 17px; margin-top: 28px; color: var(--mint); }
.prose p, .prose li { color: var(--ink-dim); font-size: 16px; }
.prose p { margin-top: 15px; }
.prose ul, .prose ol { margin: 15px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 5px; color: var(--mint-2); }
.callout {
  margin-top: 26px; padding: 20px 22px; border-radius: var(--r-l);
  background: var(--mint-dim); border: 1px solid var(--line);
}
.callout p { margin-top: 0; color: var(--ink); }
.callout p + p { margin-top: 12px; }
.callout--warn { background: var(--coral-dim); border-color: var(--coral-dim); }
.toc { margin-top: 30px; padding: 20px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft); }
.toc ol { margin-top: 10px; }
.toc li { font-size: 15px; }

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: 46px; }
  .hero__art { order: -1; }
  .phone { width: 250px; }
  .vs { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .io--chips { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .sec { padding: 62px 0; }
  .hero { padding: 46px 0 62px; }
  .demo { padding: 18px; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .foot__in { flex-direction: column; align-items: flex-start; }
  .brand__english { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  .nav, .foot__links, .hero__art, .demo, .skip { display: none; }
  body { background: #fff; color: #000; }
  .prose p, .prose li, .prose h2, .prose h3 { color: #000; }
}
