:root {
  --green-900: #0c3d28;
  --green-800: #0e5333;
  --green-700: #146c43;
  --green-600: #128552;
  --green-100: #e5f5ec;
  --green-50: #f3faf6;
  --ink: #1a2420;
  --muted: #5a6a62;
  --line: #dce3df;
  --bg: #f4f6f5;
  --footer: #143028;
  --footer-text: #e7f3ec;
  --focus: #0c3d28;
  --radius: 8px;
  --max: 1120px;
  --font: Inter, "Segoe UI", "Helvetica Neue", Arial, "Nimbus Sans", sans-serif;
  --star-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23128552' d='M10 1.4l2.35 5.16 5.61.58-4.22 3.73 1.24 5.48L10 13.9l-4.98 2.45 1.24-5.48L2.04 7.14l5.61-.58z'/%3E%3C/svg%3E");
  --star-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23C1CBC4' d='M10 1.4l2.35 5.16 5.61.58-4.22 3.73 1.24 5.48L10 13.9l-4.98 2.45 1.24-5.48L2.04 7.14l5.61-.58z'/%3E%3C/svg%3E");
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--green-800);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  scroll-margin-top: 80px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 8px;
}

#content:focus {
  outline: none;
}

#content:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

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

[hidden] {
  display: none !important;
}

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

.small {
  font-size: 0.875rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 8px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 32px;
  height: 32px;
  flex: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--green-800);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.nav-link:hover {
  background: var(--bg);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--green-800);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--green-700);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.btn:hover {
  background: var(--green-800);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: var(--green-800);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.hero {
  background: var(--green-50);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 32px;
}

.hero h1 {
  font-size: 1.75rem;
  max-width: 18ch;
}

.hero-center {
  text-align: center;
}

.hero-center h1,
.hero-center .lead {
  margin-inline: auto;
}

.lead {
  max-width: 42rem;
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--muted);
}

.search-panel {
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}

.search-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.search-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-row input {
  min-height: 48px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c5d0ca;
  border-radius: 6px;
  background: #fff;
}

.search-row input::placeholder {
  color: var(--muted);
}

.section {
  padding: 32px 0;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.cat-btn .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--green-700);
}

.cat-btn:hover {
  border-color: var(--green-700);
}

.cat-btn[aria-pressed="true"] {
  background: var(--green-100);
  border-color: var(--green-700);
  color: var(--green-900);
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.biz-grid,
.plan-grid,
.benefit-grid,
.steps,
.review-list,
.stack {
  display: grid;
  gap: 12px;
}

.biz-card,
.panel,
.review-card,
.benefit,
.plan,
.step,
.mini-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

a.biz-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

article.biz-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

a.biz-card:hover {
  border-color: var(--green-700);
  text-decoration: none;
}

.biz-row,
.review-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.biz-row > div,
.who {
  min-width: 0;
  flex: 1;
}

.mono,
.logo-img,
.avatar {
  flex: none;
}

.mono,
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.mono {
  display: grid;
  place-items: center;
  background: var(--mono, #1b3a34);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--av, #1b3a34);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

.card-title {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
}

.stars {
  --size: 18px;
  --rating: 0;
  display: inline-block;
  width: calc(var(--size) * 5);
  height: var(--size);
  background-image: var(--star-empty);
  background-repeat: repeat-x;
  background-size: var(--size) var(--size);
  position: relative;
  flex: none;
  vertical-align: -3px;
}

.stars::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating) / 5 * 100%);
  background-image: var(--star-fill);
  background-repeat: repeat-x;
  background-size: var(--size) var(--size);
}

.stars-lg {
  --size: 22px;
}

.card-foot {
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 600;
}

.band {
  background: var(--bg);
}

