:root {
  --yr-ink: #0d251d;
  --yr-muted: #607069;
  --yr-green: #0fb981;
  --yr-green-dark: #087654;
  --yr-line: #dfe9e4;
  --yr-shadow: 0 12px 45px rgba(22, 73, 56, .08);
}

body {
  color: var(--yr-ink);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.yr-site-header,
.yr-site-header * {
  box-sizing: border-box;
}

.yr-site-header {
  position: fixed;
  z-index: 1000;
  inset: 14px 0 auto;
  padding: 0 16px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 252, 250, .96), rgba(248, 252, 250, 0));
}

.yr-site-nav {
  width: min(1240px, 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  pointer-events: auto;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(215, 229, 222, .88);
  border-radius: 18px;
  box-shadow: var(--yr-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.yr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yr-ink);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}

.yr-brand-logo {
  width: 29px;
  height: 29px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 9px;
}

.yr-brand-logo img {
  display: block;
  width: 43px;
  height: 43px;
  max-width: none;
  transform: translate(-7px, -7px);
}

.yr-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  margin-left: auto;
}

.yr-nav-links > a {
  position: relative;
  color: #455a51;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease;
}

.yr-nav-links > a:hover,
.yr-nav-links > a[aria-current="page"] {
  color: var(--yr-ink);
}

.yr-nav-links > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  border-radius: 2px;
  background: var(--yr-green);
}

.yr-demo-button {
  min-height: 46px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--yr-green);
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 185, 129, .22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.yr-demo-button:hover {
  background: var(--yr-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 13px 26px rgba(23, 107, 69, .23);
}

.yr-mobile-menu {
  display: none;
  position: relative;
}

.yr-mobile-menu summary {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--yr-line);
  border-radius: 10px;
}

.yr-mobile-menu summary::-webkit-details-marker { display: none; }
.yr-mobile-menu summary span { width: 18px; height: 1px; display: block; background: var(--yr-ink); }
.yr-mobile-menu > div {
  position: absolute;
  right: 0;
  top: 50px;
  width: 250px;
  padding: 16px;
  display: grid;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--yr-line);
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
}
.yr-mobile-menu > div a { padding: 10px 12px; color: #455a51; font-size: 14px; text-decoration: none; }
.yr-mobile-menu > div a[aria-current="page"] { color: var(--yr-green-dark); font-weight: 700; }
.yr-mobile-menu > div .yr-demo-button { margin-top: 8px; color: #fff; }

main h1 {
  color: var(--yr-ink);
  font-weight: 560;
}

main :is(.p-btn, .r-btn, .c-btn) {
  background: var(--yr-green);
  color: #fff;
  border-color: var(--yr-green);
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(15, 185, 129, .22);
}

main :is(.p-btn, .r-btn, .c-btn):hover {
  background: var(--yr-green-dark);
  border-color: var(--yr-green-dark);
}

@media (max-width: 980px) {
  .yr-nav-links,
  .yr-site-nav > .yr-demo-button { display: none; }
  .yr-mobile-menu { display: block; }
}

@media (max-width: 640px) {
  .yr-site-header { inset: 8px 0 auto; padding: 0 8px; }
  .yr-site-nav { min-height: 60px; padding: 7px 9px 7px 14px; border-radius: 15px; }
  .yr-brand { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .yr-demo-button { transition: none; }
}
