/* SnipKiwi static site — minimal stylesheet */
:root {
  --green: #8cc63f;
  --green-light: #c1e477;
  --green-dark: #6fa52c;
  --ink: #14181f;
  --ink-soft: #3a4250;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f6f8f3;
  --border: #e6e9e0;
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img, video { max-width: 100%; height: auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .free-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--green); color: #11240a; }
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(140,198,63,.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { text-decoration: none; border-color: var(--green); }
.btn[aria-disabled="true"] { opacity: .85; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 20px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--green-dark); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 28px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .demo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(20,24,31,.14); border: 1px solid var(--border); }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.free-banner {
  background: var(--green);
  color: #11240a;
  text-align: center;
  font-weight: 700;
  padding: 12px 20px;
  font-size: 15px;
}

/* ---- Features ---- */
.section { padding: 64px 0; }
.section h2 { font-size: 30px; letter-spacing: -.01em; margin: 0 0 8px; text-align: center; }
.section .sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 600px; }
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
}
.feature img { width: 44px; height: 44px; flex: none; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---- CTA strip ---- */
.cta-strip { background: var(--ink); color: #fff; text-align: center; padding: 56px 20px; }
.cta-strip h2 { color: #fff; margin: 0 0 10px; font-size: 28px; }
.cta-strip p { color: #b9c0cc; margin: 0 0 24px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 40px 0; margin-top: 20px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 10px; }
.site-footer .col a { display: block; color: var(--ink-soft); font-size: 14px; margin-bottom: 6px; }
.site-footer .legal { width: 100%; border-top: 1px solid var(--border); padding-top: 18px; color: var(--muted); font-size: 13px; }

/* ---- Docs ---- */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 40px 0 64px; }
.docs-nav { position: sticky; top: 88px; align-self: start; }
.docs-nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 12px; }
.docs-nav a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.docs-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.docs-nav a.active { background: var(--green-light); color: #11240a; font-weight: 700; }
.docs-content { max-width: 760px; min-width: 0; }
.docs-content h1 { font-size: 34px; letter-spacing: -.01em; margin: 0 0 8px; }
.docs-content h2 { font-size: 23px; margin: 36px 0 10px; padding-top: 8px; }
.docs-content h3 { font-size: 18px; margin: 26px 0 8px; }
.docs-content p, .docs-content li { color: var(--ink-soft); }
.docs-content img, .docs-content video { border-radius: var(--radius); border: 1px solid var(--border); margin: 8px 0 20px; }
.docs-content hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.docs-content ul, .docs-content ol { padding-left: 22px; }
.docs-content li { margin-bottom: 6px; }
.callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0;
}
.callout strong { color: var(--ink); }
.doc-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero h1 { font-size: 36px; }
  .features { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: static; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
}
