/* Proofdesk landing page. Shares tokens and components with app.css. */
.landing { background: var(--surface); }
.landing h2 { font-size: 34px; font-weight: 720; letter-spacing: -0.032em; line-height: 1.12; max-width: 780px; text-wrap: balance; }
.landing .sub { font-size: 16.5px; color: var(--text-2); margin-top: 12px; max-width: 700px; line-height: 1.6; text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }
.band { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sec-head { margin-bottom: 40px; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 11px; }
.btn-lg .ic { width: 17px; height: 17px; }
.btn-glass { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 600; font-size: 14.5px; }
.text-link:hover { text-decoration: none; gap: 9px; }
.text-link, .text-link .ic { transition: gap .15s; }

/* ---------- Header over the dark hero ---------- */
.lp-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  height: 64px; padding: 0 32px; color: #fff;
  transition: background .2s, border-color .2s, color .2s;
  border-bottom: 1px solid transparent;
}
.lp-top .brand { color: inherit; }
.lp-top.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--border); color: var(--text); }
.lp-nav { display: flex; gap: 28px; justify-content: center; }
.lp-nav a, .lp-link { color: inherit; opacity: .78; font-weight: 500; font-size: 14px; }
.lp-nav a:hover, .lp-link:hover { opacity: 1; text-decoration: none; }
.lp-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.lp-link { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0a0f1f; color: #fff; min-height: 760px; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; }
.hero-art img { position: absolute; right: -4%; top: 0; height: 100%; width: auto; min-width: 82%; object-fit: cover; object-position: 70% 50%; animation: drift 28s ease-in-out infinite alternate; }
.hero-art::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, #0a0f1f 0%, rgba(10, 15, 31, .96) 30%, rgba(10, 15, 31, .55) 55%, rgba(10, 15, 31, .1) 78%),
  linear-gradient(0deg, #0a0f1f 0%, rgba(10, 15, 31, 0) 28%); }
@keyframes drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.07) translateX(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }
.hero-inner { position: relative; max-width: 1200px; width: 100%; margin: 0 auto; padding: 132px 32px 180px; }
.hero h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.034em; font-weight: 750; max-width: 640px; text-wrap: balance; }
.hero .lead { font-size: 19px; line-height: 1.55; color: #c3c9d9; margin-top: 22px; max-width: 560px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; margin-bottom: 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #d7dcea; font-size: 13px; font-weight: 500; }
.hero-pill:hover { text-decoration: none; background: rgba(255, 255, 255, .09); }
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #7c8bff; box-shadow: 0 0 0 4px rgba(124, 139, 255, .2); }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 0; margin: 48px 0 0; max-width: 680px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats div { flex: 1; padding: 16px 16px 0 0; }
.hero-stats div + div { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .08); }
.hero-stats dt { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-stats dd { margin: 2px 0 0; font-size: 12.5px; color: #9aa3b8; line-height: 1.35; }
.hero-note { margin-top: 18px; font-size: 12.5px; color: #7f889e; max-width: 560px; }

/* ---------- Product shot overlapping the hero ---------- */
.shot-wrap { position: relative; max-width: 1200px; margin: -140px auto 0; padding: 0 32px; z-index: 2; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(13, 21, 36, .12); box-shadow: 0 2px 4px rgba(13, 21, 36, .06), 0 30px 80px rgba(13, 21, 36, .28); }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f3f4f7; border-bottom: 1px solid var(--border); }
.shot-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #d9dce3; }
.shot-url { margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 7px; background: #fff; border: 1px solid var(--border); font-size: 12px; color: var(--text-3); transform: translateX(-24px); }
.shot img { display: block; width: 100%; height: auto; }
.shot-wrap figcaption { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ---------- Problem grid ---------- */
.fail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.fail { background: var(--surface); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fail h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -0.012em; margin-top: 6px; }
.fail p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.fail .by { margin-top: auto; padding-top: 10px; display: flex; gap: 6px; }
.fail-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.fail-ic .ic { width: 19px; height: 19px; }
.fail-ic.tone-warn { background: var(--warn-soft); color: var(--warn); }
.fail-ic.tone-bad { background: var(--bad-soft); color: var(--bad); }
.fail-ic.tone-violet { background: var(--violet-soft); color: var(--violet); }
.fail-ic.tone-info { background: var(--info-soft); color: var(--info); }

/* ---------- Checkpoint splits ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split + .split { padding-top: 0; }
.split.reverse .split-art { order: 2; }
.split-art { border-radius: 18px; overflow: hidden; background: #0a0f1f; box-shadow: 0 24px 60px rgba(13, 21, 36, .18); aspect-ratio: 4 / 3; }
.split-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-copy h2 { font-size: 30px; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; }
.steps li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.steps li:first-child { border-top: 0; }
.steps li .ep { flex: none; }
.steps li div { flex: 1; }
.steps b { color: var(--text); font-weight: 600; }

/* ---------- Endpoint table ---------- */
.ep-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.ept-row { display: grid; grid-template-columns: 140px 260px minmax(0, 1fr); gap: 24px; padding: 15px 24px; border-top: 1px solid var(--border); font-size: 14.5px; align-items: center; }
.ept-row > div:nth-child(2) { color: var(--text-2); }
.ept-head { border-top: 0; background: var(--bg); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding-top: 12px; padding-bottom: 12px; }

/* ---------- Reliability ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel { display: flex; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.rel > .ic { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }
.rel h3 { font-size: 15px; font-weight: 650; margin-bottom: 5px; }
.rel p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ---------- Closing CTA and footer ---------- */
.cta-end { position: relative; overflow: hidden; background: #0a0f1f; color: #fff; text-align: center; }
.cta-art { position: absolute; inset: 0; background: url('../img/art-hero.jpg') 60% 50% / cover no-repeat; opacity: .35; }
.cta-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 15, 31, .55), #0a0f1f 75%); }
.cta-end .wrap { position: relative; }
.cta-end h2, .cta-end .sub { margin-left: auto; margin-right: auto; }
.cta-end .sub { color: #b9c0d2; }
.cta-end .hero-cta { justify-content: center; }
.lp-footer { max-width: 1200px; margin: 0 auto; padding: 36px 32px 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; font-size: 13px; color: var(--text-3); }
.lp-footer .brand { color: var(--text); font-size: 15px; }
.lp-footer .brand .mark { width: 24px; height: 24px; }
.lp-footer a { color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .lp-nav { display: none; }
  .lp-top { grid-template-columns: 1fr auto; }
  .hero h1 { font-size: 48px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-art { order: 0; }
  .fail-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-footer { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 700px) {
  .lp-top { padding: 0 16px; height: 58px; }
  .lp-link span { display: none; }
  .wrap { padding: 64px 16px; }
  .hero { min-height: 0; }
  .hero-art img { min-width: 0; width: 180%; right: -70%; opacity: .55; }
  .hero-inner { padding: 104px 16px 150px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16.5px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats div { flex: 1 1 30%; padding: 12px 8px 0 0 !important; border-left: 0 !important; }
  .hero-stats dt { font-size: 22px; }
  .landing h2 { font-size: 27px; }
  .shot-wrap { padding: 0 12px; margin-top: -110px; }
  .shot-url { display: none; }
  .fail-grid, .rel-grid { grid-template-columns: 1fr; }
  .ept-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .ept-head { display: none; }
  .lp-footer { padding: 28px 16px 40px; }
}

/* ---------- Round 2: real product crops, quieter hero art, table instead of a second card grid ---------- */
.split-ui { margin: 0; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, #eef0f6, #f6f7fa); border: 1px solid var(--border); box-shadow: 0 18px 40px -16px rgba(13, 21, 36, .18); }
.split-ui img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 1px 2px rgba(13, 21, 36, .06), 0 10px 28px -10px rgba(13, 21, 36, .22); }
.split { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; }
.split.reverse { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.split.reverse .split-ui { order: 2; }
.hero-art img { opacity: .78; -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 62%); mask-image: linear-gradient(90deg, transparent 18%, #000 62%); }
.fc-table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.fc-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 24px; padding: 14px 22px; border-top: 1px solid var(--border); font-size: 14.5px; }
.fc-row > div:first-child { font-weight: 600; color: var(--text); }
.fc-row > div:last-child { color: var(--text-2); }
.fc-head { border-top: 0; background: var(--bg); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fc-head > div:first-child, .fc-head > div:last-child { color: var(--text-3); font-weight: 650; }
@media (max-width: 1080px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-ui { order: 0; }
}
@media (max-width: 700px) {
  .hero-art { display: none; }
  .hero { background: radial-gradient(ellipse at 80% 0%, #1b2347 0%, #0a0f1f 60%); }
  .split-ui { padding: 10px; }
  .fc-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
  .fc-head { display: none; }
}

/* ---------- Demo video ---------- */
.video-sec { padding-top: 88px; padding-bottom: 24px; }
.sec-head.center { text-align: center; }
.sec-head.center h2 { margin: 0 auto; }
.video-frame { max-width: 1040px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #0a0f1f; border: 1px solid var(--border); box-shadow: 0 24px 60px -20px rgba(13, 21, 36, .35); }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0a0f1f; }
@media (max-width: 700px) { .video-sec { padding-top: 56px; } }
