/* ScrapTrial site — no external fonts, scripts or trackers. */
:root {
  --bg: #f5f5fa;
  --surface: #ffffff;
  --ink: #0f0f1a;
  --muted: #5b5b66;
  --line: rgba(60, 60, 67, 0.16);
  --accent: #5856d6;
  --accent-ink: #ffffff;
  --accent-soft: rgba(88, 86, 214, 0.1);
  --warn: #9a5b00;
  --shadow: 0 1px 2px rgba(15, 15, 26, 0.05), 0 12px 40px rgba(40, 38, 120, 0.1);
  --phone: #14142a;
  --radius: 24px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07070d;
    --surface: #15151f;
    --ink: #f4f4f8;
    --muted: #a6a6b2;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #8e8cff;
    --accent-ink: #0b0b18;
    --accent-soft: rgba(142, 140, 255, 0.16);
    --warn: #ffb340;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.5);
    --phone: #2a2a40;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* header */
header.site { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 21px; letter-spacing: -0.4px; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand span { white-space: nowrap; }
.brand b { font-weight: 800; color: var(--accent); }
nav.main { display: flex; align-items: center; gap: 22px; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.main a:hover { color: var(--ink); }
@media (max-width: 640px) { nav.main a.hide-sm { display: none; } nav.main { gap: 16px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.ghost { background: var(--accent-soft); color: var(--accent); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; box-shadow: none; }

/* hero */
.hero { padding: 56px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.phone { aspect-ratio: 390 / 844; border-radius: 40px; border: 9px solid var(--phone); background: var(--phone); box-shadow: var(--shadow); overflow: hidden; width: 250px; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* sections */
section { padding: 72px 0; }
.kicker { text-align: center; max-width: 720px; margin: 0 auto 44px; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 800; }
.kicker p { color: var(--muted); font-size: 19px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; padding: 0; list-style: none; margin: 0; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 16px; }
.steps h3, .feat h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.steps p, .feat p { margin: 0; color: var(--muted); font-size: 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.feat .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feat svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .steps, .grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev .shot { order: 2; }
.shot { display: grid; place-items: center; }
.shot .phone { position: relative; width: 280px; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); }
.split p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235856d6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev .shot { order: 0; } }

.privacy-band { background: var(--surface); border-block: 1px solid var(--line); }
.band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.band div { padding: 4px 8px; }
.band strong { display: block; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 4px; }
.band span { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--surface); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.plan.pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 22px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 4px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

.bottom-cta { text-align: center; }
.bottom-cta .logo { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 22px; box-shadow: var(--shadow); }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: grid; gap: 18px; }
footer .links { display: flex; flex-wrap: wrap; gap: 22px; }
footer .links a { color: var(--muted); }
footer .disclaimer { font-size: 13px; max-width: 70ch; }

/* legal / doc pages */
.doc { padding: 48px 0 72px; }
.doc .wrap { width: min(780px, 100% - 40px); }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 26px; margin: 44px 0 10px; letter-spacing: -0.02em; }
.doc h3 { font-size: 19px; margin: 24px 0 6px; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink) 88%, var(--muted)); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary-box { background: var(--accent-soft); border-radius: 20px; padding: 22px 24px; margin: 8px 0 8px; }
.summary-box h2 { margin: 0 0 8px; font-size: 20px; }
.summary-box ul { margin: 0; }
.placeholder { background: color-mix(in srgb, var(--warn) 22%, transparent); border-radius: 6px; padding: 0 5px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); }
@media (max-width: 640px) { table, thead, tbody, tr, th, td { display: block; } thead { display: none; } td { border: 0; padding: 4px 0; } tr { border-bottom: 1px solid var(--line); padding: 10px 0; } td:first-child { font-weight: 600; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- hero stage ---- */
.stage { position: relative; height: 660px; max-width: 520px; width: 100%; margin-inline: auto; }
.stage .phone.back { position: absolute; right: 0; top: 56px; width: 232px; transform: rotate(5deg); opacity: 0.96; }
.stage .phone.front { position: absolute; left: 50%; margin-left: -150px; top: 0; width: 280px; z-index: 2; }
.stage .notif.float { position: absolute; left: 0; bottom: 40px; width: min(360px, 88%); z-index: 3; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
@media (max-width: 900px) { .stage { height: 600px; } .stage .phone.back { right: 6%; } }
@media (max-width: 520px) { .stage .phone.back { display: none; } .stage { height: 590px; } .stage .phone.front { margin-left: -130px; width: 260px; } .stage .notif.float { left: 50%; transform: translateX(-50%); bottom: 24px; } }

/* ---- reminder notification card (iOS lock-screen style) ---- */
.notif { display: flex; gap: 12px; padding: 14px 16px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--line); box-shadow: var(--shadow); }
.notif > img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.n-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.n-top b { font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.3px; font-size: 12px; }
.n-title { font-weight: 600; font-size: 15px; line-height: 1.3; margin-top: 2px; }
.n-body { font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 2px; }

/* ---- demo ---- */
.demo-sec { padding-top: 40px; }
.demo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: start; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.controls { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field span, legend { font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: 8px; }
input[type="text"], input[type="number"] { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
input[type="text"]:focus-visible, input[type="number"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.results { display: grid; gap: 18px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); }
.big { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-top: 4px; }
.sub { color: var(--muted); margin-top: 2px; }
.timeline { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.timeline li { padding: 10px 14px; background: var(--bg); border-radius: 12px; font-size: 15px; }
.timeline li span, .timeline li em { color: var(--muted); font-style: normal; }
.timeline li.passed { opacity: 0.6; text-decoration: none; }
.timeline li.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.year { margin: 16px 0 0; font-weight: 600; font-size: 16px; }
.lock { border-radius: 28px; padding: 22px; background: linear-gradient(160deg, #6C6AE6, #3F3DB8); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
