:root {
  --ycr-ink: #071f2d;
  --ycr-blue: #54a9eb;
  --ycr-deep: #041018;
  --ycr-line: rgba(255, 255, 255, 0.14);
}

.ycr-shared-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 31, 45, 0.06);
  backdrop-filter: blur(18px);
}

.ycr-shared-header-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  min-height: 52px;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ycr-shared-logo img {
  display: block;
  width: auto;
  height: 32px;
  max-height: 32px;
}

.ycr-shared-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ycr-shared-login,
.ycr-shared-menu-button,
.ycr-shared-icon-button {
  border: 0;
  cursor: pointer;
  color: var(--ycr-ink);
  background: #fff;
  box-shadow: 0 8px 28px rgba(7, 31, 45, 0.08);
}

.ycr-shared-login {
  min-width: 58px;
  height: 36px;
  border-radius: 999px;
  font: 500 12px/1 Inter, system-ui, sans-serif;
}

.ycr-shared-menu-button,
.ycr-shared-icon-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ycr-shared-menu-button span,
.ycr-shared-menu-button::before,
.ycr-shared-menu-button::after {
  content: "";
  display: block;
  width: 19px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
}

.ycr-shared-menu-button {
  flex-direction: column;
  gap: 4px;
}

.ycr-side-menu-layer,
.ycr-login-layer {
  position: fixed;
  inset: 0;
  z-index: 2200;
  pointer-events: none;
  font-family: Inter, system-ui, sans-serif;
}

.ycr-side-menu-backdrop,
.ycr-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 26, 0.48);
  opacity: 0;
  transition: opacity 220ms ease;
}

.ycr-side-menu-panel,
.ycr-login-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 0.65rem));
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: #f8f5ef;
  color: #202020;
  transform: translateX(102%);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.24);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  touch-action: pan-y;
}

.ycr-side-menu-scroll,
.ycr-login-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
  .ycr-side-menu-layer,
  .ycr-login-layer,
  .ycr-side-menu-panel,
  .ycr-login-panel {
    height: 100svh;
    max-height: 100svh;
  }
}

body.ycr-menu-open .ycr-side-menu-layer,
body.ycr-login-open .ycr-login-layer {
  pointer-events: auto;
}

body.ycr-menu-open .ycr-side-menu-backdrop,
body.ycr-login-open .ycr-login-backdrop {
  opacity: 1;
}

body.ycr-menu-open .ycr-side-menu-panel,
body.ycr-login-open .ycr-login-panel {
  transform: translateX(0);
}

.ycr-side-menu-top,
.ycr-login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-weight: 650;
  font-size: 18px;
}

.ycr-side-menu-nav {
  padding: 4px 24px 22px;
}

.ycr-side-menu-kicker {
  margin: 20px 0 14px;
  color: #777;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ycr-side-menu-link {
  min-height: 54px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #222;
  font-size: 17px;
  text-decoration: none;
}

.ycr-side-menu-card {
  margin-top: 22px;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #0a3d56, #54a9eb);
  color: #fff;
}

.ycr-side-menu-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 520;
}

.ycr-side-menu-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.ycr-side-menu-card a,
.ycr-login-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: #54a9eb;
  color: #071f2d;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.ycr-login-panel {
  width: min(390px, 100vw);
  padding-bottom: 34px;
}

.ycr-login-body {
  padding: 18px 24px;
}

.ycr-login-logo {
  display: block;
  width: 150px;
  margin: 22px 0 34px;
}

.ycr-login-body h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ycr-login-body p {
  color: #5d5d5d;
  line-height: 1.35;
}

.ycr-shared-footer {
  background: #000;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  padding: 28px 22px 34px;
}

.ycr-shared-footer a {
  color: inherit;
  text-decoration: none;
}

.ycr-shared-footer-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.ycr-footer-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.ycr-footer-feature {
  min-height: 720px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #1c1c1c;
  padding: 58px 28px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ycr-footer-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.26) 34%, rgba(0, 0, 0, 0.82) 100%),
    url("/imgs/ycr-footer-intake-phone-bg.png") center bottom / cover no-repeat;
}

.ycr-footer-feature > * {
  position: relative;
}

.ycr-footer-feature p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.ycr-footer-feature h2 {
  margin: 0 auto 26px;
  max-width: 330px;
  font-size: clamp(38px, 4vw, 48px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 520;
}

.ycr-footer-feature button,
.ycr-footer-feature a {
  width: min(100%, 188px);
  min-height: 86px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  cursor: pointer;
}

.ycr-footer-columns {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.05fr;
  gap: 46px;
  padding-top: 20px;
}

.ycr-footer-column-stack {
  display: grid;
  gap: 34px;
}

.ycr-footer-heading {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
}

.ycr-footer-link {
  display: block;
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.18;
}

.ycr-footer-link small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin-top: 2px;
}

.ycr-footer-bottom {
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.ycr-footer-social {
  display: flex;
  gap: 12px;
}

.ycr-footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1f1f1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ycr-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.ycr-footer-mark {
  width: 42px;
  height: auto;
  filter: brightness(0) invert(1);
}

body.ycr-static-page footer:not(.ycr-shared-footer) {
  display: none !important;
}

@media (max-width: 900px) {
  .ycr-shared-logo img {
    width: auto;
    height: 30px;
    max-height: 30px;
  }

  .ycr-footer-layout {
    grid-template-columns: 1fr;
  }

  .ycr-footer-feature {
    min-height: 520px;
  }

  .ycr-footer-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ycr-footer-column-stack {
    gap: 0;
  }

  .ycr-footer-column {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .ycr-footer-heading {
    width: 100%;
    margin: 0;
    padding: 22px 0;
    color: #fff;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
  }

  .ycr-footer-heading::after {
    content: "+";
  }

  .ycr-footer-column[data-open="true"] .ycr-footer-heading::after {
    content: "-";
  }

  .ycr-footer-links {
    display: none;
    padding: 0 0 18px;
  }

  .ycr-footer-column[data-open="true"] .ycr-footer-links {
    display: block;
  }

  .ycr-footer-bottom {
    grid-template-columns: 1fr;
  }
}
