@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-regular-3.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: transparent;
}
body {
  display: grid;
  place-items: center;
  font-family: "Public Sans", Arial, sans-serif;
}
.search-demo {
  position: relative;
  width: min(100%, 334px);
  height: min(100%, 400px);
  overflow: hidden;
  border-radius: 12px;
  background: #fafafa;
  color: #35353e;
}
.search-stage {
  position: absolute;
  width: 334px;
  height: 400px;
  left: 50%;
  transform: translateX(-50%) scale(var(--scale, 1));
  transform-origin: top center;
}
.browser {
  position: absolute;
  top: 26px;
  left: 25px;
  width: 284px;
  height: 356px;
  border: 1px solid #dddde3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  mask-image: linear-gradient(#000 0%, #000 84%, transparent 100%);
}
.browser-chrome {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  background: #f0f0f2;
  border-bottom: 1px solid #e7e7ea;
}
.window-dots {
  display: flex;
  gap: 3px;
}
.window-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bdbdc6;
}
.address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 15px;
  border-radius: 4px;
  background: #fafafa;
  font-size: 6px;
  color: #70707b;
}
.address svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.new-tab {
  color: #73737d;
  font-size: 12px;
}
.browser-content {
  padding: 17px 14px 0;
}
.search-input {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border: 1px solid #cfcfd7;
  border-radius: 6px;
  background: #fff;
}
.search-icon {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #73737d;
  stroke-width: 1.5;
}
.search-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  font:
    10px/1.3 "Public Sans",
    Arial,
    sans-serif;
  background: transparent;
  color: #35353e;
  pointer-events: none;
}
.submit {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 4px;
  background: #f0effa;
  color: #6861d8;
}
.submit svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.engines {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 38px;
  border-bottom: 1px solid #e9e9ed;
}
.engine {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8px;
  color: #64646e;
}
.engine img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}
.engine-underline {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 33.3333%;
  height: 2px;
  background: #6861d8;
  transform: translateX(0);
}
.results {
  position: relative;
  height: 228px;
  margin-top: 16px;
}
.result-panel {
  position: absolute;
  inset: 0;
}
.result {
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
}
.result-a {
  top: 0;
}
.result-b {
  top: 67px;
}
.brand-result {
  top: 134px;
}
.result-d {
  top: 201px;
}
.site-row {
  display: flex;
  align-items: center;
  height: 19px;
  gap: 5px;
  font-size: 7px;
}
.site-row small {
  display: block;
  margin-top: 2px;
  font-size: 5px;
  color: #75757e;
}
.site-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e6e6ea;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: #ecebf7;
  border-radius: 5px;
  color: #6861d8;
  font-size: 13px;
  font-weight: 600;
}
.wire-line {
  display: block;
  width: 94%;
  height: 3px;
  margin-top: 5px;
  border-radius: 1px;
  background: #e8e8ed;
  transform-origin: left;
}
.wire-line.short {
  width: 67%;
}
.wire-line.tiny {
  width: 57px;
  height: 3px;
  margin: 0;
}
.wire-line.title {
  width: 70%;
  height: 5px;
  background: #cfcfd9;
}
.brand-result strong {
  display: block;
  margin: 6px 0 6px;
  color: #625abb;
  font-size: 10px;
  font-weight: 500;
}
.result-check {
  margin-left: auto;
  margin-right: 3px;
  color: #6861d8;
  font-size: 10px;
}
.brand-result::before {
  content: "";
  position: absolute;
  inset: -5px -6px -2px;
  border-radius: 5px;
  background: #f5f4fb;
  z-index: -1;
}
.ai-results {
  opacity: 0;
}
.answer-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 600;
}
.answer-heading img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.answer-body {
  margin-top: 13px;
}
.answer-body p {
  margin: 0 0 10px;
  font-size: 9px;
  line-height: 1.65;
}
.answer-body .wire-line {
  margin-top: 6px;
}
.source-card {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dedbef;
  border-radius: 6px;
  background: #faf9fd;
}
.source-card strong {
  display: block;
  font-size: 9px;
  font-weight: 500;
}
.source-card div > span {
  display: block;
  margin-top: 4px;
  font-size: 7px;
  color: #6b687c;
}
.source-arrow {
  margin-left: auto;
  color: #6861d8;
  font-size: 13px;
}
.sources-footer {
  display: flex;
  align-items: center;
  margin-top: 14px;
  font-size: 7px;
  color: #777780;
}
.source-circle {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #edeaf7;
  color: #6861d8;
  border: 1px solid white;
  font-size: 8px;
}
.source-circle + .source-circle {
  margin-left: -3px;
}
.source-circle.neutral {
  background: #dedee5;
}
.sources-footer > span:last-child {
  margin-left: 5px;
}
.follow-up {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 11px;
  border-top: 1px solid #ededf0;
  font-size: 8px;
  color: #777781;
}
.source-label {
  margin-top: 16px;
  font-size: 7px;
  color: #767680;
}
.perplexity-source {
  margin-top: 7px;
}
.related-sources {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}
.related-sources .wire-line {
  height: 21px;
  background: #f1f1f4;
  border-radius: 3px;
}
.search-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 20px;
  opacity: 0;
  filter: drop-shadow(0 1px 1px #0002);
}
.search-cursor svg {
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .google-results {
    opacity: 1;
  }
  .ai-results,
  .search-cursor {
    display: none;
  }
  .brand-result {
    transform: translateY(-134px);
  }
  .result-a,
  .result-b {
    transform: translateY(67px);
  }
}
