/* ════════════════════════════════════════════════════════════════════════
   ProveWise landing — Apple-style
   System SF stack for the Apple voice; IBM Plex Mono only for compliance
   micro-labels, tying the page to the product's own design language.
   Palette: Apple blue #0071E3 · near-black #1D1D1F · white / #F5F5F7.
   The accent was ProveWise's clinical blue #4A90E2, which sat a shade off
   Apple's own and read as "a blue product" rather than as this idiom. The
   rest of this file was already in the right voice and is left alone.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --blue: #0071E3;
  --blue-deep: #0077ED;
  --navy: #1D1D1F;
  --navy-2: #000000;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --hairline: rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

.mono { font-family: var(--font-mono); }

.container {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── Type scale — Apple: huge, tight, calm ─────────────────────────────── */
h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.018em;
}
.lede {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 46ch;
  margin-top: 22px;
}
.center-copy .lede { margin-inline: auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 18px;
}

/* ── Nav — glass, minimal ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-deep); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 28px rgba(74, 144, 226, 0.35);
}
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 12px 34px rgba(74, 144, 226, 0.45); }
.btn-ghost {
  color: var(--blue);
  background: transparent;
}
.band-dark .btn-ghost, .band-cta .btn-ghost { color: #9fc3f0; }
.btn-lg { padding: 17px 38px; font-size: 19px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef3f9;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center 45%, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.28) 78%),
    linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0.4) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--navy);
  opacity: 0.75;
  margin-bottom: 26px;
}
.hero h1 { color: var(--navy); }
.hero-sub {
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.45;
  color: rgba(15, 39, 68, 0.72);
  margin: 26px auto 0;
  max-width: 34ch;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 42px;
}

/* ── Bands ─────────────────────────────────────────────────────────────── */
.band { padding: clamp(90px, 12vw, 160px) 0; }
.band-light { background: var(--paper); }
.band-grey  { background: var(--paper-2); }
.band-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f4f8ff;
}
.band-dark h2 { color: #f4f8ff; }
.band-dark .lede { color: rgba(224, 235, 250, 0.72); }
.band-dark .eyebrow { color: #7fb0ec; }

.center-copy { text-align: center; }
.center-copy h2 { max-width: 22ch; margin-inline: auto; }

/* ── Split layouts ─────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-flip > .split-media { order: -1; }
.split-media img, .split-media video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(15, 39, 68, 0.16);
}
.split-media-square { max-width: 460px; justify-self: center; }
.ticks {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.12);
  border: 1.5px solid var(--blue);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 7px; height: 4px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-flip > .split-media { order: 0; }
}

/* ── Feature media (full-width video under dark copy) ──────────────────── */
.feature-media {
  width: min(1200px, calc(100% - 48px));
  margin: clamp(48px, 7vw, 88px) auto 0;
}
.feature-media video {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

/* ── Attest + hash demos (product-language inserts) ────────────────────── */
.attest-demo {
  margin-top: 34px;
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px 28px;
  padding: 22px 26px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  position: relative;
  background: var(--paper);
}
.attest-demo::before, .attest-demo::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--blue);
}
.attest-demo::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.attest-demo::after  { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.attest-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #9aa4b2;
  align-self: center;
}
.attest-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.attest-value.mono { font-family: var(--font-mono); font-weight: 500; color: var(--blue); }

.hash-demo {
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}
.hash-demo-label {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #9aa4b2;
}
.hash-demo-value {
  font-size: 15px;
  color: var(--blue);
  letter-spacing: 0.02em;
}

/* ── Screenshots ───────────────────────────────────────────────────────── */
.shots {
  width: min(1200px, calc(100% - 48px));
  margin: clamp(48px, 7vw, 80px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.shot { margin: 0; }
.shot-wide { grid-column: 1 / -1; }
.shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.12);
  background: #fff;
  cursor: zoom-in;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.shot img:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(15, 39, 68, 0.20);
}
.shot figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

/* ── Screenshot lightbox (click-to-zoom) ───────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 4vh 4vw;
  background: rgba(10, 27, 51, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  transform: scale(0.97);
  transition: transform 0.25s var(--ease);
  cursor: default;
}
.lightbox.open img { transform: scale(1); }
.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-align: center;
  max-width: 60ch;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img { transition: none; }
}

/* ── KPI band ──────────────────────────────────────────────────────────── */
.band-kpi { padding: clamp(70px, 9vw, 110px) 0; }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 48px;
  text-align: center;
}
.kpi-value {
  display: block;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.kpi-value.kpi-static { font-size: clamp(34px, 4.6vw, 54px); color: #7fb0ec; }
.kpi-label {
  display: block;
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(224, 235, 250, 0.6);
}

/* ── Industries ────────────────────────────────────────────────────────── */
.band-industries { padding-top: 0; }
.full-bleed { width: 100%; margin: 0 0 clamp(70px, 9vw, 110px); }
.full-bleed img { width: 100%; max-height: 62vh; object-fit: cover; }
.segments {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.segments span {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  background: rgba(74, 144, 226, 0.08);
  border: 1px solid rgba(74, 144, 226, 0.22);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.25s var(--ease);
}
.segments span:hover {
  background: rgba(74, 144, 226, 0.16);
  transform: translateY(-1px);
}

/* ── CTA band ──────────────────────────────────────────────────────────── */
.band-cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
  color: #f4f8ff;
  text-align: center;
}
.band-cta h2 { color: #fff; }
.band-cta .lede { color: rgba(224, 235, 250, 0.72); margin-inline: auto; }
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.band-cta .container { position: relative; }
.cta-fineprint {
  margin-top: 46px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(159, 195, 240, 0.55);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: 56px 0 30px;
  background: var(--paper);
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.footer-logo { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.footer-tag { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.footer-line { font-size: 10px; letter-spacing: 0.14em; color: #9aa4b2; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  margin: 0 0 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
}
.footer-col a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue); }
.footer-base {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 38px; padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.footer-copy { font-size: 13px; color: var(--ink-2); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Reveal-on-scroll ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.interval-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  margin-top: 26px;
}
.interval-option { cursor: pointer; }
.interval-option input { position: absolute; opacity: 0; pointer-events: none; }
.interval-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  font: 600 15px var(--font-ui);
  color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.interval-option input:checked + span {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74, 144, 226, 0.35);
}
.interval-option input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.interval-save {
  font-style: normal;
  font: 500 10.5px var(--font-mono);
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(44, 122, 75, 0.14);
  color: #2C7A4B;
}
.interval-option input:checked + span .interval-save {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(15, 39, 68, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(15, 39, 68, 0.12);
}
.price-card-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 44px rgba(74, 144, 226, 0.18);
}
.price-pop {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 4px 14px;
  border-radius: 999px;
}
.price-card h3 { font: 700 21px var(--font-ui); color: var(--ink); }
.price-big { margin-top: 8px; }
.price-num {
  font: 700 52px/1 var(--font-ui);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-per { color: var(--ink-2); font-size: 14px; }
.price-storage {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
}
.price-card .ticks { text-align: left; margin: 18px auto 22px; }
.price-cta { margin-top: auto; }

@media (max-width: 720px) {
  .pricing-grid { margin-top: 34px; }
  .price-num { font-size: 44px; }
}

/* ── Sign in, beside every pilot CTA ───────────────────────────────────────
   The landing page sold the pilot in three places — nav, hero, closing band —
   and offered the return path only once, in the footer. A returning customer
   had to scroll the entire page to find the way back into their own records.
   Each CTA now carries a sign-in link next to it; `data-signin` makes main.js
   rewrite the href to PROVEWISE_APP_URL, exactly as it does for `data-pilot`,
   so these keep working if the marketing page moves to its own domain. */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-signin {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-signin:hover { color: var(--ink); }

/* "Already have an account? Sign in" beneath the hero and closing CTAs. */
.cta-signin {
  margin-top: 20px;
  font-size: 15px;
  color: rgba(15, 39, 68, 0.6);
}
.cta-signin a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}
.cta-signin a:hover { text-decoration: underline; }

/* The closing band is dark; the light-ground colours above are unreadable on
   it and the fineprint below already establishes the on-dark palette. */
.cta-signin.on-dark { color: rgba(159, 195, 240, 0.72); }
.cta-signin.on-dark a { color: #9fc3f0; }

@media (max-width: 520px) {
  /* The bar carries brand + sign-in + pill on one line at 375px. Reclaim the
     side margin and stop the pill wrapping to "Start your 14-day / pilot". */
  .nav-inner { width: calc(100% - 28px); gap: 10px; }
  .nav-actions { gap: 12px; }
  .nav-signin { font-size: 13px; }
  .nav-cta { padding: 7px 12px; font-size: 12.5px; white-space: nowrap; }
  .cta-signin { font-size: 14px; }
}
