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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #fbf7f0;
  color: #17140f;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1b7a3a;
  text-decoration: none;
}

a:hover {
  color: #23994b;
}

::selection {
  background: #23994b;
  color: #fff;
}

@keyframes oo-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(-1.2deg);
  }
}

@keyframes oo-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero__glow--top {
  position: absolute;
  top: -120px;
  right: -60px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(31, 122, 59, 0.2),
    rgba(18, 183, 166, 0) 68%
  );
  pointer-events: none;
}

.hero__glow--bottom {
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(244, 180, 0, 0.2),
    rgba(255, 106, 43, 0) 66%
  );
  pointer-events: none;
}

.hero__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 32px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand__name {
  color: #17140f;
}

.brand__badge {
  display: inline-block;
  transform: rotate(-5deg);
  background: #f4b400;
  color: #17140f;
  padding: 3px 15px 5px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(180, 130, 0, 0.38);
}

.hero__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
  text-wrap: balance;
}

.hero__title-accent {
  color: #23994b;
}

.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: #4a443b;
  max-width: 520px;
  margin: 22px 0 0;
  text-wrap: pretty;
}

/* Mascot */

.mascot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.mascot__orbit {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  border: 1.5px dashed rgba(23, 20, 15, 0.14);
  animation: oo-orbit 34s linear infinite;
}

.mascot__orbit-dot--primary {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1b7a3a;
  box-shadow: 0 0 10px rgba(31, 122, 59, 0.7);
}

.mascot__orbit-dot--secondary {
  position: absolute;
  bottom: 24px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23994b;
}

.mascot__figure {
  position: relative;
  width: 360px;
  max-width: 88%;
  animation: oo-float 6s ease-in-out infinite;
}

.mascot__figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 42px rgba(23, 20, 15, 0.3));
}

.mascot__shadow {
  position: absolute;
  bottom: 36px;
  width: 210px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(23, 20, 15, 0.22),
    rgba(23, 20, 15, 0) 70%
  );
}

.mascot__quote {
  position: absolute;
  top: 40px;
  right: -8px;
  background: #17140f;
  color: #fbf7f0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 10px 22px rgba(23, 20, 15, 0.22);
}

/* Footer */

.site-footer {
  background: #0f0d0a;
  color: #c9c3b7;
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px 40px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-footer__brand img {
  width: 42px;
  height: 42px;
  display: block;
}

.site-footer__brand-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fbf7f0;
}

.site-footer__tagline {
  color: #8f887c;
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}

.site-footer__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f685d;
  margin-bottom: 16px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.site-footer__links a {
  color: #c9c3b7;
  font-size: 15px;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
}

.site-footer__meta span {
  color: #6f685d;
  font-size: 13.5px;
  font-family: "IBM Plex Mono", monospace;
}

/* Legal pages */

.legal-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #17140f;
  text-decoration: none;
}

.legal-nav__brand img {
  width: 46px;
  height: 46px;
  display: block;
}

.legal-nav__brand span {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.legal-nav__back {
  color: #5c554a;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.legal-nav__back:hover {
  color: #17140f;
}

.legal-header {
  border-bottom: 1px solid #ece5d8;
}

.legal-header__inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 32px 46px;
}

.legal-header__eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1b7a3a;
  margin-bottom: 14px;
}

.legal-header__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.legal-header__meta {
  color: #6a6357;
  font-size: 15.5px;
  margin: 18px 0 0;
  font-family: "IBM Plex Mono", monospace;
}

.legal-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 44px 32px 40px;
}

.legal-intro {
  font-size: 17px;
  line-height: 1.7;
  color: #3a352d;
  margin: 0 0 30px;
  text-wrap: pretty;
}

.legal-section {
  padding: 22px 0;
  border-top: 1px solid #ece5d8;
}

.legal-section__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.legal-section__num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: #1b7a3a;
  font-weight: 600;
}

.legal-section p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4a443b;
  margin: 0 0 14px;
  text-wrap: pretty;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-contact {
  margin-top: 34px;
  background: #17140f;
  color: #fbf7f0;
  border-radius: 22px;
  padding: 32px 34px;
}

.legal-contact__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.legal-contact__text {
  color: #d8d2c6;
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 6px;
}

.legal-contact__email {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  color: #1b7a3a;
}

.legal-footer {
  background: #0f0d0a;
  color: #8f887c;
  margin-top: 20px;
}

.legal-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-footer__inner > span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px;
}

.legal-footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.legal-footer__links a {
  color: #c9c3b7;
  text-decoration: none;
  font-size: 14px;
}

.legal-footer__links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 64px;
  }

  .mascot {
    min-height: 420px;
  }

  .mascot__orbit {
    width: 340px;
    height: 340px;
  }

  .mascot__quote {
    right: 8px;
    top: 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero__inner,
  .site-footer__inner,
  .legal-nav,
  .legal-header__inner,
  .legal-main,
  .legal-footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .mascot__orbit {
    width: 280px;
    height: 280px;
  }
}
