:root {
  --pebble-blue: #0052ff;
  --pebble-ink: #0a0b0d;
  --pebble-muted: #5b616e;
  --pebble-subtle: #989da8;
  --pebble-line: #eaecf0;
  --pebble-soft: #f6f8fb;
  --pebble-shell-width: 1288px;
  --pebble-shell-nav-top: clamp(12px, 2vw, 20px);
  --pebble-shell-nav-height: 104px;
  --pebble-shell-nav-content-gap: 24px;
  --pebble-shell-nav-clearance: calc(
    var(--pebble-shell-nav-top) + var(--pebble-shell-nav-height) +
      var(--pebble-shell-nav-content-gap)
  );
}

.pebble-skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 2000;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--pebble-blue);
  color: #fff;
  font: 700 14px/1 Manrope, sans-serif;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}

.pebble-skip-link:focus {
  transform: translateY(0);
}

.pebble-shell-nav {
  position: sticky;
  top: var(--pebble-shell-nav-top);
  z-index: 1000;
  width: calc(min(var(--pebble-shell-width), 100%) - clamp(28px, 6vw, 80px));
  margin: var(--pebble-shell-nav-top) auto 0;
  padding: 0;
  color: var(--pebble-ink);
  font-family: "Manrope Variable", Manrope, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.pebble-shell-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: var(--pebble-shell-nav-height);
  padding: 22px 18px 22px 32px;
  border: 1px solid rgba(10, 11, 13, 0.07);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(10, 11, 13, 0.08);
}

.pebble-shell-nav__brand,
.pebble-shell-footer__logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--pebble-ink);
  text-decoration: none;
}

.pebble-shell-logo {
  display: block;
  width: 150px;
  height: 34px;
}

.pebble-shell-footer__logo .pebble-shell-logo {
  width: 159px;
  height: 36px;
}

.pebble-shell-nav__links,
.pebble-shell-nav__actions {
  display: flex;
  align-items: center;
}

.pebble-shell-nav__links {
  gap: clamp(3px, 0.7vw, 9px);
  margin-left: auto;
}

.pebble-shell-nav__actions {
  gap: 10px;
}

.pebble-shell-nav__links > a,
.pebble-shell-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--pebble-muted);
  font: 600 15px/1 Manrope, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.pebble-shell-nav__links > a:hover,
.pebble-shell-nav__trigger:hover,
.pebble-shell-nav__group.is-open .pebble-shell-nav__trigger {
  color: var(--pebble-ink);
}

.pebble-shell-nav__trigger {
  gap: 8px;
}

.pebble-shell-nav__group {
  position: relative;
}

.pebble-shell-nav__trigger svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s ease;
}

.pebble-shell-nav__group.is-open .pebble-shell-nav__trigger svg {
  transform: rotate(180deg);
}

.pebble-shell-nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 202px;
  padding: 20px 8px 8px;
  border: 1px solid rgba(10, 11, 13, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(10, 11, 13, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.pebble-shell-nav__group:hover .pebble-shell-nav__menu,
.pebble-shell-nav__group:focus-within .pebble-shell-nav__menu,
.pebble-shell-nav__group.is-open .pebble-shell-nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pebble-shell-nav__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--pebble-ink);
  font: 600 14.5px/1.3 Manrope, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.pebble-shell-nav__menu a:hover {
  background: rgba(10, 11, 13, 0.05);
}

.pebble-shell-nav__search,
.pebble-shell-nav__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(10, 11, 13, 0.1);
  border-radius: 14px;
  background: #fff;
  color: var(--pebble-ink);
  cursor: pointer;
}

.pebble-shell-nav__search svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.pebble-shell-nav__cta,
.pebble-shell-nav__mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--pebble-blue);
  box-shadow: none;
  color: #fff;
  font: 700 14.5px/1 Manrope, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.pebble-shell-nav__cta:hover,
.pebble-shell-nav__mobile-cta:hover {
  background: #0047df;
}

.pebble-shell-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.pebble-shell-nav__burger span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--pebble-ink);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.pebble-shell-nav.is-open .pebble-shell-nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pebble-shell-nav.is-open .pebble-shell-nav__burger span:nth-child(2) {
  opacity: 0;
}

