/* Bendle public site — palette from specs/02 (warm off-white, charcoal, forest green, amber). */
:root {
  --canvas: #f5f2ea;
  --alt: #f7f5f0;
  --surface: #ffffff;
  --ink: #171a17;
  --muted: #6f746d;
  --forest: #1f5a43;
  --forest-deep: #0b3a29;
  --explored: #2f7657;
  --amber: #d79a3b;
  --hairline: #e4e0d7;
  --radius: 18px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--explored); }

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

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--alt);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.icon { width: 36px; height: 36px; border-radius: 9px; }
.brand img.wordmark { height: 18px; width: auto; }
.site-nav { display: flex; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero {
  padding: 56px 0 24px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--amber); }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero h1 .accent { color: var(--forest); }
.hero .lead { margin: 0 0 30px; color: var(--muted); font-size: 19px; max-width: 32em; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
/* The art fades out on every side; soften its straight left edge into the page too. */
.hero-art { margin-right: -24px; }
.hero-art img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
  mask-image: linear-gradient(to right, transparent 0, #000 22%);
}

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 10px 22px 10px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, transform 0.15s ease;
}
.store:hover { color: #fff; background: var(--forest-deep); transform: translateY(-1px); }
.store-icon { width: 28px; height: 28px; flex: none; }
.store-text { display: flex; flex-direction: column; }
.store small { font-size: 12px; opacity: 0.8; }
.store strong { font-size: 19px; font-weight: 600; }

/* Core loop */
.loop { padding: 16px 0 56px; }
.loop-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.loop-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.loop-steps strong { font-size: 17px; }
.loop-steps span:last-child { color: var(--muted); font-size: 14px; line-height: 1.45; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.loop-steps li:nth-child(4) .step-num { background: var(--explored); }
.loop-steps li:nth-child(5) .step-num { background: var(--amber); }

/* Feature rows */
.feature { padding: 48px 0; }
.feature-alt { background: var(--alt); border-block: 1px solid var(--hairline); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row.reverse .feature-art { order: 2; }
.feature-art img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.feature-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.feature-copy > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); font-size: 18px; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(31, 90, 67, 0.12);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.3em + 4px);
  width: 5px;
  height: 9px;
  border: solid var(--forest);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Cards */
.section-title {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
  text-align: center;
}
.more { padding: 72px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Privacy band */
.band {
  background: var(--forest-deep);
  color: #f5f2ea;
  padding: 64px 0;
}
.band-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.band h2 { margin: 0 0 12px; font-size: 34px; letter-spacing: -0.01em; }
.band p { margin: 0; color: rgba(245, 242, 234, 0.8); }
.band-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.band-points li {
  padding: 18px 20px;
  border: 1px solid rgba(245, 242, 234, 0.16);
  border-radius: 14px;
  color: rgba(245, 242, 234, 0.8);
}
.band-points strong { display: block; color: #fff; margin-bottom: 2px; }

/* Plans */
.pro { padding: 72px 0; }
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
}
.plan h3 { margin: 0; font-size: 22px; }
.plan-price { margin: 4px 0 16px; color: var(--muted); }
.plan-pro { border: 2px solid var(--forest); background: linear-gradient(180deg, #fff, var(--alt)); }
.plan-pro h3 { color: var(--forest); }

/* FAQ */
.faq { padding: 24px 0 72px; }
.faq-wrap { max-width: 760px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--forest); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Final call to action */
.cta {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, var(--canvas), #ebe6d9);
  text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-icon { border-radius: 20px; box-shadow: 0 18px 40px -20px rgba(11, 58, 41, 0.6); }
.cta h2 { margin: 24px 0 8px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; }
.cta p { margin: 0 0 28px; color: var(--muted); font-size: 18px; }
.cta .stores { justify-content: center; }

/* Documents */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { margin: 0 0 6px; font-size: 40px; letter-spacing: -0.02em; line-height: 1.15; }
.doc .updated { margin: 0 0 36px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 40px 0 10px; font-size: 23px; }
.doc h3 { margin: 26px 0 6px; font-size: 18px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--hairline); }
.doc th { background: var(--alt); font-weight: 600; }
.note {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--alt);
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }

@media (max-width: 900px) {
  .loop-steps { grid-template-columns: repeat(2, 1fr); }
  .loop-steps li:last-child { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero { padding: 32px 0 8px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; margin: 0 -24px; }
  .hero-art img { -webkit-mask-image: none; mask-image: none; }
  .feature { padding: 32px 0; }
  .feature-row { grid-template-columns: 1fr; gap: 16px; }
  .feature-row.reverse .feature-art { order: 0; }
  .band-grid, .plans, .grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
