:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  color: #242335;
  background: #f6f5f1;
  --purple: #6852cc;
  --line: #e2e0da;
  --muted: #7c7a88;
  --green: #27866a;
  --red: #ba4c58;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
select {
  outline-offset: 5px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: 1px solid var(--line);
  background: white;
  color: #484553;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 12px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover {
  border-color: #a99cda;
  background: #f6f2ff;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a499e7;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.nav {
  max-width: 1230px;
  margin: auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 21px;
  letter-spacing: -0.8px;
}
.logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--purple);
  color: white;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}
.tag {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0;
  color: #898592;
  background: #eae8e2;
  padding: 4px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 12px;
  color: #74717e;
}
.star-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #dbd7e1;
  padding: 10px 15px;
  border-radius: 6px;
  color: #393547;
}
.star-link:hover {
  background: #efebfc;
}
main {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 90px;
  padding: 78px 0 82px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    10px ui-monospace,
    SFMono-Regular,
    monospace;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #807b8d;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8c78d9;
  flex-shrink: 0;
}
h1 {
  font-size: clamp(46px, 4.7vw, 65px);
  font-weight: 650;
  line-height: 1.09;
  letter-spacing: -3px;
  margin: 24px 0 20px;
  color: #25223a;
}
h1 em {
  font-style: normal;
  color: var(--purple);
}
.hero > div > p {
  max-width: 480px;
  color: #7b7788;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 29px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--purple);
  border: 1px solid var(--purple);
  color: white;
  border-radius: 6px;
  padding: 13px 19px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.primary:hover {
  background: #5842b7;
  color: white;
  border-color: #5842b7;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: #777082;
  font-size: 12px;
}
.text-button:hover {
  background: transparent;
  color: var(--purple);
}
.trust {
  display: flex;
  gap: 17px;
  margin-top: 27px;
  flex-wrap: wrap;
}
.trust span {
  font-size: 10px;
  color: #95909c;
  display: flex;
  gap: 6px;
  align-items: center;
}
.trust span:before {
  content: "✓";
  color: #716891;
}
.hero-card {
  position: relative;
  background: #fff;
  border: 1px solid #dfdce7;
  border-radius: 12px;
  box-shadow: 0 14px 45px #5f4f7c09;
  transform: rotate(1.3deg);
  margin-right: 8px;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: 12px -10px -12px 10px;
  border: 1px solid #ddd7e9;
  border-radius: 12px;
  z-index: -1;
  background: #eeebf3;
}
.card-top,
.card-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  padding: 17px 21px;
  color: #9791a4;
}
.card-top > span:last-child {
  margin-left: auto;
}
.status-dot {
  height: 6px;
  width: 6px;
  background: #9a87df;
  border-radius: 50%;
}
.code-preview {
  background: #f7f7fa;
  border-block: 1px solid #eeedf2;
  padding: 18px 0 17px;
  font:
    11px/2 ui-monospace,
    monospace;
}
.code-muted {
  display: block;
  margin: 0 21px 10px;
  color: #938ca3;
  font-size: 10px;
}
.code-preview div {
  padding: 2px 21px;
  color: #9b94a9;
}
.code-preview b {
  font-weight: 500;
  margin-right: 10px;
  color: #b58787;
}
.code-preview .code-added {
  background: #eaf5ef;
  color: #346a55;
}
.code-preview .code-added b {
  color: #4c9d76;
}
.signal {
  padding: 22px;
}
.severity {
  display: inline-block;
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 0.8px;
  border: 1px solid;
  padding: 4px 6px;
  border-radius: 3px;
  line-height: 1;
  white-space: nowrap;
}
.severity.high {
  background: #fff0eb;
  color: #b96a48;
  border-color: #efd8ca;
}
.severity.medium {
  background: #fff8e7;
  color: #a68024;
  border-color: #eeddaf;
}
.severity.info {
  background: #eeecfa;
  color: #7c68b6;
  border-color: #dcd6f0;
}
.signal h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 600;
  margin: 12px 0 9px;
}
.signal p {
  color: #8a8496;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  max-width: 310px;
}
.signal-foot {
  display: block;
  font-size: 10px;
  color: #aaa3b2;
  margin-top: 18px;
}
.card-bottom {
  border-top: 1px solid #efedf3;
  justify-content: space-between;
  font-size: 8px;
  padding-block: 13px;
}
.workspace {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.workspace-header h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  font-weight: 550;
  margin: 9px 0 0;
}
.local-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #859189;
  border: 1px solid #d9e2d9;
  border-radius: 99px;
  padding: 8px 12px;
}
.local-badge .live-dot {
  background: #6eaa85;
}
.input-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}
.input-panel {
  border: 1px solid #dcd9e2;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid #ebe9ed;
  min-height: 54px;
}
.panel-title h3 {
  font-size: 12px;
  letter-spacing: -0.1px;
  font-weight: 600;
  margin: 0;
}
.panel-title > div {
  display: flex;
  gap: 6px;
}
.mini-button {
  border: 0;
  padding: 5px 8px;
  font-size: 10px;
  color: #8a8198;
  background: #f4f2f8;
}
.input-panel textarea {
  width: 100%;
  height: 220px;
  resize: vertical;
  min-height: 180px;
  max-height: 600px;
  border: 0;
  padding: 20px;
  background: #fcfbfd;
  color: #625b73;
  display: block;
  font:
    11px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  white-space: pre;
  tab-size: 2;
  outline-offset: -3px;
}
.input-panel textarea::placeholder {
  color: #b3adbd;
}
.input-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 17px;
  border-top: 1px solid #ebe9ed;
}
.input-bottom > span {
  font:
    9px ui-monospace,
    monospace;
  color: #a19aaa;
}
.input-bottom .primary {
  padding: 10px 14px;
}
.examples-panel {
  padding: 20px 0 0 11px;
}
.examples-panel > .eyebrow {
  font-size: 9px;
}
.examples-panel > h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 12px 0 17px;
}
.examples-panel button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  padding: 13px 0;
  color: #615970;
}
.examples-panel button:hover {
  color: var(--purple);
  background: #f0edf7;
}
.example-number {
  font:
    10px ui-monospace,
    monospace;
  color: #b6a9ca;
}
.examples-panel button > b {
  font-size: 12px;
}
.examples-panel button b {
  font-size: 12px;
  font-weight: 500;
}
.examples-panel button small {
  display: block;
  font-size: 10px;
  color: #a19aaa;
  margin-top: 5px;
  line-height: 1.6;
}
.examples-panel button > span:last-child {
  margin-left: auto;
  color: #a08fbb;
}
.examples-panel > p {
  font-size: 10px;
  color: #a59eae;
  line-height: 1.8;
  max-width: 300px;
  margin-top: 19px;
}
.error {
  padding: 15px;
  background: #fff0ef;
  border: 1px solid #e5c3c1;
  border-radius: 7px;
  color: #a25353;
  font-size: 12px;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 44px 0 22px;
}
.results-heading h2 {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.6px;
  margin: 9px 0;
}
.results-heading p {
  font-size: 11px;
  color: #92899f;
  margin: 0;
}
.export-actions {
  display: flex;
  gap: 7px;
}
.export-actions button {
  font-size: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #ddd9e4;
  border-radius: 8px;
  padding: 21px 0;
  background: white;
  margin-bottom: 22px;
}
.stats > div {
  padding: 0 24px;
}
.stats > div + div {
  border-left: 1px solid #eeeaf3;
}
.stats > div > span {
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1.2px;
  color: #978ba7;
}
.stats strong {
  display: block;
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.5px;
  margin-top: 12px;
}
.line-totals i,
.line-totals em {
  font-size: 22px;
  font-style: normal;
}
.line-totals i {
  color: #5e9b7e;
}
.line-totals em {
  color: #c78283;
  margin-left: 6px;
}
.stats .count-high {
  font-size: 22px;
  color: #b77253;
}
.stats small {
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 400;
}
.count-medium {
  color: #af9455;
  margin-left: 16px;
}
.review-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 22px;
  align-items: start;
}
.findings-panel,
.diff-panel {
  background: white;
  border: 1px solid #ded9e7;
  border-radius: 8px;
  overflow: hidden;
}
.panel-title label {
  font-size: 9px;
  color: #a294b2;
  display: flex;
  gap: 8px;
  align-items: center;
}
.panel-title select,
.file-picker select {
  font-size: 10px;
  color: #85738f;
  background: #faf8fc;
  border: 1px solid #e5dfed;
  border-radius: 4px;
  padding: 5px;
}
.finding {
  padding: 18px;
  border-bottom: 1px solid #eeeaf3;
}
.finding-top {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.path-button {
  background: none;
  border: 0;
  padding: 2px;
  font:
    8px ui-monospace,
    monospace;
  color: #85728f;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 80%;
}
.finding h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 13px 0 8px;
  letter-spacing: -0.1px;
}
.finding p {
  font-size: 11px;
  color: #756b80;
  line-height: 1.85;
  margin: 0;
}
.check-action {
  display: flex;
  gap: 9px;
  align-items: start;
  font-size: 10px;
  line-height: 1.8;
  color: #756382;
  margin-top: 13px;
}
.check-action input {
  accent-color: var(--purple);
  margin: 3px 0 0;
  flex-shrink: 0;
}
.check-action:has(input:checked) span {
  color: #b1a6bb;
  text-decoration: line-through;
}
.scope-note {
  font-size: 9px;
  line-height: 1.8;
  color: #807289;
  padding: 15px 18px;
  background: #fcfbfd;
}
.diff-panel .panel-title > span {
  font:
    8px ui-monospace,
    monospace;
  color: #b1a5bd;
  letter-spacing: 1px;
}
.file-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a497b2;
  font-size: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee9f2;
}
.file-picker select {
  min-width: 0;
  flex: 1;
  font:
    9px ui-monospace,
    monospace;
}
#diff {
  max-height: 560px;
  min-height: 230px;
  overflow: auto;
  background: #fdfcfe;
  padding: 10px 0;
  font:
    9px/2 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.diff-line {
  display: flex;
  white-space: pre;
  min-width: max-content;
  align-items: baseline;
}
.diff-line > span {
  width: 30px;
  text-align: right;
  flex-shrink: 0;
  color: #c2b6cc;
  padding-right: 6px;
  user-select: none;
}
.diff-line > b {
  width: 16px;
  font-weight: 400;
  flex-shrink: 0;
  color: #b8aac2;
  user-select: none;
}
.diff-line > code {
  padding-right: 16px;
  font: inherit;
  color: #8a7c98;
}
.diff-line.add {
  background: #edf7f0;
}
.diff-line.add > code,
.diff-line.add > b {
  color: #519570;
}
.diff-line.remove {
  background: #fff0f0;
}
.diff-line.remove > code,
.diff-line.remove > b {
  color: #bd7a80;
}
.diff-line.hunk {
  background: #f0ecfa;
  margin: 8px 0;
}
.diff-line.hunk code {
  color: #9984b3;
}
.empty-state {
  padding: 28px 20px;
  font-size: 12px;
  color: #a294b2;
  line-height: 1.8;
}
.empty-state strong {
  font-size: 14px;
  font-weight: 500;
  color: #7e6a91;
}
.empty-state p {
  font-size: 11px;
  color: #807289;
}
.warning {
  padding: 15px;
  border-radius: 6px;
  font-size: 11px;
  background: #fff8e7;
  color: #a58751;
  border: 1px solid #eaddbf;
}
.share-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 25px;
  background: #ece8f6;
  border-radius: 8px;
  margin-top: 24px;
}
.share-banner strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  color: #6f598a;
}
.share-banner span {
  display: block;
  color: #a18cb3;
  font-size: 10px;
  margin-top: 5px;
}
.share-banner a {
  font-size: 11px;
  color: #816298;
  white-space: nowrap;
}
.how {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: 45px;
  margin: 74px 0;
  padding: 40px 0;
  border-block: 1px solid var(--line);
}
.how > div > .eyebrow {
  font-size: 8px;
  line-height: 1.7;
}
.how h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
  line-height: 1.3;
  font-weight: 550;
  margin: 15px 0;
}
.how > div > p {
  font-size: 11px;
  line-height: 1.9;
  color: #9b8fa6;
}
.usage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.usage-cards article {
  padding-top: 4px;
}
.usage-cards article > span {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #9e8db0;
}
.usage-cards h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 19px 0 11px;
}
.usage-cards p {
  font-size: 11px;
  line-height: 1.9;
  color: #9a8ca6;
}
.usage-cards code,
.usage-cards a {
  font:
    9px/1.8 ui-monospace,
    monospace;
  color: #8c75a4;
  overflow-wrap: anywhere;
}
.usage-cards code {
  display: block;
  background: #eeebf3;
  padding: 8px;
  border-radius: 4px;
  margin-top: 17px;
}
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 35px;
  align-items: start;
  padding: 0 0 40px;
}
footer > .wordmark {
  font-size: 17px;
}
footer > .wordmark .logo {
  width: 26px;
  height: 26px;
  font-size: 22px;
}
footer p {
  font-size: 10px;
  line-height: 1.9;
  color: #a296ad;
  margin: 0;
}
footer p a {
  color: #877196;
}
footer > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer > div > a {
  font-size: 11px;
  color: #8d73a2;
}
footer > div > span {
  font-size: 9px;
  line-height: 1.8;
  color: #b0a6b8;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  background: #342944;
  color: #f6eefc;
  box-shadow: 0 8px 25px #34294425;
  padding: 13px 20px;
  border-radius: 7px;
  font-size: 11px;
  transition: 0.2s;
  z-index: 20;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  main,
  .nav {
    max-width: 1320px;
  }
  .hero {
    gap: 130px;
  }
  .hero-card {
    margin-right: 30px;
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 40px;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .usage-cards {
    gap: 25px;
  }
  .stats > div {
    padding: 0 16px;
  }
  .count-medium {
    margin-left: 7px;
  }
  .results-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  main,
  .nav {
    padding-inline: 18px;
  }
  .nav {
    min-height: 78px;
  }
  .nav nav {
    gap: 10px;
  }
  .nav nav > a:not(.star-link) {
    display: none;
  }
  .wordmark {
    font-size: 19px;
  }
  .tag {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 45px 0 53px;
  }
  h1 {
    font-size: 49px;
    letter-spacing: -2.6px;
  }
  .hero > div > p {
    font-size: 13px;
  }
  .hero-card {
    margin: 0 10px;
  }
  .hero-actions {
    gap: 15px;
  }
  .trust {
    gap: 13px;
  }
  .workspace-header {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .workspace-header h2 {
    font-size: 20px;
  }
  .input-layout {
    grid-template-columns: 1fr;
  }
  .examples-panel {
    padding: 8px 0;
  }
  .input-panel textarea {
    height: 210px;
  }
  .input-bottom {
    padding: 12px;
  }
  .input-bottom > span {
    font-size: 8px;
  }
  .input-bottom .primary {
    padding: 10px;
    gap: 15px;
    font-size: 10px;
  }
  .results-heading h2 {
    font-size: 21px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .stats > div:nth-child(3) {
    border-left: 0;
  }
  .stats strong {
    font-size: 24px;
  }
  .stats .count-high {
    font-size: 20px;
  }
  .stats > div > span {
    font-size: 7px;
  }
  .share-banner {
    align-items: start;
    flex-direction: column;
    padding: 20px;
  }
  .usage-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .usage-cards article {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .how {
    margin: 42px 0;
  }
  .usage-cards h3 {
    margin-top: 11px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  footer > div {
    grid-column: 1/-1;
  }
  .diff-line > span {
    width: 25px;
  }
  .hero-actions .text-button {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
