/* BotKeeps marketing site. One stylesheet, no build step. */
:root {
  --yellow: #ffd600;
  --black: #000;
  --ink: #1c1915;
  --muted: #5e584e;
  --paper: #f7f7f5;
  --line: rgba(0, 0, 0, 0.12);
  --header: 3.25rem;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.75rem; }

.hero h1 { font-size: clamp(2.6rem, 10vw, 6rem); margin: 0; }

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem;
  color: var(--black);
}

h3 { font-size: 1.15rem; margin: 0; }

p { margin: 0 0 0.8rem; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--black);
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  z-index: 100;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus { transform: none; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#features,
#how-heading,
#pricing,
#faq,
#contact,
#compare,
#trust,
#install {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem max(1.25rem, env(safe-area-inset-right, 0px)) 0.75rem max(1.25rem, env(safe-area-inset-left, 0px));
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--black);
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}

.wordmark {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.site-nav a {
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  padding: 0.35rem 0.1rem;
}

.site-nav a:hover { text-decoration: underline; }

.wrap {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 2.75rem;
  background: var(--yellow);
  color: var(--black);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: min(1100px, 100%);
}

.bee {
  flex: 0 0 240px;
  width: 240px;
}

.bee img { display: block; width: 100%; height: auto; }

.hero-copy { flex: 1 1 20rem; min-width: 0; max-width: 36rem; }

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rule {
  width: 200px;
  height: 3px;
  background: var(--black);
  margin: 0.7rem 0 1.1rem;
}

.tagline {
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.benefit {
  font-size: 1.125rem;
  line-height: 1.45;
  margin: 0;
  max-width: 34rem;
}

.restart {
  margin-top: 1.15rem;
  max-width: 36rem;
}

.restart p { margin: 0; font-size: 0.95rem; line-height: 1.45; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  background: var(--black);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  border: 1px solid var(--black);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  max-width: 100%;
}

.btn:hover { transform: translateY(-1px); }

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.section { padding: 3.25rem 0; }

.lede {
  font-size: 1.1rem;
  max-width: 42rem;
  margin: 0 0 1.5rem;
  opacity: 0.85;
}

.note {
  font-size: 0.98rem;
  max-width: 46rem;
  margin: -0.4rem 0 1.4rem;
  line-height: 1.45;
  opacity: 0.85;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
}

.feature h3 { margin-bottom: 0.45rem; }

.feature p { margin: 0; line-height: 1.45; }

.steps {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-items: start;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  font-weight: 800;
  grid-row: 1 / span 2;
}

.steps strong { display: block; font-size: 1.1rem; }

.steps span { opacity: 0.8; }

.trust-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.trust-list li {
  position: relative;
  padding: 0.95rem 1.1rem 0.95rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--yellow);
}

.pause {
  margin: 0 0 1.4rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
}

.pause a { font-weight: 800; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.plan {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.plan-max {
  border: 2px solid var(--black);
  background: rgba(0, 0, 0, 0.08);
  padding: calc(1.3rem - 1px) calc(1.2rem - 1px);
}

.plan-life {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.8rem;
}

.plan h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

.plan-life h3 { color: var(--yellow); }

.badge {
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-pop { background: #fff; border: 1.5px solid var(--black); color: var(--black); }

.badge-once { background: var(--yellow); color: var(--black); }

.blurb {
  margin: 0.7rem 0 0.2rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6rem;
}

.plan-life .blurb { color: var(--yellow); }

.limits {
  margin: 0.4rem 0 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.plan-life .limits { border-top-color: rgba(255, 255, 255, 0.18); }

.limits div {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.plan-life .limits div { border-bottom-color: rgba(255, 255, 255, 0.18); }

.limits dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.plan-life .limits dt { color: rgba(255, 255, 255, 0.7); }

.limits dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.plan .btn { width: 100%; margin-top: auto; }

.plan-max .btn { background: var(--black); color: var(--yellow); }

.plan-life .btn {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.compare {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1.2rem;
}

.compare summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.compare summary::-webkit-details-marker { display: none; }

.compare summary h2 { margin: 0; font-size: 1.6rem; }

.chev { font-size: 0.85rem; font-weight: 700; white-space: nowrap; }

.compare[open] .chev-open { display: none; }

.compare:not([open]) .chev-close { display: none; }

.swipe {
  display: none;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.9rem 0 0.6rem;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th, td {
  padding: 0.7rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: middle;
}

th:first-child, td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
  min-width: 12rem;
}

thead th {
  font-size: 0.95rem;
  background: #fff;
  position: sticky;
  top: 0;
}

thead th:first-child { z-index: 2; }

th.col-max, td.col-max { background: #fffbe6; }

th.col-life { background: var(--black); color: var(--yellow); }

td.col-life { background: #f1f0ec; }

tr.group td {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--muted);
}

tr.zebra td { background: #fafaf7; }

tr.zebra td.col-max { background: #fff8cc; }

tr.zebra td:first-child { background: #fafaf7; }

.yes {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--yellow);
}

.yes svg { width: 12px; height: 12px; }

.no { color: var(--muted); }

.foot {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.faq { display: grid; gap: 0.6rem; }

.faq details {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p { margin: 0.7rem 0 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

form { display: grid; gap: 0.8rem; }

.field { display: grid; gap: 0.3rem; }

label { font-weight: 700; font-size: 0.95rem; }

.optional { font-weight: 500; color: var(--muted); }

input, textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: inherit;
}

textarea { min-height: 7rem; resize: vertical; }

.fine { font-size: 0.86rem; color: var(--muted); margin: 0; }

.form-note {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.close {
  text-align: center;
  padding: 3.5rem 0 4rem;
}

.close .wrap { display: flex; flex-direction: column; align-items: center; }

.close-line {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  margin: 0.4rem 0 0;
}

.site-footer {
  background: var(--black);
  color: var(--yellow);
  padding: 0.85rem 0 1rem;
}

.site-footer-inner {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.byline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--yellow);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-left: auto;
}

.footer-nav a {
  font-weight: 700;
  text-decoration: none;
  color: var(--yellow);
  padding: 0.3rem 0;
}

.footer-nav a:hover { text-decoration: underline; }

.legal {
  width: min(70ch, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.75rem;
}

.legal h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 2rem 0 0.65rem;
}

.legal p, .legal li { font-size: 1.05rem; line-height: 1.65; }

.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }

.legal li { margin: 0.35rem 0; }

.legal a { font-weight: 700; }

.callout {
  background: var(--yellow);
  color: var(--black);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
}

.missing { padding: 4rem 0 5rem; }

:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.site-footer a:focus-visible,
.plan-life .btn:focus-visible {
  outline-color: var(--yellow);
}

@media (max-width: 980px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .hero { padding: 1.4rem 1.1rem 2rem; }
  .hero-inner { flex-direction: column; text-align: center; gap: 1.1rem; }
  .bee { width: min(42vw, 180px); flex-basis: auto; }
  .hero-copy { text-align: center; }
  .rule { margin-left: auto; margin-right: auto; }
  .benefit { margin-left: auto; margin-right: auto; }
  .btn { width: 100%; max-width: 28rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 2.4rem 0; }
  .swipe { display: block; }
  .site-footer-inner { width: calc(100% - 2.2rem); }
}

@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .bee { width: min(32vw, 132px); }
  .blurb { min-height: 0; }
  .site-header { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .site-nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}
