/* PrivateScan landing page */

:root {
  --navy-deep: #0A0F22;
  --navy-2: #101830;
  --hairline: rgba(110, 160, 255, 0.16);
  --scan: #1A73E8;
  --scan-ink: #1355B4;
  --beam: #5EA6FF;
  --sky-dim: rgba(214, 228, 255, 0.62);
  --sky: #E8F0FF;
  --paper: #F6F4EE;
  --paper-2: #EFECE2;
  --paper-sheet: #FFFEFB;
  --paper-edge: #E2DCCD;
  --ink: #171A21;
  --ink-soft: #575E6E;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --disp: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--navy-deep);
  color: var(--sky);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible { outline: 2px solid var(--beam); outline-offset: 3px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--scan);
}

/* ---------- topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img { border-radius: 7px; display: block; }

.topbar nav { display: flex; align-items: center; gap: 1.6rem; }

.topbar nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--sky-dim);
}

.topbar nav a:hover { color: var(--sky); }

.topbar .nav-cta {
  color: #fff;
  background: var(--scan);
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
}

.topbar .nav-cta:hover { background: #2E82F0; color: #fff; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4.5rem 2rem 5.5rem;
}

.hero h1 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 1.1rem 0 1.3rem;
}

.hero .lede {
  font-size: 1.16rem;
  color: var(--sky-dim);
  max-width: 30rem;
  margin-bottom: 2.2rem;
}

.badges { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 11px;
  padding: 0.55rem 1.35rem 0.6rem;
  min-width: 11.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.badge:hover { border-color: var(--beam); transform: translateY(-1px); }

.badge-small { font-size: 0.66rem; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.02em; }

.badge-big { font-family: var(--disp); font-weight: 700; font-size: 1.18rem; color: #fff; letter-spacing: -0.01em; }

.price-line {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--sky-dim);
  margin-top: 1.4rem;
}

/* ---------- viewfinder (signature) ---------- */

.hero-copy, .hero-stage { min-width: 0; }

.hero-stage { display: flex; justify-content: center; }

.viewfinder { position: relative; width: 372px; height: 470px; }

.corner {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 5px solid #3E8DFF;
  filter: drop-shadow(0 0 9px rgba(62, 141, 255, 0.65));
}

.corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }

.sheet {
  position: absolute;
  inset: 44px 46px 64px;
  transform: rotate(-1.6deg);
}

.paper {
  position: absolute;
  inset: 0;
  background: var(--paper-sheet);
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  padding: 1.6rem 1.4rem;
  font-family: var(--mono);
  color: var(--ink);
}

.paper-blur { filter: blur(1.5px); }
.paper-blur .r-store, .paper-blur .r-addr, .paper-blur .r-line { color: #7A7466; }

.paper-crisp {
  clip-path: inset(0 0 100% 0);
  animation: scanreveal 2.4s cubic-bezier(0.6, 0, 0.3, 1) 0.9s forwards;
}

.r-store { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; }
.r-addr { font-size: 0.68rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.r-rule { border-top: 1.5px dotted #B9B29F; margin: 0.7rem 0; }
.r-line { display: flex; justify-content: space-between; font-size: 0.74rem; margin: 0.45rem 0; }
.r-total { font-weight: 500; font-size: 0.82rem; }

.beam {
  position: absolute;
  left: -7%;
  right: -7%;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--beam) 18%, #BFDBFF 50%, var(--beam) 82%, transparent);
  box-shadow: 0 0 18px 4px rgba(94, 166, 255, 0.55);
  opacity: 0;
  animation: beamsweep 2.4s cubic-bezier(0.6, 0, 0.3, 1) 0.9s forwards;
}

@keyframes beamsweep {
  0% { top: 0; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes scanreveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}

.result-chip {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%) translateY(14px);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy-2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  opacity: 0;
  animation: chipin 0.6s ease 3.4s forwards;
}

@keyframes chipin {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.chip-doc {
  width: 12px;
  height: 15px;
  background: var(--paper-sheet);
  border-radius: 2px 5px 2px 2px;
  flex: none;
}

.chip-text { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: #fff; }
.chip-sub { font-family: var(--mono); font-size: 0.68rem; color: var(--sky-dim); }

/* ---------- trust strip ---------- */

.truststrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem 1.4rem;
  border-top: 1px solid var(--hairline);
  padding: 1.5rem 2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-dim);
}

.truststrip i { width: 4px; height: 4px; border-radius: 50%; background: var(--scan); }

.truststrip .label-chip {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--beam);
}

/* ---------- paper world ---------- */

.specsheet, .features, .more, .privacy-band {
  background: var(--paper);
  color: var(--ink);
}

.specsheet { padding: 5.5rem 2rem 3rem; }

.sheet-doc {
  max-width: 860px;
  margin: 0 auto;
  background: var(--paper-sheet);
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(40, 34, 16, 0.13);
  padding: 2.4rem 2.8rem 2.8rem;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1.5px dotted #C9C2AE;
  padding-bottom: 0.9rem;
  margin-bottom: 0.4rem;
}

.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.05rem 0;
  border-bottom: 1.5px dotted #D9D3C0;
}

.fact dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.fact dd { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }

/* ---------- features ---------- */

.features { padding: 3.5rem 2rem 1rem; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1060px;
  margin: 0 auto;
  padding: 4rem 0;
}

.feature h2, .math h2, .privacy-band h2, .closer h2 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 1.1rem;
}

