/* ─── Pickle web — inpickle.app ──────────────────────────────────────────── */

:root {
  --brand: #1b3a1f;
  --accent: #ccff00;
  --accent-tint: rgba(204, 255, 0, 0.16);
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-sunken: #f4f2ec;
  --border: #eae8e2;
  --text: #1b3a1f;
  --text-secondary: #6e6e73;
  --green-label: #4f6f53;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .store-btn:hover, .screens img:nth-child(2), .screens img:nth-child(3) { transform: none !important; }
}

a:focus-visible, button:focus-visible, .store-btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 18px;
  border-radius: 10px; text-decoration: none; font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: var(--green-label); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
nav .wordmark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; color: var(--brand);
  text-decoration: none;
}
nav .wordmark img { height: 34px; width: 34px; }
nav .links { display: flex; gap: 22px; align-items: center; }
nav .links a {
  color: var(--brand); text-decoration: none; font-weight: 600; font-size: 15px;
}
nav .links a:hover { color: var(--green-label); }
nav .links .nav-cta {
  background: var(--brand); color: #fff; padding: 9px 18px;
  border-radius: 10px; text-decoration: none;
}
nav .links .nav-cta:hover { background: var(--green-label); color: #fff; }

/* ── Hero ── */
.hero { text-align: center; padding: 48px 0 40px; }
.hero img.hero-logo { width: min(340px, 78vw); height: auto; margin-bottom: -36px; }
@media (max-width: 480px) {
  .hero { padding-top: 28px; }
  .hero img.hero-logo { width: min(260px, 62vw); margin-bottom: -24px; }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  color: var(--brand);
}
.hero h1 .zing {
  background: linear-gradient(180deg, transparent 58%, var(--accent) 58%);
  padding: 0 4px;
}
.hero p.sub {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 18px auto 0;
}

.store-row {
  display: flex; gap: 14px; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-top: 34px;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: #fff;
  padding: 14px 26px; border-radius: 14px;
  text-decoration: none; font-weight: 700; font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 0 rgba(27, 58, 31, 0.25);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27, 58, 31, 0.25); }
.store-btn svg { height: 22px; width: 22px; }
.store-btn.soon {
  background: var(--surface); color: var(--text-secondary);
  border: 2px dashed var(--border); box-shadow: none; cursor: default;
}
.store-btn.soon:hover { transform: none; box-shadow: none; }
.store-btn.soon .pill {
  background: var(--accent-tint); color: var(--green-label);
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px;
}
.store-row-secondary {
  margin-top: 18px;
}
.trust-line {
  color: var(--text-secondary); font-size: 14px; margin-top: 16px;
}

/* ── Screens strip ── */
.screens {
  display: flex; gap: 22px; justify-content: center; align-items: flex-start;
  padding: 44px 0 10px; flex-wrap: wrap;
}
.screens figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.screens img {
  width: min(240px, 62vw);
  height: auto;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(27, 58, 31, 0.16);
}
.screens figcaption {
  font-weight: 700; font-size: 14px; color: var(--brand);
}
.screens figure:nth-child(2) { transform: translateY(26px); }
.screens figure:nth-child(3) { transform: translateY(6px); }
@media (max-width: 760px) {
  .screens figure:nth-child(2), .screens figure:nth-child(3) { transform: none; }
}

/* ── Real Pickle proof card ── */
.proof {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  max-width: 460px; margin: 0 auto; text-align: center;
  box-shadow: 0 18px 44px rgba(27, 58, 31, 0.1);
}
.proof .proof-question { font-weight: 700; font-size: 17px; margin-bottom: 18px; }
.proof .proof-bars { display: flex; gap: 10px; margin-bottom: 10px; }
.proof .proof-bar {
  flex: 1; border-radius: 12px; padding: 14px 10px;
  font-weight: 800; font-size: 15px;
}
.proof .proof-bar.lead { background: var(--brand); color: var(--accent); }
.proof .proof-bar.trail { background: var(--surface-sunken); color: var(--text-secondary); }
.proof .proof-meta { color: var(--text-secondary); font-size: 14px; margin-top: 10px; }
.proof-wrap { text-align: center; padding: 60px 0; }
.proof-wrap .lede { margin: 0 auto 34px; }

/* ── FAQ ── */
.faq { max-width: 720px; margin: 40px auto 0; display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 4px 20px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--green-label); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--text-secondary); padding: 0 0 18px; font-size: 15px; }

/* ── Sections ── */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker {
  display: inline-block; background: var(--accent); color: var(--brand);
  font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
section p.lede { color: var(--text-secondary); font-size: 18px; max-width: 620px; }

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin-top: 40px;
}
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
}
section.alt .step { background: var(--surface-sunken); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--accent); color: var(--brand); font-weight: 800;
  margin-bottom: 14px; font-size: 15px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: 15px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px; margin-top: 40px;
}
.feature {
  border-radius: var(--radius); padding: 26px 22px;
  background: var(--brand); color: #fff;
}
.feature h3 { color: var(--accent); font-size: 19px; margin-bottom: 8px; }
.feature p { color: rgba(255, 255, 255, 0.82); font-size: 15px; }

/* ── CTA band ── */
.cta-band {
  background: var(--brand); border-radius: 26px;
  padding: 56px 32px; text-align: center; color: #fff;
  margin: 0 0 80px;
}
.cta-band h2 { color: #fff; }
.cta-band h2 .zing { color: var(--accent); background: none; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 10px auto 28px; max-width: 480px; }
.cta-band .store-btn { background: var(--accent); color: var(--brand); box-shadow: none; }
.cta-band .store-btn:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); }
.cta-band .cta-trust { color: rgba(255, 255, 255, 0.7); }
.cta-wrap { padding-top: 70px; }

/* ── Legal / article pages ── */
.article { padding: 40px 0 90px; }
.article h1 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 6px; }
.article .meta { color: var(--text-secondary); font-size: 14px; margin-bottom: 36px; }
.article h2 { font-size: 22px; margin: 38px 0 10px; }
.article h2.faq-q { font-size: 18px; }
.article p, .article li { color: #3c4a3e; font-size: 16px; }
.article ul { padding-left: 22px; margin: 10px 0; }
.article li { margin: 6px 0; }
.article strong { color: var(--brand); }
.article .callout {
  background: var(--accent-tint); border: 1px solid rgba(204, 255, 0, 0.55);
  border-radius: var(--radius); padding: 18px 22px; margin: 26px 0;
}
.article .callout p { color: var(--brand); margin: 0; }
.article ol { padding-left: 22px; margin: 10px 0; }
.article ol li { margin: 8px 0; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 46px; text-align: center;
  color: var(--text-secondary); font-size: 14px;
}
footer .foot-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--green-label); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ── Hamburger menu (mobile only) ── */
nav { position: relative; }
.menu-btn {
  background: none; border: 0; cursor: pointer;
  display: none; flex-direction: column; gap: 4.5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 8px;
}
.menu-btn:hover { background: var(--surface-sunken); }
.menu-btn span { width: 22px; height: 2.5px; background: var(--brand); border-radius: 2px; }
.menu-panel {
  position: absolute; top: 62px; right: 0; z-index: 50;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 14px 40px rgba(27, 58, 31, 0.16);
  padding: 8px; min-width: 220px; display: none;
}
.menu-panel.open { display: block; }
.menu-panel a {
  display: block; padding: 11px 14px; border-radius: 9px;
  text-decoration: none; color: var(--brand); font-weight: 600; font-size: 15px;
}
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--surface-sunken); }
.nav-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 720px) {
  nav .links { display: none; }
  .menu-btn { display: flex; }
}
