.website-badge-page {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: 28px 40px 88px;
  color: var(--ln-ink);
  --badge-panel: color-mix(in srgb, var(--ln-sage) 72%, var(--ln-paper));
  --badge-hover: 0 6px 16px color-mix(in srgb, #000 12%, transparent);
}

.website-badge-page :where(button, a, summary):focus-visible {
  outline: 2px solid var(--ln-accent);
  outline-offset: 3px;
}

.website-badge-finder { max-width: 640px; padding-block-start: 36px; }
.website-badge-finder .website-badge-eyebrow {
  margin: 0 0 10px;
  color: var(--ln-accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.landing-content .website-badge-finder h1,
.website-badge-selected .website-badge-selected-title {
  color: var(--ln-ink);
  font-family: var(--ln-font);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.website-badge-selected .website-badge-selected-title { font-size: 30px; margin-block-end: 6px; }
.website-badge-selected-title:focus { outline: none; }
.website-badge-page .website-badge-lead { color: var(--ln-muted); font-size: 16px; line-height: 1.5; margin: 0; }
.website-badge-selected .website-badge-lead a { display: block; width: fit-content; }
.website-badge-page :where(.website-badge-guide-link, .website-badge-lead a, .website-badge-install-panel a:not(.ask-ai-action)) {
  color: var(--ln-accent-dark);
  text-decoration: underline;
  text-underline-offset: .14em;
}
.website-badge-page .website-badge-back {
  align-items: center;
  color: var(--ln-muted);
  display: inline-flex;
  font-size: 15px;
  font-weight: 650;
  gap: 7px;
  margin-block-end: 22px;
  text-decoration: none;
}
.website-badge-back:hover { color: var(--ln-ink); }
.website-badge-identity { align-items: center; display: flex; gap: 16px; }
.website-badge-identity img {
  background: var(--badge-panel);
  border-radius: 14px;
  flex: none;
  height: 56px;
  object-fit: cover;
  width: 56px;
}

.website-badge-lookup {
  background: var(--ln-paper);
  border: 1px solid var(--ln-line);
  border-radius: 14px;
  display: flex;
  gap: 8px;
  margin-block-start: 24px;
  padding: 6px;
}
.website-badge-lookup:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ln-accent) 42%, transparent); }
.website-badge-field { align-items: center; display: flex; flex: 1; gap: 10px; margin: 0; min-width: 0; padding: 0 10px; }
.website-badge-field svg { color: var(--ln-muted); flex: none; }
.website-badge-field input[type="search"] {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--ln-ink);
  flex: 1;
  font: inherit;
  font-size: 16px;
  height: 44px;
  margin: 0;
  min-width: 0;
  outline: none;
  padding: 0;
}
.website-badge-field input[type="search"]:focus-visible { outline: none; }
.website-badge-field input::placeholder { color: var(--ln-muted); opacity: 1; }

.website-badge-page .website-badge-button {
  align-items: center;
  appearance: none;
  background: var(--ln-action);
  border: 0;
  border-radius: 10px;
  color: var(--ln-on-action);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.15;
  min-height: 44px;
  padding: 0 24px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}
