:root {
  --pink: #ff0099;
  --pink2: #ff66cc;
  --yellow: #ffe500;
  --amber: #ffad00;
  --lime: #aaff00;
  --dark: #000000;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik Mono One", monospace;
  background: linear-gradient(
    140deg,
    var(--pink) 0%,
    var(--pink2) 28%,
    var(--amber) 58%,
    var(--yellow) 80%,
    #fffb88 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: default;
  color: var(--dark);
}

::selection {
  background: var(--white);
  color: #000000;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 18px;
  align-items: center;
  padding: 16px 7%;
  background: var(--yellow);
  border-bottom: 3px solid var(--dark);
  font-family: "Inter", sans-serif;
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-brand {
  justify-self: start;
  font-family: "Rubik Mono One", monospace;
  font-weight: 400;
}

.nav-center {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-weight: 300;
}

.nav-center a {
  font-weight: 300;
  transition: font-weight 120ms ease;
}

.nav-center a:hover,
.nav-center a:focus,
.nav-center a:focus-visible {
  font-weight: 600;
}

.nav-contact {
  justify-self: end;
  font-weight: 700;
}

p {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 120px 7% 70px;
  background: transparent;
  text-align: center;
}

.hero h1 {
  max-width: min(1500px, 94vw);
  font-size: clamp(28px, 4.5vw, 72px);
  font-weight: 400;
  line-height: 1;
  color: #000000;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero p {
  max-width: 760px;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  background: var(--white);
  border: 3px solid #000000;
  box-shadow: 5px 5px 0 #000000;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-button.primary {
  background: var(--yellow);
}

.hero-button.pink {
  background: #ff0099;
}

.hero-button.repo-button {
  background: #ffffff;
}

.hero-button.proof-demo {
  align-self: flex-start;
  margin-top: 30px;
  background: #aaff00;
  color: #000000;
}

.hero-button:hover,
.hero-button:focus {
  background: var(--pink);
  color: var(--white);
}

.hero-button.proof-demo:hover,
.hero-button.proof-demo:focus {
  background: #aaff00;
  color: #000000;
}

.use-yare-local {
  position: relative;
  z-index: 10;
  padding: 52px 7%;
  background: #aaff00;
  border-top: 4px solid #000000;
  border-bottom: 4px solid #000000;
  color: #000000;
}

.use-yare-local span {
  display: block;
  margin-bottom: 8px;
  font-family: "Boogaloo", cursive;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.45em;
  opacity: 0.6;
}

.use-yare-local h2 {
  max-width: 900px;
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.use-yare-local p {
  max-width: 900px;
  margin: 14px 0 22px;
  color: #000000;
  text-wrap: pretty;
}

.path-section {
  position: relative;
  overflow: visible;
}

.box {
  position: absolute;
  z-index: 200;
  pointer-events: none;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gem-inner {
  font-size: 50px;
  display: block;
  line-height: 1;
  color: #000000;
  text-shadow: 3px 3px 0 var(--white);
  animation: gem-pulse 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes gem-pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  40% {
    transform: scale(1.2) rotate(12deg);
  }

  70% {
    transform: scale(0.92) rotate(-8deg);
  }
}

.mstop {
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding: 40px 7%;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.mstop:nth-child(odd) {
  justify-content: flex-start;
}

.mstop:nth-child(even) {
  justify-content: flex-end;
}

.stop-card {
  position: relative;
  z-index: 3;
  max-width: min(600px, 90vw);
  width: 100%;
  border: 3px solid var(--dark);
  box-shadow: 7px 7px 0 var(--dark);
  padding: 42px 46px 38px;
  overflow: visible;
}

.mstop:nth-child(odd) .stop-card {
  background: var(--yellow);
}

.mstop:nth-child(even) .stop-card {
  background: var(--pink);
  color: var(--white);
}

.stop-card .label {
  font-family: "Boogaloo", cursive;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.35em;
  opacity: 0.6;
  margin-bottom: 10px;
  display: block;
}

.stop-card h2 {
  font-size: clamp(26px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 12px;
}

.stop-card p {
  font-size: clamp(14px, 2vw, 19px);
  opacity: 0.75;
}

.marker {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

#path-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.path-end {
  height: 1px;
}

.roach-proof {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 64px 7%;
  background: transparent;
  color: var(--dark);
}

.roach-proof .proof-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: "Boogaloo", cursive;
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: 0.5em;
  color: var(--dark);
  opacity: 0.55;
}

.roach-logo {
  display: block;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
}

.roach-proof p {
  max-width: 760px;
  color: var(--dark);
  font-size: clamp(14px, 1.6vw, 18px);
}

.roach-proof ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  list-style: none;
}

.roach-proof li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 400;
}

.roach-proof svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--dark);
}

.keep-scrolling {
  position: relative;
  z-index: 10;
  background: var(--pink);
  padding: 60px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}

.keep-scrolling .ks-label {
  font-family: "Boogaloo", cursive;
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: 0.5em;
  color: var(--dark);
  opacity: 0.6;
  display: block;
  margin-bottom: 10px;
}

.keep-scrolling .ks-headline {
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 4px 4px 0 var(--dark);
}

.keep-scrolling .ks-headline em {
  font-style: normal;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--dark);
}