.feature p { color: var(--ink-soft); max-width: 27rem; }

.feature .footnote { margin-top: 0.8rem; }

.footnote {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.feature.flip .feature-copy { order: 2; }
.feature.flip .shot { order: 1; }

.shot { display: flex; justify-content: center; }

.shot img { height: auto; }

.shot.phone img {
  width: min(310px, 78%);
  border-radius: 30px;
  border: 1px solid #DDD6C6;
  box-shadow: 0 30px 70px rgba(40, 34, 16, 0.22);
}

.feature.wide {
  grid-template-columns: 1fr;
  gap: 2.6rem;
  text-align: center;
}

.feature.wide .feature-copy { max-width: 34rem; margin: 0 auto; }
.feature.wide p { max-width: none; }

.shot.desktop img {
  width: 100%;
  max-width: 940px;
  border-radius: 12px;
  border: 1px solid #DDD6C6;
  box-shadow: 0 30px 70px rgba(40, 34, 16, 0.22);
}

/* ---------- more grid ---------- */

.more { padding: 3rem 2rem 5.5rem; }

.more .eyebrow { text-align: center; display: block; margin-bottom: 1.8rem; }

.more-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink);
}

.more-grid li { display: flex; align-items: center; gap: 0.7rem; }

.more-grid li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--scan);
  flex: none;
}

/* ---------- lens band ---------- */

.lens {
  background: var(--paper-2);
  color: var(--ink);
  border-top: 1.5px dotted #D2CCBA;
  padding: 5rem 2rem;
  text-align: center;
}

.lens h2 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 1.1rem;
}

.lens p { max-width: 36rem; margin: 0 auto 1.6rem; color: var(--ink-soft); }

.lens .footnote { margin-bottom: 1.6rem; }

.lens-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2.2rem;
  margin: 0 0 1.8rem;
  font-family: var(--mono);
  font-size: 0.84rem;
}

.lens-facts li { display: flex; align-items: center; gap: 0.6rem; }

.lens-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--scan);
  flex: none;
}

/* ---------- subscription math ---------- */

.math {
  background: var(--navy-deep);
  padding: 5.5rem 2rem;
  text-align: center;
}

.math h2 { color: #fff; }

.math table {
  width: 100%;
  max-width: 720px;
  margin: 2.4rem auto 1.2rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.math th, .math td { padding: 0.95rem 1rem; border-bottom: 1px solid var(--hairline); }

.math thead th {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sky-dim);
}

.math tbody th { text-align: left; font-weight: 500; }

.math td { font-family: var(--disp); font-weight: 700; font-size: 1.15rem; }

.math .them { color: var(--sky-dim); }
.math .them td { text-decoration: none; font-weight: 600; }

.math .us { color: #fff; }
.math .us td { color: var(--beam); }
.math .us th { color: #fff; }

.math .footnote { color: var(--sky-dim); max-width: 34rem; margin: 0 auto; }

/* ---------- privacy band ---------- */

.privacy-band {
  padding: 5.5rem 2rem;
  text-align: center;
}

.privacy-band p { max-width: 33rem; margin: 0 auto 1.6rem; color: var(--ink-soft); }

/* Links and eyebrows sit on the paper backgrounds, where the brand blue
   misses WCAG AA (3.8 to 4.1 : 1); the ink variant clears 4.5 on both. */
.specsheet .eyebrow, .features .eyebrow, .more .eyebrow,
.lens .eyebrow, .privacy-band .eyebrow { color: var(--scan-ink); }

.text-link {
  font-weight: 600;
  color: var(--scan-ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* ---------- closer + footer ---------- */

.closer {
  background: var(--navy-deep);
  text-align: center;
  padding: 5.5rem 2rem 4.5rem;
}

.closer h2 { color: #fff; margin-bottom: 1.8rem; }

.closer .badges { justify-content: center; }

.closer .price-line { margin-top: 1.2rem; }

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2.2rem;
  background: var(--navy-deep);
  border-top: 1px solid var(--hairline);
  padding: 2rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--sky-dim);
}

.site-foot a { color: var(--sky-dim); text-decoration: none; }
.site-foot a:hover { color: var(--sky); text-decoration: underline; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .paper-crisp { animation: none; clip-path: inset(0); }
  .paper-blur { display: none; }
  .beam { display: none; }
  .result-chip { animation: none; opacity: 1; transform: translateX(-50%); }
  .badge { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .hero-stage { order: 2; margin-top: 2.5rem; }
  .viewfinder { transform: scale(0.88); transform-origin: top center; height: 430px; }
  .feature { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; padding: 3rem 0; }
  .feature p { margin: 0 auto; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .shot { order: 2; }
  .facts { grid-template-columns: 1fr; }
  .sheet-doc { padding: 1.8rem 1.6rem 2rem; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .math { overflow-x: auto; }
}

@media (max-width: 560px) {
  .topbar { padding: 1.1rem 1.2rem; }
  .topbar nav { gap: 1rem; }
  .topbar nav a:not(.nav-cta) { display: none; }
  .hero { padding-left: 1.2rem; padding-right: 1.2rem; }
  .viewfinder { transform: none; width: calc(100vw - 3.2rem); max-width: 372px; height: 430px; }
  .sheet { inset: 38px 34px 58px; }
  .more-grid { grid-template-columns: 1fr; max-width: 260px; }
  .math table { font-size: 0.82rem; }
  .math td { font-size: 0.98rem; }
  .badge { min-width: 10rem; }
}