.pebble-shell-nav.is-open .pebble-shell-nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pebble-shell-nav__mobile {
  width: 100%;
  margin: 10px auto 0;
  padding: 10px;
  border: 1px solid rgba(10, 11, 13, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(10, 11, 13, 0.16);
}

.pebble-shell-nav__mobile[hidden] {
  display: none !important;
}

.pebble-shell-nav__mobile a,
.pebble-shell-nav__mobile-search {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--pebble-muted);
  font: 600 14.5px/1 Manrope, sans-serif;
  text-align: left;
  text-decoration: none;
}

.pebble-shell-nav__mobile a:hover,
.pebble-shell-nav__mobile-search:hover {
  background: rgba(10, 11, 13, 0.05);
}

.pebble-shell-nav__mobile p {
  margin: 0;
  padding: 12px 15px 4px;
  color: var(--pebble-muted);
  font: 700 11px/1 Manrope, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pebble-shell-nav__mobile-cta {
  margin-top: 6px;
  text-align: center;
}

.pebble-shell-footer {
  width: min(var(--pebble-shell-width), 100%);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) clamp(36px, 7vw, 96px)
    clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--pebble-line);
  background: #fff;
  color: var(--pebble-ink);
  font-family: "Manrope Variable", Manrope, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.pebble-shell-footer__inner,
.pebble-shell-footer__bottom {
  width: min(1100px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.pebble-shell-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 72px);
}

.pebble-shell-footer__brand {
  max-width: 380px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.pebble-shell-footer__brand p {
  margin: 0;
  color: var(--pebble-muted);
  font: 400 14.5px/1.6 Manrope, sans-serif;
}

.pebble-shell-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pebble-shell-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pebble-line);
  border-radius: 12px;
  background: var(--pebble-soft);
  color: var(--pebble-muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.pebble-shell-footer__social a:hover {
  background: #eaeef3;
  color: var(--pebble-ink);
}

.pebble-shell-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pebble-shell-footer__social svg[fill="none"] {
  fill: none;
}

.pebble-shell-footer__social svg[fill="none"] circle:last-child {
  fill: currentColor;
  stroke: none;
}

.pebble-shell-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 4.5vw, 64px);
}

.pebble-shell-footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pebble-shell-footer__column h2 {
  margin: 0;
  color: var(--pebble-ink);
  font: 700 13px/1 Manrope, sans-serif;
}

.pebble-shell-footer__column a,
.pebble-shell-footer__bottom a {
  color: var(--pebble-muted);
  font: 500 14px/1.4 Manrope, sans-serif;
  text-decoration: none;
}

.pebble-shell-footer__column a:hover,
.pebble-shell-footer__bottom a:hover {
  color: var(--pebble-ink);
}

.pebble-shell-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--pebble-line);
  color: var(--pebble-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.pebble-shell-footer__disclaimer {
  margin: 0;
  color: inherit;
  font: inherit;
}

.pebble-shell-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}

.pebble-shell-footer__legal span {
  color: inherit;
  font: inherit;
}

.pebble-shell-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.pebble-shell-nav a:focus-visible,
.pebble-shell-nav button:focus-visible,
.pebble-shell-footer a:focus-visible {
  outline: 2px solid var(--pebble-blue);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  :root {
    --pebble-shell-nav-height: 64px;
    --pebble-shell-nav-content-gap: 16px;
  }

  .pebble-shell-nav__links,
  .pebble-shell-nav__cta {
    display: none;
  }

  .pebble-shell-nav__burger {
    display: inline-flex;
  }

  .pebble-shell-nav__search {
    display: none;
  }

  .pebble-shell-nav__inner {
    min-height: 64px;
    padding: 12px 12px 12px 20px;
    border-radius: 18px;
  }

  .pebble-shell-nav__brand .pebble-shell-logo {
    width: 112px;
    height: auto;
  }
}

@media (max-width: 760px) {
  .pebble-shell-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .pebble-shell-nav {
    width: calc(100% - 24px);
  }

  .pebble-shell-footer {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 480px) {
  .pebble-shell-footer__legal nav {
    flex-wrap: wrap;
  }

  .pebble-shell-footer__nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pebble-skip-link,
  .pebble-shell-nav__menu,
  .pebble-shell-nav__trigger svg,
  .pebble-shell-nav__burger span {
    transition: none;
  }
}
