/* ── SnipePict marketing site ─────────────────────────────────────────── */
:root {
  /* Brand — navy + blue, sampled from the wordmark */
  --blue-deep:  #0F1B4A;   /* navy "Snipe" */
  --blue:       #1E40C0;   /* mid blue */
  --blue-soft:  #3162E6;   /* lighter "Pict" blue */
  --blue-tint:  #E8EEFC;   /* very soft blue wash */
  /* Neutrals */
  --ink:        #0F1320;
  --ink-soft:   #2A2F44;
  --paper:      #FFFFFF;
  --paper-tint: #F5F7FB;
  --line:       #DDE3F0;
  --muted:      #5E6680;
  /* On-navy text tones (used in strip + footer) */
  --on-navy:        #FFFFFF;
  --on-navy-soft:   #C7CEE8;
  --on-navy-muted:  #8A92B0;

  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 60, 184, 0.08);
  --shadow:    0 8px 24px rgba(0, 60, 184, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.20);

  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-disp:  "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-mono:  ui-monospace, "Cascadia Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Topbar ─────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 18px;
}
.brand-icon { width: 32px; height: 32px; border-radius: 6px; }
.brand-name { letter-spacing: -0.01em; }
.topnav { display: flex; align-items: center; gap: 28px; }
.topnav a { color: var(--ink-soft); font-weight: 500; font-size: 14px; }
.topnav a:hover { color: var(--blue-deep); }
.topnav a.cta {
  background: var(--blue);
  color: white !important;
  padding: 8px 14px;
  border-radius: 8px;
}
.topnav a.cta:hover { background: var(--blue-deep); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(1100px 480px at 80% -10%, rgba(49, 98, 230, 0.10), transparent 60%),
    radial-gradient(900px 400px at 10% 110%, rgba(15, 27, 74, 0.08), transparent 60%),
    var(--paper);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-wordmark {
  width: 240px;
  max-width: 70%;
  height: auto;
  margin: 0 0 22px;
  display: block;
}
.hero-text h1 {
  font-family: var(--font-disp);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--ink);
}
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 52ch;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.06s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: white !important;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--blue-deep); }
.btn-secondary {
  background: white;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-deep) !important; }
.hero-meta { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

.hero-art {
  display: flex; justify-content: center;
}
.hero-splash {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* ── Strip (FAST · PRECISE · …) ────────────────────────────────────── */
.strip {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  color: var(--on-navy);
  padding: 16px 0;
}
.strip-items {
  display: flex; justify-content: space-around; gap: 16px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.22em;
  text-align: center;
}
.strip-items span { white-space: nowrap; }

/* ── Section commons ───────────────────────────────────────────────── */
.section-title {
  font-family: var(--font-disp);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.section-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 64ch;
}
.shortcuts .section-sub,
.download .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Features ──────────────────────────────────────────────────────── */
.features { padding: 88px 0 64px; background: var(--paper-tint); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card-emoji { font-size: 28px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.card code {
  font-family: var(--font-mono);
  background: var(--paper-tint);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}

/* ── Tools section ─────────────────────────────────────────────────── */
.tools-section { padding: 88px 0 72px; }
.tools-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.tools-list {
  list-style: none;
  padding: 0; margin: 18px 0 0;
}
.tools-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}
.tools-list li:last-child { border-bottom: 0; }
.tools-list strong { color: var(--ink); margin-right: 6px; }
.tools-art { display: flex; justify-content: center; }
.tools-card {
  max-width: 100%;
  width: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* ── Shortcuts ─────────────────────────────────────────────────────── */
.shortcuts { padding: 88px 0; background: var(--paper-tint); }
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 24px;
}
.kbd-row {
  display: flex; align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.kbd-row span { color: var(--ink-soft); }
kbd {
  font-family: var(--font-mono);
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Download ──────────────────────────────────────────────────────── */
.download { padding: 88px 0 100px; }
.download .section-title { text-align: center; }
.dl-sub { text-align: center; color: var(--ink-soft); margin: -16px 0 32px; }
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.dl-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  color: var(--ink) !important;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.dl-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.dl-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: white;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  margin-bottom: 14px;
}
.dl-card h3 { margin: 0 0 6px; font-size: 18px; }
.dl-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; }
.dl-link { font-weight: 600; color: var(--blue); font-size: 14px; }
.dl-card code {
  font-family: var(--font-mono);
  background: var(--paper-tint);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12.5px;
}

/* ── Notify form (Netlify) ────────────────────────────────────────── */
.notify-block {
  max-width: 520px;
  margin: 64px auto 0;
  text-align: center;
  scroll-margin-top: 100px;   /* clear the sticky header on #notify jump */
}
.notify-title {
  font-family: var(--font-body);   /* Inter — matches dl-card titles & section sub-copy */
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}
.notify-sub {
  font-family: var(--font-body);
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
}
.notify-form {
  /* Plain block — centering happens on the .notify-row child below */
  display: block;
}
.notify-row {
  display: inline-flex;        /* shrink-to-fit; .notify-block's text-align:center centers this */
  gap: 10px;
  align-items: stretch;
  max-width: 100%;
}
.notify-input {
  width: 280px;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;          /* centered placeholder/value so the form reads as a unit */
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.notify-input::placeholder { color: var(--muted); }
.notify-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 192, 0.18);
  text-align: left;            /* once user starts typing, align left for normal editing */
}
.notify-submit {
  font-size: 15px;
  padding: 12px 22px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.notify-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; }
.notify-success {
  max-width: 420px;
  margin: 16px auto 0;
  padding: 14px 18px;
  background: rgba(30, 64, 192, 0.10);
  color: var(--blue-deep);
  border: 1px solid rgba(30, 64, 192, 0.20);
  border-radius: 10px;
  font-weight: 600;
}
@media (max-width: 480px) {
  .notify-row { display: flex; flex-direction: column; width: 100%; }
  .notify-input { width: 100%; text-align: left; }
  .notify-submit { width: 100%; }
}

/* ── Footer ────────────────────────────────────────────────────────── */
.footer {
  background: var(--blue-deep);
  color: var(--on-navy-soft);
  padding: 48px 0;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--on-navy); font-weight: 700; font-size: 18px;
}
.footer-icon { width: 28px; height: 28px; border-radius: 5px; }
.footer-tagline { margin: 0; color: var(--on-navy-soft); font-size: 14px; letter-spacing: 0.04em; }
.footer-meta { margin: 6px 0 0; font-size: 13px; color: var(--on-navy-muted); }
.footer-meta a { color: var(--on-navy-soft); }
.footer-meta a:hover { color: var(--on-navy); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { padding: 56px 0 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .hero-art { order: -1; }
  .tools-inner { grid-template-columns: 1fr; gap: 32px; }
  .topnav a:not(.cta) { display: none; }
  .strip-items { font-size: 13px; letter-spacing: 0.12em; }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 42px; }
  .lede { font-size: 16px; }
  .btn { padding: 12px 18px; }
  .strip-items { flex-wrap: wrap; }
}
