/* VeilShot landing — one page, one accent, one memorable thing: the demo shot. */

:root {
  --bg: #141414;
  --panel: #1c1c1c;
  --line: #2e2e2e;
  --text: #f0f0f0;
  --muted: #9a9a9a;
  --accent: #0090ff;
  --accent-press: #0077d4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
}

/* ---------- chrome ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.store-link:hover { background: var(--panel); color: var(--text); }

main { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

section { padding: 56px 0; }

h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }

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

.hero { padding-top: 40px; }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 64px);
  line-height: 1.08;
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  margin: 22px 0 26px;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover { background: var(--panel); }

.btn.primary {
  background: var(--accent);
  border-color: transparent;
}

.btn.primary:hover { background: var(--accent-press); }

/* ---------- the demo shot ---------- */

.demo { margin: 48px 0 0; }

.demo-shot {
  background: linear-gradient(135deg, #0090ff 0%, #29a383 100%);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 44px);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2b2b2b;
  border-radius: 14px 14px 0 0;
  padding: 10px 14px;
}

.shot-chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.shot-chrome i:nth-child(2) { background: #febc2e; }
.shot-chrome i:nth-child(3) { background: #28c840; }

.shot-url {
  flex: 1;
  margin-left: 12px;
  background: #1e1e1e;
  border-radius: 6px;
  padding: 5px 12px;
  color: var(--muted);
  font: 12px/1 var(--mono);
}

.shot-body {
  display: flex;
  background: #171717;
  border-radius: 0 0 14px 14px;
  min-height: 320px;
}

.fake-sidebar {
  width: 140px;
  border-right: 1px solid #262626;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fake-sidebar b, .fake-main b {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: #4d4d4d;
}

.fake-sidebar b:first-child { height: 14px; background: #5d5d5d; }

.fake-main {
  flex: 1;
  position: relative;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fake-main .big { height: 18px; width: 55%; background: #616161; }

.fake-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.w30 { width: 30%; }
.w35 { width: 35%; }
.w40 { width: 40%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w90 { width: 90%; }

.fake-toggle {
  width: 34px;
  height: 19px;
  border-radius: 10px;
  background: var(--accent);
  position: relative;
  display: inline-block;
}

.fake-toggle i {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
}

/* redacted block: pixelated look via stacked squares */
.fake-secret {
  height: 42px;
  border-radius: 4px;
  background:
    conic-gradient(#4a4a4a 25%, #3a3a3a 0 50%, #4a4a4a 0 75%, #3a3a3a 0) 0 0 / 14px 14px;
  position: relative;
}

.fake-secret .callout {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font: 11px var(--mono);
  color: #cfcfcf;
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 8px;
  border-radius: 4px;
}

.anno-arrow {
  position: absolute;
  right: 120px;
  top: 34px;
  width: 130px;
  height: 78px;
}

.anno-arrow path {
  stroke: var(--accent);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
}

.step-badge {
  position: absolute;
  right: 118px;
  top: 62px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e5484d;
  color: #fff;
  font: 700 15px/30px var(--sans);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.anno-label {
  position: absolute;
  right: 156px;
  top: 70px;
  color: #f0f0f0;
  font: 600 13px var(--sans);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.demo-cap {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 14px;
  color: var(--muted);
  font: 12px var(--mono);
}

/* ---------- sections ---------- */

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 28px;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 34px);
}

h3 { font-size: 17px; margin-bottom: 8px; }

.split p, .pro-lede { color: var(--muted); margin: 0; }

.pro {
  border-top: 1px solid var(--line);
}

.pro-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 32px;
}

.pro-list li {
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}

.pro-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.pro-list strong { color: var(--text); }

.fineprint {
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
  margin-top: 18px;
}

.privacy {
  border-top: 1px solid var(--line);
}

.privacy p { color: var(--muted); max-width: 720px; }

.privacy a { color: var(--accent); }

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 24px;
  color: var(--muted);
  font-size: 13px;
}

.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

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

@media (max-width: 640px) {
  .shot-body { flex-direction: column; }
  .fake-sidebar {
    width: auto;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid #262626;
    padding: 14px 20px;
  }
  .fake-sidebar b { height: 9px; }
  .anno-arrow, .anno-label { display: none; }
  .step-badge { top: auto; bottom: 18px; right: 20px; }
}

/* ---------- a11y ---------- */

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- doc pages (privacy) ---------- */

.doc {
  max-width: 720px;
  padding: 40px 24px 80px;
}

.doc h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 40px);
}

.doc-date {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.doc h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  margin: 34px 0 10px;
  letter-spacing: 0;
}

.doc p, .doc li { color: #c8c8c8; }
.doc strong { color: var(--text); }

.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

table.perm {
  border-collapse: collapse;
  width: 100%;
  margin-top: 10px;
}

table.perm th, table.perm td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: #c8c8c8;
  font-weight: 400;
  font-size: 15px;
}

table.perm th {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
}