.keep-scrolling .ks-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.keep-scrolling .ks-sub {
  font-size: clamp(13px, 1.8vw, 18px);
  color: var(--white);
  opacity: 0.85;
  text-align: right;
  max-width: 300px;
}

.ks-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ks-arr {
  width: 24px;
  height: 24px;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(45deg);
  animation: ks-drop 1.2s ease-in-out infinite;
  opacity: 0;
}

.ks-arr:nth-child(1) {
  animation-delay: 0s;
}

.ks-arr:nth-child(2) {
  animation-delay: 0.18s;
}

.ks-arr:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes ks-drop {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-4px, -4px);
  }

  50% {
    opacity: 1;
    transform: rotate(45deg) translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(4px, 4px);
  }
}

.clip-section {
  position: relative;
  z-index: 10;
  padding: 0 7%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clip-title {
  font-family: "Boogaloo", cursive;
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: 0.35em;
  opacity: 0.5;
  margin-bottom: 20px;
  display: block;
}

.text {
  font-size: clamp(34px, 10vw, 130px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  width: 100%;
  color: var(--white);
  background: linear-gradient(90deg, var(--dark), var(--dark)) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0% 100%;
  transition: background-size cubic-bezier(0.1, 0.5, 0.5, 1) 0.5s;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.35);
  padding: 10px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.text > span {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  transform-origin: center;
  transition: clip-path cubic-bezier(0.1, 0.5, 0.5, 1) 0.44s;
  display: flex;
  align-items: center;
  font-size: clamp(18px, 4vw, 52px);
  letter-spacing: 0.03em;
  padding-left: 2px;
}

.text:hover > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.text:nth-child(odd) > span {
  background: var(--pink);
  color: var(--white);
}

.text:nth-child(even) > span {
  background: var(--yellow);
  color: var(--dark);
}

.text > span::before {
  content: "* ";
  font-size: 0.55em;
  opacity: 0.65;
  margin-right: 6px;
}

.text > span::after {
  content: " *";
  font-size: 0.55em;
  opacity: 0.65;
  margin-left: 6px;
}

.text.tapped > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.use-cases-page {
  position: relative;
  z-index: 10;
  padding: 86px 7% 96px;
}

.use-cases-hero {
  width: 100%;
  max-width: none;
  margin-bottom: 38px;
}

.use-cases-hero > span {
  display: block;
  margin-bottom: 12px;
  font-family: "Boogaloo", cursive;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.45em;
  opacity: 0.6;
}

.use-cases-hero h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(34px, 6vw, 86px);
  font-weight: 400;
  line-height: 1;
  color: #000000;
}

.use-cases-hero h1 span {
  display: block;
  font-family: "Rubik Mono One", monospace;
  white-space: nowrap;
}

.use-cases-hero p {
  max-width: 740px;
  margin-top: 18px;
  color: #000000;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.use-case-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 116px 32px 34px;
  background: var(--white);
  border: 3px solid #000000;
  box-shadow: 12px 0 0 #000000;
  color: #000000;
}

.use-case-actions {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 10px;
}

.use-case-actions button,
.use-case-actions a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2px solid #000000;
  color: #000000;
  cursor: pointer;
}

.use-case-actions button {
  font: inherit;
}

.use-case-actions button:hover,
.use-case-actions button:focus,
.use-case-actions a:hover,
.use-case-actions a:focus {
  background: var(--pink);
  color: var(--white);
}

.use-case-actions svg {
  width: 20px;
  height: 20px;
}

.use-case-card h2 {
  max-width: 560px;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
  color: #000000;
}

.use-case-description {
  max-width: 620px;
  color: #000000;
  font-size: clamp(14px, 1.5vw, 18px);
}

.use-case-link {
  margin-top: auto;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
}

.use-case-link:hover,
.use-case-link:focus {
  color: var(--pink);
}

.proof-page {
  position: relative;
  z-index: 10;
  padding: 86px 7% 96px;
}

.proof-hero,
.proof-intro,
.proof-table-wrap,
.proof-reproduce {
  max-width: 1180px;
}

.proof-hero {
  margin-bottom: 34px;
}

.proof-hero > span,
.proof-reproduce > span {
  display: block;
  margin-bottom: 12px;
  font-family: "Boogaloo", cursive;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.45em;
  opacity: 0.68;
}

.proof-hero h1 {
  max-width: 1120px;
  font-size: clamp(38px, 7vw, 94px);
  font-weight: 400;
  line-height: 0.98;
  color: #000000;
}

