:root {
  --paper: #faf9f6;
  --ink: #16262e;
  --cart-green: #1d4a35;
  --cart-green-dark: #12362a;
  --hi-vis: #ee5a24;
  --hi-vis-dark: #c44a1c;
  --gulf-blue: #5ba4bd;
  --driftwood: #e9dcbc;
  --muted: #4b5c64;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--cart-green);
}

a:hover {
  color: var(--cart-green-dark);
}

a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffb18e;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-root,
main {
  display: block;
}

.site-nav {
  box-shadow: 0 1px 0 rgba(22, 38, 46, 0.03);
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--hi-vis);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.hero-copy > a,
.pricing-grid a,
.junk-section a {
  transition: background-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.junk-section a:hover,
.junk-section a:focus-visible {
  background: var(--hi-vis-dark) !important;
  color: #fff;
}

.hero-copy > a:hover,
.hero-copy > a:focus-visible,
.pricing-grid > div:nth-child(3) a:hover,
.pricing-grid > div:nth-child(3) a:focus-visible {
  color: #fff;
  box-shadow: 0 12px 26px rgba(238, 90, 36, 0.45) !important;
  transform: translateY(-2px);
}

.pricing-grid > div:not(:nth-child(3)) a:hover,
.pricing-grid > div:not(:nth-child(3)) a:focus-visible {
  background: #eef3ee;
}

summary::-webkit-details-marker {
  display: none;
}

summary:focus-visible {
  border-radius: 6px;
  outline-offset: 2px;
}

details[open] .faq-plus {
  transform: rotate(45deg);
}

details[open] {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
}

@keyframes gg-move {
  0%,
  8% {
    left: calc(8% + min(30%, 160px) + 10px);
  }
  24%,
  72% {
    left: calc(84% - 96px);
  }
  88%,
  100% {
    left: calc(8% + min(30%, 160px) + 10px);
  }
}

@keyframes gg-tilt {
  0%,
  8% {
    transform: rotate(0deg);
  }
  11%,
  21% {
    transform: rotate(-7deg);
  }
  24%,
  72% {
    transform: rotate(0deg);
  }
  75%,
  85% {
    transform: rotate(7deg);
  }
  88%,
  100% {
    transform: rotate(0deg);
  }
}

@keyframes gg-spin {
  0%,
  8% {
    transform: rotate(0deg);
  }
  24%,
  72% {
    transform: rotate(680deg);
  }
  88%,
  100% {
    transform: rotate(0deg);
  }
}

@keyframes gg-sun {
  0% {
    transform: translate(-30px, 400px);
  }
  8%,
  58% {
    transform: translate(0, 0);
  }
  68%,
  100% {
    transform: translate(-30px, 400px);
  }
}

@keyframes gg-moon {
  0%,
  62% {
    transform: translate(30px, 400px);
  }
  72%,
  90% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 400px);
  }
}

@keyframes gg-night {
  0% {
    opacity: 1;
  }
  8%,
  60% {
    opacity: 0;
  }
  70%,
  100% {
    opacity: 1;
  }
}

@keyframes gg-canglow {
  0% {
    opacity: 1;
  }
  8%,
  60% {
    opacity: 0;
  }
  70%,
  100% {
    opacity: 1;
  }
}

@keyframes gg-fly {
  from {
    left: 100%;
  }
  to {
    left: -440px;
  }
}

@keyframes gg-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes gg-prop {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.15);
  }
}

@keyframes gg-wave {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  30% {
    transform: rotate(1.2deg) translateY(-1.5px);
  }
  65% {
    transform: rotate(-1deg) translateY(1.5px);
  }
}

@keyframes gg-sheen {
  0%,
  68% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

@keyframes gg-roll {
  from {
    transform: translateX(-70px);
  }
  to {
    transform: translateX(100vw);
  }
}

@keyframes gg-wheel {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.footer-bin-runner {
  will-change: transform;
}

.footer-nav a,
.footer-email {
  transition: color 160ms ease;
}

.footer-nav a {
  color: #c3d2d9;
  font-size: 14.5px;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.footer-email {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: #c3d2d9;
}

@media (max-width: 1020px) {
  .nav-email {
    display: none;
  }

  .desktop-nav {
    gap: 18px !important;
  }

  .hero-grid {
    gap: 34px !important;
  }

  .hero-copy h1 {
    font-size: 52px !important;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .service-grid {
    gap: 36px !important;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 66px;
  }

  .nav-inner {
    gap: 10px !important;
    padding: 11px 18px !important;
  }

  .brand-link {
    gap: 8px !important;
  }

  .brand-link span {
    font-size: 22px !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .nav-cta {
    padding: 9px 13px !important;
    font-size: 14px !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
    min-height: auto !important;
    padding: 46px 18px 82px !important;
  }

  .hero-copy {
    gap: 20px !important;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 56px) !important;
  }

  .hero-copy h1 > span {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }

  .hero-copy h1 > span > span {
    font-size: clamp(40px, 13vw, 54px) !important;
  }

  .hero-service-row {
    align-items: flex-start !important;
    flex-direction: column;
    white-space: normal !important;
  }

  .hero-service-row > div {
    flex-wrap: wrap !important;
  }

  .hero-visual {
    height: 330px !important;
  }

  [data-screen-label="Hero"] > a {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }

  .how-section,
  .built-section,
  .pricing-section,
  .faq-section {
    min-height: auto !important;
  }

  .section-shell,
  .built-section > div,
  .pricing-section > div,
  .faq-section > div {
    padding: 72px 18px !important;
  }

  .steps-grid,
  .audience-grid,
  .pricing-grid,
  .service-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .steps-grid {
    gap: 16px !important;
  }

  .steps-grid + p {
    line-height: 1.6;
  }

  .how-section svg[aria-hidden="true"] {
    display: none;
  }

  .service-grid {
    gap: 40px !important;
    min-height: auto !important;
    padding: 72px 18px !important;
  }

  .service-grid iframe {
    height: 300px !important;
  }

  [data-screen-label="How it works"] h2,
  [data-screen-label="Built for"] h2,
  [data-screen-label="Pricing"] h2,
  [data-screen-label="Service area"] h2,
  [data-screen-label="FAQ"] h2 {
    font-size: clamp(34px, 10vw, 42px) !important;
  }

  .junk-section > div {
    padding: 48px 18px !important;
  }

  .junk-section > div > div {
    padding: 32px 24px !important;
  }

  .footer-grid {
    align-items: flex-start !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
    padding: 52px 18px 20px !important;
  }
}

@media (max-width: 430px) {
  .brand-link span {
    font-size: 20px !important;
  }

  .brand-link svg {
    width: 23px;
    height: 26px;
  }

  .nav-cta {
    padding-inline: 10px !important;
  }

  .hero-visual {
    height: 290px !important;
  }

  .service-grid iframe {
    height: 260px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-visual > div:nth-child(2),
  .hero-visual > div:nth-child(3) {
    opacity: 0 !important;
  }

  .footer-bin-runner {
    animation: none !important;
    transform: translateX(18px);
    will-change: auto;
  }

  .footer-bin-wheel {
    animation: none !important;
  }
}
