/* Shomer Filter public site.
   Light by default, dark when the visitor's system asks for it. No webfonts, no
   external requests — the pages load instantly and leak nothing. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-card: #ffffff;
  --ink: #16202e;
  --ink-soft: #55637a;
  --line: #e2e8f0;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: #eff4ff;
  --good: #15803d;
  --radius: 14px;
  --wrap: 1060px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --bg-soft: #131f38;
    --bg-card: #16233d;
    --ink: #e6ecf5;
    --ink-soft: #9fb0c9;
    --line: #26364f;
    --accent: #4f83f1;
    --accent-ink: #08122a;
    --accent-soft: #17284a;
    --good: #4ade80;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

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

/* ---- header ---- */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
}
nav.site { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav.site a { color: var(--ink-soft); text-decoration: none; }
nav.site a:hover { color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--accent);
  cursor: pointer; font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-soft); filter: none; }
.btn.small { padding: 7px 14px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; filter: none; }

/* ---- hero ---- */
.hero { padding: 76px 0 60px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 0 0 18px;
  letter-spacing: -0.025em; max-width: 15ch;
}
.hero p.lead { font-size: 20px; color: var(--ink-soft); max-width: 58ch; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .note { color: var(--ink-soft); font-size: 15px; margin-top: 16px; }

/* ---- generic sections ---- */
section { padding: 62px 0; border-top: 1px solid var(--line); }
section.plain { border-top: 0; }
h2 { font-size: clamp(24px, 3.2vw, 33px); letter-spacing: -0.02em; margin: 0 0 10px; }
h2 + p.sub { color: var(--ink-soft); font-size: 18px; margin: 0 0 34px; max-width: 62ch; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---- the "how a request works" strip ---- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start;
}
.step .n {
  counter-increment: step; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.step .n::before { content: counter(step); }
.step h3 { margin: 2px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---- pricing ---- */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); align-items: start; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column;
  height: 100%;
}
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 12px;
}
.plan h3 { margin: 0 0 4px; font-size: 19px; }
.plan .blurb { color: var(--ink-soft); font-size: 15px; margin: 0 0 16px; min-height: 46px; }
.plan .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2px; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.plan .price.tbd { font-size: 19px; color: var(--ink-soft); font-weight: 600; }
.plan .seats { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 15px; }
.plan li { padding: 5px 0 5px 25px; position: relative; color: var(--ink-soft); }
.plan li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 9px; height: 5px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; text-align: center; margin-top: auto; }

/* ---- interval picker + add-on ---- */
.picker { margin: -14px 0 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.seg {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
}
.seg button {
  font: inherit; font-size: 15px; padding: 8px 18px; border-radius: 9px;
  border: 1px solid transparent; background: transparent; color: var(--ink-soft); cursor: pointer;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] {
  background: var(--bg-card); color: var(--ink); font-weight: 600;
  border-color: var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.seg button .save { display: block; font-size: 12px; color: var(--good); font-weight: 600; }

.addon {
  display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; max-width: 560px;
}
.addon:hover { border-color: var(--accent); }
.addon input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.addon-price { color: var(--accent); font-weight: 600; margin-left: 6px; }
.addon-detail { display: block; color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }

/* ---- honest-note callout ---- */
.callout {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 18px 22px; color: var(--ink-soft); font-size: 16px;
}
.callout strong { color: var(--ink); }

/* ---- prose (privacy, legal) ---- */
.prose { padding: 48px 0 72px; }
.prose h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 6px; }
.prose .updated { color: var(--ink-soft); font-size: 15px; margin: 0 0 34px; }
.prose h2 { font-size: 22px; margin: 38px 0 10px; }
.prose p, .prose li { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink-soft); font-weight: 600; }
.prose code {
  font-family: Consolas, ui-monospace, monospace; font-size: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 6px;
}
.prose blockquote {
  margin: 0 0 26px; padding: 14px 18px; background: var(--bg-soft);
  border-left: 3px solid var(--accent); border-radius: 8px; color: var(--ink-soft); font-size: 15.5px;
}

/* ---- footer ---- */
footer.site {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 34px 0; margin-top: 24px; font-size: 15px; color: var(--ink-soft);
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