.proof-hero p,
.proof-reproduce p {
  max-width: 820px;
  margin-top: 18px;
  color: #000000;
}

.proof-intro,
.proof-table-wrap,
.proof-reproduce {
  margin-top: 28px;
  padding: 30px;
  background: var(--white);
  border: 3px solid #000000;
  box-shadow: 10px 10px 0 #000000;
  color: #000000;
}

.proof-intro h2,
.proof-reproduce h2 {
  max-width: 900px;
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 400;
  line-height: 1;
}

.proof-intro ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-left: 22px;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.45;
}

.proof-intro li::marker {
  color: var(--pink);
}

.proof-table-wrap {
  overflow-x: auto;
}

.proof-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.35vw, 17px);
}

.proof-table th,
.proof-table td {
  padding: 16px;
  border-bottom: 2px solid #000000;
  text-align: left;
  vertical-align: middle;
}

.proof-table th {
  font-weight: 700;
  text-transform: uppercase;
}

.proof-table tr:last-child td {
  border-bottom: 0;
}

.proof-table a {
  font-weight: 700;
}

.proof-table a:hover,
.proof-table a:focus {
  color: var(--pink);
}

.pass-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  background: var(--lime);
  border: 2px solid #000000;
  font-weight: 700;
}

.proof-reproduce pre {
  margin: 20px 0;
  padding: 18px;
  overflow-x: auto;
  background: var(--lime);
  border: 3px solid #000000;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.proof-reproduce code {
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.proof-reproduce .hero-button {
  margin-top: 20px;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

.outro {
  min-height: 12vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

.outro p {
  font-size: clamp(11px, 1.6vw, 16px);
  color: #000000;
  opacity: 1;
  text-align: center;
}

.site-footer {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  background: var(--yellow);
  border-top: 4px solid var(--dark);
  padding: 56px 7% 48px;
}

.demo-footer {
  background: #aaff00;
}

.use-cases-footer {
  background: #aaff00;
}

.site-footer p {
  font-size: 12px;
  line-height: 1.4em;
}

.site-footer p + p {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  font-weight: 700;
}

.footer-logo {
  justify-self: end;
  font-size: clamp(34px, 10vw, 130px);
  line-height: 0.82;
  color: #000000;
}

@media (max-width: 640px) {
  .mstop {
    min-height: auto;
    padding: 32px 5%;
  }

  .hero {
    min-height: 360px;
    padding: 44px 5%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .use-yare-local {
    padding: 38px 5%;
  }

  .mstop:nth-child(even) {
    justify-content: flex-start;
  }

  .stop-card {
    max-width: 100%;
    padding: 24px 22px 20px;
    box-shadow: 4px 4px 0 var(--dark);
  }

  .stop-card h2 {
    font-size: clamp(22px, 7vw, 38px);
  }

  .stop-card p {
    font-size: 15px;
  }

  .keep-scrolling {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 5%;
    gap: 20px;
  }

  .roach-proof {
    grid-template-columns: 1fr;
    padding: 34px 5%;
  }

  .roach-proof ul {
    justify-content: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo {
    justify-self: start;
  }

  .keep-scrolling .ks-right {
    align-items: flex-start;
  }

  .keep-scrolling .ks-sub {
    text-align: left;
  }

  .clip-section {
    padding: 0 5%;
    min-height: auto;
  }

  .text {
    font-size: clamp(28px, 10vw, 60px);
    padding: 8px 0;
  }

  .text > span {
    font-size: clamp(14px, 5vw, 30px);
  }

  .site-nav {
    grid-template-columns: 1fr auto;
    row-gap: 12px;
    padding: 14px 5%;
  }

  .nav-center {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    justify-content: center;
    gap: 12px 18px;
  }

  .nav-contact {
    justify-self: end;
  }

  .outro {
    min-height: auto;
    padding: 40px 5%;
  }

  .use-cases-page {
    padding: 48px 5% 68px;
  }

  .proof-page {
    padding: 48px 5% 70px;
  }

  .proof-intro,
  .proof-table-wrap,
  .proof-reproduce {
    padding: 22px;
    box-shadow: 7px 7px 0 #000000;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .use-case-card {
    min-height: auto;
    padding: 82px 22px 24px;
    box-shadow: 8px 0 0 #000000;
  }

  .use-case-actions {
    top: 22px;
    right: 22px;
  }

  .use-cases-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .use-cases-hero h1 span {
    white-space: normal;
  }

  .outro p {
    font-size: 11px;
    letter-spacing: 0.15em;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .use-cases-hero h1 {
    font-size: clamp(58px, 9vw, 76px);
  }

  .use-cases-hero h1 span {
    white-space: normal;
  }

  .mstop {
    min-height: 60vh;
  }

  .stop-card {
    max-width: min(380px, 80vw);
  }

  .keep-scrolling {
    padding: 48px 6%;
  }
}
