/* PixelVerified
   Brand idea: the verification stamp. It is the logo, it lands on the hero report,
   and it marks the guarantee.
   Color has one job each:
     red-violet #C53678  = verified / brand (stamp, logo, "after" values, checks)
     sunset orange #FF5841 = time and problems (countdown, problem dots, "before" values)
     plum ink #1c1420    = actions and dark bands
   Orange is never used for small text on white (contrast); use --orange-text. */

:root {
  --ink: #1c1420;
  --ink-soft: #544857;
  --ink-faint: #6f6372;
  --paper: #ffffff;
  --tint: #faf7f9;
  --rule: #e9e2e7;
  --violet: #c53678;
  --violet-text: #a8285f;
  --violet-tint: #fbeef4;
  --orange: #ff5841;
  --orange-text: #c4321b;
  --orange-tint: #fff0ec;
  --plum: #2a1128;
  --plum-soft: #c9b8c6;
  --plum-rule: rgba(255, 255, 255, .14);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0 0 .5em; font-weight: 500; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); }
h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--violet-text); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 2px; }
code, .mono { font-family: var(--mono); font-size: .86em; }
::selection { background: var(--violet); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { width: min(740px, 100% - 48px); margin-inline: auto; }

/* Header */
.top { border-bottom: 1px solid var(--rule); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.logo svg { color: var(--violet); flex: none; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  font: 600 1rem/1.2 var(--sans); padding: 14px 20px; border-radius: 4px; border: 1px solid var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: #3a2a3d; border-color: #3a2a3d; color: #fff; }
.nav .btn { color: #fff; padding: 8px 14px; font-size: .9rem; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--violet-tint); border-color: var(--violet-tint); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Stamp: the brand mark */
.stamp {
  display: inline-block; color: var(--violet); border: 3px double var(--violet); border-radius: 8px;
  padding: 6px 14px 5px; text-align: center; line-height: 1.2; background: rgba(255, 255, 255, .88);
  transform: rotate(-7deg); font-family: var(--mono); font-size: .74rem;
}
.stamp b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.55rem; letter-spacing: .01em; line-height: 1.1; }
.js .stamp.lands { opacity: 0; transform: rotate(-7deg) scale(1.7); }
.js .stamp.lands.in { animation: stamp .38s cubic-bezier(.2, .9, .3, 1.25) forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-7deg) scale(1.7); }
  70% { opacity: 1; transform: rotate(-7deg) scale(.96); }
  100% { opacity: 1; transform: rotate(-7deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js .stamp.lands, .js .stamp.lands.in { opacity: 1; transform: rotate(-7deg); animation: none; }
}

/* Section scaffolding */
.sec { padding: 104px 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.label { font-family: var(--mono); font-size: .8rem; color: var(--ink-faint); display: block; margin-bottom: 18px; }
.label b { color: var(--violet-text); font-weight: 400; margin-right: 6px; }
.intro { color: var(--ink-soft); max-width: 38em; font-size: 1.1rem; }

/* Hero */
.hero { padding: 64px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--violet); }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 30em; margin-bottom: 30px; }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-meta { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; color: var(--ink-faint); }
.hero-meta li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-right: 8px; vertical-align: .15em; }

/* Scan form */
.scan-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 30rem; }
.scan-form input {
  font: 400 1rem/1.2 var(--sans); color: var(--ink); background: #fff; min-width: 0;
  border: 1px solid #cfc4cc; border-radius: 4px; padding: 14px 14px;
}
.scan-form input::placeholder { color: #8f8392; }
.scan-form input:focus { outline: 2px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
.form-msg { font-size: .92rem; margin: 12px 0 0; min-height: 1.4em; color: var(--ink-soft); max-width: 34rem; }
.form-msg.ok { color: var(--violet-text); font-weight: 600; }
.form-msg.err { color: var(--orange-text); }

/* Report sheet (hero visual) */
.sheet-wrap { position: relative; padding: 28px 0 0; }
.sheet { background: #fff; border: 1px solid var(--ink); border-radius: 3px; padding: 26px 28px 22px; box-shadow: 12px 12px 0 var(--violet-tint); }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.sheet-head h2 { font-size: 1.45rem; margin: 0; letter-spacing: -0.01em; }
.sheet-head span { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); text-align: right; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sheet th { text-align: left; font-family: var(--mono); font-size: .72rem; font-weight: 400; color: var(--ink-faint); padding: 12px 8px 8px 0; }
.sheet td { padding: 10px 8px 10px 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.sheet .before { color: var(--orange-text); }
.sheet .after { color: var(--violet-text); font-weight: 600; }
.sheet-foot { margin: 14px 0 0; font-size: .82rem; color: var(--ink-faint); }
.sheet-wrap .stamp { position: absolute; right: -18px; top: 0; }

/* Countdown band */
.countdown { background: var(--plum); color: #fff; padding: 96px 0 88px; }
.count-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; align-items: end; }
.big { font-family: var(--serif); font-size: clamp(7rem, 19vw, 15.5rem); line-height: .78; letter-spacing: -0.05em; color: var(--orange); margin: 0; }
.big small { display: block; font-family: var(--mono); font-size: .9rem; letter-spacing: 0; color: var(--plum-soft); margin-top: 18px; line-height: 1.4; }
.count-copy h2 { color: #fff; max-width: 15em; margin: 0 0 16px; }
.count-copy p { color: var(--plum-soft); max-width: 34em; margin: 0; }
.count-copy a { color: #fff; }
.count-copy a:hover { color: var(--orange); }
.timeline { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--plum-rule); }
.timeline li { padding: 22px 32px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--plum); border: 1.5px solid var(--plum-soft); }
.timeline li.past::before { background: var(--plum-soft); }
.timeline li.next::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255, 88, 65, .25); }
.timeline time { font-weight: 600; display: block; margin-bottom: 4px; }
.timeline li.next time { color: var(--orange); }
.timeline .tag { font-family: var(--mono); font-size: .74rem; color: #9c8a99; display: block; margin-bottom: 10px; }
.timeline p { color: var(--plum-soft); font-size: .95rem; max-width: 24em; margin: 0; }
.timeline-src { font-size: .85rem; color: #9c8a99; margin: 36px 0 0; }
.timeline-src a { color: var(--plum-soft); }

/* What breaks */
.breaks-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.breaks-head h2 { margin: 0; }
.breaks-head .intro { margin: 0; }
.breaks-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.log-col { position: sticky; top: 96px; }
.log { margin: 0; background: var(--ink); color: #e9e1e8; border-radius: 6px; padding: 20px 20px 16px; }
.log figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9rem; font-weight: 600; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.log .store { font-family: var(--mono); font-weight: 400; font-size: .76rem; color: #a897a5; }
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: 8.4rem 1fr auto; gap: 12px; align-items: baseline; padding: 9px 10px; font-size: .88rem; border-radius: 3px; }
.events code { font-size: .76rem; color: #c3b6c1; }
.events em { font-style: normal; font-family: var(--mono); font-size: .74rem; text-align: right; }
.events .ok em { color: #c9b8c6; }
.events .bad { background: rgba(255, 88, 65, .16); box-shadow: inset 3px 0 0 var(--orange); }
.events .bad em { color: #ff9a8a; }
.js .events li { opacity: 0; transform: translateY(3px); }
.js .log.in .events li { animation: tick .3s ease-out forwards; }
.js .log.in .events li:nth-child(2) { animation-delay: .2s; }
.js .log.in .events li:nth-child(3) { animation-delay: .4s; }
.js .log.in .events li:nth-child(4) { animation-delay: .6s; }
.js .log.in .events li:nth-child(5) { animation-delay: .8s; }
.js .log.in .events li:nth-child(6) { animation-delay: 1s; }
@keyframes tick { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .events li, .js .log.in .events li { opacity: 1; transform: none; animation: none; } }
.log-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 12px 2px 0; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .16); font-size: .8rem; color: #a897a5; }
.log-foot b { color: #fff; font-weight: 600; }
.log-note { font-size: .85rem; color: var(--ink-faint); margin: 12px 2px 0; }

.problems { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.problems li { display: grid; grid-template-columns: 22px 1fr; gap: 0 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.problems li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); margin-top: .45em; grid-row: span 3; }
.problems li.mid::before { background: transparent; border: 2px solid var(--orange); }
.problems h3 { margin: 0 0 4px; }
.problems p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.problems .how { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); margin-top: 8px; }

/* Process */
.process { background: var(--tint); }
.process h2 { max-width: 16em; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 4rem; line-height: 1; color: #d8cdd5; margin-bottom: 14px; }
.steps li.final::before { content: ""; width: 52px; height: 52px; margin-bottom: 26px; background: url("/mark.svg") no-repeat center / contain; }
.steps .when { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); display: block; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.portrait { margin: 0; position: relative; aspect-ratio: 4 / 5; background: var(--violet-tint); border-radius: 3px; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.15); }
.portrait .mono-fallback { display: none; }
.portrait.nophoto { display: grid; place-items: center; }
.portrait.nophoto .mono-fallback { display: block; }
.portrait.nophoto .stamp b { font-size: 3rem; }
.about-copy .pull { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 28px; max-width: 22em; }
.about-copy p { color: var(--ink-soft); max-width: 36em; }
.creds { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--rule); max-width: 36em; }
.creds li { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; color: var(--ink-soft); }
.creds b { font-weight: 600; color: var(--ink); }

/* Pricing */
.pricing-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.pricing-head h2, .pricing-head .intro { margin: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.tier { padding: 28px 32px 32px; display: flex; flex-direction: column; }
.tier:first-child { padding-left: 0; }
.tier + .tier { border-left: 1px solid var(--rule); }
.tier-main { background: var(--violet-tint); box-shadow: inset 0 3px 0 var(--violet); }
.tier .pick { font-family: var(--mono); font-size: .74rem; color: var(--violet-text); min-height: 1.3em; margin-bottom: 8px; }
.tier h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tier .for { color: var(--ink-soft); font-size: .95rem; min-height: 3em; }
.price { font-family: var(--serif); font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; margin: 10px 0 22px; }
.price small { font-family: var(--sans); font-size: .95rem; letter-spacing: 0; color: var(--ink-soft); }
.tier ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; border-top: 1px solid var(--rule); }
.tier-main ul, .tier-main li { border-color: #ecd3df; }
.tier li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--rule); font-size: .95rem; color: var(--ink-soft); position: relative; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 5px; border-left: 1.75px solid var(--violet); border-bottom: 1.75px solid var(--violet); transform: rotate(-45deg); }
.tier .btn { width: 100%; }
.guarantee { display: flex; align-items: center; gap: 36px; margin-top: 56px; padding: 32px 36px; border: 1px solid var(--rule); border-radius: 3px; }
.guarantee .stamp { flex: none; }
.guarantee p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; margin: 0; max-width: 30em; }

/* FAQ */
.faq h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 32px; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; }
.qa div { padding: 20px 0; border-top: 1px solid var(--rule); }
.qa dt { font-weight: 600; margin-bottom: 6px; }
.qa dd { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* CTA */
.cta { background: var(--plum); color: var(--plum-soft); padding: 104px 0; }
.cta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.4rem); margin: 0 0 18px; }
.cta p { max-width: 30em; }
.cta .scan-form input { border-color: transparent; }
.cta .form-msg { color: var(--plum-soft); }
.cta .form-msg.ok { color: #fff; }
.cta .form-msg.err { color: #ffb0a3; }
.cta .alt { font-size: .9rem; margin-top: 18px; }
.cta .alt a { color: #fff; }
.cta :focus-visible { outline-color: #fff; }

/* Footer */
.foot { padding: 44px 0 52px; font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--rule); }
.foot-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot p { margin: 0 0 6px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .logo { margin-bottom: 12px; }
.foot .fine { color: var(--ink-faint); font-size: .82rem; margin-top: 12px; }

/* Article and legal pages */
.article { padding: 72px 0 104px; }
.crumbs { font-size: .85rem; color: var(--ink-faint); margin-bottom: 28px; }
.crumbs a { color: var(--ink-soft); }
.article h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 24px; }
.article .meta { font-size: .9rem; color: var(--ink-faint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; margin: 0 0 40px; }
.article h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 56px 0 16px; }
.article p, .article li { color: #3a2f3d; }
.article .answer { font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--ink); border-left: 4px solid var(--orange); background: var(--orange-tint); padding: 18px 22px; margin: 0 0 32px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .97rem; }
.article th { text-align: left; font-family: var(--mono); font-size: .74rem; font-weight: 400; color: var(--ink-faint); border-bottom: 1px solid var(--ink); padding: 0 12px 10px 0; }
.article td { border-bottom: 1px solid var(--rule); padding: 14px 12px 14px 0; vertical-align: top; }
.article td:first-child { white-space: nowrap; font-weight: 600; }
.article ol li, .article ul li { margin-bottom: 8px; }
.article pre { background: var(--ink); color: #e9e1e8; padding: 16px 18px; border-radius: 4px; overflow-x: auto; font-size: .85rem; }
.aside { background: var(--violet-tint); padding: 24px 26px; margin: 48px 0 0; border-radius: 3px; }
.aside p:last-child { margin: 0; }
.sources { font-size: .92rem; }
.sources li { color: var(--ink-soft); }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .breaks-head, .breaks-grid, .about-grid, .pricing-head, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .log-col { position: static; }
  .about-grid .portrait { max-width: 300px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier, .tier:first-child { padding: 28px 0 32px; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--rule); }
  .tier-main { padding: 28px 24px 32px !important; }
  .nav a:not(.btn) { display: none; }
  .count-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sec, .countdown, .cta { padding: 68px 0; }
  .hero { padding: 36px 0 68px; }
  .scan-form { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--plum-rule); margin-top: 48px; }
  .timeline li { padding: 0 0 26px 22px; }
  .timeline li::before { top: 6px; left: -5px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .qa { grid-template-columns: 1fr; }
  .foot-row { grid-template-columns: 1fr; }
  .events li { grid-template-columns: 1fr auto; }
  .events code { grid-column: 1 / -1; }
  .sheet { padding: 20px 16px 18px; box-shadow: 8px 8px 0 var(--violet-tint); }
  .sheet-wrap { padding-top: 40px; }
  .sheet-wrap .stamp { right: -4px; top: 0; }
  .guarantee { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 20px; }
  .creds li { grid-template-columns: 1fr; gap: 2px; }
}

/* CTA form */
.cta .scan-form { max-width: none; }
