/* The landing page only; the policy, deletion and report pages keep style.css. */
:root {
  --ink: #0B1221;
  --bg: #0B1221;
  --bg-2: #0F182B;
  --card: #121C31;
  --line: rgba(148, 163, 184, 0.16);
  --text: #E6EDF7;
  --muted: #9AA7BD;
  --accent: #38BDF8;
  --accent-ink: #04121F;
  --bad: #F87171;
  --good: #34D399;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F7FB;
    --bg-2: #EAF0F8;
    --card: #FFFFFF;
    --line: rgba(15, 23, 42, 0.10);
    --text: #0B1221;
    --muted: #4B5874;
    --accent: #0284C7;
    --accent-ink: #FFFFFF;
    --bad: #DC2626;
    --good: #059669;
    --shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: none; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }
.top .btn { margin-left: auto; }
.lang-switch {
  margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px;
}
.lang-switch:hover { color: var(--text); text-decoration: none; }
.top .lang-switch + .btn { margin-left: 0; }
@media (min-width: 900px) { .top nav { display: flex; } .lang-switch { margin-left: 4px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 15px; white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* Hero */
.hero { position: relative; padding: 48px 0 32px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 640px; z-index: -1;
  background:
    radial-gradient(600px 320px at 78% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(500px 300px at 10% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 56px; } .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 14px 0 18px; font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: color-mix(in srgb, var(--card) 60%, transparent); }

/* Phone */
.phone {
  position: relative; width: min(300px, 78vw); margin: 0 auto;
  border-radius: 42px; padding: 10px; background: #05080F;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone picture { display: block; border-radius: 33px; overflow: hidden; }
.phone img { width: 100%; height: auto; aspect-ratio: 640 / 1306; }
.phone.tilt { transform: rotate(-3deg); }
.hero .phone { width: min(320px, 80vw); }
.hero-shots { position: relative; }
.hero-shots .phone.back { position: absolute; width: min(250px, 60vw); right: -6%; top: 14%; transform: rotate(6deg); opacity: 0.9; display: none; }
@media (min-width: 1100px) { .hero-shots .phone.back { display: block; } .hero-shots .phone.front { transform: translateX(-18%) rotate(-3deg); } }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin: 10px 0 14px; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 40px; }
h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }

.problem { padding: 40px 0; }
.problem p { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4; margin: 0; max-width: 34em; font-weight: 600; letter-spacing: -0.01em; }
.problem p span { color: var(--muted); font-weight: 500; }

.grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

/* Feature rows: text beside a phone */
.feature { display: grid; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 88px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature.flip .shots { order: -1; }
}
.shots { display: flex; justify-content: center; gap: 20px; }
.shots .phone { width: min(270px, 70vw); margin: 0; }
.shots .phone:nth-child(2) { display: none; transform: translateY(40px); }
@media (min-width: 560px) { .shots .phone { width: 230px; } .shots .phone:nth-child(2) { display: block; } }
@media (min-width: 1100px) { .shots .phone { width: 250px; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); font-size: 16px; }
.ticks li b { color: var(--text); font-weight: 700; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 16%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2338BDF8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks li.red b { color: var(--bad); }

/* Loop */
.loop { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 820px) { .loop { grid-template-columns: repeat(4, 1fr); } }
.loop .card { position: relative; }
.loop .card::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.loop .who { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }

/* Compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
thead th.us { color: var(--accent); }
td.us { background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--text); font-weight: 600; }
td { color: var(--muted); }
.yes { color: var(--good); font-weight: 700; }
.no { opacity: 0.6; }

/* Gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 32px; margin: 0 -16px; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; width: 230px; }
.gallery .phone { width: 230px; border-radius: 36px; padding: 8px; }
.gallery .phone picture { border-radius: 29px; }
.gallery figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 14px; }
.gallery figcaption b { display: block; color: var(--text); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--accent); font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }

/* Final call */
.final { text-align: center; }
.final .card { padding: 48px 24px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, var(--card)), var(--card)); }
.final p { max-width: 36em; margin: 0 auto 28px; color: var(--muted); }
.final .cta { justify-content: center; }

/* The tester form */
.tester-form { display: grid; gap: 16px; text-align: left; max-width: 640px; margin: 8px auto 0; }
@media (min-width: 640px) { .tester-form { grid-template-columns: 1fr 1fr; } .tester-form .wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 700; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field small { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.submit-row .btn { border: 0; cursor: pointer; font-family: inherit; }
.submit-row .btn:disabled { opacity: 0.6; cursor: default; }
.muted-line { font-size: 14px; color: var(--muted); }
.form-status { margin: 0; font-size: 15px; font-weight: 600; min-height: 1px; }
.form-status.good { color: var(--good); }
.form-status.warn { color: #F5A524; }
.form-status.bad { color: var(--bad); }
.tester-form.sent .field, .tester-form.sent .check, .tester-form.sent .submit-row { display: none; }
/* Once sent, the answer stands alone in the form's place: centred, on a tint of its colour. */
.tester-form.sent .form-status {
  text-align: center; padding: 18px 20px; border-radius: 14px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
}

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { color: var(--muted); }
footer .en { max-width: 46em; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
