/* PikPilot site. System fonts only: the page loads nothing from anyone else. */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #121212;
  --soft: #555a63;
  --faint: #8a8f97;
  --line: #e4e2dc;
  --accent: #0068ff;
  --accent-ink: #ffffff;
  --band: #121417;
  --band-ink: #f2f2f0;
  --band-soft: #a7abb2;
  --shadow: 0 24px 60px -24px rgba(17, 20, 24, .35), 0 2px 6px rgba(17, 20, 24, .08);
  --radius: 14px;
  --mark-filter: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1012;
    --surface: #17191c;
    --ink: #f2f2f0;
    --soft: #a7abb2;
    --faint: #7c8189;
    --line: #2a2d31;
    --accent: #3d8bff;
    --band: #1a1d21;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
    --mark-filter: invert(1);
  }
}

* { 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;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1280px, 100% - 40px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.mark { filter: var(--mark-filter); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { text-align: center; padding: 88px 0 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-size: 15px; font-weight: 500; margin-bottom: 22px; }
.pixels { display: inline-grid; grid-template-columns: repeat(3, 6px); gap: 2px; }
.pixels i { width: 6px; height: 6px; background: var(--ink); }
.pixels i:nth-child(2) { transform: translateY(-4px); opacity: .7; }
.pixels i:nth-child(3) { opacity: .4; }
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 750; letter-spacing: -.035em; }
.lead { max-width: 680px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 19px); color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.meta { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* Screenshots */
.shot { margin: 0; }
.shot.wrap-wide { margin-inline: auto; }
.shot img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: #1b1d20; }
.shot-hero { margin-bottom: 24px; }

/* Sections */
.section { padding: 96px 0 24px; }
.section > h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 720; text-align: center; margin-bottom: 44px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 24px; }
.card svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.card h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--soft); line-height: 1.55; }

.spot { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 96px 0 0; }
.spot-flip { grid-template-columns: 7fr 5fr; }
.spot-flip .spot-text { order: 2; }
.spot h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 720; margin-bottom: 18px; }
.spot p { color: var(--soft); }
.spot p + p { margin-top: 12px; }

.privacy { background: var(--band); color: var(--band-ink); margin-top: 112px; }
.privacy-inner { padding: 80px 0; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.privacy h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 720; }
.privacy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.privacy li { color: var(--band-soft); padding-left: 26px; position: relative; }
.privacy li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--band-ink); }
.privacy strong { color: var(--band-ink); font-weight: 650; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.steps span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; border-radius: 6px; }
.steps h3 { font-size: 17px; font-weight: 650; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--soft); }

.cta { text-align: center; padding: 96px 0 104px; }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 720; margin-bottom: 28px; }

.foot { border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 28px 0 36px; }
.brand-foot { font-size: 15px; color: var(--ink); }

/* Narrow screens */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .spot, .spot-flip, .privacy-inner { grid-template-columns: 1fr; gap: 28px; }
  .spot-flip .spot-text { order: 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 br, h2 br { display: none; }
  .nav { display: none; }
  .top-row { justify-content: space-between; }
  .hero { padding: 56px 0 36px; }
  .actions .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .section, .spot { padding-top: 72px; }
  .privacy { margin-top: 80px; }
  .privacy-inner { padding: 60px 0; }
  .cta { padding: 72px 0 80px; }
  .shot img { border-radius: 10px; }
}