.empty {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps {
  list-style: none;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.step h3::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.875rem;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 32px 0 16px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
}

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

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.brand-on-dark {
  color: #fff;
  margin-bottom: 8px;
}

.footer-blurb {
  color: #d5e6dc;
  max-width: 36ch;
}

.footer-note {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d5e6dc;
  font-size: 0.875rem;
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.benefit h3,
.plan h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  margin-bottom: 10px;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  max-width: 100%;
}

.seg button {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  font-weight: 600;
  text-align: center;
}

.seg button + button {
  border-left: 1px solid var(--line);
}

.seg button[aria-pressed="true"],
.seg button[aria-selected="true"] {
  background: var(--green-700);
  color: #fff;
}

.browser {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.dots {
  display: inline-flex;
  gap: 4px;
  flex: none;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d0ca;
  display: block;
}

.browser-url {
  font-size: 0.8125rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.badge-mock {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  max-width: 320px;
}

.badge-mock img {
  width: 28px;
  height: 28px;
}

.mock-list {
  display: grid;
  gap: 8px;
}

.mock-list article {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.mock-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

pre {
  margin: 12px 0 0;
  padding: 12px;
  background: var(--bg);
  border-radius: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: "Cascadia Mono", "Liberation Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan.is-featured {
  border-color: var(--green-700);
  box-shadow: inset 0 3px 0 var(--green-700);
}

.plan ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 6px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price .per {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.plan .btn {
  margin-top: auto;
}

.plan-note {
  margin-top: 16px;
  padding: 12px;
  background: var(--green-50);
  border-radius: 8px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 6px;
  color: var(--muted);
}

.biz-identity {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  min-width: 0;
}

.biz-identity .logo-img {
  width: 72px;
  height: 72px;
}

.biz-identity h1 {
  font-size: 1.75rem;
  overflow-wrap: anywhere;
}

.score-num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.score-block {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.dist-list {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.dist {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

.dist[aria-pressed="true"] {
  background: var(--green-100);
  border-color: var(--green-700);
}

.dist-track {
  height: 8px;
  background: #e3e8e5;
  border-radius: 99px;
  overflow: hidden;
}

.dist-bar {
  display: block;
  height: 100%;
  background: var(--green-600);
  border-radius: 99px;
}

.dist-count {
  font-variant-numeric: tabular-nums;
  min-width: 1.5rem;
  text-align: right;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.field select {
  min-height: 44px;
  min-width: 12rem;
  max-width: 100%;
  padding: 8px 36px 8px 12px;
  border: 1px solid #c5d0ca;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%231A2420' d='M5 7.5 10 13l5-5.5z'/%3E%3C/svg%3E") no-repeat right 10px center / 16px 16px;
  appearance: none;
}

.details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin-top: 8px;
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.8125rem;
  font-weight: 700;
  flex: none;
}

.badge svg {
  width: 14px;
  height: 14px;
  display: block;
}

.review-card h3 {
  font-size: 1.0625rem;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.review-body {
  margin-top: 6px;
}

.helpful {
  margin-top: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
}

.helpful[aria-pressed="true"] {
  background: var(--green-100);
  border-color: var(--green-700);
  color: var(--green-900);
}

.reply {
  margin-top: 12px;
  padding: 12px;
  background: var(--green-50);
  border-radius: 6px;
  border-left: 3px solid var(--green-700);
  display: grid;
  gap: 4px;
}

.reply-label {
  font-weight: 700;
}

.side-stack {
  display: grid;
  gap: 12px;
}

.review-layout {
  display: grid;
  gap: 20px;
}

.write-note {
  margin-bottom: 12px;
  color: var(--muted);
}

@media (max-width: 859px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #site-nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 12px;
  }

  #site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list .btn {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .search-row {
    flex-direction: row;
    align-items: center;
  }

  .search-row input {
    flex: 1;
    width: auto;
  }
}

@media (min-width: 700px) {
  .biz-grid,
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .steps,
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1,
  .biz-identity h1 {
    font-size: 2.25rem;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .section {
    padding: 48px 0;
  }
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  #site-nav {
    display: block;
    flex: 1;
  }

  .hero-grid,
  .display-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 980px) {
  .biz-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .review-layout {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }

  .side-stack {
    position: sticky;
    top: 80px;
  }
}

@media (max-width: 400px) {
  .biz-card,
  .panel,
  .review-card,
  .benefit,
  .plan,
  .step,
  .mini-review {
    padding: 12px;
  }
}

@media (forced-colors: active) {
  .stars,
  .dist-bar,
  .btn {
    forced-color-adjust: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