@media (hover: hover) {
  .website-badge-page .website-badge-button:hover:not(:disabled) { box-shadow: var(--badge-hover); }
}
.website-badge-page .website-badge-button:disabled { cursor: default; opacity: .63; }
.website-badge-page .website-badge-find:disabled { background: var(--ln-secondary-action); color: var(--ln-muted); opacity: 1; }
.website-badge-find { flex: none; white-space: nowrap; }
.website-badge-page :is(.website-badge-hint, .website-badge-status) { color: var(--ln-muted); font-size: 13px; line-height: 1.45; margin: 12px 0 0; }
.website-badge-status:not([hidden]) { color: var(--ln-ink); }
.website-badge-matches { display: grid; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.website-badge-matches a {
  align-items: center;
  background: var(--ln-paper);
  border: 1px solid var(--ln-line);
  border-radius: 12px;
  color: var(--ln-ink);
  display: flex;
  font: inherit;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  text-align: start;
  text-decoration: none;
  width: 100%;
}
.website-badge-matches a:hover { box-shadow: var(--badge-hover); }
.website-badge-matches img { background: var(--badge-panel); border-radius: 10px; height: 44px; object-fit: cover; width: 44px; }
.website-badge-matches a > span:first-of-type { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.website-badge-match-arrow { color: var(--ln-muted); font-size: 23px; line-height: 1; }
.website-badge-matches strong { overflow-wrap: anywhere; }
.website-badge-matches small { color: var(--ln-accent-dark); overflow-wrap: anywhere; }
.website-badge-match-section, .website-badge-no-match { border-block-start: 1px solid var(--ln-line); margin-block-start: 36px; padding-block-start: 28px; }
.website-badge-no-match p { margin: 0 0 15px; color: var(--ln-muted); }

.website-badge-why, .website-badge-plan { border-block-start: 1px solid var(--ln-line); margin-block-start: 28px; padding-block-start: 32px; }
.website-badge-plan { margin-block-start: 32px; }
.website-badge-page .website-badge-section-title {
  color: var(--ln-ink);
  font-family: var(--ln-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 22px;
  text-align: center;
  text-wrap: balance;
}

.website-badge-benefits, .website-badge-steps {
  display: grid;
  gap: 16px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.website-badge-benefits > li, .website-badge-steps > li { min-width: 0; padding: 0 16px; position: relative; text-align: center; }
.website-badge-page :is(.website-badge-benefits, .website-badge-steps) h3 {
  color: var(--ln-ink);
  font-family: var(--ln-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
  margin: 12px 0 0;
}
.website-badge-page :is(.website-badge-benefits, .website-badge-steps) p { color: var(--ln-muted); font-size: 14px; line-height: 1.45; margin: 5px 0 0; }
.website-badge-icon, .website-badge-step { align-items: center; display: inline-flex; flex: none; justify-content: center; }
.website-badge-icon { background: var(--badge-panel); border-radius: 18px; color: var(--ln-accent-dark); height: 56px; width: 56px; }
.website-badge-benefits > li:first-child .website-badge-icon { background: color-mix(in srgb, var(--ln-accent) 20%, var(--ln-paper)); }
.website-badge-benefits > li:last-child .website-badge-icon { background: color-mix(in srgb, var(--ln-action) 10%, var(--ln-paper)); }
.website-badge-step { background: var(--ln-action); border-radius: 50%; color: var(--ln-on-action); font-weight: 700; height: 36px; width: 36px; }
.website-badge-steps > li:not(:last-child)::after {
  background: var(--ln-line);
  content: "";
  height: 2px;
  left: calc(50% + 28px);
  position: absolute;
  top: 17px;
  width: calc(100% - 56px);
}

.website-badge-developer, .website-badge-install > summary { color: var(--ln-muted); font-size: 14px; line-height: 1.45; margin-block-start: 12px; }
.website-badge-developer > span, .website-badge-install > summary > span { display: block; }
.website-badge-developer :is(a, button), .website-badge-install > summary strong {
  align-items: center;
  background: none;
  border: 0;
  color: var(--ln-accent-dark);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  gap: 7px;
  margin-block-start: 3px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.website-badge-install > summary { cursor: pointer; list-style: none; margin-inline-start: 66.667%; text-align: center; }
.website-badge-install > summary::-webkit-details-marker { display: none; }
.website-badge-install:not([open]) .website-badge-install-close,
.website-badge-install[open] .website-badge-install-open { display: none; }
.website-badge-install-panel { background: var(--badge-panel); border-radius: 16px; margin-block-start: 22px; padding: 20px; }
.website-badge-page .website-badge-install-panel p { margin: 12px 0 0; font-size: 14px; color: var(--ln-muted); }
.website-badge-install-steps { counter-reset: badge-install; display: grid; font-size: 15px; gap: 12px; line-height: 1.5; list-style: none; margin: 18px 0 0; padding: 0; }
.website-badge-install-steps li { counter-increment: badge-install; padding-inline-start: 38px; position: relative; }
.website-badge-install-steps li::before {
  background: var(--ln-paper);
  border-radius: 50%;
  color: var(--ln-ink);
  content: counter(badge-install);
  font-size: 13px;
  font-weight: 700;
  inset-inline-start: 0;
  line-height: 26px;
  position: absolute;
  text-align: center;
  width: 26px;
}
.website-badge-install-ai { border-block-start: 1px solid var(--ln-line); margin-block-start: 18px; }
.website-badge-install-ai .ask-ai-actions { margin-block-start: 10px; }

.website-badge-designs { --badge-scale: 1; scroll-margin-block-start: 7rem; }
.website-badge-designs[data-preview-size="s"] { --badge-scale: .75; }
.website-badge-designs[data-preview-size="l"] { --badge-scale: 1.5; }
.website-badge-controls {
  align-items: center;
  background: var(--badge-panel);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 12px 24px;
  margin-block-start: 36px;
  padding: 14px 18px;
}
.website-badge-controls > strong { flex-basis: 100%; }
.website-badge-options { display: flex; flex-wrap: wrap; gap: 12px 20px; min-width: 0; }
.website-badge-option { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 10px; min-width: 0; }
.website-badge-option > span { color: var(--ln-muted); font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.website-badge-option-buttons { background: var(--ln-sage); border-radius: 13px; display: inline-flex; flex-wrap: wrap; gap: 1px; min-width: 0; padding: 4px; }
.website-badge-option-buttons button {
  background: none;
  border: 0;
  border-radius: 9px;
  color: var(--ln-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 30px;
  padding: 4px 14px;
}
.website-badge-option-buttons button[aria-pressed="true"] { background: var(--ln-paper); box-shadow: 0 1px 3px #0002; }
.website-badge-option-buttons button:hover { background: color-mix(in srgb, var(--ln-paper) 72%, transparent); }

.website-badge-group { --badge-group-height: 44px; margin-block-start: 36px; }
.website-badge-group[data-preview-height="84"] { --badge-group-height: 84px; }
.website-badge-group[data-preview-height="128"] { --badge-group-height: 128px; }
.website-badge-group[data-preview-height="156"] { --badge-group-height: 156px; }
.website-badge-group[data-preview-height="160"] { --badge-group-height: 160px; }
.website-badge-page :is(.website-badge-group, .website-badge-match-section, .website-badge-no-match, .website-badge-notes) h2 {
  color: var(--ln-ink);
  font-family: var(--ln-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
  margin: 0 0 6px;
}
.website-badge-page .website-badge-group > p { color: var(--ln-muted); font-size: 14px; line-height: 1.45; margin: 0 0 16px; }
.website-badge-grid { display: grid; gap: 28px 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.website-badge-card { align-items: flex-start; display: flex; flex-direction: column; min-width: 0; }
.website-badge-card--wide { grid-column: span 2; }
.website-badge-preview {
  align-items: center;
  align-self: stretch;
  background: #f4f4f5;
  border-radius: 12px;
  display: flex;
  height: max(150px, calc(var(--badge-group-height) * var(--badge-scale) + 48px));
  justify-content: center;
  overflow: hidden;
  padding: 14px;
}
.website-badge-designs[data-preview-surface="dark"] .website-badge-preview { background: #151619; }
.website-badge-designs[data-preview-surface="color"] .website-badge-preview { background: #e4d1aa; }
.website-badge-preview img { display: block; max-height: 100%; max-width: 100%; object-fit: contain; width: auto; }
.website-badge-page .website-badge-card h3 {
  color: var(--ln-ink);
  font-family: var(--ln-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 14px 0 2px;
}
.website-badge-page .website-badge-card p { color: var(--ln-muted); font-size: 14px; line-height: 1.45; margin: 0 0 12px; }
.website-badge-card small { font-size: 12px; white-space: nowrap; }
.website-badge-page .website-badge-copy { border-radius: 9px; font-size: 13px; margin-block-start: auto; min-height: 36px; padding: 8px 12px; }
.website-badge-page .website-badge-copy.is-demo { background: var(--ln-secondary-action); color: var(--ln-ink); }
.website-badge-copy.is-demo svg { display: none; }
.website-badge-code { align-self: stretch; color: var(--ln-muted); font-size: 13px; margin-block-start: 10px; }
.website-badge-code summary { cursor: pointer; width: fit-content; }
.website-badge-code pre {
  background: #101c2b;
  border-radius: 10px;
  color: #f2f1ed;
  font: 11.5px/1.5 ui-monospace, Menlo, Consolas, monospace;
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  white-space: pre-wrap;
}
.website-badge-code code { font: inherit; }

.website-badge-notes { border-block-start: 1px solid var(--ln-line); margin-block-start: 48px; padding-block-start: 28px; }
.website-badge-notes ul { display: grid; gap: 8px; list-style: none; margin: 12px 0 20px; padding: 0; }
.website-badge-notes li { align-items: flex-start; display: flex; font-size: 15px; gap: 10px; line-height: 1.5; }
.website-badge-notes li svg { color: var(--ln-accent-dark); flex: none; margin-block-start: 3px; }
.website-badge-notes .partner-entry-signup { font-size: 13px; min-height: 40px; }
.website-badge-guide-link { display: inline-flex; font-size: 13px; margin: 12px 0 0 12px; }

@media (max-width: 900px) {
  .website-badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .website-badge-page { padding: 20px 20px 56px; }
  .landing-content .website-badge-finder h1 { font-size: 32px; }
  .website-badge-selected .website-badge-selected-title { font-size: 25px; }
  .website-badge-lookup { flex-direction: column; }
  .website-badge-page .website-badge-find { min-height: 46px; }
  .website-badge-page .website-badge-section-title { text-align: start; }
  .website-badge-benefits, .website-badge-steps { grid-template-columns: minmax(0, 1fr); }
  .website-badge-benefits > li, .website-badge-steps > li {
    align-items: start;
    column-gap: 14px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 0;
    text-align: start;
  }
  .website-badge-steps > li { grid-template-columns: 36px minmax(0, 1fr); }
  .website-badge-steps li::after { display: none; }
  .website-badge-page :is(.website-badge-benefits, .website-badge-steps) h3 { margin-block-start: 6px; }
  .website-badge-install > summary { margin-inline-start: 50px; text-align: start; }
  .website-badge-option-buttons button { padding-inline: 9px; }
  .website-badge-page .website-badge-copy { min-height: 40px; }
  .website-badge-guide-link { margin-inline-start: 0; display: block; }
}
