/* Bin Sifter — binsifter.com
   Brand: warm paper, ink, target-red accent. Matches the app UI palette. */

:root {
  --bg:        #faf7f2;
  --bg-warm:   #f3ece1;
  --panel:     #ffffff;
  --ink:       #171310;
  --ink-soft:  #2b2620;
  --muted:     #6f665b;
  --line:      #e6ddd0;
  --line-soft: #efe8dc;
  --accent:    #c0392b;   /* app red */
  --accent-dk: #9c2b20;
  --accent-soft:#fdf0ee;
  --brand-red: #e23b2e;   /* logo red */
  --green:     #1e7d43;
  --green-soft:#e7f5ec;
  --amber:     #9a6700;
  --amber-soft:#fdf3d7;
  --blue:      #1f5f8b;
  --blue-soft: #e8f1f8;
  --best:      #fff8e6;
  --shadow:    0 1px 2px rgba(23,19,16,.04), 0 8px 30px rgba(23,19,16,.06);
  --shadow-lg: 0 20px 60px rgba(23,19,16,.14);
  --radius:    14px;
  --maxw:      1120px;
  --font-display: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .8em;
}
.lead { font-size: 1.18rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 10px;
  border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff;
  cursor: pointer; transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(192,57,43,.22);
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); text-decoration: none; color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line); box-shadow: none;
}
.btn.ghost:hover { background: #fff; border-color: var(--muted); color: var(--ink); }
.btn.lg { font-size: 1.05rem; padding: 15px 28px; }
.btn.sm { font-size: .9rem; padding: 9px 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  color: var(--ink-soft); padding: 8px 13px; border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-warm); text-decoration: none; color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 48px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1.25fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 42ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-note { font-size: .92rem; color: var(--muted); }
.hero-note strong { color: var(--ink); font-weight: 600; }
.shot {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.shot img { display: block; }
.shot-caption { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- trust bar ---------- */
.trustbar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-warm); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.trust-item svg { flex: none; color: var(--accent); }

/* ---------- feature cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }
.ficon {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent);
}

/* ---------- alternating feature rows ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.frow + .frow { margin-top: 72px; }
.frow.rev .ftext { order: 2; }
.frow .ftext h2 { font-size: 1.7rem; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e7d43' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- callout / band ---------- */
.band { background: var(--ink); color: #f4efe8; }
.band h2 { color: #fff; }
.band .lead { color: #cfc6ba; }
.band a:not(.btn) { color: #fff; text-decoration: underline; }
.band .btn { box-shadow: none; text-decoration: none; }
.band .btn:not(.ghost) { color: #fff; }

.rule-band { background: var(--bg-warm); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.plan .price { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--ink); margin: 6px 0 2px; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .plan-sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: .96rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat; }
.plan li.off { color: var(--muted); }
.plan li.off::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b3a99b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center no-repeat; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- FAQ ---------- */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq .fa-body { padding: 16px 0 20px; color: var(--ink-soft); }
.faq .fa-body p:last-child { margin-bottom: 0; }

/* ---------- misc ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; font-family: var(--font-display); padding: 5px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.beta { background: var(--accent-soft); color: var(--accent); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.page-hero { padding: 60px 0 8px; }
.page-hero h1 { margin-bottom: .25em; }
.kicker-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-warm); border-top: 1px solid var(--line-soft); padding: 52px 0 30px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid img { height: 28px; margin-bottom: 14px; }
.footer-grid p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 14px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: .96rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .frow, .frow.rev .ftext { grid-template-columns: 1fr; }
  .frow.rev .ftext { order: 0; }
  .frow .fshot { order: 2; }
  .grid-3, .plans, .kicker-list { grid-template-columns: 1fr; }
  .steps, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .22s ease; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 13px 6px; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
